Greetings: I've been following through the instructions on how to connect an APC BackUPS 650 ES to USB, and have it monitored with NUT... I know my system can SEE the UPS, as DMESG shows this: hiddev96: USB HID v1.10 Device [APC Back-UPS ES 650 FW:818.w1.D USB FW:w1] on usb-0000:00:04.2-1 usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver I can see an entry in /dev/usb called hiddev0 I have updated my ups.conf file as follows: [apc] driver = newhidups port = /dev/usb/hiddev0 desc = "APC Back-UPS ES 650" Note, that port used to be set to auto, but in deperation, I hardcoded it.. I'm running kernel version 2.6.17.3, and have libusb-0.1.so.4.4.0 libraries installed. I cannot see anything in /proc/bus/usb. When I try to run newhidups, I get: root@excalibur:/usr/src/nut-2.0.4# ./drivers/newhidups -a apc -u root /dev/usb/hiddev0 Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4) No matching USB/HID UPS found root@excalibur:/usr/src/nut-2.0.4# ./drivers/newhidups -a apc -u root Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4) No matching USB/HID UPS found root@excalibur:/usr/src/nut-2.0.4# Can anyone suggest a course of action I can take?.. Thanks kindly, Richard.
2007/1/12, richard@connections.yk.ca <richard@connections.yk.ca>:> Greetings: > > I've been following through the instructions on how to connect an APC > BackUPS 650 ES to USB, and have it monitored with NUT... > > I know my system can SEE the UPS, as DMESG shows this: > > hiddev96: USB HID v1.10 Device [APC Back-UPS ES 650 FW:818.w1.D USB FW:w1] > on usb-0000:00:04.2-1 > usbcore: registered new driver usbhid > drivers/usb/input/hid-core.c: v2.6:USB HID core driver > > I can see an entry in /dev/usb called hiddev0 > > I have updated my ups.conf file as follows: > > [apc] > driver = newhidups > port = /dev/usb/hiddev0 > desc = "APC Back-UPS ES 650" > > Note, that port used to be set to auto, but in deperation, I hardcoded it.. > > I'm running kernel version 2.6.17.3, and have libusb-0.1.so.4.4.0 > libraries installed. > > I cannot see anything in /proc/bus/usb.depending upon your system, this might sit in /dev/bus/usb just check, using the "mount" command that you have something like: procbususb on /proc/bus/usb type usbfs (rw)> When I try to run newhidups, I get: > > root@excalibur:/usr/src/nut-2.0.4# ./drivers/newhidups -a apc -u root > /dev/usb/hiddev0 > Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4) > > No matching USB/HID UPS found > root@excalibur:/usr/src/nut-2.0.4# ./drivers/newhidups -a apc -u root > Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4) > > No matching USB/HID UPS found > root@excalibur:/usr/src/nut-2.0.4# > > Can anyone suggest a course of action I can take?..this should be due to the fact that you have not set the hotplug or udev rules. check the nut/scripts/hotplug*/README for more information. These scripts are there to set the right permissions on the dev file upon {cold,hot}plugging. finally note that newhidups is the way to go since it will fully replace hidups by nut 2.2 Arnaud -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/
> I've been following through the instructions on how to connect an APC > BackUPS 650 ES to USB, and have it monitored with NUT... > I'm running kernel version 2.6.17.3, and have libusb-0.1.so.4.4.0 > libraries installed.FWIW we have found our 2.6.17 systems to be unstable when connected to APC SmartUPS boxes over USB. The same combinations are quite happy to run with USB-serial dongles and apcsmart -a ttyUSB0. We haven't had time to investigate...> root@excalibur:/usr/src/nut-2.0.4# ./drivers/newhidups -a apc -u root > Network UPS Tools: New USB/HID UPS driver 0.28 (2.0.4) > > No matching USB/HID UPS found > root@excalibur:/usr/src/nut-2.0.4# > > Can anyone suggest a course of action I can take?Crank up the -D level and/or run it under strace? -- Dr George D M Ross, School of Informatics, University of Edinburgh Kings Buildings, Mayfield Road, Edinburgh, Scotland, EH9 3JZ Mail: gdmr@inf.ed.ac.uk Voice: +44 131 650 5147 Fax: +44 131 667 7209 PGP: 1024D/AD758CC5 B91E D430 1E0D 5883 EF6A 426C B676 5C2B AD75 8CC5 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 238 bytes Desc: not available Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20070112/8140974d/attachment.pgp