Dukebats / arduino

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

linux dev group and connection problem #1119

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm sorry if this is not the right place but I don't know very well Arduino's 
documentation pages. I just want to help you guys improve somethings. 

In your webpage: 
Installation of arduino on all Linux version
http://playground.arduino.cc/Linux/All

For the topic: 
Setting UDEV rule

We can add the last line:
SUBSYSTEMS=="usb",ATTRS{idProduct}=="XXXX",
ATTRS{idVendor}=="YYYY",SYMLINK+="ttyACM%n",
MODE="0660",GROUP="groupowner",ENV{ID_MM_DEVICE_IGNORE}="1"

MODE will give you the permissions to read and write everytime you plug the 
device. 
GROUP will add the device in your group. 
ENV will stop modem-manager attempts to connect to a serial device, so your 
device will not be busy. Like this: 
modem-manager[3578]: <info>  (ttyACM0) opening serial port...
modem-manager[3578]: <warn>  Couldn't probe for capabilities, probably not a 
GSM or CDMA mode
modem-manager[3578]: <info>  (ttyACM0) closing serial port...
modem-manager[3578]: <info>  (ttyACM0) serial port closed

I'm using Xubuntu 12.10. 3.5.0-22-generic.

Original issue reported on code.google.com by thomio.w...@gmail.com on 7 Feb 2013 at 8:32