Andrey Jivsov wrote:
I was thinking to implement the cyberJack PIN pad reader support.

that is a good idea! if I can be of any help please let me know.
I thought about it myself, but never found time for that (and most
likely neither will anytime soon, so please go ahead!).

Unfortunately, I ran into a problem when I must reset the reader with usb_reset(device_handle). However, I don't see ifd_device_ops.reset implemented. Is there a way to cleanly invoke the USB device reset functionality?

I attached the patch that I think is needed. It would be nice to integrate it into the tree.

Hi Andrey,

thanks for the patch, commited. I hope it doesn't cause side effects.
the proble with usb reset is that the device will get a new device
number on the usb bus, and thus the old openct ifdhandler will need
to die and exit, and udev will spawn a new one for the new device.

so usb reset is like unplugging and plugging in again. except for the
absolute worst case scenario it should never be necessary to do that.


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

Reply via email to