[Pcsclite-muscle] ReinerSCT Cyberjack e-com: readerfactory.c:1097:RFInitializeReader() Open Port 0x200000 Failed (usb:0c4b/0401:libudev:0:/dev/bus/usb/001/012)

TT my.nl.abos
Tue Nov 15 07:38:00 PST 2016


Yes ! A pity though that the driver does not nicely explain this fact
... but maybe this is (technically) not possible ?

In any case:

That also perfectly explains why the sp05 (from debian) works ;)

... and why I could NOT find anything wrong with the compilation +
installation of the latest sp10 ;)

... THANKS!

Now the world makes sense again :))

Knuth


P.S.: You may hence close my ReinerSCT [Ticket#2016111510000779] ;)

--

On 15/11/16 16:11, Maximilian Stein wrote:
> Hi Knuth,
>
> maybe your reader is one of the readers that are announced to be
> discontinued in [1]. They say that driver support will be dropped for
> cyberJack basic, cyberJack pinpad and cyberJack e-com 2.0. In [2] it
> looks to me like all cyberJack e-com are discontinued since mid 2012,
> hence support from the driver should have been removed.
>
> The behaviour of the IFD handler would make sense if the handler itself
> checks if the given reader is supported (by checking PID /VID or
> whatever) on initialisation.
>
> Cheers
>   Maximilian
>
> [1] http://www.reiner-sct.com/old
> [2]
> https://forum.reiner-sct.com/index.php?/topic/2811-aktuelle-cyberjack-firmware-versionen/
>
> On 15.11.2016 14:09, TT wrote:
>> Strangely, the ubuntu driver:
>>
>> http://packages.ubuntu.com/xenial/libifd-cyberjack6v5
>>
>> works fine.
>>
>> They are using sp05 and Arch is using sp10.
>>
>> There seem no additional patches...
>>
>> Knuth
>>
>>
>> On 15/11/16 13:03, Ludovic Rousseau wrote:
>>> 2016-11-15 12:50 GMT+01:00 TT <my.nl.abos at gmail.com>:
>>>> Hi,
>>> Hello,
>>>
>>>> I am hoping you might be able to help me.
>>>>
>>>> I never had problems running the reader, but now I do and don't know
>>>> what to try anymore :(
>>>>
>>>> But first things first:
>>>>
>>>> //////////////////////////////////////////////////
>>>> //// Versions
>>>>
>>>>     * CCID driver version: community/ccid 1.4.25-1 [installed]
>>>>     * pcsc-lite version: community/pcsclite 1.8.16-1 [installed]
>>>>     * smart card reader name: ReinerSCT Cyberjack e-com [#1#]
>>>>     * the output of the command "/usr/sbin/pcscd --version":
>>>> pcsc-lite version 1.8.16.
>>>> Copyright (C) 1999-2002 by David Corcoran <corcoran at musclecard.com>.
>>>> Copyright (C) 2001-2015 by Ludovic Rousseau <ludovic.rousseau at free.fr>.
>>>> Copyright (C) 2003-2004 by Damien Sauveron <sauveron at labri.fr>.
>>>> Report bugs to <pcsclite-muscle at lists.alioth.debian.org>.
>>>> Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev
>>>> usbdropdir=/usr/lib/pcsc/drivers ipcdir=/run/pcscd
>>>> configdir=/etc/reader.conf.d
>>>>
>>>> #1#: aur/pcsc-cyberjack 3.99.5_SP10-2 (29, 0.01) [installed]
>>>> (((
>>>>
>>>> source=("http://support.reiner-sct.de/downloads/LINUX/V${pkgver}/pcsc-cyberjack_${_pkgver}.tar.tar")
>>>>
>>>> sha256sums=('11099c29594a73db19a4a0d9c448308c9c1ec3868862fd3838d0849b0debc7a8')
>>>>
>>>>     ./configure \
>>>>         --prefix=/usr \
>>>>         --mandir=/usr/share/man/man8 \
>>>>         --sysconfdir=/etc/"${pkgname}"  \
>>>>         --enable-udev \
>>>>         --with-usbdropdir=$(pkg-config libpcsclite --variable=usbdropdir)
>>>>
>>>>     make
>>>> )))
>>>>
>>>>
>>>>
>>>> //////////////////////////////////////////////////
>>>> //// Platform
>>>>
>>>>     * Operating system or GNU/Linux distribution name and version:
>>>>       archlinux
>>>>       Linux horizon 4.8.7-nvme #1 SMP PREEMPT Tue Nov 15 10:28:13 CET
>>>> 2016 x86_64 GNU/Linux (archlinux kernel + nvme powersaving patch)
>>>>
>>>>     Smart card middleware name and version: hmmm I am not sure what you
>>>> mean (I know what a middleware would be in general, but how do I
>>>> determine this in my context ?), sorry !
>>>>     Reader manufacturer name: ReinerSCT
>>>>     Reader model name: cyberJack e-com
>>>>     Smart card name: Sparkasse HBCI card
>>>>
>>>>
>>>>
>>>> //////////////////////////////////////////////////
>>>> //// Log
>>>>
>>>>  * Killed any running pcscd process
>>>>  * Started pcscd exactly as described bellow:
>>>> sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu
>>>> --color | tee log.txt
>>>>
>>>> Reader was first NOT plugged, then (after line:
>>>>      00000108 hotplug_libudev.c:294:get_driver() Looking for a driver
>>>> for VID: 0x2109, PID: 0x0812, path: /dev/bus/usb/002/002
>>>> I plugged it.
>>>>
>>>> Please find the log.txt attached.
>>>>
>>>>
>>>>
>>>>
>>>> //////////////////////////////////////////////////
>>>> //// Some additional info (each starts with ####)
>>>>
>>>> #### ls -la /var/run/pcscd
>>>> total 4
>>>> drwxr-xr-x  2 root root  80 Nov 15 12:46 .
>>>> drwxr-xr-x 20 root root 460 Nov 15 11:08 ..
>>>> srw-rw-rw-  1 root root   0 Nov 15 12:46 pcscd.comm
>>>> -rw-r--r--  1 root root   7 Nov 15 12:46 pcscd.pid
>>>>
>>>>
>>>> #### ls -la /dev/bus/usb/001/009
>>>> crw-rw-r-- 1 root root 189, 8 Nov 15 11:54 /dev/bus/usb/001/009
>>>>
>>>>
>>>> #### lsusb -vvv # section about cyberjack:
>>>>
>>>> Bus 001 Device 009: ID 0c4b:0401 Reiner SCT Kartensysteme GmbH cyberJack
>>>> pinpad(a2)
>>>> Device Descriptor:
>>>>   bLength                18
>>>>   bDescriptorType         1
>>>>   bcdUSB               1.10
>>>>   bDeviceClass            0
>>>>   bDeviceSubClass         0
>>>>   bDeviceProtocol         0
>>>>   bMaxPacketSize0        16
>>>>   idVendor           0x0c4b Reiner SCT Kartensysteme GmbH
>>>>   idProduct          0x0401 cyberJack pinpad(a2)
>>>>   bcdDevice            0.01
>>>>   iManufacturer           1 Reiner-SCT
>>>>   iProduct                2 cyberJack e-com(f)
>>>>   iSerial                 3 7091604504
>>>>   bNumConfigurations      1
>>>>   Configuration Descriptor:
>>>>     bLength                 9
>>>>     bDescriptorType         2
>>>>     wTotalLength           93
>>>>     bNumInterfaces          1
>>>>     bConfigurationValue     1
>>>>     iConfiguration          0
>>>>     bmAttributes         0x80
>>>>       (Bus Powered)
>>>>     MaxPower               96mA
>>>>     Interface Descriptor:
>>>>       bLength                 9
>>>>       bDescriptorType         4
>>>>       bInterfaceNumber        0
>>>>       bAlternateSetting       0
>>>>       bNumEndpoints           3
>>>>       bInterfaceClass       255 Vendor Specific Class
>>>>       bInterfaceSubClass      0
>>>>       bInterfaceProtocol      0
>>>>       iInterface              0
>>>>       Endpoint Descriptor:
>>>>         bLength                 7
>>>>         bDescriptorType         5
>>>>         bEndpointAddress     0x81  EP 1 IN
>>>>         bmAttributes            3
>>>>           Transfer Type            Interrupt
>>>>           Synch Type               None
>>>>           Usage Type               Data
>>>>         wMaxPacketSize     0x0010  1x 16 bytes
>>>>         bInterval               5
>>>>       Endpoint Descriptor:
>>>>         bLength                 7
>>>>         bDescriptorType         5
>>>>         bEndpointAddress     0x82  EP 2 IN
>>>>         bmAttributes            2
>>>>           Transfer Type            Bulk
>>>>           Synch Type               None
>>>>           Usage Type               Data
>>>>         wMaxPacketSize     0x0040  1x 64 bytes
>>>>         bInterval               1
>>>>       Endpoint Descriptor:
>>>>         bLength                 7
>>>>         bDescriptorType         5
>>>>         bEndpointAddress     0x02  EP 2 OUT
>>>>         bmAttributes            2
>>>>           Transfer Type            Bulk
>>>>           Synch Type               None
>>>>           Usage Type               Data
>>>>         wMaxPacketSize     0x0040  1x 64 bytes
>>>>         bInterval               1
>>>>         DEVICE CLASS:  36 21 00 10 00 07 03 00 00 00 a0 0f 00 00 40 1f
>>>> 00 00 00 58 27 00 00 90 d0 03 00 00 fe 00 00 00 07 00 00 00 00 00 00 00
>>>> 30 00 01 00 0e 01 00 00 ff ff 00 00 03 01
>>>> Device Status:     0x0000
>>>>   (Bus Powered)
>>>>
>>>> #### ps faux|grep pcscd   # pcscd is running as root
>>>> root     13784  0.0  0.0  71812  5408 pts/7    S+   12:46   0:00
>>>>  \_ sudo LIBCCID_ifdLogLevel=0x000F pcscd --foreground --debug --apdu
>>>> --color
>>>> root     13786  0.0  0.0  26480  2460 pts/7    Sl+  12:46   0:00
>>>>  |   \_ pcscd --foreground --debug --apdu --color
>>>>
>>>>
>>>> ### HISTORY of this issue:
>>>> The reader always worked fine.
>>>> I am now trying it the first time on a new DELL XPS 13 notebook under
>>>> archlinux.
>>>>
>>>>
>>>> #### Do you have any idea what I can try ?
>>>>
>>>> Thanks a lot for any hint. Because for now I fell stuck on how to
>>>> further debug this :(
>>> 00014585 readerfactory.c:1097:RFInitializeReader() Open Port 0x200000
>>> Failed (usb:0c4b/0401:libudev:0:/dev/bus/usb/001/014)
>>> 00000010 readerfactory.c:372:RFAddReader() REINER SCT cyberJack pp_a2
>>> (7091604504) init failed.
>>>
>>> The driver failed to initialize.
>>>
>>> You should report the issue to driver maintainer. Or try to debug the
>>> libifd-cyberjack.so driver yourself.
>>>
>>> You can also try to copy the libifd-cyberjack.so driver from your
>>> other computer, where the reader was working fine, and install it on
>>> the DELL XPS 13.
>>>
>>> Bye
>>>
>>
>> _______________________________________________
>> Pcsclite-muscle mailing list
>> Pcsclite-muscle at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
>>
>
> _______________________________________________
> Pcsclite-muscle mailing list
> Pcsclite-muscle at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle





More information about the pcsclite-muscle mailing list