[Nut-upsdev] support for newer mustek powermust model 06da:0003

Arjen de Korte nut+devel at de-korte.org
Mon Nov 26 15:55:06 UTC 2007


>>> trying again to claim USB device...
>>> failed to claim USB device, trying 0 more time(s)...
>>> detaching kernel driver from USB device...
>>> failed to detach kernel driver from USB device...
>>
>> This is most likely a problem with the permissions.
>
> Ah yes, udev trouble. However, even after a temporary chmod 777
> /dev/bus/usb/*/* it fails:

That's not how USB hotplugging works... :-)

> $ sudo /lib/nut/megatec_usb -a myups -DDDDD
> Network UPS Tools 2.3.0-1163M - Megatec protocol driver 1.5.8
> [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 '5'
> 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]
> 0 out of 5 detection attempts succeeded (minimum required 3)
> Megatec protocol UPS not detected.

You'll have to fix your udev rules or else run the driver as root.

Best regards, Arjen




More information about the Nut-upsdev mailing list