[Nut-upsuser] Ubuntu 10.04 Ultra 700VA UPS Setup Nut
Charles Lepple
clepple at gmail.com
Sun Jul 24 12:51:00 UTC 2011
On Jul 23, 2011, at 7:02 PM, Eric OwN-3m-All wrote:
> Here's what I get with the usbhid-ups drivers:
>
> eric at eric-desktop:~$ sudo /lib/nut/usbhid-ups -D -a Ultra
> [sudo] password for eric:
> Network UPS Tools - Generic HID driver 0.34 (2.4.3)
> USB communication driver 0.31
> 0.000000 debug level is '1'
> 0.001260 upsdrv_initups...
> 0.172461 Can't claim USB device [0d9f:0004]: could not detach
> kernel driver from interface 0: Operation not permitted
In both cases, I think you will need to add "-u root" to the command
line for testing. (You still need sudo, but the drivers ordinarily
drop root privileges after they start.) Once a device is supported, we
add the USB VID:PID to the udev rules to fix permissions automatically.
--
Charles Lepple
More information about the Nut-upsuser
mailing list