On Sat, Jun 25, 2011 at 7:15 PM, Martin Ewing <martin.s.ew...@gmail.com> wrote: > > On Sat, Jun 25, 2011 at 5:48 PM, Charles Lepple <clep...@gmail.com> wrote: >> >> On Jun 24, 2011, at 8:50 PM, Martin Ewing wrote: >> >>> I had been using NUT's Ubuntu package (64 bit) with no problems until >>> upgrading to Ubuntu 11.04. >> >> What was the previous NUT package version?
^^^ Previous question still stands. Is there an upgrade log (/var/log/dpkg.log or similar) which mentions the old .deb version? >> If I have time later this weekend, I'll swap out that UPS for one which >> uses the usbhid-ups driver and see if I can reproduce the problem. I seem to have hardware problems with the UPS which is compatible with that driver, so I can't test with usbhid-ups. > Device: > $ ls -l /dev/bus/usb/006/001 > crw-rw-r-- 1 root root 189, 640 2011-06-24 18:29 /dev/bus/usb/006/001 > > Not in group nut. I think that part might be a bug in Ubuntu's combination of NUT and udev (at some point, udev changed the way it matches USB devices). Are there any messages from udev in syslog? > But I tried one more thing. I powered down the UPS completely and restarted > everything. (I wondered if the Belkin's USB was hung up.) Now, I get > something different: > > $ sudo /lib/nut/usbhid-ups -a mybelkin > Network UPS Tools - Generic HID driver 0.35 (2.6.0) > USB communication driver 0.31 > Using subdriver: Belkin HID 0.12 > libusb_get_report: error sending control message: Operation not permitted > libusb_get_report: error sending control message: Operation not permitted > Can't initialize data from HID UPS > > and > $ ls -l /dev/usb > total 0 > crw------- 1 root root 180, 96 2011-06-25 18:58 hiddev0 > crw-rw---- 1 root lp 180, 0 2011-06-25 18:58 lp0 > martin@gimli:~$ ls -l /dev/bus/usb/006/001 > crw-rw-r-- 1 root root 189, 640 2011-06-25 18:58 /dev/bus/usb/006/001 > > If I try -u root > $ sudo /lib/nut/usbhid-ups -a mybelkin -u root > Network UPS Tools - Generic HID driver 0.35 (2.6.0) > USB communication driver 0.31 > Using subdriver: Belkin HID 0.12 > libusb_get_report: No error > libusb_get_report: No error > libusb_get_report: No error > libusb_get_report: No error > libusb_get_report: No error > libusb_get_report: No error > libusb_get_report: No error > ... This was fixed in v2.6.1, or more specifically, in r2893: http://trac.networkupstools.org/projects/nut/changeset/2893 Can you file a bug? A similar problem was filed here: https://bugs.launchpad.net/ubuntu/+source/nut/+bug/572262 and here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583371 -- - Charles Lepple _______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser