Re: [PATCH v5] USB: core: skip unconfiguration if device doesn't support it

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

 



On Fri, May 13, 2022 at 11:50:26AM +0200, Jose Ignacio Tornos Martinez wrote:
> Ok, I will try to identify the "bad" devices in some way.
> 
> Thanks
> 
> José Ignacio
> 
> 
> On Thu, May 12, 2022 at 1:48 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > I'll drop this for now as there are no in-kernel users for this quirk
> > yet.  When there is a need for one, please resubmit it.

Hold on; Greg's comment doesn't seem fair.  There are no in-kernel 
users for this quirk because it is meant to be a user API.  (Just as 
there are no in-kernel users for read(2) -- it is there so that 
userspace can call it).

Jose does have users for the new quirk: Anybody with one of the bad 
Bluetooth CSR knockoff chips.  Now I agree; it would be great if there 
was some way to identify them automatically.  But if that's not 
possible, the only alternative is to allow userspace to set the quirk 
flag whenever it knows the quirk is needed.

Alan Stern



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux