On Feb 20, 2013, at 12:37 PM, Marcelo Roccasalva wrote:
> I'm not sure what the udev rule is trying to achieve but I installed
> the following rule:
>
> ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="10af",
> ATTR{idProduct}=="0008", MODE="664", GROUP="dialout"
>
> to get the following device:
>
> crw-rw-r--. 1 root dialout 189, 385 Feb 20 14:27 /dev/bus/usb/004/002
It's setting the Unix group to dialout, and setting those permissions. It
appears to have worked, although we have another issue.
> 0.212098 Checking device (10AF/0008) (004/002)
> 0.215980 - VendorID: 10af
> 0.215993 - ProductID: 0008
> 0.215999 - Manufacturer: unknown
> 0.216006 - Product: unknown
> 0.216012 - Serial Number: unknown
> 0.216018 - Bus: 004
> 0.216023 Trying to match device
> 0.216068 Device matches
> 0.217972 Unable to get HID descriptor (error sending control
> message: Protocol error)
> 0.217986 HID descriptor length 260
> 0.218978 Unable to get Report descriptor: Protocol error
^ This is NUT checking your UPS, and not being able to get enough information
to continue. Can you try running "lsusb -vvv -d 10af:0008" as root? We're
looking for something more than "Report Descriptors: ** UNAVAILABLE **".
--
Charles Lepple
clepple@gmail
_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser