Subject: Re: SUCCESS ! Re: Installing a UPS for a NetBSD server... software
To: Gilles Gravier <Gilles@Gravier.org>
From: Thomas Bieg <tomsbsd04@tiscali.de>
List: netbsd-users
Date: 04/27/2007 22:22:22
Gilles Gravier wrote:
> OK. I got ugen0 detection once I removed all the uhidev stuff from my 
> kernel configuration file. When I had uhidev present, the UPS would 
> always be detected as uhidev not ugen.
> 
> Then, with that, I set USBTYPE and CABLE to usb for apcupsd.conf ... and 
> it WORKS! :)

Congratulations! :)

In the meantime I took a second look at your problem with the serial
cable and realised that you shouldn't have gotten those two lines
when not using master/slave functionality:

> 0.002 apcupsd: apcupsd.c:355 Netmaster thread started.
> 0.003 apcupsd: apcnet.c:922 Master/slave network code disabled. Use --enable-master-slave to enable. 

So did you change anything else in your config file?

Tom