<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>Hi</div><div><br></div><div>BACKGROUND INFO:</div><div>I have a new Eaton 5E 1100i USB UPS which their website claims is supported on Linux. They don't provide software for it for Linux, only for Windows.</div><div>Referring links:</div><div><a href="https://www.eaton.com/za/en-gb/catalog/backup-power-ups-surge-it-power-distribution/Eaton_5E_UPS.html">https://www.eaton.com/za/en-gb/catalog/backup-power-ups-surge-it-power-distribution/Eaton_5E_UPS.html</a><br></div><div><a href="https://www.eaton.com/za/en-gb/skuPage.5E1100IUSB.specifications.html">https://www.eaton.com/za/en-gb/skuPage.5E1100IUSB.specifications.html</a><br></div><div>It was manufactured in May 2020 according to the sticker on the box.</div><div><br></div><div>I am running on Fedora 32 with all the latest patches. I installed nut and nut-client from the Fedora repository, which provides version </div><div>nut-2.7.4-27.fc32.x86_64</div><div>nut-client-2.7.4-27.fc32.x86_64</div><div><br></div><div>On <a href="https://networkupstools.org/stable-hcl.html">https://networkupstools.org/stable-hcl.html</a> I am told that it is 5* green "vendor provided protocol and hardware" using usbhis-ups as a driver.</div><div><br></div><div>PROBLEM:</div><div>1. The UPS is listed in "lsusb" as </div><div>Bus 002 Device 101: ID 0463:ffff MGE UPS Systems UPS</div><div>However, I notice that is disappears and reconnects every 19 seconds. I've seen some posts noticing this too, and stating that it stops once it is successfully connected to the software. I hope that is true and that I haven't been wasting effort on a faulty device. I have tried with my printer's USB cable and seen the same thing. I then tried it on my laptop (also on Fedora 32) with the same result. To me this eliminates my PC and the cabling.</div><div><br></div><div>2. The device is detected by "nut-scanner -U" as:</div><pre><a href="mailto:root@fedora">root@fedora</a> ~]# nut-scanner -U</pre><pre>Scanning USB bus.</pre><pre>[nutdev1]</pre><pre> driver = "usbhid-ups"</pre><pre> port = "auto"</pre><pre> vendorid = "0463"</pre><pre> productid = "FFFF"</pre><pre> product = "5E"</pre><pre> bus = "002"</pre><div>I have put that exact info into /etc/ups/ups.conf - it's the only info not commented with a # in the file. I changed the name to eaton5e though.</div><div><br></div><div>When I then run: </div><pre>[<a href="mailto:root@fedora">root@fedora</a> ~]# /usr/sbin/usbhid-ups -DDDD -a eaton5e </pre><pre>Network UPS Tools - Generic HID driver 0.41 (2.7.4)</pre><pre>USB communication driver 0.33</pre><pre> 0.000000 debug level is '4'</pre><pre> 0.002054 upsdrv_initups...</pre><pre> 0.017685 Checking device (0463/FFFF) (002/120)</pre><pre> 2.024057 - VendorID: 0463</pre><pre> 2.024080 - ProductID: ffff</pre><pre> 2.024083 - Manufacturer: unknown</pre><pre> 2.024087 - Product: unknown</pre><pre> 2.024090 - Serial Number: unknown</pre><pre> 2.024093 - Bus: 002</pre><pre> 2.024096 - Device release number: 0001</pre><pre> 2.024099 Trying to match device</pre><pre> 2.024122 Device matches</pre><pre> 2.024134 failed to claim USB device: Device or resource busy</pre><pre> 4.898305 detached kernel driver from USB device...</pre><pre> 4.898344 nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)</pre><pre> 9.901010 Unable to get HID descriptor (Connection timed out)</pre><pre> 9.901031 HID descriptor length (method 1) -1</pre><pre> 9.901037 i=0, extra[i]=09, extra[i+1]=21</pre><pre> 9.901044 HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 25 02</pre><pre> 9.901048 HID descriptor length (method 2) 549</pre><pre> 9.901052 HID descriptor length 549</pre><pre> 9.901370 Unable to get Report descriptor: Broken pipe</pre><pre> 9.901403 Checking device (1B1C/0A17) (002/003)</pre><pre> 9.901435 Failed to open device, skipping. (Permission denied)</pre><pre> 9.901441 Checking device (8087/0024) (002/002)</pre><pre> 9.901448 Failed to open device, skipping. (Permission denied)</pre><pre> 9.901452 Checking device (1D6B/0002) (002/001)</pre><pre> 9.901462 Failed to open device, skipping. (Permission denied)</pre><pre> 9.901468 Checking device (1B80/B403) (001/005)</pre><pre> 9.901477 Failed to open device, skipping. (Permission denied)</pre><pre> 9.901483 Checking device (18F8/0F97) (001/004)</pre><pre> 9.901491 Failed to open device, skipping. (Permission denied)</pre><pre> 9.901497 Checking device (048D/1345) (001/003)</pre><pre> 9.901506 Failed to open device, skipping. (Permission denied)</pre><pre> 9.901511 Checking device (8087/0024) (001/002)</pre><pre> 9.901520 Failed to open device, skipping. (Permission denied)</pre><pre> 9.901526 Checking device (1D6B/0002) (001/001)</pre><pre> 9.901534 Failed to open device, skipping. (Permission denied)</pre><pre> 9.901540 Checking device (1D6B/0003) (004/001)</pre><pre> 9.901549 Failed to open device, skipping. (Permission denied)</pre><pre> 9.901555 Checking device (1D6B/0002) (003/001)</pre><pre> 9.901563 Failed to open device, skipping. (Permission denied)</pre><pre> 9.901569 No appropriate HID device found</pre><pre> 9.901575 No matching HID UPS found</pre><div><br></div><div>(If I run it with -u root it tries to read my headphones and other USB devices, but the UPS still has the same result.)</div><div><br></div><div>So my problem is:</div><div><pre> 2.024099 Trying to match device</pre><pre> 2.024122 Device matches</pre><pre> 2.024134 <b>failed to claim USB device: Device or resource busy</b></pre><pre> 4.898305 detached kernel driver from USB device...</pre><pre> 4.898344 nut_usb_set_altinterface: skipped usb_set_altinterface(udev, 0)</pre></div><div><br></div><div>Please could you assist me in getting the driver to load and successfully connect?</div><div><br></div><div>Many thanks,</div><div>Louis</div><div><br></div><div></div><div></div></body></html>