[Nut-upsdev] megatec over USB - new driver patch

Alexander I. Gordeev lasaine at lvk.cs.msu.su
Tue Dec 5 22:06:01 CET 2006


Hi everybody,

thank you Andrey for your work! I don't have time at the moment to
write a driver for my own UPS and hope your one will work.

Peter Selinger wrote:
> Alexander, could you give Andrey's driver a try?

Sure, I made the try, but without success:

admin at router:/tmp/harddisk/share/pub/system/development/newbuild2/opt/bin> ./megatec_usb -DDDD -u admin 0001:0000
Network UPS Tools - Megatec protocol driver 1.4[usb] (2.1.0)
Carlos Rodrigues (c) 2003-2006

debug level is '4'
Checking device (0000/0000) (003/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: Linux 2.4.20 ehci_hcd
- Product: PCI device 1106:3104
- Serial Number: 01:03.2
- Bus: 003
Trying to match device
Device does not match - skipping
Checking device (04FC/0C15) (003/002)
- VendorID: 04fc
- ProductID: 0c15
- Manufacturer: Sunplus Technology Inc.
- Product: USB to Serial-ATA bridge
- Serial Number: SAMSUNG SPS09QJ1NL805434
- Bus: 003
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (002/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: USB UHCI Root Hub
- Serial Number: 120
- Bus: 002
Trying to match device
Device does not match - skipping
Checking device (0000/0000) (001/001)
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: USB UHCI Root Hub
- Serial Number: 100
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (0001/0000) (001/002)
- VendorID: 0001
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device matches
HID descriptor, method 1: (9 bytes) => 09 21 00 01 00 01 22 70 02
i=0, extra[i]=09, extra[i+1]=21
HID descriptor, method 2: (9 bytes) => 09 21 00 01 00 01 22 70 02
HID descriptor retrieved (Reportlen = 624)
Report descriptor retrieved (Reportlen = 624)
Found HID device
Starting UPS detection process...
Attempting to detect the UPS...
Sending "F" command...
Wrong answer to "F" command.
Attempting to detect the UPS...
Sending "F" command...
Wrong answer to "F" command.
Attempting to detect the UPS...
Sending "F" command...
Wrong answer to "F" command.
Attempting to detect the UPS...
Sending "F" command...
Wrong answer to "F" command.
Attempting to detect the UPS...
Sending "F" command...
Wrong answer to "F" command.
5 out of 5 detection attempts failed (minimum failures: 2).
Megatec protocol UPS not detected.

-- 
 Alexander                          mailto:lasaine at lvk.cs.msu.su




More information about the Nut-upsdev mailing list