[Nut-upsuser] FreeBSD usbhid-ups problem

Arnaud Quette aquette.dev at gmail.com
Tue Sep 2 08:59:09 UTC 2008


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.

cheers,
Arnaud
-- 
Linux / Unix Expert R&D - MGE Office Protection Systems - http://www.mgeops.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/



More information about the Nut-upsuser mailing list