I'm trying to make a PN532 breakout board work with the official FTDI USB cable. I've followed these instructions both in Ubuntu 12.04 and 10.04, in two computers:
Code: Select all
sudo apt-get install libusb-dev libpcsclite-dev
sudo apt-get install libusb-0.1-4 libpcsclite1 libccid pcscd libftdi1
wget http://libnfc.googlecode.com/files/libnfc-1.6.0-rc1.tar.gz
tar -xvzf libnfc-1.6.0-rc1.tar.gz
cd libnfc-1.6.0-rc1.tar.gz
./configure --with-drivers=pn532_uart --enable-serial-autoprobe
make clean
make
sudo make install
sudo ldconfig
This is the dmesg output regarding the FTDI cable (when I plug it in):
Code: Select all
[42557.448034] usb 9-1: new full-speed USB device number 2 using uhci_hcd
[42557.873680] usbcore: registered new interface driver usbserial
[42557.873695] USB Serial support registered for generic
[42557.962128] usbcore: registered new interface driver usbserial_generic
[42557.962132] usbserial: USB Serial Driver core
[42557.973464] USB Serial support registered for FTDI USB Serial Device
[42557.973774] ftdi_sio 9-1:1.0: FTDI USB Serial Device converter detected
[42557.973803] usb 9-1: Detected FT232RL
[42557.973805] usb 9-1: Number of endpoints 2
[42557.973807] usb 9-1: Endpoint 1 MaxPacketSize 64
[42557.973808] usb 9-1: Endpoint 2 MaxPacketSize 64
[42557.973810] usb 9-1: Setting MaxPacketSize 64
[42557.976229] usb 9-1: FTDI USB Serial Device converter now attached to ttyUSB0
[42557.976243] usbcore: registered new interface driver ftdi_sio
[42557.976244] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
[42832.232044] usb 9-1: USB disconnect, device number 2
[42832.232194] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[42832.232210] ftdi_sio 9-1:1.0: device disconnected
[42835.260016] usb 9-1: new full-speed USB device number 3 using uhci_hcd
[42835.467081] ftdi_sio 9-1:1.0: FTDI USB Serial Device converter detected
[42835.467115] usb 9-1: Detected FT232RL
[42835.467118] usb 9-1: Number of endpoints 2
[42835.467120] usb 9-1: Endpoint 1 MaxPacketSize 64
[42835.467123] usb 9-1: Endpoint 2 MaxPacketSize 64
[42835.467125] usb 9-1: Setting MaxPacketSize 64
[42835.469082] usb 9-1: FTDI USB Serial Device converter now attached to ttyUSB0