Re: USB device fails to enumerate after multiple connect and disconnect in host mode

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

 



On Tue, 28 Aug 2012, megha dey wrote:

> In host mode,while continuously connecting and disconnecting a USB
> device,sometimes enumeration does not happen(kernel 3.0.31).We see
> that the hub_thread is blocked in the schedule() function.The
> following is the function trace:

...

> This happens in the case wherein there is a race condition between the
> suspend (following the disconnect) and the resume (on
> re-connection).Was a similar issue observed in this kernel? Are there
> any patches available?
> 
> Also,this issue is not seen on kernel3.4.However ,I require some
> suggestions to resolve this issue on kernel3.0.31.
> 
> Kindly provide appropriate feedback.

Commit f2791d733a2f06997b573d1a3cfde21e6f529826 (PM / Runtime: don't 
forget to wake up waitqueue on failure) might solve your problem.

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