Looks like a permissions problem. USB drivers require some special
setting-up. They key is to start by running the driver with "-u root".
I wrote some instructions for APC/newhidups at
http://www.mathstat.dal.ca/~selinger/ups/backups.html; they might
help.
-- Peter
Gregory Gulik wrote:>
>
> I have a Tripp Lite SMART1500 RMXL2U UPS and I'd love to be able to
> access it via USB. I found that the latest NUT sources in CVS has a
> driver that looks like it might work.
>
> Any chance that driver would work the my UPS?
>
> I tried running it and it's not working:
>
> failed to detach kernel driver from USB device...
> trying again to claim USB device...
> failed to claim USB device, trying 1 more time(s)...
> detaching kernel driver from USB device...
> failed to detach kernel driver from USB device...
> trying again to claim USB device...
> failed to claim USB device, trying 0 more time(s)...
> detaching kernel driver from USB device...
> failed to detach kernel driver from USB device...
> trying again to claim USB device...
> Unable to get HID descriptor (error sending control message: Operation
> not permitted)
> Checking device (0000/0000) (001/001)
> - VendorID: 0000
> - ProductID: 0000
> - Manufacturer: unknown
> - Product: unknown
> - Serial Number: unknown
> - Bus: 001
> Trying to match device
> Device does not match - skipping
> No appropriate HID device found
> No matching USB/HID UPS found
>
>
> The device identifies itself as:
>
> usb 1-1: new low speed USB device using uhci_hcd and address 4
> hiddev96: USB HID v1.00 Device [TRIPP LITE TRIPP LITE SMART1500RMXL2Ua ]
> on usb-0000:00:1f.2-1
>
> --
> Greg Gulik http://www.gulik.org/greg/
> greg @ gulik.org
>
>
>
> --------------000707080201030700030402
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
> <title></title>
> </head>
> <body bgcolor="#ffffff" text="#000000">
> <font face="Helvetica, Arial, sans-serif"><br>
> I have a Tripp Lite SMART1500 RMXL2U UPS and I'd love to be able to
> access it via USB. I found that the latest NUT sources in CVS has
a
> driver that looks like it might work.<br>
> <br>
> Any chance that driver would work the my UPS?<br>
> <br>
> I tried running it and it's not working:<br>
> <br>
> failed to detach kernel driver from USB device...<br>
> trying again to claim USB device...<br>
> failed to claim USB device, trying 1 more time(s)...<br>
> detaching kernel driver from USB device...<br>
> failed to detach kernel driver from USB device...<br>
> trying again to claim USB device...<br>
> failed to claim USB device, trying 0 more time(s)...<br>
> detaching kernel driver from USB device...<br>
> failed to detach kernel driver from USB device...<br>
> trying again to claim USB device...<br>
> Unable to get HID descriptor (error sending control message: Operation
> not permitted)<br>
> Checking device (0000/0000) (001/001)<br>
> - VendorID: 0000<br>
> - ProductID: 0000<br>
> - Manufacturer: unknown<br>
> - Product: unknown<br>
> - Serial Number: unknown<br>
> - Bus: 001<br>
> Trying to match device<br>
> Device does not match - skipping<br>
> No appropriate HID device found<br>
> No matching USB/HID UPS found<br>
> <br>
> <br>
> The device identifies itself as:<br>
> <br>
> usb 1-1: new low speed USB device using uhci_hcd and address 4<br>
> hiddev96: USB HID v1.00 Device [TRIPP LITE TRIPP LITE SMART1500RMXL2Ua
> ] on usb-0000:00:1f.2-1<br>
> <br>
> </font>
> <pre class="moz-signature" cols="72">--
> Greg Gulik <a
class="moz-txt-link-freetext"
href="http://www.gulik.org/greg/">http://www.gulik.org/greg/</a>
> greg @ gulik.org
>
> </pre>
> </body>
> </html>
>
> --------------000707080201030700030402--
>
>
> --===============1215220289=> Content-Type: text/plain;
charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> _______________________________________________
> Nut-upsuser mailing list
> Nut-upsuser@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser
>
> --===============1215220289==--
>