Toralf Lund wrote:
Alan Stern wrote:
Yes. I've actually done it on an experimental basis, but I'm quite sure there is no such call in the version I'm testing with now.On Thu, 9 Sep 2004, Toralf Lund wrote:
Something I forgot to mention earlier: I often see evidence of reset signalling at the point where the problems occurs. Could that be something initiated by the host/driver? If it is, how am I supposed to respond?
The USB core will initiate reset signalling when the port-enabled feature
turns off. The most likely causes for that are electromagnetic
interference (EMI) or a bad cable connection. Another possible cause is a defective device that transmits when it shouldn't. A message should show up in the system log whenever this happens.
Also, some drivers may initiate a port reset. But since this is your
driver, presumably you would know if it called usb_reset_device().
In any case, I've now found that while I can always reproduce the read error, I don't see the resets when using the other set of USB ports on my PC; I has an on-board controller and a PCI USB card. - Or at least, I wasn't able to make them appear when testing again after disabling the on-board USB via BIOS setup.
Actually, I was wrong. I still get the resets, and I also have
Sep 13 16:00:42 indonesia kernel: usb.c: USB disconnect on device 00:11.0-2 address 4
or similar in the system log.
*SIGH!* This one is really hard to track down :-(
I'm beginning to suspect that I've had two problems: Bad hardware and some sort of timing issue. I'm thinking maybe the transfer will be interrupted or slowed down by a certain IRQ on the system, but I'm not sure if that would be consistent with the messages...
Alan Stern
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel