[arch-general] RFID - 1. reader driver, 2. alien package for an app
Hi, the first issue is the driver: # lsusb Bus 005 Device 002: ID 04e6:5292 SCM Microsystems, Inc. SCL011 RFID reader # sudo pcscd -f 00000000 dyn_unix.c:37:DYN_LoadLibrary() /usr/lib/pcsc/drivers/SCL011.bundle/Contents/Linux/libSCL011.so.2.06: libusb-0.1.so.4: cannot open shared object file: No such file or directory 00000098 readerfactory.c:985:RFInitializeReader() RFLoadReader failed: 0xFFFFFFFF80100014 00000070 readerfactory.c:312:RFAddReader() SCL011 Contactless Reader [SCL01x Contactless Reader] (21161049211487) init failed. 00000035 hotplug_libudev.c:384:HPAddDevice() Failed adding USB device: SCL011 Contactless Reader The readers LED isn't on. I wonder what to run as a replacement for # /etc/rc.d/pcscd start. The second issue is the application: Is there a way to convert packages for other distros to Arch packages or to directly install files from a package? man alien says -d, --to-deb Make debian packages. This is the default. -r, --to-rpm Make rpm packages. -t, --to-tgz Make tgz packages. --to-slp Make slp packages. -p, --to-pkg Make Solaris pkg packages. -i, --install Automatically install each generated package, and remove the package file after it has been installed. Available are packages for Ubuntu ≥ 10.04, Debian ≥ 6 and for openSUSE ≥ 11.4 https://www.ausweisapp.bund.de/pweb/filedownload/download_pre.do I tried the Ubuntu packages with # alien --scripts -vkt AusweisApp_010900_i686.deb # alien --scripts -vkt AusweisApp_IntegrityTool_010900_i686.deb But I don't know what to do with the tgz files ;). FWIW # alien --scripts -vkti AusweisApp_IntegrityTool_010900_i686.deb Sorry, I cannot install the generated .tgz file because /sbin/installpkg is not present. You can use tar to install it yourself. Extracting the TGZ isn't a help :S. I want to use the RFID chip from the German ID card, that's why I want to install this app. Regards, Ralf
The main issue still is, that the firmware doesn't work, likely because
I'm missing something. I removed the foreign stuff and tried the driver
and app from AUR, but they don't work either.
[rocketmouse@archlinux scl011_2.06_linux_64bit]$ sudo ./uninstall.sh
[rocketmouse@archlinux scl011_2.06_linux_64bit]$ yaourt pcsc-scl011
[rocketmouse@archlinux scl011_2.06_linux_64bit]$ sudo rm -r /tmp/yaourt-tmp-rocketmouse
[rocketmouse@archlinux scl011_2.06_linux_64bit]$ yaourt ausweisapp
1 aur/ausweisapp 1.9.0-2 (5)
A tool from the BSI for secure payment and authentication on the
internet using the rfid passport (sic!)
2 aur/openecardapp 1.0.0_pre3-1 (0)
Open eCard-App (opencard) is an open source alternative of the
AusweisApp
==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
==> -------------------------------------------------------
==> 1 2
[snip]
==> Entering fakeroot environment...
==> Starting package()...
ln: failed to create symbolic link
‘/tmp/yaourt-tmp-rocketmouse/aur-ausweisapp/pkg/opt/olsc/AusweisApp/libpcsclite.so’: File exists
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build ausweisapp.
FWIW I restarted Arch.
[rocketmouse@archlinux ~]$ sudo ldconfig
[rocketmouse@archlinux ~]$ lsusb -d 04e6:
Bus 005 Device 002: ID 04e6:5292 SCM Microsystems, Inc. SCL011 RFID
reader
[rocketmouse@archlinux ~]$ sudo systemctl start pcscd.service
At least "systemctl start pcscd.service" does work.
[rocketmouse@archlinux ~]$ sudo pcscd -f
00000000 pcscdaemon.c:364:main() file /run/pcscd/pcscd.comm already
exists.
00000076 pcscdaemon.c:366:main() Another pcscd (pid: 730) seems to be
running.
[rocketmouse@archlinux ~]$ pcsc_scan
PC/SC device scanner
V 1.4.21 (c) 2001-2011, Ludovic Rousseau
participants (1)
-
Ralf Mardorf