Used Linux distribution is Fedora 12.
I have removed all pcsc-lite rpm modules coming with it (pcsc-lite,
pcsc-lite-libs,.)
I have compiled and installed pcsc-lite 1.8.8
I have compiled and installed rdesktop 1.7.1
I start pcscd, and it is resetting successfully the CPS inserted card:
[root@localhost lib]# /usr/sbin/pcscd -f -d
00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000686 configfile.l:298:DBGetReaderList() Parsing conf file:
/usr/etc/reader.conf.d
00000129 pcscdaemon.c:525:main() pcsc-lite 1.8.8 daemon ready.
00006767 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00001552 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00001244 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00001322 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x045E, PID: 0x0040, path: /dev/bus/usb/005/002
00001330 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00001214 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x03F0, PID: 0x0024, path: /dev/bus/usb/005/003
00001375 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000695 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000613 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x0CA6, PID: 0x0010, path: /dev/bus/usb/006/002
00000146 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x0CA6, PID: 0x0010, path: /dev/bus/usb/006/002
00000032 hotplug_libudev.c:312:HPAddDevice() Adding USB device: CASTLES
EZ100PU
00000145 readerfactory.c:978:RFInitializeReader() Attempting startup of
CASTLES EZ100PU 00 00 using
/usr/lib/pcsc/drivers/ezusb.bundle/Contents/Linux/ezusb.so
00000299 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0
00005607 readerfactory.c:327:RFAddReader() Using the pcscd polling thread
00001164 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001
00000924 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/007/001
00001596 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x14E1, PID: 0x6000, path: /dev/bus/usb/007/002
00001697 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00001524 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00001286 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x174F, PID: 0x142B, path: /dev/bus/usb/001/005
00001480 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x174F, PID: 0x142B, path: /dev/bus/usb/001/005
00001711 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/008/001
00001265 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/009/001
00000705 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000916 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/010/001
00000916 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/011/001
00000864 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
00000209 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010182 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010147 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010140 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010149 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010149 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010142 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010140 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010140 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010147 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010150 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00010140 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for reader:
CASTLES EZ100PU 00 00
00004923 eventhandler.c:256:EHStatusHandlerThread() powerState:
POWER_STATE_POWERED
00000081 Card ATR: 3B AC 00 40 2A 00 12 25 00 64 80 00 03 10 00 90 00
00402931 eventhandler.c:446:EHStatusHandlerThread() powerState:
POWER_STATE_UNPOWERED
But when running rdesktop with bedside user having the display rights, it is
claiming that PCSC service is not availble
[bedside@localhost ~]$ /usr/bin/rdesktop -k fr -a 16 169.3.200.242 -r scard
ERROR: scard_enum_devices: PCSC service not available
Here it is the pcsc-spy log:
[bedside@localhost ~]$ pcsc-spy
fifo /home/bedside/pcsc-spy already present. Reusing it.
SCardEstablishContext
i dwScope: SCARD_SCOPE_SYSTEM (0x00000002)
Traceback (most recent call last):
o hContext: 0x00000000
File "/usr/bin/pcsc-spy", line 933, in <module>
=> Service not available. (SCARD_E_NO_SERVICE [0x8010001D]) [0.000000421]
SCardReleaseContext
i hContext: 0x00000000
main(logfile, color=color, diffable=diffable)
=> Invalid handle. (SCARD_E_INVALID_HANDLE [0x80100003]) [0.000000149]
File "/usr/bin/pcsc-spy", line 890, in main
spy.loop()
File "/usr/bin/pcsc-spy", line 836, in loop
(thread, tail) = line.split('@')
ValueError: need more than 1 value to unpack
How can I have pcsc_scan compiled with 1.8.8 pcsc-lite release?
_______________________________________________
Muscle mailing list
[email protected]
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com