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_18.104.22.16830723 and PhidgetsPython_22.214.171.12430926, 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?