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 libnfc on the embedded system.

Getting the drivers

The readers makes use of CP2101 USB to UART bridge from 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 this guide to set your cross-compiling environment. Next, mark the drivers in the kernel menu:

Device Drivers --->
   [*] USB support --->
      USB Serial Converter support --->
         <M> CP2101 UART Bridge Controller

Compile the modules and move them to the file system. Add drivers usbserial and cp2101 to be loaded at boot-up time:

echo "usbserial" >> /etc/modules
echo "cp2101" >> /etc/modules

Update the dependencies and load the module:

depmod -a
modprobe cp2101

Installing the dependencies

Go ahead and install the dependencies:

apt-get install libusb-0.1-4 libusb-dev libpcsclite1 libpcsclite-dev libccid pcscd

Installing libnfc

Get the source code, compile it and install it:

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
installing_libnfc_arygon_s_adrb-usb_rfid_nfc_mifare_reader.txt · Last modified: 2017/01/03 21:27 by admin