On Tue, 2 Sep 2008, Arnaud Quette wrote: > Hey there, > > 2008/8/25 Daniel O'Connor <[EMAIL PROTECTED]>: > > On Sat, 23 Aug 2008, Arjen de Korte wrote: > >> >> Are the 'usbhid-ups' (driver) and 'upsd' (server) also running > >> >> as 'nutmon'? We recommend that they run as a different user > >> >> than the 'upsmon' (client). > >> > > >> > They are running as the same user.. It shouldn't stop it working > >> > though, right? > >> > >> No, it's just a matter of securing things. There is a (small) > >> benefit in running them as different users. > > > > OK that's what I thought :) > > > >> What was the result after running the driver as root (add '-u > >> root' to the 'upsdrvctl' commandline)? > > > > I tried that but no change :( > > you might want to have libusb debug trace also, to see more low level > things. use "export USB_DEBUG=3" before launching usbhid-ups. > you might also have a look at your kernel output for ugen to see if > there is a problem here.
Hmm.. I get this.. usb_control_msg: 161 1 769 0 0x813310c 2 4000 USB error: error sending control message: Input/output error Can't retrieve Report 1: Input/output error upsdrv_updateinfo... Got to reconnect! usb_set_debug: Setting debugging level to 3 (on) usb_os_find_busses: Found /dev/usb0 usb_os_find_busses: Found /dev/usb1 usb_os_find_busses: Found /dev/usb2 usb_os_find_busses: Found /dev/usb3 usb_os_find_busses: Found /dev/usb4 usb_os_find_devices: couldn't open device /dev/ugen0: Device busy No appropriate HID device found upsdrv_updateinfo... Got to reconnect! Sorry for the late reply.. :( -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Nut-upsuser mailing list Nut-upsuser@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser