Re: [PATCH] USB: Add optional match for interface class to dynamic ID facility

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

 



On Fri, Oct 21, 2011 at 11:04:09PM +0200, Josua Dietze wrote:
> When adding the ID of a composite device dynamically to a driver,
> all hitherto unbound interfaces are bound to this driver which is
> often not intended.

It isn't?  What happens wrong with this?  Can't you just unbind the ones
you don't want?

> The patch adds the option to tell the targeted interface class to a
> driver, in addition to the device ID.
> 
> Example:
> $ echo "1234 2a2a ff" >/sys/bus/usb-serial/drivers/generic/new_id
> will bind only vendor-specific interfaces to usbserial.

You really shouldn't be using the generic usb serial driver for anything
"real", so that's not a good reason to accept this patch :)

And your patch is linewrapped :(

Anyway, I'm still not convinced that this is really needed, what
real-world use requires this?

thanks,

greg k-h
--
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