marcus905 / libnfc

Automatically exported from code.google.com/p/libnfc
GNU Lesser General Public License v3.0
0 stars 0 forks source link

predefined device tty.SLAB_USBoUART is ignored #212

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install the SiLabs CP210x USB to UART driver on Mac OS X 
(http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspx)
2. Attach a PN532 device via UART to a CP210x USB to UART device
3. Run nfc-probe or nfc-list

What is the expected output? What do you see instead?
Expected output is for the device to be at the very least recognized and 
listed. Instead, no device is found.

What version of the product are you using? On what operating system?
Using libnfc 1.6.0-rc1 on Mac OS X.

Please provide any additional information below.
The problem lies in buses/uart_posix.c, in uart_list_ports() line 347. That 
line skips any devices that do not end in digits, like tty.SLAB_USBtoUART.

Original issue reported on code.google.com by adamlesi...@gmail.com on 12 Nov 2012 at 5:37

GoogleCodeExporter commented 9 years ago
This bug is fixed in r921d64dadccf5e16039c6f5edba82b4d4ddd4a04

https://code.google.com/p/libnfc/source/detail?r=921d64dadccf5e16039c6f5edba82b4
d4ddd4a04#

Original comment by neomil...@gmail.com on 5 Dec 2012 at 12:34

GoogleCodeExporter commented 9 years ago

Original comment by romu...@libnfc.org on 5 Dec 2012 at 3:43