Hello subscribers,

I am trying to get my Reiner SCT cyberjack e-com usb cardreader
connected and used with libchipcard. To my current understanding I
nowadays need pcsc-lite for that. I installed the Reiner SCT IFD driver
on my Gentoo system:

# lsusb | grep Reiner
Bus 003 Device 011: ID 0c4b:0400 Reiner SCT Kartensysteme GmbH
# echo 'dev-libs/cyberjack pcsc-lite' >> /etc/portage/package.use
# emerge -va =dev-libs/cyberjack-3.3.5
# ls /usr/lib64/readers/usb/libifd-cyberjack.bundle/Contents/Linux/
libifd-cyberjack.la  libifd-cyberjack.so.2
libifd-cyberjack.so  libifd-cyberjack.so.2.3.6

(I later on also tried the latest 3.3.6 release which did not make a
difference)


I also installed the latest pcsc-lite package with usb support:

# echo 'sys-apps/pcsc-lite usb' >> /etc/portage/package.use
# emerge -va =sys-apps/pcsc-lite-1.6.6
# /usr/sbin/pcscd --version
pcsc-lite version 1.6.6.
Copyright (C) 1999-2002 by David Corcoran <[email protected]>.
Copyright (C) 2001-2010 by Ludovic Rousseau <[email protected]>.
Copyright (C) 2003-2004 by Damien Sauveron <[email protected]>.
Report bugs to <[email protected]>.
Enabled features: Linux x86_64-pc-linux-gnu serial usb libusb
usbdropdir=/usr/lib64/readers/usb ipcdir=/var/run/pcscd
configdir=/etc/reader.conf.d

However starting the daemon results in:

# pcscd -a -f -d
00000000 debuglog.c:277:DebugLogSetLevel() debug level=debug
00000558 configfile.l:245:DBGetReaderListDir() Parsing conf directory:
/etc/reader.conf.d
00000057 pcscdaemon.c:553:main() pcsc-lite 1.6.6 daemon ready.
00003452 hotplug_libusb.c:478:HPAddHotPluggable() Adding USB device: 3:11
00003308 readerfactory.c:931:RFInitializeReader() Attempting startup of
REINER SCT cyberJack ecom_a (8310526691) 00 00 using
/usr/lib64/readers/usb/libifd-cyberjack.bundle/Contents/Linux/libifd-cyberjack.so
00003064 readerfactory.c:821:RFBindFunctions() Loading IFD Handler 3.0
00014716 readerfactory.c:962:RFInitializeReader() Open Port 0x200000
Failed (usb:0c4b/0400:libusb-1.0:3:11)
00000035 readerfactory.c:273:RFAddReader() REINER SCT cyberJack ecom_a
(8310526691) init failed.
00000018 readerfactory.c:982:RFUnInitializeReader() Attempting shutdown
of REINER SCT cyberJack ecom_a (8310526691) 00 00.
00000014 readerfactory.c:858:RFUnloadReader() Unloading reader driver.
00000409 hotplug_libusb.c:386:HPEstablishUSBNotifications() Driver
libifd-cyberjack.bundle does not support IFD_GENERATE_HOTPLUG. Using
active polling instead.
00000018 hotplug_libusb.c:395:HPEstablishUSBNotifications() Polling
forced every 1 second(s)


I also tried to investigate the problem with an strace:
# strace -f -- pcscd -a -f -d
...
[pid  9244] open("usb:0c4b/0400:libusb-1.0:3:11", O_RDWR|O_NOCTTY) = -1
ENOENT (No such file or directory)
[pid  9244] poll([{fd=9, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=9,
revents=POLLOUT}])
[pid  9244] writev(9, [{"<\0\2\0\0\0\340\3+\0\1\0", 12}, {NULL, 0}, {"",
0}], 3) = 12
[pid  9244] poll([{fd=9, events=POLLIN}], 1, -1) = 1 ([{fd=9,
revents=POLLIN}])
[pid  9244] read(9,
"\1\2\10\0\0\0\0\0000\0\240\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
4096) = 32
[pid  9244] read(9, 0x62b9e4, 4096)     = -1 EAGAIN (Resource
temporarily unavailable)
[pid  9244] read(9, 0x62b9e4, 4096)     = -1 EAGAIN (Resource
temporarily unavailable)
[pid  9244] close(9)                    = 0
[pid  9244] munmap(0x7fc540a04000, 3390856) = 0
[pid  9244] munmap(0x7fc5407e6000, 2216912) = 0
[pid  9244] munmap(0x7fc5405e2000, 2109712) = 0
[pid  9244] munmap(0x7fc5403dc000, 2117848) = 0
[pid  9244] futex(0x7fc5419351c0, FUTEX_WAKE_PRIVATE, 1) = 0
[pid  9244] write(2, "readerfactory.c:962:RFInitialize"...,
99readerfactory.c:962:RFInitializeReader() Open Port 0x200000 Failed
(usb:0c4b/0400:libusb-1.0:3:11)
...


This seems to indicate that /proc/bus/usb/003/011 is not present. But it is:

# ls -l /proc/bus/usb/003/011
-rw-rw-r-- 1 root cyberjack 111 20. Feb 19:04 /proc/bus/usb/003/011

I am kind of lost. Any ideas?

Btw. I do not have ccid installed (which seems to be reasonable because
to my understanding it no longer has support for my device)

Regards,
Tobias
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to