Hi,
I've previously posted 2 emails, and after some research and playing
around on myself, here's a hopefully more understandable problem
statement. Sorry for the long post, but I'm trying to include all
relevant info.
I've tried installing pcsclite 1.5.4, ccid 1.3.10 and ifd-egate 0.9.0
using libusb on my Mandriva Linux system. I've tried Mandriva 2008.1
and 2009.1. 2009.1 came pre-installed with pcsclite 1.5.2 using
libhal, so I uninstalled it before installing 1.5.4.
When configuring pcsclite, the usbdropdir defaults to
/usr/local/pcsc/drivers. However, when configuring ccid and ifd-egate,
usbdropdir defaults to /usr/lib/pcsc/drivers. If I install it as is,
it will install properly but pcscd will complain that
/usr/local/pcsc/drivers doesn't exist and quit.
When I modify ccid and ifd-egate's usbdropdir to
/usr/local/pcsc/drivers, pcscd runs correctly, and I've tried a
regular CCID compliant reader with an Oberthur smart card, and I see
the ATR displayed which indicates to me that it's working. However,
when I plug an egate token in after running pcscd -df, I get the
following message:
00000000 pcscdaemon.c:267:main() pcscd set to foreground with debug
send to stderr
00000313 pcscdaemon.c:512:main() pcsc-lite 1.5.4 daemon ready.
00098062 tokenparser.l:175:LTPBundleFindValueWithKey() Value/Key not
defined for: ifdVendorID in
/usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
00000184 tokenparser.l:175:LTPBundleFindValueWithKey() Value/Key not
defined for: ifdVendorID in
/usr/local/pcsc/drivers/egate.bundle/Contents/Info.plist
00000329 hotplug_libusb.c:403:HPEstablishUSBNotifications() Driver
ifd-ccid.bundle does not support IFD_GENERATE_HOTPLUG. Using active
polling instead.
00000014 hotplug_libusb.c:412:HPEstablishUSBNotifications() Polling
forced every 1 second(s)
06271590 hotplug_libusb.c:477:HPAddHotPluggable() Adding USB device: 007:004
00000026 readerfactory.c:1024:RFInitializeReader() Attempting startup
of E-Gate 00 00 using
/usr/local/pcsc/drivers/egate.bundle/Contents/Linux/libifd_egate.so
00000191 readerfactory.c:877:RFBindFunctions() Loading IFD Handler 3.0
00000356 readerfactory.c:1050:RFInitializeReader() Open Port 200000
Failed (usb:0973/0001:libusb:007:004)
00000009 readerfactory.c:914:RFUnloadReader() Unloading reader driver.
00000023 readerfactory.c:233:RFAddReader() E-Gate init failed.
I've previously gotten ifd-egate to work with an egate token in
Mandriva 2009.1 with the pre-installed pcsclite 1.5.2 that uses
libhal. However I wish to use libusb instead of libhal.
My ./configure command line and the resulting config options are as follows:
pcsclite : ./configure --disable-libhal --enable-libusb (defaults to
/usr/local/pcsc/drivers/)
Version: 1.5.4
System binaries: /usr/local/sbin
Configuration files: /usr/local/etc
Host: i686-pc-linux-gnu
Compiler: gcc
Preprocessor flags: -I${top_srcdir}/src
Compiler flags: -Wall -fno-common -g -O2
Preprocessor flags: -I${top_srcdir}/src
Linker flags:
Libraries:
PTHREAD_CFLAGS: -pthread
PTHREAD_LIBS:
PCSC_ARCH: Linux
libhal support: no
libusb support: yes
SCF reader support: false
USB drop directory: /usr/local/pcsc/drivers
ATR parsing messages: false
confdir: /etc
ipcdir: /var/run/pcscd
ccid : ./configure --enable-usbdropdir=/usr/local/pcsc/drivers
-enable-ccidtwindir=/usr/local/pcsc/drivers//serial
Version: 1.3.10
User binaries: NONE/bin
Configuration files: NONE/etc
Host: i686-pc-linux-gnu
Compiler: gcc
Preprocessor flags:
Compiler flags: -g -O2
Preprocessor flags:
Linker flags:
Libraries:
PCSC_CFLAGS: -pthread -I/usr/include/PCSC
PCSC_LIBS: -lpcsclite
PTHREAD_CFLAGS: -pthread
PTHREAD_LIBS:
BUNDLE_HOST: Linux
DYN_LIB_EXT: so
LIBUSB_CFLAGS:
LIBUSB_LIBS: -lusb
SYMBOL_VISIBILITY: -fvisibility=hidden
libusb support: yes
use USB interrupt: no
multi threading: yes
bundle directory name: ifd-ccid.bundle
USB drop directory: /usr/local/pcsc/drivers
serial Twin support: no
serial twin install dir: /usr/local/pcsc/drivers//serial
compiled for pcsc-lite: yes
udev support: no
ifd-egate : ./configure --enable-usbdropdir=/usr/local/pcsc/drivers
--disable-libhal (defaults to /usr/lib/pcsc/drivers/)
./configure --enable-usbdropdir=/usr/local/pcsc/drivers
--disable-libhal (defaults to /usr/lib/pcsc/drivers/)
Version: 0.90
Host: i686-pc-linux-gnu
Compiler: gcc
Preprocessor flags:
Compiler flags: -g -O2
Preprocessor flags:
Linker flags:
Libraries:
BUNDLE_HOST: Linux
DYN_LIB_EXT: so
PCSC_CFLAGS: -pthread -I/usr/include/PCSC
PCSC_LIBS: -lpcsclite
LIBUSB_CFLAGS:
LIBUSB_LIBS: -lusb
LIBHAL_CFLAGS:
LIBHAL_LIBS:
SYMBOL_VISIBILITY: -fvisibility=hidden
libhal support: no
libusb support: yes
bundle directory name: egate.bundle
USB drop directory: /usr/local/pcsc/drivers
Does anyone know what's going on, and how to get ifd-egate to work with libusb?
Thanks!
--
- Goi Sihan
[email protected]
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle