Skip to content

new Install Arduino support on Linux

James Cash edited this page Dec 17, 2017 · 1 revision

Install version 1.6 or newer of the Arduino IDE from http://arduino.cc/download -- Unfortunately the version packaged in Ubuntu is too ancient to support Arduino's new way of doing 3rd-party hardware. I'm not aware of Ubuntu packages for 1.6 or 1.8

If you install Arduino into some place that's /not/ /usr/local/arduino, you'll need to set the $ARDUINO_PATH environment variable to the directory containing the arduino and arduino-builder binaries.

Assuming you're untarring in the download directory:

$ cd ~/Downloads
$ tar xvf ./arduino-1.6.3-linux64.tar.xz -C /usr/local/arduino
$ cd /usr/local/arduino
$ ./install.sh

To let Arduino talk to the device over the serial port, you'll need to be in the 'dialout' group.

From a shell:

$ groups 

If you see dialout in the list, you're good to go. If you don't, you'll have to add yourself and then get Linux to recognize the change in your current shell:

$ sudo adduser $USER dialout
$ su -  $USER

Now continue with the instructions from the Readme

SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2300", SYMLINK+="model01", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2301", SYMLINK+="model01", ENV{ID_MM_DEVICE_IGNORE}="1"

Stick that file in /etc/udev/rules.d, and then sudo udevadm control -R should reload the rules. Plugging the keyboard in afterwards should then work.

Clone this wiki locally