<b>Here's what I get with the usbhid-ups drivers:</b><br><br>eric@eric-desktop:~$ sudo /lib/nut/usbhid-ups -D -a Ultra<br>[sudo] password for eric: <br>Network UPS Tools - Generic HID driver 0.34 (2.4.3)<br>USB communication driver 0.31<br>
0.000000 debug level is '1'<br> 0.001260 upsdrv_initups...<br> 0.172461 Can't claim USB device [0d9f:0004]: could not detach kernel driver from interface 0: Operation not permitted<br><br><b><br>
Blazer_USB:<br></b><br>eric@eric-desktop:~$ sudo /lib/nut/blazer_usb -DDDDD -a Ultra<br>Network UPS Tools - Megatec/Q1 protocol USB driver 0.03 (2.4.3)<br> 0.000000 send_to_all: SETINFO driver.parameter.port "auto"<br>
0.000085 send_to_all: SETINFO driver.parameter.vendorid "0d9f"<br> 0.000121 send_to_all: SETINFO driver.parameter.productid "000"<br> 0.000188 debug level is '5'<br> 0.170263 Checking device (1D6B/0001) (005/001)<br>
0.170403 - VendorID: 1d6b<br> 0.170427 - ProductID: 0001<br> 0.170447 - Manufacturer: unknown<br> 0.170466 - Product: unknown<br> 0.170485 - Serial Number: unknown<br> 0.170507 - Bus: 005<br>
0.170537 Trying to match device<br> 0.170617 Device does not match - skipping<br> 0.170671 Checking device (1D6B/0001) (004/001)<br> 0.170760 - VendorID: 1d6b<br> 0.170784 - ProductID: 0001<br> 0.170803 - Manufacturer: unknown<br>
0.170822 - Product: unknown<br> 0.170841 - Serial Number: unknown<br> 0.170860 - Bus: 004<br> 0.170879 Trying to match device<br> 0.170903 Device does not match - skipping<br> 0.170933 Checking device (1D6B/0001) (003/001)<br>
0.170991 - VendorID: 1d6b<br> 0.171014 - ProductID: 0001<br> 0.171033 - Manufacturer: unknown<br> 0.171052 - Product: unknown<br> 0.171071 - Serial Number: unknown<br> 0.171091 - Bus: 003<br>
0.171109 Trying to match device<br> 0.171132 Device does not match - skipping<br> 0.171161 Checking device (0D9F/0004) (002/004)<br> 0.171220 - VendorID: 0d9f<br> 0.171242 - ProductID: 0004<br> 0.171261 - Manufacturer: unknown<br>
0.171281 - Product: unknown<br> 0.171299 - Serial Number: unknown<br> 0.171318 - Bus: 002<br> 0.171336 Trying to match device<br> 0.171417 Device does not match - skipping<br> 0.171449 Checking device (03F0/2C24) (002/002)<br>
0.171507 - VendorID: 03f0<br> 0.171529 - ProductID: 2c24<br> 0.171548 - Manufacturer: unknown<br> 0.171567 - Product: unknown<br> 0.171586 - Serial Number: unknown<br> 0.171605 - Bus: 002<br>
0.171623 Trying to match device<br> 0.171649 Device does not match - skipping<br> 0.171677 Checking device (1D6B/0001) (002/001)<br> 0.171734 - VendorID: 1d6b<br> 0.171757 - ProductID: 0001<br> 0.171776 - Manufacturer: unknown<br>
0.171795 - Product: unknown<br> 0.171813 - Serial Number: unknown<br> 0.171833 - Bus: 002<br> 0.171851 Trying to match device<br> 0.171873 Device does not match - skipping<br> 0.171901 Checking device (1D6B/0002) (001/001)<br>
0.171957 - VendorID: 1d6b<br> 0.171980 - ProductID: 0002<br> 0.171998 - Manufacturer: unknown<br> 0.172018 - Product: unknown<br> 0.172037 - Serial Number: unknown<br> 0.172055 - Bus: 001<br>
0.172073 Trying to match device<br> 0.172096 Device does not match - skipping<br> 0.172122 No appropriate HID device found<br> 0.172151 No supported devices found. Please check your device availability with 'lsusb'<br>
and make sure you have an up-to-date version of NUT. If this does not help,<br>try running the driver with at least 'subdriver', 'vendorid' and 'productid'<br>options specified. Please refer to the man page for details about these options<br>
(man 8 blazer).<br><br><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 11:04 AM, Arnaud Quette <span dir="ltr"><<a href="mailto:aquette.dev@gmail.com">aquette.dev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Eric,<br><br>first, please keep the traffic on the list. Other people may be interested in reading...<br><br><div class="gmail_quote"><div><div></div><div class="h5">2011/7/16 Eric OwN-3m-All <span dir="ltr"><<a href="mailto:own3mall@gmail.com" target="_blank">own3mall@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><b>I tried that, but it's not working.</b><br><b><br>Here's what I get:</b><br><br>
<i><div>Network UPS Tools - UPS driver controller 2.4.3<br>
</div>Network UPS Tools - Generic HID driver 0.34 (2.4.3)<br>USB communication driver 0.31<br>
This PowerCOM device (0d9f:0004) is not (or perhaps not yet) supported<br>by usbhid-ups. Please make sure you have an up-to-date version of NUT. If<br>this does not fix the problem, try running the driver with the<br>'-x productid=0004' option. Please report your results to the NUT user's<br>
mailing list <<a href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a>>.<br><br>No matching HID UPS found<div><br>Driver failed to start (exit status=1)<br>
</div><div>eric@eric-desktop:~$ sudo upsdrvctl start<br>
Network UPS Tools - UPS driver controller 2.4.3<br></div>Network UPS Tools - Generic HID driver 0.34 (2.4.3)<br>USB communication driver 0.31<br>This PowerCOM device (0d9f:0004) is not (or perhaps not yet) supported<br>by usbhid-ups. Please make sure you have an up-to-date version of NUT. If<br>
this does not fix the problem, try running the driver with the<br>'-x productid=0004' option. Please report your results to the NUT user's<br>mailing list <<a href="mailto:nut-upsuser@lists.alioth.debian.org" target="_blank">nut-upsuser@lists.alioth.debian.org</a>>.<br>
<br>No matching HID UPS found<div><br>Driver failed to start (exit status=1)</div></i><br><b><br>I first tried it like this:</b><div><br><br>[Ultra]<br> driver = usbhid-ups<br> port = auto<br>
<br></div><b>Then I tried:</b><div><br><br>[Ultra]<br>
driver = usbhid-ups<br> port = auto<br></div> -x productid=0004<br><br>Any other ideas? I think I was close with the Blazer drivers, but I don't have any USB ttyUSB0 files.</blockquote></div></div><div>
<br>first, test usbhid-ups with the following config (no "-x", since it's for the command line version):<div class="im"><br>
[Ultra]<br>
driver = usbhid-ups<br> port = auto<br></div>
vendorid=0d9f<br>
productid=0004<br>
<br>and use:<br>$ /path/to/usbhid-ups -D -a Ultra<br><br>then send us back the output.<br>If it really doesn't work, you may want to try out blazer_usb, with:<br>[Ultra]<br>
driver = blazer_usb<br>
port = auto<br>
vendorid=0d9f<br>
productid=0004<br>
<br>and use:<br>
$ /path/to/blazer_usb -DDDDD -a Ultra<br> <br>cheers,<br><font color="#888888">Arnaud<br></font></div></div><div><div></div><div class="h5">-- <br>Linux / Unix Expert R&D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br>
</div></div></blockquote></div><br>