Well, I'd sure like to be let in on the secret handshake if it's supposed to be so easy.
I have suse 9.0 recently installed on a new box based on a asus p4bgv-mx motherboard and I installed apcupsd via yast2 and I have a backups-es 725 plugged in and it's the only usb device and it sure isn't working merely by following the surface directions.
linux:~ # apcupsd --version
apcupsd 3.10.6 (05 August 2003) suse
linux:~ # /etc/rc.d/apcupsd start
Starting apcupsd power managementapcupsd FATAL ERROR in dumbsetup.c at line 86
Cannot open UPS port /dev/usb/hiddev[0-15]: No such file or directory
failed
linux:~ # grep -v "^#" /etc/apcupsd/apcupsd.conf
UPSCABLE usb
UPSTYPE backups
DEVICE /dev/usb/hiddev[0-15]
...
linux:~ # cat /proc/usb/devices
...
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=1.5 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=051d ProdID=0002 Rev= 1.06
S: Manufacturer=APC
S: Product=Back-UPS ES 725 FW:802.n2.D USB FW:n2
S: SerialNumber=ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid
E: Ad=81(I) Atr=03(Int.) MxPS= 6 Ivl=10ms
...
linux:~ # ls -l /dev/usb/hid*
crw-rw---- 1 root root 180, 96 Oct 2 2003 /dev/usb/hiddev0
crw-rw---- 1 root root 180, 97 Oct 2 2003 /dev/usb/hiddev1
crw-rw---- 1 root root 180, 106 Oct 2 2003 /dev/usb/hiddev10
crw-rw---- 1 root root 180, 107 Oct 2 2003 /dev/usb/hiddev11
crw-rw---- 1 root root 180, 108 Oct 2 2003 /dev/usb/hiddev12
crw-rw---- 1 root root 180, 109 Oct 2 2003 /dev/usb/hiddev13
crw-rw---- 1 root root 180, 110 Oct 2 2003 /dev/usb/hiddev14
crw-rw---- 1 root root 180, 111 Oct 2 2003 /dev/usb/hiddev15
crw-rw---- 1 root root 180, 98 Oct 2 2003 /dev/usb/hiddev2
crw-rw---- 1 root root 180, 99 Oct 2 2003 /dev/usb/hiddev3
crw-rw---- 1 root root 180, 100 Oct 2 2003 /dev/usb/hiddev4
crw-rw---- 1 root root 180, 101 Oct 2 2003 /dev/usb/hiddev5
crw-rw---- 1 root root 180, 102 Oct 2 2003 /dev/usb/hiddev6
crw-rw---- 1 root root 180, 103 Oct 2 2003 /dev/usb/hiddev7
crw-rw---- 1 root root 180, 104 Oct 2 2003 /dev/usb/hiddev8
crw-rw---- 1 root root 180, 105 Oct 2 2003 /dev/usb/hiddev9
Perhaps it's a bad interaction with hotplug or usbd?
....
OK, i got it working. While I was assembling the details for this post I noticed in the config file comments about the old vs new values for device type.
I changed
UPSTYPE backups
to
UPSTYPE usb
and everything else above just the same and "etc/rc.d/apcupsd start"
worked immediately.
I decided to go ahead and post for the sake of the next guy who thinks it doesn't work right away. But I no longer have a question.
Thanks for the help!