[Nut-upsuser] USB permission problem

Karl Dalen
Fri, 05 Feb 2010 07:48:16 -0000

I have just compiled and installed nut-2.4.1 and I get
the following errors when I try it: There is no difference
if I run it as root or normal user. Any help would be
appreciated.

# usbhid-ups -DDD -a SMART1000LCD

Network UPS Tools - Generic HID driver 0.34 (2.4.1)
USB communication driver 0.31
debug level is '3'
upsdrv_initups...
Checking device (1D6B/0002) (001/001)
libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied.
libusb requires write access to USB device nodes.
Failed to open device, skipping. (Permission denied)
Checking device (05E3/0605) (001/003)
libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied.
libusb requires write access to USB device nodes.
Failed to open device, skipping. (Permission denied)
Checking device (09AE/2007) (001/009)
libusb couldn't open USB device /dev/bus/usb/001/009: Permission denied.
libusb requires write access to USB device nodes.
Failed to open device, skipping. (Permission denied)
:
No appropriate HID device found
No matching HID UPS found
----------------------------------------------------------------------------

I have a tripp lite 1000LCD and my etc/ups.conf looks like:
[SMART1000LCD]
driver = usbhid-ups
port = auto
desc = "Tripp Lite SMART1000LCD USB"

The device is identified in dmesg as:

usb 1-4.1: new low speed USB device using ehci_hcd and address 9
usb 1-4.1: New USB device found, idVendor=09ae, idProduct=2007
usb 1-4.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
usb 1-4.1: Product: TRIPP LITE UPS
usb 1-4.1: Manufacturer: Tripp Lite
usb 1-4.1: SerialNumber: FW-2263 E
usb 1-4.1: configuration #1 chosen from 1 choice
generic-usb 0003:09AE:2007.0007: hiddev0,hidraw2: USB HID v1.10 Device [Tripp
Lite  TRIPP LITE UPS ] on usb-0000:00:10.3-4.1/input0

% lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 05e3:0605 Genesys Logic, Inc. USB 2.0 Hub [ednet]
Bus 001 Device 009: ID 09ae:2007 Tripp Lite
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


_________________________________________________________________
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20100205/8fb5893f/attachment.htm>