Hallo,
habe unter FreeBSD 11.1 folgende Packet installiert.
pcsc-lite-1.8.22,2
pcsc-tools-1.4.27
Aber pcsc_scan erkennt den Cardreader wohl nicht
# pcsc_scan
PC/SC device scanner
V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.22
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...
# service pcscd status
pcscd is running as pid 91224.
# tail -f /var/log/messages
Feb 3 21:21:47 x220 kernel: ugen0.3: <Reiner-SCT cyberJack pinpada> at usbus0
Feb 3 21:21:47 x220 root: Unknown USB device: vendor 0x0c4b product 0x0300 bus uhub2
# lsusb
Bus /dev/usb Device /dev/ugen0.3: ID 0c4b:0300 Reiner SCT Kartensysteme GmbH cyberJack pinpad(a)
# ls -la /dev/usb/0.3.0
crw------- 1 root operator 0x76 Feb 3 21:19 /dev/usb/0.3.0
# service pcscd stop
# pcscd -f
leider keine Ausgabe
# pcscd -f -d
00000000 debuglog.c:289
ebugLogSetLevel() debug level=debug
00000323 configfile.l:361
BGetReaderList() Parsing conf file: /usr/local/etc/reader.conf.d
00000022 pcscdaemon.c:658:main() pcsc-lite 1.8.22 daemon ready.
00000363 hotplug_libusb.c:268:HPReadBundleValues() No bundle files in pcsc drivers directory: /usr/local/lib/pcsc/drivers/
00000009 hotplug_libusb.c:269:HPReadBundleValues() Disabling USB support for pcscd
Wollte den Treiber kompilieren... aber klappt leider nicht...
http://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP10/pcsc-cyberjack_3.99.5final.SP10.tar.tar
tar xvfz pcsc-cyberjack_3.99.5final.SP10.tar.tar
vi Makefile / vi libtool
von SED = /bin/sed
nach SED = /usr/bin/sed
cd /usr/local/bin
ln -s g++7 g++
ln -s gcc7 gcc
cd -
gmake
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/driver -I../include/firmware -Iausb -pthread -I/usr/include/PCSC -DBUILDING_CYBERJACK -DCYBERJACK_CONFIG_FILE=\"/etc/cyberjack/cyberjack.conf\" -g -O2 -Wall -c BaseCommunication.cpp -fPIC -DPIC -o .libs/BaseCommunication.o
In file included from ../include/driver/Platform_unix.h:43:0,
from ../include/driver/Platform.h:35,
from BaseCommunication.cpp:1:
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"
#error "<malloc.h> has been replaced by <stdlib.h>"
^~~~~
In file included from ../include/driver/Platform_unix.h:49:0,
from ../include/driver/Platform.h:35,
from BaseCommunication.cpp:1:
/usr/local/include/PCSC/winscard.h:41:10: fatal error: pcsclite.h: No such file or directory
#include <pcsclite.h>
^~~~~~~~~~~~
compilation terminated.
gmake[3]: *** [Makefile:621: BaseCommunication.lo] Error 1
gmake[3]: Leaving directory '/usr/local/lib/pcsc/drivers/pcsc-cyberjack-3.99.5final.SP10/cjeca32'
gmake[2]: *** [Makefile:636: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/local/lib/pcsc/drivers/pcsc-cyberjack-3.99.5final.SP10/cjeca32'
gmake[1]: *** [Makefile:492: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/local/lib/pcsc/drivers/pcsc-cyberjack-3.99.5final.SP10'
gmake: *** [Makefile:422: all] Error 2
# ls -lathr /usr/local/include/PCSC/pcsclite.h
-rw-r--r-- 1 root wheel 15K Dec 10 03:39 /usr/local/include/PCSC/pcsclite.h
# ls -lathr /usr/include/stdlib.h
-r--r--r-- 1 root wheel 11K Jul 21 2017 /usr/include/stdlib.h
habe unter FreeBSD 11.1 folgende Packet installiert.
pcsc-lite-1.8.22,2
pcsc-tools-1.4.27
Aber pcsc_scan erkennt den Cardreader wohl nicht
# pcsc_scan
PC/SC device scanner
V 1.4.27 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.22
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...
# service pcscd status
pcscd is running as pid 91224.
# tail -f /var/log/messages
Feb 3 21:21:47 x220 kernel: ugen0.3: <Reiner-SCT cyberJack pinpada> at usbus0
Feb 3 21:21:47 x220 root: Unknown USB device: vendor 0x0c4b product 0x0300 bus uhub2
# lsusb
Bus /dev/usb Device /dev/ugen0.3: ID 0c4b:0300 Reiner SCT Kartensysteme GmbH cyberJack pinpad(a)
# ls -la /dev/usb/0.3.0
crw------- 1 root operator 0x76 Feb 3 21:19 /dev/usb/0.3.0
# service pcscd stop
# pcscd -f
leider keine Ausgabe
# pcscd -f -d
00000000 debuglog.c:289

00000323 configfile.l:361

00000022 pcscdaemon.c:658:main() pcsc-lite 1.8.22 daemon ready.
00000363 hotplug_libusb.c:268:HPReadBundleValues() No bundle files in pcsc drivers directory: /usr/local/lib/pcsc/drivers/
00000009 hotplug_libusb.c:269:HPReadBundleValues() Disabling USB support for pcscd
Wollte den Treiber kompilieren... aber klappt leider nicht...
http://support.reiner-sct.de/downloads/LINUX/V3.99.5_SP10/pcsc-cyberjack_3.99.5final.SP10.tar.tar
tar xvfz pcsc-cyberjack_3.99.5final.SP10.tar.tar
vi Makefile / vi libtool
von SED = /bin/sed
nach SED = /usr/bin/sed
cd /usr/local/bin
ln -s g++7 g++
ln -s gcc7 gcc
cd -
gmake
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../include -I../include/driver -I../include/firmware -Iausb -pthread -I/usr/include/PCSC -DBUILDING_CYBERJACK -DCYBERJACK_CONFIG_FILE=\"/etc/cyberjack/cyberjack.conf\" -g -O2 -Wall -c BaseCommunication.cpp -fPIC -DPIC -o .libs/BaseCommunication.o
In file included from ../include/driver/Platform_unix.h:43:0,
from ../include/driver/Platform.h:35,
from BaseCommunication.cpp:1:
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"
#error "<malloc.h> has been replaced by <stdlib.h>"
^~~~~
In file included from ../include/driver/Platform_unix.h:49:0,
from ../include/driver/Platform.h:35,
from BaseCommunication.cpp:1:
/usr/local/include/PCSC/winscard.h:41:10: fatal error: pcsclite.h: No such file or directory
#include <pcsclite.h>
^~~~~~~~~~~~
compilation terminated.
gmake[3]: *** [Makefile:621: BaseCommunication.lo] Error 1
gmake[3]: Leaving directory '/usr/local/lib/pcsc/drivers/pcsc-cyberjack-3.99.5final.SP10/cjeca32'
gmake[2]: *** [Makefile:636: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/local/lib/pcsc/drivers/pcsc-cyberjack-3.99.5final.SP10/cjeca32'
gmake[1]: *** [Makefile:492: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/local/lib/pcsc/drivers/pcsc-cyberjack-3.99.5final.SP10'
gmake: *** [Makefile:422: all] Error 2
# ls -lathr /usr/local/include/PCSC/pcsclite.h
-rw-r--r-- 1 root wheel 15K Dec 10 03:39 /usr/local/include/PCSC/pcsclite.h
# ls -lathr /usr/include/stdlib.h
-r--r--r-- 1 root wheel 11K Jul 21 2017 /usr/include/stdlib.h