Hi,

at some point I had added a call to claim_interface (control interface) in the device open code. Now that doesn't work if I have some usb hardware with several functions like a key board.

So what would be a better design?

Maybe
a) move the claim interface code to each and every driver.
b) pass some parameter on which interface we might want to claim

I don't know most drivers well and have little clue what might fit
our situation best. The usb crypto dongles I know mostly use the
control transfer, so claiming that using either solution should
work fine.

But maybe other devices first need to open the device and find out
where the card reader function is located, before they can decide
which endpoint needs to be claimed?

Please tell me what would be the best way for your drivers to proceed.

Thanks, Andreas
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to