[Nut-upsuser] NUT 2.4.3 on new server can not see serial number, but old nut on different hardware can?

Jon Bendtsen jbendtsen at laerdal.dk
Fri Nov 12 16:16:50 UTC 2010


hi

NUT 2.4.3 on new server can not see serial number, but old nut on different hardware can?

I have 2 USB-hid ups from APC, 1500 and 3000 RM, i use the serial number to identify them. However my new UPS monitor server can not see the serial number?

It works on 
	Linux dkserver 2.6.22.18-vs2.2.0.6 #1 SMP Sat Feb 16 20:54:32 CET 2008 i686 GNU/Linux 
	debian package 2.2.2-6.5

it does not work on
	Linux dkplugbab9 2.6.32-00007-g56678ec #1 PREEMPT Mon Feb 8 03:49:55 PST 2010 armv5tel GNU/Linux 
	NUT 2.4.3 self compiled

dkplugbab9:/usr/local/ups/etc# /usr/local/ups/bin/usbhid-ups -a apc1500 -u nut -DD
Network UPS Tools - Generic HID driver 0.34 (2.4.3)
USB communication driver 0.31
   0.000000	debug level is '2'
   0.002738	upsdrv_initups...
   0.005059	Checking device (051D/0002) (001/011)
   0.005304	- VendorID: 051d
   0.005351	- ProductID: 0002
   0.005383	- Manufacturer: unknown
   0.005420	- Product: unknown
   0.005451	- Serial Number: unknown
   0.005486	- Bus: 001
   0.005516	Trying to match device
   0.005630	Device does not match - skipping


But if i use
	udevadm info --name=/dev/bus/usb/001/011 --attribute-walk 
i can see it just fine?

    ATTRS{manufacturer}=="American Power Conversion"
    ATTRS{product}=="Smart-UPS 1500 FW:653.12.I USB FW:4.2"
    ATTRS{serial}=="AS0535132782"


What is going on here?



More information about the Nut-upsuser mailing list