RE: [RFC] USB: Fix persist resume of some SS USB devices

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

 



On Thu, 17 Jul 2014, David Laight wrote:

> From: Pratyush Anand
> ...
> > Only side effect of long timeout: If a device was connected before
> > suspend, and was removed while system was asleep, then the penalty
> > would be the timeout ie 2000 ms. I do not see a way to handle this. I
> > can put a FIXME note for this in patch.
> ...
> 
> Can't you use the static detection that a device is connected at all?
> (ie look at whether the USB1/2 D+/D- lines have been pulled up/down).

While a device is trying to negotiate a SuperSpeed connection, it won't
turn on the D+ pullup.  That would mean it was trying to connect at 
both SS and HS/FS at the same time, which only hubs are allowed to do.

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