Abdellazizhammami / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Scan all /dev/ttyUSB* on Linux #790

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently the IDE only looks for /dev/ttyUSB<number>.

The better way to set this up on Linux is to make udev rules that create a 
fixed additional device name, equivalent to whatever ttyUSB<number> is assigned 
to the interface when the Arduino board is plugged in. With thi features the 
same Arduino board is always accessed through the same /dev/<devicename>.

<devicename> can be freely chosen in the udev rule, but it would be good 
practice to make it start with "ttyUSB". 

To make this work, the IDE would need to scan for any name starting with 
"ttyUSB", and not just those that finish with a number (i.e. ttyUSB<number>).

Currently the IDE only recognises only /dev/ttyUSB<number>, so this udev 
feature can't be used by the IDE.

Original issue reported on code.google.com by gooc...@top.geek.nz on 14 Jan 2012 at 12:04

GoogleCodeExporter commented 8 years ago
Please continue conversation here https://github.com/arduino/Arduino/issues/790

Original comment by federico...@gmail.com on 22 Oct 2013 at 10:14

GoogleCodeExporter commented 8 years ago

Original comment by federico...@gmail.com on 26 May 2015 at 3:25