<div dir="ltr">Hi all, I am trying to communicate to this Eaton Ellipse (see above) using nut from a Debian Squeeze system on Armel architecture. But have not succeeded so far.<div><br></div><div><div>Version: Linux b3 2.6.39.4-11 #1 Tue Apr 3 21:45:12 FET 2012 armv5tel GNU/Linux</div>
</div><div><br></div><div><div>Nut version is  2.4.3-1.1squeeze2 this information if from dpkg.</div><div><br></div><div>NUT installation method:from debian package for armel.</div><div><br></div><div>The problem is I cannot communicate to this device from the usbhid-ups driver.<br>
</div><div><br></div><div>The configuration is as follows.</div><div><br></div><div><div># Network UPS Tools: example nut.conf</div><div><span class="" style="white-space:pre">        </span>MODE=standalone<br></div><div><span class="" style="white-space:pre">  </span>driver = usbhid-ups</div>
<div><span class="" style="white-space:pre">    </span>port = auto</div><div><br></div></div><div><div># Network UPS Tools: example ups.conf</div><div>[eaton]<br></div><div>       driver = usbhid-ups</div><div>         port = auto</div>
<div><span class="" style="white-space:pre">    </span>vendor = 0463<br></div><div><br></div></div><div><br></div><div><div># Network UPS Tools: Example upsd.users</div><div>[monuser]<br></div><div><span class="" style="white-space:pre">   </span>password = password  #password changed to demo</div>
<div><span class="" style="white-space:pre">    </span>upsmon master<br></div><div><span class="" style="white-space:pre">    </span>action = SET</div><div><span class="" style="white-space:pre">       </span>instcmds = ALL</div></div>
<div><br></div><div># Network UPS Tools: example upsmon configuration<br></div><div><div># --------------------------------------------------------------------------<br></div><div>RUN_AS_USER root</div><div>#</div><div># --------------------------------------------------------------------------<br>
</div><div>MONITOR eaton@localhost 1 admin password master #password changed to demo7</div><div>#</div><div><br></div><div>MINSUPPLIES 1</div><div><br></div><div># --------------------------------------------------------------------------</div>
<div># SHUTDOWNCMD "<command>"</div><div>SHUTDOWNCMD "/usr/lib/web-admin/<a href="http://backend.pl">backend.pl</a> power_off"<br></div><div><br></div><div># --------------------------------------------------------------------------<br>
</div><div># POLLFREQ <n> </div><div>POLLFREQ 5<br></div><div><br></div><div># --------------------------------------------------------------------------</div><div># POLLFREQALERT <n></div><div>POLLFREQALERT 5<br>
</div><div><br></div><div># --------------------------------------------------------------------------</div><div># HOSTSYNC - How long upsmon will wait before giving up on another upsmon</div><div>HOSTSYNC 15<br></div><div>
<br></div><div># --------------------------------------------------------------------------</div><div>DEADTIME 15<br></div><div><br></div><div># --------------------------------------------------------------------------</div>
<div># POWERDOWNFLAG - Flag file for forcing UPS shutdown on the master system</div><div>POWERDOWNFLAG /etc/killpower<br></div><div># --------------------------------------------------------------------------<br></div><div>
<br></div><div># RBWARNTIME - replace battery warning time in seconds</div><div>RBWARNTIME 43200<br></div><div><br></div><div># --------------------------------------------------------------------------</div><div># NOCOMMWARNTIME - no communications warning time in seconds</div>
<div>NOCOMMWARNTIME 300<br></div><div><br></div><div># --------------------------------------------------------------------------</div><div># FINALDELAY - last sleep interval before shutting down the system</div><div>FINALDELAY 5<br>
</div></div><div><br></div><div><br></div><div><br></div><div>This is the output from the debug of usbhid-ups</div><div><br></div><div><div>louis@b3:/dev/bus/usb/001$ sudo /lib/nut/usbhid-ups -u root -a eaton -DDDDD</div>
<div>Network UPS Tools - Generic HID driver 0.34 (2.4.3)</div><div>USB communication driver 0.31</div><div>   0.000000<span class="" style="white-space:pre">   </span>debug level is '5'</div><div>   0.003364<span class="" style="white-space:pre">      </span>upsdrv_initups...</div>
<div>   0.005048<span class="" style="white-space:pre"> </span>Checking device (0463/FFFF) (001/003)</div><div>   0.408515<span class="" style="white-space:pre">   </span>- VendorID: 0463</div><div>   0.409052<span class="" style="white-space:pre">        </span>- ProductID: ffff</div>
<div>   0.409551<span class="" style="white-space:pre"> </span>- Manufacturer: EATON</div><div>   0.410030<span class="" style="white-space:pre">   </span>- Product: ELLIPSE</div><div>   0.410509<span class="" style="white-space:pre">      </span>- Serial Number: BD9L32081</div>
<div>   0.410988<span class="" style="white-space:pre"> </span>- Bus: 001</div><div>   0.411461<span class="" style="white-space:pre">      </span>Trying to match device</div><div>   0.412030<span class="" style="white-space:pre">  </span>Device does not match - skipping</div>
<div>   0.412577<span class="" style="white-space:pre"> </span>Checking device (05E3/0608) (001/002)</div><div>   0.413887<span class="" style="white-space:pre">   </span>- VendorID: 05e3</div><div>   0.414354<span class="" style="white-space:pre">        </span>- ProductID: 0608</div>
<div>   0.414837<span class="" style="white-space:pre"> </span>- Manufacturer: unknown</div><div>   0.415316<span class="" style="white-space:pre"> </span>- Product: USB2.0 Hub</div><div>   0.415383<span class="" style="white-space:pre">   </span>- Serial Number: unknown</div>
<div>   0.415711<span class="" style="white-space:pre"> </span>- Bus: 001</div><div>   0.415775<span class="" style="white-space:pre">      </span>Trying to match device</div><div>   0.416074<span class="" style="white-space:pre">  </span>Device does not match - skipping</div>
<div>   0.416153<span class="" style="white-space:pre"> </span>Checking device (1D6B/0002) (001/001)</div><div>   0.416539<span class="" style="white-space:pre">   </span>- VendorID: 1d6b</div><div>   0.416839<span class="" style="white-space:pre">        </span>- ProductID: 0002</div>
<div>   0.417118<span class="" style="white-space:pre"> </span>- Manufacturer: Linux 2.6.39.4-11 ehci_hcd</div><div>   0.417184<span class="" style="white-space:pre">      </span>- Product: Marvell Orion EHCI</div><div>   0.417462<span class="" style="white-space:pre">   </span>- Serial Number: orion-ehci.0</div>
<div>   0.417526<span class="" style="white-space:pre"> </span>- Bus: 001</div><div>   0.417749<span class="" style="white-space:pre">      </span>Trying to match device</div><div>   0.417874<span class="" style="white-space:pre">  </span>Device does not match - skipping</div>
<div>   0.417943<span class="" style="white-space:pre"> </span>No appropriate HID device found</div><div>   0.418015<span class="" style="white-space:pre"> </span>No matching HID UPS found</div><div>louis@b3:/dev/bus/usb/001$ </div>
</div><div><br></div><div>However lsusb gives:</div><div><div>louis@b3:/dev/bus/usb/001$ lsusb</div><div>Bus 001 Device 003: ID 0463:ffff MGE UPS Systems UPS</div><div>Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB</div>
<div>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</div><div>louis@b3:/dev/bus/usb/001$ </div></div><div><br></div><div>and after running the udev rule the rights are:</div><div><br></div><div><div>louis@b3:/dev/bus/usb/001$ ls -l</div>
<div>totaal 0</div><div>crw-rw-r-- 1 root root 189, 0 jun 19 21:41 001</div><div>crw-rw-r-- 1 root root 189, 1 jun 19 21:41 002</div><div>crw-rw-r-- 1 root nut  189, 2 jun 19 21:41 003</div><div>louis@b3:/dev/bus/usb/001$ </div>
</div><div><br></div><div>Monuser is part of group nut:</div><div><br></div><div>louis@b3:~$ groups monuser</div><div>monuser : monuser nut</div><div><br></div><div>I don't understand the problem here. I first thought it was a rights problem, but certainly not on the usb device. The rights seem sufficient.</div>
<div><br></div><div>Any help appreciated, foremost I do not know where to look next.</div><div><br></div><div>Kind regard, Louis</div><div><br></div></div><div><br></div></div>