Comment 12 for bug 209001

Revision history for this message
Andrew (andrew-rw-robinson) wrote :

No, 2.2.2-pre1 does not work.

Perhaps I screwed up, but here are the steps I took:
downloaded an extracted the source package
cd nut-2.2.2-pre1
ln -s packaging/debian ./
dpkg-buildpackage -rfakeroot -b

This fails, but after the code built, so I then attempted:
sudo ./packaging/debian/nut/lib/nut/megatec_usb -DDD -a belkin

Output:
Checking device (0665/5161) (001/002)
- VendorID: 0665
- ProductID: 5161
- Manufacturer: Cypress Semiconductor
- Product: USB to Serial
- Serial Number: unknown
- Bus: 001
Trying to match device
Device matches
failed to claim USB device, trying 2 more time(s)...
detaching kernel driver from USB device...
trying again to claim USB device...
Starting UPS detection process...
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
Asking for UPS status [Q1]...
Q1 => FAILED [timeout]
5 out of 5 detection attempts failed (minimum failures: 2).
Megatec protocol UPS not detected.

I am still running the old nut, so I am not sure if it picked up any libraries from that or not, but it doesn't look like the new version helps. Has this bug been reported upstream?