为什么“找不到NFC设备"?与libnfc和PN532屏蔽 [英] Why "No NFC device found" with libnfc and PN532 SHIELD
问题描述
我在ArchLinux上安装了libnfc,并且可以通过Adafruit PN532 arduino SHIELD使用它.
I installed the libnfc on my ArchLinux and i would use it through my Adafruit PN532 arduino SHIELD.
nfc-list
向我返回消息找不到NFC设备".
nfc-list
returns me the message "No NFC device found".
/etc/nfc/devices.d/pn532.conf中包含以下文件,
I have the following file in /etc/nfc/devices.d/pn532.conf that gives me
nfc-list使用libnfc 1.7.1 错误libnfc.driver.pn532_uart pn53x_check_communication错误 错误libnfc.chip.pn53x意外的PN53x回复! nfc-list:错误:无法打开NFC设备:pn532_uart:/dev/ttyACM0
nfc-list uses libnfc 1.7.1 error libnfc.driver.pn532_uart pn53x_check_communication error error libnfc.chip.pn53x Unexpected PN53x reply! nfc-list: ERROR: Unable to open NFC device: pn532_uart:/dev/ttyACM0
关于如何解决该问题的任何想法? TY
Any idea about how to fix that ? TY
推荐答案
首先验证您的Rx/Tx连接.
然后使用以下命令配置LIBNFC:
First of all verify your Rx/Tx connections.
And then Configure LIBNFC with following command :
1) ./configure --with-drivers=pn532_uart --sysconfdir=/etc --prefix=/usr --enable-serial-autoprobe
2) make clean all
3) sudo make install all
最后
4) LIBNFC_LOG_LEVEL=3
现在尝试5) nfc-list
这篇关于为什么“找不到NFC设备"?与libnfc和PN532屏蔽的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!