USB Registration Help!
July 27, 2016 7:30 AM   Subscribe

So I have a question about how USB devices work. I want to know how you register a driver so that it will automatically load when you plug in a device. Does anyone have the process for this?
posted by KingBoogly to Computers & Internet (2 answers total) 2 users marked this as a favorite
Which operating system are you talking about?

On Linux, you would do this by calling the usb_register function to tell the kernel which Vendor IDs and Product IDs your driver is interested in handling.
posted by teraflop at 8:06 AM on July 27, 2016

If you are making a new device, you also need to get an official VendorID (VID) from the USB Implementers Forum which is the keeper of the standard.

If your budget is tigher or you're working on an opensource/openhardware project, you can work with and set up your own Product ID under their VID.
posted by JoeZydeco at 8:36 AM on July 27, 2016

« Older How do I fake tan?   |   Mod my upright piano Newer »
This thread is closed to new comments.