[Nut-upsdev] Newhidups gets unbound after a while - more logs

Patrick Agrain patrick.agrain at alcatel.fr
Fri May 5 06:30:00 UTC 2006


Hi everybody,

New logs available concerning this problem ( or these problems ).

I performed some modifications on the libusb-0.1.10a package
- increase the timeout of usb_get_string() from 1000 to 4000 ( chosen 
arbitrary ).
- modify the usb_get_string_simple() so that it looks like the usb_string() 
from USB core.

Disconnection is still a mystery ( it will be cleared later ), but 
concerning the non-reconnection, I've got now this :
Waiting for notifications...
process_status_info: online
process_status_info: !dischrg
process_status_info: chrg
Can't retrieve Report 2 (-32/32): Broken pipe
==================================================
= device has been disconnected, try to reconnect =
==================================================
Closing device
Reopening device
Checking device (0000/0000) (001/001)
No Manufacturer string Index
Found Product Index :2
usb_get_string_simple returns -1
- VendorID: 0000
- ProductID: 0000
- Manufacturer: unknown
- Product: unknown
- Serial Number: unknown
- Bus: 001
Trying to match device
Device does not match - skipping
Checking device (0463/FFFF) (001/007)
Found Manufacturer Index :1
usb_get_string_simple returns -32	<----- now returns broken pipe, before 
returned -110 timeout.
Found Product Index :2
- VendorID: 0463
- ProductID: ffff
- Manufacturer: unknown
- Product: ELLIPSE			<----- Now we succeed for the Product string
- Serial Number: 1HDF44001
- Bus: 001
Trying to match device
Device does not match - skipping
No appropriate HID device found
upsdrv_updateinfo...

=>Got to reconnect!

==================================================
= device has been disconnected, try to reconnect =
==================================================
Closing device
Reopening device
Segmentation fault
[root at xa000000 tmp]#


Seems that it still a problem on getting back a string through USB.
But hope is back.

Regards,
Patrick Agrain




More information about the Nut-upsdev mailing list