Bonjour,
J'avais téléchargé les 2 drivers. J'ai désinstallé, par yumex, le ACR38UDriver-1.8.0-1.i386.rpm que j'avais installé auparavant et installé le ACR38_LINUX_100709_P.tar.gz. Voici ce qu'a donné la commande ./configure :
[Fifi@localhost ~]$ cd /home/Fifi/Téléchargement/ACR38_LINUX_100709_P
[Fifi@localhost ACR38_LINUX_100709_P]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... yes
USB drop directory : /usr/lib/pcsc/drivers
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether closedir returns void... no
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for select... yes
checking for strerror... yes
checking for strncpy... yes
checking for memcpy... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/driver/Makefile
config.status: creating src/controllib/Makefile
config.status: creating src/controllib/libacr38ucontrol.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
[Fifi@localhost ACR38_LINUX_100709_P]$
et la commande make :
[Fifi@localhost ACR38_LINUX_100709_P]$ make
make all-recursive
make[1]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P »
Making all in src/controllib
make[2]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/controllib »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/controllib »
Making all in src/driver
make[2]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/driver »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/driver »
make[2]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P »
make[2]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P »
make[1]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P »
[Fifi@localhost ACR38_LINUX_100709_P]$
et la commande make install en utilisateur normal $ :
[Fifi@localhost ACR38_LINUX_100709_P]$ make install
Making install in src/controllib
make[1]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/controllib »
make[2]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/controllib »
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../../libtool --mode=install /usr/bin/install -c 'libacr38ucontrol.la' '/usr/local/lib/libacr38ucontrol.la'
/usr/bin/install -c .libs/libacr38ucontrol.so.0.0.0 /usr/local/lib/libacr38ucontrol.so.0.0.0
/usr/bin/install: cannot remove `/usr/local/lib/libacr38ucontrol.so.0.0.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] Erreur 1
make[2]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/controllib »
make[1]: *** [install-am] Erreur 2
make[1]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/controllib »
make: *** [install-recursive] Erreur 1
[Fifi@localhost ACR38_LINUX_100709_P]$
j'ai donc refait la commande make install en root # :
[Fifi@localhost ACR38_LINUX_100709_P]$ su -
Mot de passe :
[root@localhost ~]# cd /home/Fifi/Téléchargement/ACR38_LINUX_100709_P
[root@localhost ACR38_LINUX_100709_P]# make install
Making install in src/controllib
make[1]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/controllib »
make[2]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/controllib »
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../../libtool --mode=install /usr/bin/install -c 'libacr38ucontrol.la' '/usr/local/lib/libacr38ucontrol.la'
/usr/bin/install -c .libs/libacr38ucontrol.so.0.0.0 /usr/local/lib/libacr38ucontrol.so.0.0.0
(cd /usr/local/lib && rm -f libacr38ucontrol.so.0 && ln -s libacr38ucontrol.so.0.0.0 libacr38ucontrol.so.0)
(cd /usr/local/lib && rm -f libacr38ucontrol.so && ln -s libacr38ucontrol.so.0.0.0 libacr38ucontrol.so)
/usr/bin/install -c .libs/libacr38ucontrol.lai /usr/local/lib/libacr38ucontrol.la
/usr/bin/install -c .libs/libacr38ucontrol.a /usr/local/lib/libacr38ucontrol.a
ranlib /usr/local/lib/libacr38ucontrol.a
chmod 644 /usr/local/lib/libacr38ucontrol.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include" || mkdir -p -- "/usr/local/include"
/usr/bin/install -c -m 644 'ACS38DrvTools.h' '/usr/local/include/ACS38DrvTools.h'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libacr38ucontrol.pc' '/usr/local/lib/pkgconfig/libacr38ucontrol.pc'
make[2]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/controllib »
make[1]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/controllib »
Making install in src/driver
make[1]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/driver »
/home/Fifi/Téléchargement/ACR38_LINUX_100709_P/build/install-sh -d /usr/lib/pcsc/drivers/ACR38UDriver.bundle/Contents/Linux/
/usr/bin/install -c .libs/libACR38UDriver.so /usr/lib/pcsc/drivers/ACR38UDriver.bundle/Contents/Linux/ACR38UDriver
/usr/bin/install -c Info.plist /usr/lib/pcsc/drivers/ACR38UDriver.bundle/Contents
make[1]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P/src/driver »
make[1]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P »
make[2]: entrant dans le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P »
make[1]: quittant le répertoire « /home/Fifi/Téléchargement/ACR38_LINUX_100709_P »
[root@localhost ACR38_LINUX_100709_P]#
Voilà donc le driver ACR38_LINUX_100709_P.tar.gz installé... Mais...
Cela ne fonctionne toujours pas. J'ai toujours les mêmes erreurs dans tail -f /var/log/messages lorsque je branche le lecteur :
Feb 7 10:56:52 localhost kernel: usb 6-2: new full speed USB device using ohci_hcd and address 2
Feb 7 10:56:52 localhost kernel: usb 6-2: configuration #1 chosen from 1 choice
Feb 7 10:56:52 localhost kernel: usb 6-2: New USB device found, idVendor=072f, idProduct=9000
Feb 7 10:56:52 localhost kernel: usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 7 10:56:52 localhost kernel: usb 6-2: Product: ACR38 USB Reader
Feb 7 10:56:52 localhost kernel: usb 6-2: Manufacturer: ACS
Feb 7 10:56:52 localhost ifdhandler[3232]: usb_claiminterface failed: Device or resource busy
Feb 7 10:56:52 localhost ifdhandler[3232]: ps_open: ifd_device_set_parameters returnederror -1
Feb 7 10:56:52 localhost ifdhandler[3232]: usb:/dev/bus/usb/006/002: initialization failed (driver pertosmart1038)
Feb 7 10:56:52 localhost ifdhandler[3232]: unable to open reader pertosmart1038 usb /dev/bus/usb/006/002
Feb 7 10:56:52 localhost pcscd: hotplug_libhal.c:342:HPAddDevice() Adding USB device: usb_device_72f_9000_noserial_if0
Feb 7 10:56:53 localhost pcscd: readerfactory.c:1082:RFInitializeReader() Attempting startup of ACS ACR38U 00 00 using /usr/lib/pcsc/drivers/ACR38UDriver.bundle/Contents/Linux/ACR38UDriver
Feb 7 10:56:53 localhost pcscd: readerfactory.c:915:RFBindFunctions() Loading IFD Handler 2.0
Feb 7 10:56:53 localhost pcscd: readerfactory.c:267:RFAddReader() Using the pcscd polling thread
Feb 7 10:56:53 localhost kernel: usb 6-2: usbfs: process 2320 (pcscd) did not claim interface 0 before use
Feb 7 10:56:53 localhost pcscd: ifdwrapper.c:485:IFDStatusICC() Card not transacted: 612
Feb 7 10:56:53 localhost pcscd: eventhandler.c:178:EHSpawnEventHandler() Initial CheckFailed on ACS ACR38U 00 00
Feb 7 10:56:53 localhost pcscd: readerfactory.c:275:RFAddReader() ACS ACR38U init failed.
Feb 7 10:56:53 localhost pcscd: eventhandler.c:109:EHDestroyEventHandler() Thread never started (reader init failed?)
Feb 7 10:56:53 localhost pcscd: readerfactory.c:1133:RFUnInitializeReader() Attemptingshutdown of ACS ACR38U 00 00.
Feb 7 10:56:53 localhost pcscd: readerfactory.c:994:RFUnloadReader() Unloading reader driver.
Feb 7 10:56:53 localhost pcscd: hotplug_libhal.c:395:HPAddDevice() Failed adding USB device: usb_device_72f_9000_noserial_if0
Voilà où j'en suis. On dirait que le démon pcscd ( qui est bien actif et démarré !) ne peut pas communiquer avec le driver ... ?!
Si je veux réessayer le ACR38UDriver-1.8.0-1.i386.rpm, dois-je désinstaller le ACR38_LINUX_100709_P.tar.gz ?
J'attend tes ( ou vos !) lumières, car je ne suis pas du tout un spécialiste de Linux...!
Merci