From: Greg Kroah-Hartman Date: Wed, 16 Nov 2005 21:41:28 +0000 (-0800) Subject: [PATCH] USB: add dynamic id functionality to USB core X-Git-Tag: v2.6.16-rc1~474^2~22^2~10^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=733260ff9c45bd4db60f45d17e8560a4a68dff4d;p=pandora-kernel.git [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 --- Reading git-diff-tree failed