Questions tagged [linux]

Linux is an open source operating system (OS) that is lightweight and runs on many systems. It also runs on the Arduino Yún. There are different "flavors" or "distros" (distributions and changes made by different groups) of Linux such as Ubuntu, Debian, and Fedora.

Linux is an open source operating system (OS) that is lightweight and runs on many systems. It also runs on the Arduino Yún. There are different "flavors" or "distros" (distributions and changes made by different groups) of Linux such as Ubuntu, Debian, and Fedora. All versions of Linux use the Linux Kernel as the base of the OS. The kernel was released in late 1991.

Screenshot of Ubuntu, a popular distro.

The Yún runs a port of Linux called Open WRT that is designed for routers and other networking appliances.

118 questions
32
votes
5 answers

What does it take to compile Linux on Arduino, if at all possible?

Is it possible to run Linux on Arduino? If yes, what steps and limitations need to be considered? If not, what are the limitations that prevent this?
Jakub Arnold
  • 428
  • 1
  • 5
  • 6
23
votes
8 answers

In Linux, how to identify multiple Arduinos connected over USB?

If I have multiple Arduinos connected over USB to a Linux computer, and they show up as /tty/ACM0 /tty/ACM1 /tty/ACM2 How can I identify which Arduino is which without connecting to them via serial connection? Is there a serial number or a…
vlad b.
  • 749
  • 2
  • 7
  • 13
20
votes
3 answers

Arduino program only works when run as root

Uploading simple sketches seems to work when I run the Arduino program as root (sudo). I would like to run it as a regular user. Has anyone faced the same problem before and fixed it? Here is what I obtained from lsusb: $ lsusb Bus 002 Device 022:…
feverDream
  • 301
  • 1
  • 2
  • 5
16
votes
2 answers

Yún boot from SD card

I have an Arduino Yún, and it only has 16mb flash onboard for the Linux. I was wondering of it is possible to put a bootloader on the flash that uses the sd card as a rootfs? i want to be able to do more projects on it than those that can fit in 16…
TheDoctor
  • 3,509
  • 1
  • 22
  • 39
8
votes
3 answers

Arduino IDE Permision Denied For Upload, Ubuntu

I am having issues uploading to my Arduino from the IDE on Ubuntu 18.04. The error message I have received is: Arduino: 1.6.10 (Linux), Board: "Arduino/Genuino Uno" avrdude: ser_open(): can't open device "/dev/ttyUSB0": Permission denied I have…
Neal
  • 81
  • 1
  • 1
  • 3
6
votes
1 answer

Can I compile c/c++ code on the linux part of the Arduino Yun?

Can I compile c/c++ code on the linux part of the Arduino Yun? How complete is the linux part of the Arduino Yun? Can I scp some c/c++ code onto the Atheros AR9331 chip compile it? Or must I first crosscompile all software and then put them onto the…
Johan
  • 415
  • 3
  • 9
6
votes
2 answers

Arduino IDE won't use selected port

I'm trying to program an ATtiny85, using an AVRISP mkII programmer (this one: https://www.amazon.de/dp/B00IYNAXUC/ref=cm_sw_r_sms_c_api_i_VXOWDb3H3N5ND) with the Arduino IDE (version 1.8.10 on Ubuntu 18.10). For the ATtiny, I've installed…
Fii
  • 161
  • 3
6
votes
4 answers

Arduino disconnecting at upload

This problem doesn't seen to be very common around the Arduino community. Basically, what's happening is that as soon as I click the upload button, the Arduino IDE tells me that my Arduino board is not connected. What's strange though is that the…
user480
6
votes
1 answer

How do I read from /dev/ttyACM0 in Linux without a terminal emulator?

I just bought an Arduino Due and I'm having trouble reading from a simple serial IO program. I have a SparkFun RedBoard which is like an Uno. With that, I just ran a "stty" command to configure the baud rate and other terminal settings, and then I…
Metamorphic
  • 477
  • 2
  • 7
  • 9
5
votes
1 answer

avrdude: Error: butterfly programmer uses avr_write_page() but does not provide a cmd() method

When trying to flash my sketch, I see many errors such as: ***failed; ***failed; …
Tom Hale
  • 431
  • 6
  • 19
5
votes
1 answer

In Linux, how do I get this Arduino library to work

In Linux Fedora 20 Arduino I want to use the Timer library from here, from which I have downloaded the folder Timer-master.zip, but, when I try to import it, I get the Arduino message that it cannot be imported because its name includes characters…
Harry Weston
  • 238
  • 3
  • 11
5
votes
2 answers

Can I specify custom port names in the Arduino IDE on Linux?

On Linux, if you have more than one USB TTY device, the USB port name (/dev/ttyUSBx) changes every time one is plugged in, and there's no easy way to know the new name without going and looking through dmesg. It's trivial to set up a udev rule that…
Autumn
  • 193
  • 1
  • 6
5
votes
2 answers

How to differentiate between 2 Micros on Linux

I have 2 Arduino Micro based devices that I want to use on my Ubuntu Linux machine. I need them to have unique serial ports. Unfortunately, both have the same serial number which makes identification through udev rules difficult (if not…
Ben
  • 153
  • 1
  • 5
4
votes
3 answers

Installing Arduino IDE on Linux

I downloaded arduino-1.8.4-linux32.tar.xz and ran install.sh as outlined (the very sketchy instructions) in https://www.arduino.cc/en/Guide/Linux This seemed to work OK, so I removed 354M of what I thought was the installer, only to discover that I…
Milliways
  • 1,655
  • 2
  • 18
  • 29
4
votes
3 answers

Use an Arduino as a user interface for the computer

I wanted to use either Arduino Mega or Uno as a form of an interface between me and the computer. I want to apply it to the following scenario; if I press a button on a circuit board I want it to trigger an action on my computer, like scroll…
Jakub
  • 151
  • 2
1
2 3 4 5 6 7 8