[Nut-upsuser] Belkin F6H375 not seen by nut 2.2.1

Marco Nelissen marco.nelissen at gmail.com
Sat Jan 12 21:57:19 UTC 2008


I recently bought a Belkin F6H375 UPS. It connects to the computer via USB.
Searching the Internet led me to believe that the megatec_usb driver in nut
supports this UPS, however I've been unable to get it to work.

I have this in ups.conf:
[belkinusb]
    driver = megatec_usb
    port = auto
    desc = "Belkin USB"


Here's what happens when I try to use it:
~ # /usr/local/ups/bin/megatec_usb -DDDDDD -a belkinusb -u root
Network UPS Tools 2.2.1 - Megatec protocol driver 1.5.9 [megatec_usb]
Carlos Rodrigues (c) 2003-2007

Serial-over-USB transport layer for Megatec protocol driver [megatec_usb]
Andrey Lelikov (c) 2006, Alexander Gordeev (c) 2006-2007, Jon Gough (c) 2007

debug level is '6'
Checking device (0665/5161) (002/002)
- VendorID: 0665
- ProductID: 5161
- Manufacturer: Cypress Semiconductor
- Product: USB to Serial
- Serial Number: unknown
- Bus: 002
Trying to match device
Device matches
 none (-110)
Starting UPS detection process...
Asking for UPS status [Q1]...
 none (-110)
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
 none (-110)
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
 none (-110)
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
 none (-110)
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
 none (-110)
Q1 => FAILED [timeout]
5 out of 5 detection attempts failed (minimum failures: 2).
Megatec protocol UPS not detected.

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.
Since /dev/usb/hiddev0 seems to be related to the UPS somehow, I also tried
using the usbhid-ups driver with the following settings:

[belkinhid]
    driver = usbhid-ups
    port = /dev/usb/hiddev0
    desc = "Belkin USB"

but it didn't detect the UPS either:

~ # /usr/local/ups/bin/usbhid-ups -DDDDDD -a belkinhid -u root
Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1)

debug level is '6'
upsdrv_initups...
Checking device (0665/5161) (002/002)
- VendorID: 0665
- ProductID: 5161
- Manufacturer: Cypress Semiconductor
- Product: USB to Serial
- Serial Number: unknown
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (002/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.17-gentoo-r4 ohci_hcd
- Product: OHCI Host Controller
- Serial Number: 0000:00:02.0
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (001/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.6.17-gentoo-r4 ehci_hcd
- Product: EHCI Host Controller
- Serial Number: 0000:00:02.1
- Bus: 001
Trying to match device
Device does not match - skipping
No appropriate HID device found
No matching HID UPS found
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080112/50e4d684/attachment.htm 


More information about the Nut-upsuser mailing list