RE: [PATCH] usb: quirks: add quirk for WORLDE MINI MIDI keyboard

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

 



On Tue, 3 Oct 2017, David Laight wrote:

> From: Felipe Balbi
> > Sent: 03 October 2017 09:17
> > This keyboard doesn't implement Get String descriptors properly even
> > though string indexes are valid. What happens is that when requesting
> > for the String descriptor, the device disconnects and
> > reconnects. Without this quirk, this loop will continue forever.
> 
> If this is a common/known problem, could the driver detect the
> disconnect sequence and avoid reading the string descriptors
> on the subsequent reconnect?

We currently don't have a way for the kernel to add quirks dynamically, 
although it could be added.

We also don't have any way to know that a disconnect was triggered by 
an attempt to read a string descriptor.  Figuring that out would be 
rather difficult, IMO.

Alan Stern

> Then the quirk list wouldn't need to be updated for new id.
> 
> 	David
> 
> 

--
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