<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div></div><div><br></div><div>OS name and version, <b>CentOS release 6.10 (Final) Linux 2.6.32-754.3.5.el6.centos.plus.x86_64 #1 SMP Wed Aug 15 02:28:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux<br></b>
</div><div><br></div><div>exact NUT version <br></div><div> Name : nut<br>Arch : x86_64<br>Version : 2.6.5<br>Release : 2.el6<br>Size : 4.2 M<br>Repo : installed<br>From repo : epel<br>Summary : Network UPS Tools<br>URL : <a href="http://www.networkupstools.org/">http://www.networkupstools.org/</a><br></div><div>usbhid-ups --version</div><div><b>Network UPS Tools - Generic HID driver 0.37 (2.6.5)</b><br></div><div></div><div><br></div><div>
NUT installation method: from source tarball, package or Subversion,
<br>
</div><div><b>Installation from package </b><br></div><div>yum install nut</div><div></div><div><br></div><div>exact device name and related information (manufacturing date, web pointers, …),
<br>
</div><div><b>EATON 5E650iUSB MFG P/N: 9C00-43348 Ver:00, Bar code: P462H31DN9</b></div><div></div><div><br></div><div>complete problem description, with any relevant traces, like system log excerpts,
and driver debug output. You can obtain the latter using the following command,
as root and after having stopped NUT:
<br>
<pre><code><b>When I try to load driver for eaton device I am not successful. You can see result of debug messages below. The same device I tried on Xubuntu distro and it worked properly. However I even tried<br>compile binary from git resources on my Centos distro. I was able to run last version nevertheless the result looked the same. </b><br></code></pre><pre><code><br>//sbin/usbhid-ups -DDDD -u root -a eaton<br>Network UPS Tools - Generic HID driver 0.37 (2.6.5)<br>USB communication driver 0.31<br> 0.000000 debug level is '4'<br> 0.001138 upsdrv_initups...<br> 0.001456 Checking device (0458/003A) (001/062)<br> 0.003549 - VendorID: 0458<br> 0.003558 - ProductID: 003a<br> 0.003562 - Manufacturer: Genius<br> 0.003566 - Product: Optical Mouse<br> 0.003570 - Serial Number: unknown<br> 0.003574 - Bus: 001<br> 0.003578 Trying to match device<br> 0.003593 Device does not match - skipping<br> 0.003601 Checking device (0463/FFFF) (001/041)<br> 0.004551 - VendorID: 0463<br> 0.004560 - ProductID: ffff<br> 0.004564 - Manufacturer: unknown<br> 0.004568 - Product: unknown<br> 0.004572 - Serial Number: unknown<br> 0.004576 - Bus: 001<br> 0.004579 Trying to match device<br> 0.004584 Device matches<br> 0.005551 Unable to get HID descriptor (error sending control message: Broken pipe)<br> 0.005560 i=0, extra[i]=09, extra[i+1]=21<br> 0.005567 HID descriptor, method 2: (9 bytes) => 09 21 10 01 21 01 22 25 02<br> 0.005572 HID descriptor length 549<br> 0.006046 Unable to get Report descriptor: Broken pipe<br> 0.006066 Checking device (040B/2000) (001/003)<br> 0.010033 - VendorID: 040b<br> 0.010042 - ProductID: 2000<br> 0.010046 - Manufacturer: Generic<br> 0.010050 - Product: USB Keyboard<br> 0.010054 - Serial Number: unknown<br> 0.010058 - Bus: 001<br> 0.010061 Trying to match device<br> 0.010066 Device does not match - skipping<br> 0.010073 Checking device (8087/0024) (001/002)<br> 0.010086 - VendorID: 8087<br> 0.010090 - ProductID: 0024<br> 0.010094 - Manufacturer: unknown<br> 0.010097 - Product: unknown<br> 0.010101 - Serial Number: unknown<br> 0.010104 - Bus: 001<br> 0.010107 Trying to match device<br> 0.010111 Device does not match - skipping<br> 0.010116 Checking device (1D6B/0002) (001/001)<br> 0.010136 - VendorID: 1d6b<br> 0.010140 - ProductID: 0002<br> 0.010143 - Manufacturer: Linux 2.6.32-754.3.5.el6.centos.plus.x86_64 ehci_hcd<br> 0.010147 - Product: EHCI Host Controller<br> 0.010150 - Serial Number: 0000:00:1a.0<br> 0.010154 - Bus: 001<br> 0.010157 Trying to match device<br> 0.010161 Device does not match - skipping<br> 0.010165 No appropriate HID device found<br> 0.010169 No matching HID UPS found<br><br><code><br></code><br>lsusb<br>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br>Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub<br>Bus 001 Device 003: ID 040b:2000 Weltrend Semiconductor <br>Bus 001 Device 023: ID 0463:ffff MGE UPS Systems UPS<br>Bus 001 Device 025: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler / Genius NetScroll 120<br><br> after conecting USB cable <br>usb-devices | grep -A 3 -B 3 EATON<br>T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 29 Spd=1.5 MxCh= 0<br>D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1<br>P: Vendor=0463 ProdID=ffff Rev=00.01<br>S: Manufacturer=EATON<br>S: Product=5E<br>C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=20mA<br>I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid<br><br><code>after calling usbhi-ups</code><br>usb-devices | grep -A 3 -B 3 EATON<br>T: Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#= 23 Spd=1.5 MxCh= 0<br>D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1<br>P: Vendor=0463 ProdID=ffff Rev=00.01<br>S: Manufacturer=EATON<br>S: Product=5E<br>C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=20mA<br>I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none)<br><br></code></pre><pre><code>dmeg # after inserting usb cabel<br>usb 1-1.2: new low speed USB device number 41 using ehci_hcd<br>usb 1-1.2: New USB device found, idVendor=0463, idProduct=ffff<br>usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br>usb 1-1.2: Product: 5E<br>usb 1-1.2: Manufacturer: EATON<br>usb 1-1.2: configuration #1 chosen from 1 choice<br><br><br>dmesg #<code>after command /sbin/usbhid-ups -DDDD -u nut -a eaton<br><br></code>drivers/hid/usbhid/hid-core.c: usb_submit_urb(ctrl) failed<br>generic-usb 0003:0463:FFFF.16BC: timeout initializing reports<br>generic-usb 0003:0463:FFFF.16BC: hiddev96,hidraw3: USB HID v1.10 Device [EATON 5E] on usb-0000:00:1a.0-1.2/input0<br>usb 1-1.5: USB disconnect, device number 40<br>usb 1-1.5: new low speed USB device number 42 using ehci_hcd<br>usb 1-1.5: New USB device found, idVendor=0458, idProduct=003a<br>usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br>usb 1-1.5: Product: Optical Mouse<br>usb 1-1.5: Manufacturer: Genius<br>usb 1-1.5: configuration #1 chosen from 1 choice<br>input: Genius Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input5796<br>generic-usb 0003:0458:003A.16BD: input,hidraw2: USB HID v1.11 Mouse [Genius Optical Mouse] on usb-0000:00:1a.0-1.5/input0<br>usb 1-1.5: USB disconnect, device number 42<br>usb 1-1.5: new low speed USB device number 43 using ehci_hcd<br>usb 1-1.2: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len 255 ret -110<br>usb 1-1.5: New USB device found, idVendor=0458, idProduct=003a<br>usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0<br>usb 1-1.5: Product: Optical Mouse<br>usb 1-1.5: Manufacturer: Genius<br>usb 1-1.5: configuration #1 chosen from 1 choice<br>input: Genius Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.0/input/input5797<br>generic-usb 0003:0458:003A.16BE: input,hidraw2: USB HID v1.11 Mouse [Genius Optical Mouse] on usb-0000:00:1a.0-1.5/input0<br><br><br>cat /etc/udev/rules.d/92-nut-eaton.rules <br>ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0463", ATTR{idProduct}=="ffff", MODE="0666", GROUP="nut"<br><br><br>lsusb |grep UPS<br>Bus 001 Device 041: ID 0463:ffff MGE UPS Systems UPS<br><br>ls -al /dev/bus/usb/001/041<br>crw-rw-rw-. 1 root nut 189, 40 9. říj 11.45 /dev/bus/usb/001/041<br><br><br></code></pre></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>