Re: [PATCH v2 1/3] usb: add is_usb_mouse routine and remote wakeup quirk

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

 



On Wed, 28 Aug 2013, Greg Kroah-Hartman wrote:

> > [Q] Why the special devices are only mice? Would high speed devices
> > such as 3G modem or USB Bluetooth adapter trigger this issue?
> > - Current this sensitivity is only confined to devices that use Pixart
> >   controllers. This controller is designed for use with LS mouse
> > devices only. We have not observed any other devices failing. There
> > may be a small risk for other devices also but this patch (reset
> > device in resume phase) will cover the cases if required.
> 
> Then just do this "quirk" for Pixart controller devices.  Don't penalize
> everyone else.

Is there any way to detect when a device uses a Pixart controller?  I 
don't see how you could tell.

> > I got it. Do you mean if I want do filter usb devices by usb mouse, I
> > should do it at hid or usbhid level?
> 
> Neither, you could "miss" a mouse at those levels as well.
> 
> Think about userspace control of USB devices, as well as mice that don't
> use the HID layer (rare, but I've seen it happen.)
> 
> Again, don't filter for a "mouse", filter for the controller that you
> need to fix.

What if it's not possible to do this?

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