diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-16 22:41:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 22:48:32 +0100 |
commit | 733260ff9c45bd4db60f45d17e8560a4a68dff4d (patch) | |
tree | e7f09a9a9e2d7a9f22288c9777f7b03906a89e20 /drivers/usb/serial/hp4x.c | |
parent | [PATCH] USB: reorg some functions out of the main usb.c file (diff) | |
download | linux-733260ff9c45bd4db60f45d17e8560a4a68dff4d.tar.xz linux-733260ff9c45bd4db60f45d17e8560a4a68dff4d.zip |
[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/serial/hp4x.c')
0 files changed, 0 insertions, 0 deletions