Pages: [1]   Go Down
Author Topic: please help test aduino detection script for linux  (Read 473 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 1
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone,

I just made a quick script to that tries to find USB-connected arduinos from a linux machine.
I'd really appreciate some feedback whether it works ok from machines other than mine,
since it uses sysfs and I don't know how generic all that is between distributions/kernels/etc.

The attached script should be run just like this:

     $ chmod u+x guess_programmer_parameter.perl
     $ ./guess_programmer_parameter.perl --device

and should output something like /dev/ttyACM0 (for uno rev.3 at least) or /dev/ttyUSB0 (for Duemilanove)
when it finds exactly one Arduino.

It should give error messages when no arduino is connected or when multiple ones are connected.


* guess_programmer_parameter.perl (5.19 KB - downloaded 5 times.)

Pages: [1]   Go Up
Jump to: