[Nut-upsuser] FreeBSD usbhid-ups problem
Daniel O'Connor
doconnor at gsoft.com.au
Thu Sep 25 08:26:43 UTC 2008
On Tue, 2 Sep 2008, Arnaud Quette wrote:
> Hey there,
>
> 2008/8/25 Daniel O'Connor <doconnor at gsoft.com.au>:
> > 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080925/aae5e5ef/attachment.pgp
More information about the Nut-upsuser
mailing list