[Nut-upsuser] Tripplite INTERNETX525
Justin Piszcz
jpiszcz at lucidpixels.com
Sun Nov 8 21:37:33 UTC 2009
Hi,
To find the problem, check the list for my thread DP55KG, you should run a
debug kernel and grab the usbmon output and report it to the list.
Also stop nut and run each service manually with -DDDDDDDDD to see what is
happening within nut, but if it is not really obvious, the kernel/nut
developers will need to see the usbmon output.
Justin.
On Sun, 8 Nov 2009, Farrukh Ahmad wrote:
> Hi Justin,
>
> I'm using a MSI KM400 motherboard with a dual core AMD, running Ubuntu
> 2.6.28-11.42-server in 64 bit mode.
>
> I noticed on dmesg the following error - not too sure if this helps:
>
> "usb 2-2: usbfs: process 24736 (tripplite_usb) did not claim interface 0
> before use"
>
> One other thing - this UPS has just been provided as a replacement from
> tripplite (i.e. its a new model), as I had a pretty identical one before -
> which worked perfectly with NUT, but used the USBHID-UPS driver. Why this one
> is so different - I have no idea!!
>
> Regards
> Farrukh
>
>
>
> On Nov 8, 2009, at 10:57 PM, Justin Piszcz wrote:
>
>>
>>
>> On Sun, 8 Nov 2009, Farrukh Ahmad wrote:
>>
>>> Hi,
>>>
>>> I'm running the latest version of NUT and with the above UPS and I keep
>>> getting the following error:
>>>
>>> "tripplite_usb[3308]: Error reading B value: Device detached? (error 0:
>>> could not claim interface 0: Device or resource busy)"
>>>
>>> The device keeps disconnecting and re-connecting until fails. I've tried
>>> to see if others are getting this - but I could not locate a
>>> cause/resolution for this. I provide below the messages from the driver in
>>> debug:
>>>
>>> Checking device (09AE/0001) (002/002)
>>> - VendorID: 09ae
>>> - ProductID: 0001
>>> - Manufacturer: TRIPP LITE
>>> - Product: TRIPP LITE INTERNETX525
>>> - Serial Number: unknown
>>> - Bus: 002
>>> Trying to match device
>>> Device matches
>>> failed to claim USB device: could not claim interface 0: Device or
>>> resource busy
>>> detached kernel driver from USB device...
>>> Successfully reconnected
>>> send_cmd(msg_len=3, type='W')
>>> send_cmd: sending 3a 57 00 a8 0d 00 00 00 '.W......'
>>> send_cmd: received 57 00 0d 00 00 00 00 00 'W.......' (OK)
>>> send_cmd(msg_len=2, type='
>>> send_cmd: sending 3a 00 ff 0d 00 00 00 00 '........'
>>> send_cmd: received 00 10 01 58 58 58 58 0d '...XXXX.' (OK)
>>> Using OMNIVS protocol (1001)
>>> send_cmd(msg_len=2, type='S')
>>> send_cmd: sending 3a 53 ac 0d 00 00 00 00 '.S......'
>>> send_cmd: received 53 31 30 00 58 58 58 0d 'S10.XXX.' (OK)
>>> send_cmd(msg_len=2, type='P')
>>> send_cmd: sending 3a 50 af 0d 00 00 00 00 '.P......'
>>> send_cmd: received 50 30 30 35 32 35 58 0d 'P00525X.' (OK)
>>> send_cmd(msg_len=2, type='F')
>>> send_cmd: sending 3a 46 b9 0d 00 00 00 00 '.F......'
>>> send_cmd: received 46 31 31 34 30 20 41 0d 'F1140.A.' (OK)
>>> send_cmd(msg_len=2, type='V')
>>> send_cmd: sending 3a 56 a9 0d 00 00 00 00 '.V......'
>>> send_cmd: received 56 32 30 32 30 58 58 0d 'V2020XX.' (OK)
>>> send_cmd(msg_len=2, type='V')
>>> send_cmd: sending 3a 56 a9 0d 00 00 00 00 '.V......'
>>> send_cmd: received 56 32 30 32 30 58 58 0d 'V2020XX.' (OK)
>>> Attached to Tripp Lite INTERNETX525
>>> dstate_init: sock /var/run/nut/tripplite_usb-tripplite open on fd 6
>>> send_to_all: SETINFO driver.version "2.4.1"
>>> send_to_all: SETINFO driver.version.internal "0.20"
>>> send_to_all: SETINFO driver.name "tripplite_usb"
>>> send_to_all: SETINFO driver.parameter.pollinterval "2"
>>> send_cmd(msg_len=2, type='S')
>>> send_cmd: sending 3a 53 ac 0d 00 00 00 00 '.S......'
>>> send_cmd: received 53 31 30 00 58 58 58 0d 'S10.XXX.' (OK)
>>> send_cmd(msg_len=2, type='B')
>>> send_cmd: sending 3a 42 bd 0d 00 00 00 00 '.B......'
>>> send_cmd: received 53 31 30 00 58 58 58 0d 'S10.XXX.' (bad)
>>> send_cmd: send_try = 10, recv_try = 10
>>>
>>> Error reading B value: Device detached? (error 0: could not claim
>>> interface 0: Device or resource busy)
>>> Reconnect attempt #1
>>> ==================================================
>>> = device has been disconnected, try to reconnect =
>>> ==================================================
>>>
>>> Really would appreciate some help on this...
>>>
>>> Thanks
>>> Farrukh
>>
>> Hi,
>>
>> What motherboard/chipset are you using?
>>
>> Justin.
More information about the Nut-upsuser
mailing list