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

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

 



On Sun, Oct 23, 2011 at 02:22:29PM +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 regardless of their
> class, which may not be intended.
> The patch adds the option to tell the targeted interface class to a driver
> via the "new_id" attribute, in addition to the device ID.
> Also, it appends the ABI documentation accordingly.
> 
> Example:
> $ echo "1234 2a2a ff" >/sys/bus/usb-serial/drivers/option1/new_id
> will bind only vendor-specific interfaces to the 3G driver.
> 
> Signed-off-by: Josua Dietze <digidietze@xxxxxxxxxxxxxxx>

Looks good, thanks.  But, as it's a bit too late in the 3.2 development
cycle (i.e. I can't really test it before the 3.2 merge window opens
up), I'll queue this up for 3.3 if that's ok with you.

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