ubuntu 12.04 编译安装mfoc全过程
2013-08-05 17:26
393 查看
lz已经体验过了。效果不错,速度比win下的mfoc快。废话不说了。
依赖关系
apt-get install flex libpcsclite-dev libusb-dev checkinstall
1.硬件:ACR122U
2.软件:
(1)驱动安装
root@bt:~# wget http://www.acs.com.hk/drivers/eng/ACR122_Driver_Lnx_Mac10.5_10.6_10.7_104_P.zip
root@bt:~# unzip ACR122_Driver_Lnx_Mac10.5_10.6_10.7_104_P.zip
root@bt:~# cd ACR122_Driver_Lnx_Mac10.5_10.6_10.7_104_P
root@bt:~# tar -jxvf acsccid-1.0.4.tar.bz2
root@bt:~# cd acsccid-1.0.4
root@bt:~# ./configure
root@bt:~# make
root@bt:~# checkinstall -D -y --install
(2)安装libnfc
需要使用 libnfc-1.7.0-rc3.tar.gz(mfoc-0.10.6)
安装方法不在叙述
(3)检查设备,驱动等情况
root@bt:~# nfc-list
nfc-list use libnfc 1.4.2 (r891)
Connected to NFC device: ACS ACR122U 00 00 / ACR122U103 - PN532 v1.6 (0x07)
1 ISO14443A passive target(s) was found:
ATQA(SENS_RES):00 02
UID (NFCID1): xx xx xx xx
SAK (SEL_RES): 08
If your reader is rejected because of the firmware (log message: „Firmware (x.y) is bogus!“) just disable version checking. All you need to do is change ifdDriverOptions (line 55 in Info.plist) to skip version checking like this:
root@bt:~# nano /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
ifdDriverOptions
0×0005
(4)编译。安装mfoc
root@bt:~# wget http://nfc-tools.googlecode.com/files/mfoc-0.10.6.tar.gz && tar -xvzf mfoc-0.10.6.tar.gz
root@bt:~# cd mfoc-0.10.6
root@bt:~# autoreconf -vis
root@bt:~# ./configure
root@bt:~# make
root@bt:~# checkinstall -D -y --install
(5)完成。测试。
root@bt:~# mfoc -O test.dump(跟win下的差不多。)
树莓派mfoc 0.10.6笔记
树莓派编译mfoc 0.10.6后,接口供电不足,破解或启动过acr122u后,需重新插拔acr122u才可进行下一步操作。
树莓派编译mfoc 0.10.6后,接口供电不足,破解速度过慢,破解公交卡开始时间:16:04/结束时间:16:39 用时35min(卧槽。)
依赖关系
apt-get install flex libpcsclite-dev libusb-dev checkinstall
1.硬件:ACR122U
2.软件:
(1)驱动安装
root@bt:~# wget http://www.acs.com.hk/drivers/eng/ACR122_Driver_Lnx_Mac10.5_10.6_10.7_104_P.zip
root@bt:~# unzip ACR122_Driver_Lnx_Mac10.5_10.6_10.7_104_P.zip
root@bt:~# cd ACR122_Driver_Lnx_Mac10.5_10.6_10.7_104_P
root@bt:~# tar -jxvf acsccid-1.0.4.tar.bz2
root@bt:~# cd acsccid-1.0.4
root@bt:~# ./configure
root@bt:~# make
root@bt:~# checkinstall -D -y --install
(2)安装libnfc
需要使用 libnfc-1.7.0-rc3.tar.gz(mfoc-0.10.6)
安装方法不在叙述
(3)检查设备,驱动等情况
root@bt:~# nfc-list
nfc-list use libnfc 1.4.2 (r891)
Connected to NFC device: ACS ACR122U 00 00 / ACR122U103 - PN532 v1.6 (0x07)
1 ISO14443A passive target(s) was found:
ATQA(SENS_RES):00 02
UID (NFCID1): xx xx xx xx
SAK (SEL_RES): 08
If your reader is rejected because of the firmware (log message: „Firmware (x.y) is bogus!“) just disable version checking. All you need to do is change ifdDriverOptions (line 55 in Info.plist) to skip version checking like this:
root@bt:~# nano /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
ifdDriverOptions
0×0005
(4)编译。安装mfoc
root@bt:~# wget http://nfc-tools.googlecode.com/files/mfoc-0.10.6.tar.gz && tar -xvzf mfoc-0.10.6.tar.gz
root@bt:~# cd mfoc-0.10.6
root@bt:~# autoreconf -vis
root@bt:~# ./configure
root@bt:~# make
root@bt:~# checkinstall -D -y --install
(5)完成。测试。
root@bt:~# mfoc -O test.dump(跟win下的差不多。)
树莓派mfoc 0.10.6笔记
树莓派编译mfoc 0.10.6后,接口供电不足,破解或启动过acr122u后,需重新插拔acr122u才可进行下一步操作。
树莓派编译mfoc 0.10.6后,接口供电不足,破解速度过慢,破解公交卡开始时间:16:04/结束时间:16:39 用时35min(卧槽。)
相关文章推荐
- Ubuntu 12.04 编译安装 OpenCV2.4.8 过程笔记
- Ubuntu 12.04 编译安装 OpenCV2.4.8 过程笔记
- Ubuntu 12.04系统天嵌Linux交叉编译开发工具的安装
- Ubuntu 12.04 配置apue2环境(《unix环境高级编程》源码编译环境安装)
- Ubuntu 12.04 / Linux Mint 17.1 下安装TinyOS-2.1.1全过程
- Ubuntu 12.04安装grub2过程中出错怎么办【转】
- Ubuntu 12.04本地编译安装Vim
- 用VMware安装Ubuntu 12.04详细过程图解
- 用VMware 8安装Ubuntu 12.04详细过程图解
- 用VMware 8安装Ubuntu 12.04详细过程(图解)+ 视频
- Ubuntu 12.04 64位编译android2.3需要安装的软件
- Ubuntu 12.04(32位)安装Oracle 11g(32位)全过程以及几乎所有问题的解决办法
- Ubuntu 12.04下安装编译OpenCV 2.4.x
- Ubuntu 12.04(32位)安装Oracle 11g(32位)全过程以及几乎所有问题的解决办法
- ubuntu编译安装Tengine过程
- 用VMware 8安装Ubuntu 12.04详细过程(图解)
- 用VMware安装Ubuntu 12.04详细过程图解
- ubuntu 12.04 编译安装 nginx
- 【转】Ubuntu 12.04下安装arm-linux-gcc等gnu arm toolchain交叉编译工具
- ubuntu ffmpeg+sdl编译安装过程记录