User Tools

Site Tools


installing_libnfc_arygon_s_adrb-usb_rfid_nfc_mifare_reader

===== Introduction ====== This guide will help you install Arygon's ADRB-USB RFID reader with NFC and Mifare cards support. To be able to use this reader, you need to install [[http://www.libnfc.org/documentation/introduction|libnfc]] on the embedded system. ==== Getting the drivers ==== The readers makes use of CP2101 USB to UART bridge from [[http://www.silabs.com/products/interface/usbtouart/Pages/usb-to-uart-bridge.aspx|Silicon Labs]]. This driver is not provided with the default Lenny image, so you need to compile it and add it to the filesystem. First, follow [[http://www.embeddedarm.com/about/resource.php?item=410#compile|this]] guide to set your cross-compiling environment. Next, mark the drivers in the kernel menu: <code> Device Drivers ---> [*] USB support ---> USB Serial Converter support ---> <M> CP2101 UART Bridge Controller </code> Compile the modules and move them to the file system. Add drivers usbserial and cp2101 to be loaded at boot-up time: <code> echo "usbserial" >> /etc/modules echo "cp2101" >> /etc/modules </code> Update the dependencies and load the module: <code> depmod -a modprobe cp2101 </code> ==== Installing the dependencies ==== Go ahead and install the dependencies: <code> apt-get install libusb-0.1-4 libusb-dev libpcsclite1 libpcsclite-dev libccid pcscd </code> ==== Installing libnfc ==== Get the source code, compile it and install it: <code> cd /opt wget http://libnfc.googlecode.com/files/libnfc-1.5.1.tar.gz tar -xvzf libnfc-1.5.1.tar.gz cd libnfc-1.5.1 ./configure --prefix=/usr --enable-serial-autoprobe --with-drivers=arygon make make install </code>

installing_libnfc_arygon_s_adrb-usb_rfid_nfc_mifare_reader.txt · Last modified: 2017/01/03 21:27 by admin