diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-17 00:41:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-05 00:48:32 +0300 |
commit | 733260ff9c45bd4db60f45d17e8560a4a68dff4d (patch) | |
tree | e7f09a9a9e2d7a9f22288c9777f7b03906a89e20 /drivers/usb/mon | |
parent | ddae41be6145f5f9cb4e6df35661a09121b90672 (diff) | |
download | linux-733260ff9c45bd4db60f45d17e8560a4a68dff4d.tar.xz |
[PATCH] USB: add dynamic id functionality to USB core
Echo the usb vendor and product id to the "new_id" file in the driver's
sysfs directory, and then that driver will be able to bind to a device
with those ids if it is present.
Example:
echo 0557 2008 > /sys/bus/usb/drivers/foo_driver/new_id
adds the hex values 0557 and 2008 to the device id table for the foo_driver.
Note, usb-serial drivers do not currently work with this capability yet.
usb-storage also might have some oddities.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/mon')
0 files changed, 0 insertions, 0 deletions