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

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

 



Hi,

On 03/14/2010 06:18 PM, Oliver Neukum wrote:
Am Sonntag, 14. März 2010 13:27:06 schrieb Hans de Goede:
Hi,

The attached patch adds a new usb device quirk
USB_QUIRK_HONOR_BNUMINTERFACES, when this quirk is set and a device
has more interface descriptors in a configuration then it claims to
have in config->bNumInterfaces, ignore all additional interfaces.

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.

Do we need a patch for that? That is can we make this default? Has anybody
seen devices to whose supernummerary interfaces we need to talk?


A valid question and one which I asked myself too. The current patch follows
the lets not cause any regressions path. I don't think anyone can give
a reasonable accurate answer to the question:
Has anybody seen devices to whose supernummerary interfaces we need to talk?

As with our current behavior being what it is, if the answer to this is Yes,
no-one will have noticed as things would just work.

OTOH judging from this particular device I guess windows by default behaves
differently ...

Regards,

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