Re: When unplug USB device, another USB device access failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 27 Jan 2009, Saito.Koichiro wrote:

> I think that it is difficult to put out a well-grounded
> numerical value even if I thinks any further. If we usually
> use it, I guess that low probability of unplugging a device
> while accessing to a device. Because it is thought that CPU
> is not completely occupied only with retrying, I think that
> no problem. I want to finish the modification by the
> retrying of 32 times. I changed to 32 from 255.
> How do you think?

It's probably okay.  In the end we might decrease it even more, but for 
now we can leave it at 32.

> >You did not understand my question.  What happens if ehci_hcd is
> >_loaded_ and the device is running at full speed or low speed because
> >it is a USB-1.1 device plugged into a high-speed hub?
> 
> I tested following case.
> === case1 ===
> root hub       : plugged "USB flash" and "high-speed hub"
> high-speed hub : plugged "USB mouse"
> === case2 ===
> root hub       : plugged "high-speed hub"
> high-speed hub : plugged "USB flash" and "USB mouse"
> 
> USB mouse unplugged while accessing USB flash. In both
> cases, XactErr didn't occurred. Though it doesn't relate to
> the question, when two high-speed device plugged into
> high-speed hub, error didn't occur.

But what happens in case 1 when you unplug the flash drive while using 
the mouse?

Here's a better test:

case 3:
root hub	: high-speed hub and flash drive A
high-speed hub	: full-speed (USB 1.1) hub
full-speed hub	: flash drive B

What happens if you unplug flash drive A while using flash drive B?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux