Dynamic USB device IDs
Greg Kroah-Hartman has posted a simple patch which should help fix this situation. With the patch in place, each USB driver gets a new sysfs attribute (new_id). If a system administrator writes two values (the vendor and product ID numbers reported by the device) to that attribute, those numbers form a new device ID associated with the driver. Immediately after the write, the driver will recognize the device, and everybody will be happy. No changes to the drivers themselves are necessary. Of course, one could create confusion by associating a device with an inappropriate driver, but a bit of attention should suffice to avoid that problem.
This patch came out a bit late for 2.6.15, so it is more likely to show up
in 2.6.16 or thereafter.
| Index entries for this article | |
|---|---|
| Kernel | Device drivers |
| Kernel | USB |