I recently bought a Belkin F6H375 UPS. It connects to the computer via USB.<br>Searching the Internet led me to believe that the megatec_usb driver in nut supports this UPS, however I&#39;ve been unable to get it to work.<br>
<br>I have this in ups.conf:<br>[belkinusb]<br>&nbsp;&nbsp;&nbsp; driver = megatec_usb<br>&nbsp;&nbsp;&nbsp; port = auto<br>&nbsp;&nbsp;&nbsp; desc = &quot;Belkin USB&quot;<br><br><br>Here&#39;s what happens when I try to use it:<br>~ # /usr/local/ups/bin/megatec_usb -DDDDDD -a belkinusb -u root&nbsp;&nbsp; 
<br>Network UPS Tools 2.2.1 - Megatec protocol driver 1.5.9 [megatec_usb]<br>Carlos Rodrigues (c) 2003-2007<br><br>Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]<br>Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c) 2007
<br><br>debug level is &#39;6&#39;<br>Checking device (0665/5161) (002/002)<br>- VendorID: 0665<br>- ProductID: 5161<br>- Manufacturer: Cypress Semiconductor<br>- Product: USB to Serial<br>- Serial Number: unknown<br>- Bus: 002
<br>Trying to match device<br>Device matches<br>&nbsp;none (-110)<br>Starting UPS detection process...<br>Asking for UPS status [Q1]...<br>&nbsp;none (-110)<br>Q1 =&gt; FAILED [timeout]<br>Asking for UPS status [Q1]...<br>&nbsp;none (-110)
<br>Q1 =&gt; FAILED [timeout]<br>Asking for UPS status [Q1]...<br>&nbsp;none (-110)<br>Q1 =&gt; FAILED [timeout]<br>Asking for UPS status [Q1]...<br>&nbsp;none (-110)<br>Q1 =&gt; FAILED [timeout]<br>Asking for UPS status [Q1]...<br>
&nbsp;none (-110)<br>Q1 =&gt; FAILED [timeout]<br>5 out of 5 detection attempts failed (minimum failures: 2).<br>Megatec protocol UPS not detected.<br><br>One thing I noticed is that immediately after booting the machine, /dev/usb/hiddev0 exists. As soon as I run the megatec_usb command, that entry disappears.
<br>Since /dev/usb/hiddev0 seems to be related to the UPS somehow, I also tried using the usbhid-ups driver with the following settings:<br><br>[belkinhid]<br>&nbsp;&nbsp;&nbsp; driver = usbhid-ups<br>&nbsp;&nbsp;&nbsp; port = /dev/usb/hiddev0<br>&nbsp;&nbsp;&nbsp; desc = &quot;Belkin USB&quot;
<br><br>but it didn&#39;t detect the UPS either:<br><br>~ # /usr/local/ups/bin/usbhid-ups -DDDDDD -a belkinhid -u root<br>Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1)<br><br>debug level is &#39;6&#39;
<br>upsdrv_initups...<br>Checking device (0665/5161) (002/002)<br>- VendorID: 0665<br>- ProductID: 5161<br>- Manufacturer: Cypress Semiconductor<br>- Product: USB to Serial<br>- Serial Number: unknown<br>- Bus: 002<br>Trying to match device
<br>Device does not match - skipping<br>Checking device (0000/0000) (002/001)<br>- VendorID: 0000<br>- ProductID: 0000<br>- Manufacturer: Linux 2.6.17-gentoo-r4 ohci_hcd<br>- Product: OHCI Host Controller<br>- Serial Number: 0000:00:
02.0<br>- Bus: 002<br>Trying to match device<br>Device does not match - skipping<br>Checking device (0000/0000) (001/001)<br>- VendorID: 0000<br>- ProductID: 0000<br>- Manufacturer: Linux 2.6.17-gentoo-r4 ehci_hcd<br>- Product: EHCI Host Controller
<br>- Serial Number: 0000:00:02.1<br>- Bus: 001<br>Trying to match device<br>Device does not match - skipping<br>No appropriate HID device found<br>No matching HID UPS found<br><br><br>