LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Single USB driver, multiple devices, how many driver instances? (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/single-usb-driver-multiple-devices-how-many-driver-instances-784090/)

jadonovan 01-22-2010 03:31 PM

Single USB driver, multiple devices, how many driver instances?
 
Does anyone know how the system handles loading device drivers when multiple, identical devices are connected? For example, if I connect multiple USB devices are there multiple instances of the appropriate driver loaded? This has come up because I am using modprobe to load a particular USB-to-serial driver (ftdi_sio) and need to support more than one product id. I've tried just invoking modprobe ftdi_sio vendor=0xNNNN but it doesn't seem to work. Normally I do a modprobe ftdi_sio vendor=0xNNNN product=0xMMMM but I want to plug 2 different products in at one time.

macemoneta 01-23-2010 08:08 PM

There is only a single instance, but it should recognize all the appropriate devices. There should be no reason to specify the vendor and product under normal circumstances.


All times are GMT -5. The time now is 05:23 PM.