Re: [PATCH v2] 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 12:06:08PM +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>
> 
> ---
> 
> diff -uprN linux-3.0.4.orig//Documentation/ABI/testing/sysfs-bus-usb
> linux-3.0.4//Documentation/ABI/testing/sysfs-bus-usb
> ---
> linux-3.0.4.orig//Documentation/ABI/testing/sysfs-bus-usb	2011-07-22
> 04:17:23.000000000 +0200
> +++ linux-3.0.4//Documentation/ABI/testing/sysfs-bus-usb	2011-10-23
> 10:34:28.000000000 +0200

Still linewrapped :(

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