error: "reset full speed USB device"

Supporting 2.6 and up
wbclay
Phidgetsian
Posts: 9
Joined: Mon Jan 14, 2013 8:27 am
Contact:

error: "reset full speed USB device"

Postby wbclay » Tue Nov 05, 2013 12:50 pm

I'm using a Phidget 1203 2x20 text LCD + 8/8/8 interface kit, of which I use four DI and one AI channels; only active output is the text LCD, which is updated at most 2 times/sec.

Every few days at apparently random intervals, my application logs timeouts and disconnects and like this:

Code: Select all

2013-11-03T09:11:23.785251: setDisplaySting timeout: Gar CL 45m  8al/6h
2013-11-03T09:11:25.285879: setDisplaySting timeout:  LR CL 58s 49al/6h
<repeats for 30-60 seconds>
2013-11-03T09:11:58.296958: setDisplaySting timeout:  LR CL  2m 49al/6h
2013-11-03T09:11:59.797482: setDisplaySting timeout: Gar CL 45m  8al/6h
2013-11-03T09:11:59.797607: detached InterfaceKit
2013-11-03T09:12:00.036152: detached TextLCD
2013-11-03T09:12:00.306831: attached InterfaceKit

This always correlates to system log records entries like:

Code: Select all

Nov  3 09:11:22 fuji kernel: usb 2-1.1: reset full speed USB device using ehci_hcd and address 8
Nov  3 09:11:22 fuji kernel: generic-usb 0003:06C2:007D.0036: hiddev96,hidraw0: USB HID v1.10 Device [Phidgets Inc. PhidgetTextLCD 8/8/8] on usb-0000:00:1d.0-1.1/input1
Nov  3 09:11:59 fuji kernel: usb 2-1.1: reset full speed USB device using ehci_hcd and address 8

The Phidgets devices nearly always reattach after 1-3 minutes, at which point my application resumes. Only saw one time when they never came back, indefinitely hanging the app.

I'm running Linux kernel Linux version 2.6.32 on a Scientific Linux 6.1 distribution hosted on a quad-processor server with 3 gigs RAM. I recently upgraded to libphidget_2.1.8.20130723 and PhidgetsPython_2.1.8.20130926, but saw no improvement over the versions of 6-12 months ago I was using.

The Phidgets 1203 is the only device attached to any USB port on the machine (not even a keyboard; it's a headless server). The system hosts a 2-camera CCTV monitoring application (motion), a self-written Phidgets Python application that monitors contact closures on two motion detectors, an Apache instance for light internal use, and a postfix MTA instance serving a single mailbox user account. "top" seldom shows less than 98% CPU idle and I've never caught any swap space in use.

Any ideas why I might be getting these timeouts and resets on such a lightly-loaded system?

User avatar
Patrick
Lead Developer
Posts: 3064
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: error: "reset full speed USB device"

Postby Patrick » Tue Nov 05, 2013 3:32 pm

What is the firmware version? You need to get this via software - don't trust the value printed on the serial number label or box. Versions previous to 204 had a USB bug which could cause what you are seeing.

If you have a previous version, you can send it in for re-flashing.

-Patrick

wbclay
Phidgetsian
Posts: 9
Joined: Mon Jan 14, 2013 8:27 am
Contact:

Re: error: "reset full speed USB device"

Postby wbclay » Wed Nov 06, 2013 11:32 am

Thanks, Patrick. Looks like you nailed it.

getDeviceVersion returns 203 for both the InterfaceKit and the TextLCD.

Unfortunately, because the system is located remotely, I won't be able to return it for a re-flash until April or May next year. Will I need to request an RMA when the time comes?

User avatar
Patrick
Lead Developer
Posts: 3064
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: error: "reset full speed USB device"

Postby Patrick » Wed Nov 06, 2013 12:25 pm

Contact support@phidgets.com and they will set you up.

-Patrick


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 2 guests