Several drivers for a USB device

Is it possible for a USB device to support multiple drivers? I would like to support my own native driver, but also CCID as a second option. When the device is connected, the user can choose which one to use. The driver to use is determined by what the USB descriptor says, right? If so, is it possible to indicate that both drivers are supported? Is the idea of โ€‹โ€‹supporting two drivers?

+3
source share
2 answers

On Windows, two supported drivers are possible. In fact, in order to receive the Microsoft Logo certification, it is imperative that the USB device supports this functionality. ( CONNECT-0123 requirement )

However, the user interface behavior that you describe is not suggested by Microsoft. Driver selection is automatic.

Your USB device may indicate that it supports two interfaces. In this case, both drivers will be loaded.

+1
source

, , , , USB , , , .

, , CDC ( ), , . , CDC .

"" , , -, .

0

Source: https://habr.com/ru/post/1736149/


All Articles