This library demostrate how to communicate with swipe reader in linux.

It uses LibUsb-1.0. To install LibUsb, run "sudo apt-get install libusb-1.0-0-dev"
And it used the hidapi (hid.c and hidapi.h)

To build this package, run "make"


by default, usb need root permission to access, to let it access in user account, follow the next step -

Set USB Permissions in /etc/udev/rules.d/90-usbpermission.rules by adding
SUBSYSTEM==“usb”,GROUP=“users”,MODE=“0666”
