Re: [PATCH] usb: Add a new quirk: USB_QUIRK_HONOR_BNUMINTERFACES

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

 



Am Sonntag, 14. März 2010 21:35:11 schrieb Alan Stern:
> > This is needed for devices which try to hide unused interfaces by only
> > lowering config->bNumInterfaces, and which can't handle if you try to talk
> > to the "hidden" interfaces.
> > 
> > This patch also adds a quirk table entry for one such device, which existence
> > is the reason for this patch.
> 
> The problem with this patch is that it assumes the "hidden" interfaces 
> are always the last ones in the descriptor listing.  That's not 
> necessarily true; devices don't have to list their interfaces in any 
> particular order.

True. But bNumInterfaces should be correct. So these devices are dirty.
In this case we are no longer required to play cleanly. So what would the
other popular OS do?

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