[Nut-upsuser] Working UPS report: Geek Squad GS-700U (Cyberpower clone?)
Victor Rehorst
chuma at chuma.org
Wed Oct 10 17:49:48 UTC 2007
Charles Lepple wrote:
> On 10/10/07, Arjen de Korte <nut+users at de-korte.org> wrote:
>
>> The above two lines should also be displayed by usbhid-ups in the
>> 'Manufacturer' and 'Product' strings upon startup with the -DD option. As
>> long as that's not happening, it can't attach to the port because of a
>> permissions problem and/or another driver being attached to it. There is
>> nothing we can do to fix that if your kernel doesn't allow detaching
>> drivers.
>>
>>
>>> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 20mA
>>> I: If#= 0 Alt= 0 #EPs= 2 Cls=03(HID ) Sub=00 Prot=00 Driver=(none)
>>> E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=10ms
>>> E: Ad=02(O) Atr=03(Int.) MxPS= 8 Ivl=10ms
>>>
>
> Arjen,
>
> While I agree that usbhid-ups should have printed the strings, the
> /proc/bus/usb/devices line says "Driver=(none)".
>
I did go and explicitly unbind the device from any drivers (it was
apparently bound to 'usb'...) and still no go. I unloaded any and all
spurious USB device modules that were loaded.
> Victor,
>
> can you copy-and-paste some of the USBDEVFS errors from dmesg
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len
255 ret -110
usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 129 rq 6 len
90 ret -110
1-1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 128 rq 6 len 255
ret -110
1-1: usbfs: USBDEVFS_CONTROL failed cmd usbhid-ups rqt 129 rq 6 len 90
ret -110
Those last two are after I unbound the device from 'usb'...
For the record, have I yet mentioned that
- The device in question is a "Pepper Pad 2", powered by a 624MHz pxa270
XScale CPU (arch armv5tel)
- Linux distro is mostly MontaVista Linux 3.1, a mixture of CEE and Pro
packages, but with kernel 2.6.13.4
- The PXA270 only does USB 1.1
- System doesn't use udev or hotplug, so everything is running as root.
Also some /dev/ entries seem to be missing, for example there is no
/dev/usb/* - I had to manually create /dev/ttyUSB0 just to use my USB to
serial adapter
- I am totally willing to chalk this up to "weirdness" and use my Belkin
USB to serial port adapter, if it weren't for the fact that so far I'm
doing everything right and it's not working :(
Thanks for everyone's suggestions too.
--
Victor Rehorst - chuma at chuma.org - victor at newtontalk.net
Personal Homepage - http://www.chuma.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20071010/61c7fcc9/attachment.htm
More information about the Nut-upsuser
mailing list