Go Down

Topic: please help test aduino detection script for linux (Read 522 times) previous topic - next topic


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.

Thanks,
Britton

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy