Re: [PATCH 0/2] usb: implement AMD remote wakeup quirk

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

 



On Fri, 23 Aug 2013, Huang Rui wrote:

> > What's special about LS devices?  Or mice?  Shouldn't the resume signal 
> > be sent within 100 us for every device?
> > 
> 
> Yes, only mice would trigger this issue.
> Reproduce steps:
> 1. Enable remote wakeup for usb mouse.
> 2. Execute S3.
> 3. Click mouse _intensely_ (more than 10 times) to wake the system up.
> 4. Then execute S3 again.
> 5. Observe that the system auto wake up.
> 
> Actually, I tested all the mice in my side, this issue existed.

It sounds like a bug in the mice.  The fact that no other devices have 
the same problem tends to support this view.

Do you really know for certain that the timing of the wakeup signal is
what causes this to happen?

And do you know why it happens only with AMD controllers?  Have you 
tested other types of controllers?

A much simpler solution would be to have the usbhid driver set the 
USB_QUIRK_RESET_RESUME flag whenever it probes a mouse.  This would 
work for all of the HCDs, so none of them would need to be changed.

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