lkml.org 
[lkml]   [2005]   [Nov]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromDuncan Sands <>
SubjectRe: speedtch driver, 2.6.14.2
DateThu, 24 Nov 2005 09:22:59 +0100
Hi Alistair,

> I recently switched from the userspace speedtouch driver to the in-kernel one. 
> However, on my rev 4.0 Speedtouch 330, I periodically get the message:
> 
> ATM dev 0: error -110 fetching device status

-110 means that it timed out.

> I suspect the source of this "error" is the warning message from speedtch:435:
> 
> 	ret = speedtch_read_status(instance);
> 	if (ret < 0) {
> 		atm_warn(usbatm, "error %d fetching device status\n", ret);
> 		instance->poll_delay = min(2 * instance->poll_delay, MAX_POLL_DELAY);
> 		return;
> 	}
> 
> Tell me if I'm wrong, but I suspect speedtch_check_status() is called 
> periodically to check line status. It may be the case that my modem does not 
> like having its status read when it is sending/receiving data (which it is 
> constantly doing).

Well, I have the same modem, and mine doesn't seem to mind!  So something is
strange.

> Unfortunately the message eventually fills the dmesg ring buffer. My current 
> workaround is to remove the atm_warn() call; everything works fine, but I'm 
> concerned that the modem will not automatically reconnect if the connection 
> drops as a result of the failure from speedtch_read_status().

You can test it by unplugging the phone line, then replugging it.

> Any suggestions for debugging this further? From a quick google I've noticed a 
> recent Fedora bugzilla entry mentioning this same problem.

I'll think about it.

All the best,

Duncan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-11-24 08:25    [from the cache]
©2003-2008