diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-16 13:41:28 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 13:48:32 -0800 |
commit | 733260ff9c45bd4db60f45d17e8560a4a68dff4d (patch) | |
tree | e7f09a9a9e2d7a9f22288c9777f7b03906a89e20 /drivers/usb/serial/ir-usb.c | |
parent | ddae41be6145f5f9cb4e6df35661a09121b90672 (diff) | |
download | op-kernel-dev-733260ff9c45bd4db60f45d17e8560a4a68dff4d.zip op-kernel-dev-733260ff9c45bd4db60f45d17e8560a4a68dff4d.tar.gz |
[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/ir-usb.c')
0 files changed, 0 insertions, 0 deletions