<br><div class="gmail_quote">2012/3/30 Peter Tuhársky <span dir="ltr"><<a href="mailto:tuharsky@misbb.sk">tuharsky@misbb.sk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 Hi, Arnaud<br></blockquote><div><br>Hi Peter <br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thank You for Your kind answer.<br>
<br>
I attempted to use USB, as You suggested. After connecting the cable, kernel detects HP R 5000 as HID like this:<br>
<br>
[ 1701.100025] usb 2-1: new full speed USB device using ohci_hcd and address 2<br>
[ 1701.324982] usb 2-1: New USB device found, idVendor=03f0, idProduct=1fe7<br>
[ 1701.324985] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=4<br>
[ 1701.324989] usb 2-1: Product: HP R5000<br>
[ 1701.324991] usb 2-1: Manufacturer: HP<br>
[ 1701.324992] usb 2-1: SerialNumber: 3C81520083<br>
[ 1701.325147] usb 2-1: configuration #1 chosen from 1 choice<br>
[ 1701.391326] usbcore: registered new interface driver hiddev<br>
[ 1701.433359] generic-usb: probe of 0003:03F0:1FE7.0001 failed with error -22<br>
[ 1701.433395] usbcore: registered new interface driver usbhid<br>
[ 1701.433460] usbhid: v2.6:USB HID core driver<br>
<br>
Although generic-usb fails with error -22, I hope this should not be a problem, since next lines, usbcore and usbhid show no no sign of trouble.<br></blockquote><div><br>not sure why you get this. I'll have to go back to the kernel soon...<br>
 </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I set ups.conf like this:<br>
<br>
 protocol = usbhid-ups<br>
 port = auto<br>
<br>
However, starting upsdrvctl shows this error:<br>
<br>
 Network UPS Tools - UPS driver controller 2.4.3<br>
 Network UPS Tools - Generic HID driver 0.34 (2.4.3)<br>
 USB communication driver 0.31<br>
 No matching HID UPS found<br>
 Driver failed to start (exit status=1)<br>
<br>
<br>
Should I use some exact vendor specification in ups.conf and if, what should it be? Or is there other source of trouble?<br>
</blockquote><div><br>R5000 (USB productID 0x1fe7) is part of my (still underway) patch :-/<br>adding "productid=0x1fe7" to your usp.conf will indeed fix it.<br><br>note that I've still a few fixes staging and tests needed on my side, even for HID.<br>
so expect to see a few buggy values, like for battery.temperature.<br><br>cheers,<br>Arnaud<br></div></div><br>