Re: [opensc-devel] Resetting USB device in OpenCT

2006-11-10 Thread Andrey Jivsov
Martin Preuss wrote: Hi, On Friday 03 November 2006 00:40, Andrey Jivsov wrote: [...] I was thinking to implement the cyberJack PIN pad reader support. 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 [...

Re: [opensc-devel] Resetting USB device in OpenCT

2006-11-10 Thread Andrey Jivsov
Martin Preuss wrote: Hi, On Friday 03 November 2006 00:40, Andrey Jivsov wrote: [...] I was thinking to implement the cyberJack PIN pad reader support. [...] Just curious: Are you implementing support for both types of Cyberjack devices (0x100 and 0x300, even though they look identical they

Re: [opensc-devel] Resetting USB device in OpenCT

2006-11-10 Thread Andrey Jivsov
Andreas Jellinghaus wrote: 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 a

Re: [opensc-devel] Resetting USB device in OpenCT

2006-11-06 Thread Ludovic Rousseau
On 05/11/06, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: 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 s

Re: [opensc-devel] Resetting USB device in OpenCT

2006-11-05 Thread Martin Preuss
Hi, On Friday 03 November 2006 00:40, Andrey Jivsov wrote: [...] > I was thinking to implement the cyberJack PIN pad reader support. > 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 [...] What problem did

Re: [opensc-devel] Resetting USB device in OpenCT

2006-11-05 Thread Martin Preuss
Hi, On Friday 03 November 2006 00:40, Andrey Jivsov wrote: [...] > I was thinking to implement the cyberJack PIN pad reader support. [...] Just curious: Are you implementing support for both types of Cyberjack devices (0x100 and 0x300, even though they look identical they are very different int

Re: [opensc-devel] Resetting USB device in OpenCT

2006-11-05 Thread Andreas Jellinghaus
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 ra

[opensc-devel] Resetting USB device in OpenCT

2006-11-02 Thread Andrey Jivsov
Hello, I was thinking to implement the cyberJack PIN pad reader support. 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?