1 (edited by h3ku 2013-09-24 20:31:56)

Topic: No NFC Device found (PN532)

Hi, i have the PN532.
I tried this. (Im not use a Raspberry pi, im use a FTDI)
libnfc.org/community/topic/913/no-nfc-device-found-with-libnfc170rc4-on-raspberry-pi/


But i have this error log.

h3ku@h3kulap:~$ sudo LIBNFC_LOG_LEVEL=3 nfc-list
[sudo] password for h3ku: 
debug    libnfc.config    key: [allow_autoscan], value: [true]
debug    libnfc.config    key: [device.name], value: [PN532 board via UART]
debug    libnfc.config    key: [device.connstring], value: [pn532_uart:/dev/ttyAMA0]
debug    libnfc.general    log_level is set to 3
debug    libnfc.general    allow_autoscan is set to true
debug    libnfc.general    allow_intrusive_scan is set to false
debug    libnfc.general    1 device(s) defined by user
debug    libnfc.general      #0 name: "PN532 board via UART", connstring: "pn532_uart:/dev/ttyAMA0"
nfc-list uses libnfc 1.7.0
debug    libnfc.driver.pn532_uart    Attempt to open: /dev/ttyAMA0 at 115200 bauds.
error    libnfc.driver.pn532_uart    Invalid serial port: /dev/ttyAMA0
debug    libnfc.general    Unable to open "pn532_uart:/dev/ttyAMA0".
nfc-list: ERROR: Unable to open NFC device: pn532_uart:/dev/ttyAMA0

Re: No NFC Device found (PN532)

Solved.

Re: No NFC Device found (PN532)

Hello. I have the same problem whenever I use LIBNFC_LOG_LEVEL=3 nfc-list. The log is more or less the same with you. Can you tell me how you solve this?

Here is my log:

debug    libnfc.config    key: [device.name], value: [PN532 board via UART]
debug    libnfc.config    key: [device.connstring], value: [pn532_uart:/dev/ttyAMA0]
debug    libnfc.config    Unable to open directory: /etc/nfc/devices.d
debug    libnfc.general    log_level is set to 3
debug    libnfc.general    allow_autoscan is set to true
debug    libnfc.general    allow_intrusive_scan is set to false
debug    libnfc.general    1 device(s) defined by user
debug    libnfc.general      #0 name: "PN532 board via UART", connstring: "pn532_uart:/dev/ttyAMA0"
nfc-list uses libnfc 1.7.1
debug    libnfc.driver.pn532_uart    Attempt to open: /dev/ttyAMA0 at 115200 baud.
error    libnfc.driver.pn532_uart    Invalid serial port: /dev/ttyAMA0
debug    libnfc.general    Unable to open "pn532_uart:/dev/ttyAMA0".
nfc-list: ERROR: Unable to open NFC device: pn532_uart:/dev/ttyAMA0