On 5/5/08, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > > 2. When I use software suspend, it looks like sometimes the API > > "disconnects", so new processes can communicate with readers and > > current loaded/initialized opensc-pkcs11 instance cannot, any thoughts > > regarding this? > > > When /var/run/openct/status is cleared the api does not recover... > Anyone have a simple way to solve it before I dig into the code?
Following is a debug log of resume, notice the following: May 6 20:06:14 alon1 ifdhandler[14375]: usb:/dev/bus/usb/002/019: initialization failed (driver ccid) May 6 20:06:14 alon1 ifdhandler[14375]: unable to open reader ccid usb /dev/bus/usb/002/019 I guess the problem is that pcsc-lite ccid driver tried to use the same device... Can this be fixed? Alon. --- May 6 20:06:14 alon1 ifdhandler[14375]: ifd_open: trying to open [EMAIL PROTECTED]:/dev/bus/usb/002/019 May 6 20:06:14 alon1 ifdhandler[14375]: ifd_usb_control: usb req type=x80 req=x06 val=x0100 ind=x0000 len=18 May 6 20:06:14 alon1 ifdhandler[14375]: ifd_usb_control: recv 12 01 10 01 00 00 00 08 c3 0d 04 10 05 05 01 02 00 01 May 6 20:06:14 alon1 ifdhandler[14375]: ifd_usb_control: usb req type=x80 req=x06 val=x0200 ind=x0000 len=8 May 6 20:06:14 alon1 ifdhandler[14375]: ifd_usb_control: recv 09 02 5d 00 01 01 06 a0 May 6 20:06:14 alon1 ifdhandler[14375]: ifd_usb_control: usb req type=x80 req=x06 val=x0200 ind=x0000 len=93 May 6 20:06:14 alon1 ifdhandler[14375]: ifd_usb_control: recv 09 02 5d 00 01 01 06 a0 32 09 04 00 00 03 0b 00 00 04 36 21 10 01 00 07 03 00 00 00 a0 0f 00 00 a0 0f 00 00 00 00 2a 00 00 15 16 05 00 00 fc 00 00 00 00 00 00 00 00 00 00 00 30 03 01 00 0f 01 00 00 00 00 00 00 00 01 07 05 81 03 08 00 ff 07 05 02 02 40 00 00 07 05 82 02 40 00 00 May 6 20:06:14 alon1 ifdhandler[14375]: skipped 1 class/vendor specific interface descriptors May 6 20:06:14 alon1 ifdhandler[14375]: usb_set_params: called. config xffffffff ifc x00 eps x02/x82 May 6 20:06:14 alon1 ifdhandler[14375]: usb_claiminterface failed: Device or resource busy May 6 20:06:14 alon1 ifdhandler[14375]: usb:/dev/bus/usb/002/019: initialization failed (driver ccid) May 6 20:06:14 alon1 ifdhandler[14375]: unable to open reader ccid usb /dev/bus/usb/002/019 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel