Hi Mr. Rousseau,
thanks for you reply. Don't worry - I was/am actually using version 1.2.0
(from the site) but failed to note the version correctly in my previous mail.
Eventhough you stated it is not necessary, I have recompiled my version 1.2.0
with
[EMAIL PROTECTED]:/data/home/jo/smarcard/pcsc-lite-1.2.0> ./configure
--enable-libusb=/usr --prefix=/usr/local/pcsc
--enable-usbdropdir=/usr/local/pcsc/drivers/ <<<
which compiled ok, after which I run the daemon like this :
linux:/data/home/jo/smarcard/pcsc-lite-1.2.0 # strace -f -e
trace=open /usr/local/pcsc/sbin/pcscd -f -dstdout
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/usr/lib/libusb-0.1.so.4", O_RDONLY) = 3
open("/lib/libresmgr.so.0.9.8", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY) = 3
open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
open("/lib/tls/libc.so.6", O_RDONLY) = 3
pcscdaemon.c:251 main: pcscd set to foreground
pcscdaemon.c:265 main: debug messages to stdout
open("/var/run/pcscd.pub", O_RDWR|O_CREAT, 0644) = 3
open("/etc/reader.conf", O_RDONLY) = -1 ENOENT (No such file or
directory)
pcscdaemon.c:427 main: warning: no reader.conf found
pcscdaemon.c:445 main: pcsc-lite daemon ready.
open("/usr/local/pcsc/drivers/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)
= 5 <<<<<<<<<<<< HE LOOKS FOR IT
hotplug_libusb.c:179 No bundle files in pcsc drivers
directory: /usr/local/pcsc/drivers/ <<<<<<<<<<<<<<<<< :-( / ;-)
hotplug_libusb.c:180 Disabling USB support for pcscd
Process 16884 attached
[pid 16884] open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)
= 5
[pid 16884] open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)
= 5
[pid 16884] open("/proc/bus/usb/004", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = 5
[pid 16884] open("/proc/bus/usb/004/001", O_RDONLY) = 6
[pid 16884] open("/etc/localtime", O_RDONLY) = 6
[pid 16884] open("/proc/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = 5
[pid 16884] open("/proc/bus/usb/003/001", O_RDONLY) = 7
[pid 16884] open("/proc/bus/usb/002", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = 5
[pid 16884] open("/proc/bus/usb/002/003", O_RDONLY) = 7
[pid 16884] open("/proc/bus/usb/002/001", O_RDONLY) = 7
[pid 16884] open("/proc/bus/usb/001", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = 5
[pid 16884] open("/proc/bus/usb/001/002", O_RDONLY) = 7
[pid 16884] open("/proc/bus/usb/001/001", O_RDONLY) = 7
[pid 16884] open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)
= 5
[pid 16884] open("/proc/bus/usb/004", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = 5
[pid 16884] open("/proc/bus/usb/004/001", O_RDONLY) = 7
[pid 16884] open("/proc/bus/usb/003", O_RDONLY|O_NONBLOCK|O_LARGEFIL
... goes on and on ...
The contents of my /usr/local/pcsc/drivers/ directory are :
linux:/usr/local/pcsc/drivers # find .
.
./Contents
./Contents/Linux
./Contents/Linux/Dummy.txt
./Contents/Linux/acsAcr30 <<<< where 'make install' puts it
./Contents/Info.plist
./acsAcr30 <<<<<< copied it here to be sure ...
I am going to try with the beta version now and see what happens.
If you have any more tips for me - would be greatly appreciated!
Thanks
Jo De Baer
Novell
On Saturday 11 December 2004 16:33, Ludovic Rousseau wrote:
> Le Friday 10 December 2004 � 22:53:13, Jo De Baer a �crit:
> > Hi,
>
> Hello,
>
> > I am trying to run an ACR30U card reader work on Novell Linux Desktop
> > 9. NLD 9 is in fact SuSE 9.1. Pcsc-lite is included in it, but it is
> > version 1.1.1. Since old versions are not supported, I decided to
> > compile the pcsc-lite version 1.1.2.
>
> pcsc-lite 1.1.2 is also an old version. You should use version 1.2.0 or
> 1.2.9-beta6 from [1].
>
> > *) I compiled with :
> > /configure --enable-libusb=/usr --prefix=/usr/local/pcsc
> >
> > which gives an ok compilation with :
> > <snip>
> > enable libusb support : true
> > enable USB drop directory : /usr/local/pcsc/drivers
> > enable debug messages : true
> > enable ATR parsing messages : false
> > enable SCF reader support : false
> > enable musclecard : true
> > enable MuscleCard bundles dir : /usr/local/pcsc/services
> > enable confdir : /etc (default)
> > enable runpid : false
> > enable ipcdir : /var/run (default)
> > enable threadsafe client : true
> > NOTE :: You must link pthread libraries with your app.
> > configure: creating ./config.status
> > <snap>
> >
> > *) running pcsc results in the following :
> > linux:/ # /usr/local/pcsc/sbin/pcscd -d stdout -a
> > pcscdaemon.c:265 main: debug messages to stdout
> > debuglog.c:188 Debug options: APDU
> > pcscdaemon.c:427 main: warning: no reader.conf found
> > pcscdaemon.c:445 main: pcsc-lite daemon ready.
> > hotplug_libusb.c:179 No bundle files in pcsc drivers <<<< PROBLEM ?
> > directory: /usr/local/pcsc/drivers
> > hotplug_libusb.c:180 Disabling USB support for pcscd <<<< PROBLEM ?
>
> It is a known and corrected (at least in 1.2.0) bug. You should use
> --enable-usbdropdir=/usr/local/pcsc/drivers/ (note the trailing /)
> if you really want to use 1.1.2 version.
>
> > Jo De Baer
> > Novell
>
> Since you work for Novell/SuSE I strongly suggest you include at least
> version 1.2.0 in the next Novell Linux release.
> If you want to support the CCID readers (listed in [2]) you will have to
> use 1.2.9-beta6.
>
> Bye,
>
> [1] https://alioth.debian.org/project/showfiles.php?group_id=30105
> [2] http://pcsclite.alioth.debian.org/ccid.html
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle