<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<p>I need help to find a way to start the usbhid-ups driver successfully, i always get a failed status after start of the driver</p>
<p>THX</p>
<p> </p>
<p>used environment:</p>
</div>
<div>
<ul>
<li>
<p>OS: 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux</p>
</li>
<li>
<p>NUT version 2.7.4</p>
</li>
<li>
<p>NUT installation method: apt-get install nut</p>
</li>
<li>
<p>UPS: PowerWalker VI 650 SB</p>
</li>
<li>
<p>problem description, with any relevant traces, like system log excerpts, and driver debug output</p>
</li>
<li>
<p>lsusb<br/>
Bus 001 Device 003: ID 0764:0601 Cyber Power System, Inc. PR1500LCDRT2U UPS</p>
</li>
<li>
<div>cat /etc/nut/ups.conf<br/>
# Set maxretry to 3 by default, this should mitigate race with slow devices:<br/>
maxretry = 3<br/>
[PowerWalker650]<br/>
driver = usbhid-ups<br/>
port = auto<br/>
desc = "server"<br/>
</div>
</li>
<li>
<div>upsdrvctl start<br/>
Network UPS Tools - UPS driver controller 2.7.4<br/>
Network UPS Tools - Generic HID driver 0.41 (2.7.4)<br/>
USB communication driver 0.33<br/>
No matching HID UPS found<br/>
Driver failed to start (exit status=1)<br/>
Network UPS Tools - Generic HID driver 0.41 (2.7.4)<br/>
USB communication driver 0.33<br/>
No matching HID UPS found<br/>
Driver failed to start (exit status=1)<br/>
Network UPS Tools - Generic HID driver 0.41 (2.7.4)<br/>
USB communication driver 0.33<br/>
No matching HID UPS found<br/>
Driver failed to start (exit status=1)</div>
</li>
<li>
<p>You can obtain the latter using the following command, as root and after having stopped NUT:</p>
<div>
<div>
<pre><code>/path/to/driver -DD -a <upsname></code></pre>
<div><code>/lib/nut/usbhid-ups -DD -a PowerWalker650<br/>
Network UPS Tools - Generic HID driver 0.41 (2.7.4)<br/>
USB communication driver 0.33<br/>
0.000000 debug level is '2'<br/>
0.003634 upsdrv_initups...<br/>
0.026290 Checking device (1D6B/0003) (002/001)<br/>
0.043513 - VendorID: 1d6b<br/>
0.044473 - ProductID: 0003<br/>
0.044928 - Manufacturer: unknown<br/>
0.045433 - Product: unknown<br/>
0.045847 - Serial Number: unknown<br/>
0.046276 - Bus: 002<br/>
0.046843 - Device release number: 0419<br/>
0.047250 Trying to match device<br/>
0.047684 Device does not match - skipping<br/>
0.050203 Checking device (0764/0601) (001/003)<br/>
0.053610 - VendorID: 0764<br/>
0.054105 - ProductID: 0601<br/>
0.054620 - Manufacturer: 1<br/>
0.055013 - Product: 650<br/>
0.055434 - Serial Number:<br/>
0.055845 - Bus: 001<br/>
0.056418 - Device release number: 0200<br/>
0.056845 Trying to match device<br/>
0.057251 Device matches<br/>
0.057334 failed to claim USB device: could not claim interface 0: No such file or directory<br/>
0.057475 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: No route to host<br/>
0.057554 failed to claim USB device: could not claim interface 0: No such file or directory<br/>
0.057600 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: No route to host<br/>
0.057768 failed to claim USB device: could not claim interface 0: No such file or directory<br/>
0.057825 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: No route to host<br/>
0.057870 failed to claim USB device: could not claim interface 0: No such file or directory<br/>
0.058006 failed to detach kernel driver from USB device: could not detach kernel driver from interface 0: No route to host<br/>
0.058050 Can't claim USB device [0764:0601]: could not detach kernel driver from interface 0: No route to host</code><br/>
</div>
</div>
</div>
</li>
</ul>
</div></div></body></html>