https://wiki.archlinux.org/api.php?action=feedcontributions&user=Niadh&feedformat=atomArchWiki - User contributions [en]2024-03-29T05:15:40ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=LXDM&diff=172416LXDM2011-12-05T12:59:20Z<p>Niadh: Initial page, I have often looked to find this and had to dig deep into the lxde page, and since every other display manager has a page why not lxdm?</p>
<hr />
<div>[[Category:Display managers (English)]]<br />
{{i18n|LXDM}}<br />
<br />
From [http://wiki.lxde.org/en/LXDM LXDM - LXDE Display Manager]:<br />
<br />
:''LXDM is the lightweight display manager aimed to replace gdm in LXDE distros. The UI is implemented with GTK+. It is stil in early stages of development.''<br />
<br />
<br />
==Installation==<br />
<br />
To install simply type:<br />
<br />
{{bc|# pacman -S lxdm}}<br />
<br />
To make the graphical login the default method of logging into the system, edit your {{ic|/etc/inittab}} file (recommended) by adding or uncommenting this line: <br />
{{bc|x:5:respawn:/usr/sbin/lxdm >/dev/null 2>&1}}<br />
Alternatively you can add lxdm to your list of daemons in {{ic|/etc/rc.conf}}. These procedures are detailed on the [[Display Manager]] page.<br />
<br />
==Configuration==<br />
The configuration files for LXDM are all located in {{Filename|/etc/lxdm}}. The main configuration file is {{Filename|lxdm.conf}}, and is well documented in it's comments. Another file, {{Filename|Xsession}}, is the systemwide x session configuration file and should generally not be edited. The other files in this folder are all bash scripts, which are run when certain events happen in LXDM.<br />
<br />
These are:<br />
# {{Filename|LoginReady}}: Is executed with root priviledges when LXDM is ready to show the login window.<br />
# {{Filename|PreLogin}}: Is run as root before logging a user in.<br />
# {{Filename|PostLogin}}: Is run as the logged-in user right after they have logged in.<br />
# {{Filename|PostLogout}}: Is run as the logged-in user right after they have logged out.<br />
# {{Filename|PreReboot}}: Is run as root before rebooting with LXDM.<br />
# {{Filename|PreShutdown}}: Is run as root before poweroff with LXDM.<br />
<br />
=====Expected Logout Behavior=====<br />
What might be slightly surprising with LXDM is that, by default, it does not clear the last user's desktop background or kill the user's processes when that user logs out. If you desire this behaviour, you can edit {{Filename|/etc/lxdm/PostLogout}} like this:<br />
<br />
#!/bin/sh<br />
<br />
# Kills all your processes when you log out.<br />
killall --user $USER -TERM<br />
<br />
# Set's the desktop background to solid black. Useful if you have multiple monitors.<br />
xsetroot -solid black<br />
<br />
=====Autologin=====<br />
If you want to log in to one account without providing a password, find the line in {{Filename|/etc/lxdm/lxdm.conf}} that looks like this:<br />
#autologin=username<br />
Uncomment it, then substitute your own username instead of "username".</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino_64bit&diff=128409Arduino 64bit2011-01-18T16:56:46Z<p>Niadh: /* Installation */</p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.<br />
<br />
These instructions are for 64 bit Arch users and are based upon the latest Arduino software kit (version 021). Additional instructions are present to enable the use of serial ports with Arduino boards on Arch64.<br />
<br />
Finally it is worth noting as of Dec 20th 2010 only the Arduino Uno board has been tested with these instructions, other boards may work, but they may not, you have been warned.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Installation ==<br />
<br />
Install the following dependencies:<br />
* avr-libc - The C runtime library for the AVR family of microcontrollers <br />
* libusb-compat - Library to enable user space application programs to communicate with USB devices<br />
* sh - Shell, the standard command language interpreter<br />
* xdg-utils - Command line tools that assist applications with a variety of desktop integration tasks.<br />
<br />
# pacman -S avr-libc libusb-compat sh xdg-utils<br />
<br />
You will also need a java runtime, Openjdk6 works however there should be nothing stopping the Official Oracle version from working either.<br />
<br />
# pacman -S openjdk6<br />
<br />
Install the latest Arduino software.<br />
wget http://aur.archlinux.org/packages/arduino-0021/arduino-0021.tar.gz<br />
tar xvf arduino.tar.gz<br />
cd arduino<br />
makepkg -i<br />
<br />
== Configuration ==<br />
<br />
Add the following modules to your /etc/rc.conf file.<br />
cdc-acm <br />
ftdi_sio<br />
<br />
Add your user to the uucp group: <br />
# gpasswd -a `whoami` uucp<br />
<br />
Finally logout then log back in again or reboot to complete the configuration.<br />
<br />
== Running Arduino Uno ==<br />
<br />
Once Arduino is running you must ensure you have selected the correct board from the Tools->Boards menu item:<br />
Arduino Uno<br />
<br />
Secondly you must ensure you have selected the correct serial port from the Tools->Serial Port menu item:<br />
/dev/ttyACM0<br />
<br />
Once these are done you should be able to write and upload sketches to your Arduino Uno without any issues.<br />
<br />
== Additional information ==<br />
<br />
When building with pak gcc-multilib and binutils-multilib were installed, however testing has revealed that the multilib versions are not required and the Arduino Uno works fine with the regular 64 bit versions of these programs.<br />
<br />
== References ==<br />
* https://wiki.archlinux.org/index.php/Arduino<br />
* https://bbs.archlinux.org/viewtopic.php?pid=295312#p295312</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino_64bit&diff=127831Arduino 64bit2011-01-12T12:05:33Z<p>Niadh: /* Configuration */</p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.<br />
<br />
These instructions are for 64 bit Arch users and are based upon the latest Arduino software kit (version 021). Additional instructions are present to enable the use of serial ports with Arduino boards on Arch64.<br />
<br />
Finally it is worth noting as of Dec 20th 2010 only the Arduino Uno board has been tested with these instructions, other boards may work, but they may not, you have been warned.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Installation ==<br />
<br />
Install the following dependencies:<br />
* avr-libc - The C runtime library for the AVR family of microcontrollers <br />
* libusb-compat - Library to enable user space application programs to communicate with USB devices<br />
* sh - Shell, the standard command language interpreter<br />
* xdg-utils - Command line tools that assist applications with a variety of desktop integration tasks.<br />
<br />
# pacman -S avr-libc libusb-compat sh xdg-utils<br />
<br />
You will also need a java runtime, Openjdk6 works however there should be nothing stopping the Official Oracle version from working either.<br />
<br />
# pacman -S openjdk6<br />
<br />
Install the latest Arduino software.<br />
wget http://aur.archlinux.org/packages/arduino/arduino.tar.gz<br />
tar xvf arduino.tar.gz<br />
cd arduino<br />
makepkg -i<br />
<br />
== Configuration ==<br />
<br />
Add the following modules to your /etc/rc.conf file.<br />
cdc-acm <br />
ftdi_sio<br />
<br />
Add your user to the uucp group: <br />
# gpasswd -a `whoami` uucp<br />
<br />
Finally logout then log back in again or reboot to complete the configuration.<br />
<br />
== Running Arduino Uno ==<br />
<br />
Once Arduino is running you must ensure you have selected the correct board from the Tools->Boards menu item:<br />
Arduino Uno<br />
<br />
Secondly you must ensure you have selected the correct serial port from the Tools->Serial Port menu item:<br />
/dev/ttyACM0<br />
<br />
Once these are done you should be able to write and upload sketches to your Arduino Uno without any issues.<br />
<br />
== Additional information ==<br />
<br />
When building with pak gcc-multilib and binutils-multilib were installed, however testing has revealed that the multilib versions are not required and the Arduino Uno works fine with the regular 64 bit versions of these programs.<br />
<br />
== References ==<br />
* https://wiki.archlinux.org/index.php/Arduino<br />
* https://bbs.archlinux.org/viewtopic.php?pid=295312#p295312</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino&diff=126022Arduino2010-12-26T12:26:44Z<p>Niadh: /* Problems on x86_64 */ Removed as the instructions I wrote should work, also this section just ended mid word.</p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. <br />
<br />
If you have a 64 bit Arch [[Arduino_64bit|this page]] is an alternative tested method of installing Arduino which works on version 17.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Install packages from official repositories ==<br />
<br />
Install the avr-libc, avrdude, binutils-avr and gcc-avr packages from community.<br />
<br />
* avr-libc - standard C library<br />
* avrdude - very well known programmer<br />
* binutils-avr - assembler<br />
* gcc-avr - gcc C compiler support<br />
<br />
# pacman -S avr-libc avrdude binutils-avr gcc-avr<br />
<br />
==Install arduino package from AUR==<br />
<br />
Download [http://aur.archlinux.org/packages.php?ID=8388 arduino] from the AUR and install it.<br />
<br />
mkdir arduino_build && cd arduino_build &&<br />
wget http://aur.archlinux.org/packages/arduino/arduino/PKGBUILD &&<br />
makepkg -i<br />
<br />
===Running arduino for the first time===<br />
<br />
If the file /usr/share/arduino/lib/targets/libraries/Wire/utility/twi.o does not exist arduino will try and create it. Normal users don't have permission to write there so this will fail. Run arduino as root so it can create the file, after the file has been created it can be run under a normal user.<br />
<br />
==Other info==<br />
<br />
===Accessing serial===<br />
<br />
The arduino board communicates with the PC via a serial connection or a serial over USB connection. So the user needs read/write access to the serial device file. [[Udev]] creates files in /dev/tts/ owned by group uucp so adding the user to the uucp group gives the required read/write access.<br />
<br />
gpasswd -a <user> uucp<br />
<br />
Modify ~/.arduino/preferences.txt<br />
<br />
Change serial port from COM1 to your serial port. You can find out what your serial is port with:<br />
<br />
ls /dev/ | grep "USB"<br />
<br />
This is the line to change in ~/.arduino/preferences.txt:<br />
<br />
serial.port=/dev/ttyUSB0<br />
<br />
===Working with Uno/Mega2560===<br />
The Arduino Uno and Mega2560 have an onboard USB interface (an Atmel 8U2) that accepts serial data, so they are accessed through /dev/ttyACM0 created by the cdc-acm kernel module when it is plugged in.<br />
<br />
The 8U2 firmware may need an update to ease serial communications. See [http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1286350399] for more details and reply #11 for a fix.<br />
<br />
You can perform a general function test of the Uno by putting it in loopback mode and typing characters into the arduino serial monitor at 115200 baud. It should echo the characters back to you. To put it in loopback, short pins 0 -> 1 on the digital side and either hold the reset button or short the GND -> RESET pins while you type.<br />
<br />
===Using a Makefile instead of the IDE===<br />
Instead of using the arduino IDE it's possible to use another editor and a Makefile.<br />
<br />
Set up a directory to program your Arduino and copy the Makefile into this directory. A copy of the Makefile can be obtained from [http://www.arduino.cc/en/uploads/Hacking/Makefile arduino website] or from /usr/share/arduino/hardware/cores/arduino/Makefile<br />
<br />
You will have to modify this a little bit to reflect your settings. The makefile should be pretty self explainatory. Here are some lines you may have to edit.<br />
<br />
PORT = usually /dev/ttyUSBx, where x is the usb serial port your arduino is plugged into<br />
TARGET = your sketch's name<br />
ARDUINO = /usr/share/arduino/lib/targets/arduino<br />
<br />
Depending on which library functions you call in your sketch, you may need to compile parts of the library. To do that you need to edit your SRC and CXXSRC to include the required libraries.<br />
<br />
Now you should be able to make && make upload to your board to execute your sketch.<br />
<br />
===Using Scons instead of the IDE===<br />
<br />
Using [http://www.scons.org/ scons] together with [http://code.google.com/p/arscons/ arscons] it is very easy to use to compile and upload Arduino projects from the command line. Scons is based on python and you will need python-pyserial to use the serial interface. Install everything with<br />
<br />
# pacman -S python-pyserial scons<br />
<br />
That will get the dependencies you need too. You will also need Arduino itself so install it as described above. Create project directory (eg. test), then create a arduino project file in your new directory. Use the same name as the directory and add .pde (eg. test.pde). Get the [http://code.google.com/p/arscons/source/browse/trunk/SConstruct SConstruct] script from arscons and put it in your directory. Have a peek in it and, if necessary, edit it. It's a python script. Edit your project as you please, then run<br />
<br />
$ scons # This will build the project<br />
$ scons upload # This will upload the project to your Arduino<br />
<br />
===References===<br />
* http://www.arduino.cc/en/Hacking/CommandLine<br />
* http://bbs.archlinux.org/viewtopic.php?pid=295312<br />
* http://regomodoslinux.blogspot.com/2007/10/how-to-install-arduino-ide-in-archlinux.html</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino_64bit&diff=126021Arduino 64bit2010-12-26T12:25:42Z<p>Niadh: Provided where I gathered my ideas from.</p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.<br />
<br />
These instructions are for 64 bit Arch users and are based upon the latest Arduino software kit (version 021). Additional instructions are present to enable the use of serial ports with Arduino boards on Arch64.<br />
<br />
Finally it is worth noting as of Dec 20th 2010 only the Arduino Uno board has been tested with these instructions, other boards may work, but they may not, you have been warned.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Installation ==<br />
<br />
Install the following dependencies:<br />
* avr-libc - The C runtime library for the AVR family of microcontrollers <br />
* libusb-compat - Library to enable user space application programs to communicate with USB devices<br />
* sh - Shell, the standard command language interpreter<br />
* xdg-utils - Command line tools that assist applications with a variety of desktop integration tasks.<br />
<br />
# pacman -S avr-libc libusb-compat sh xdg-utils<br />
<br />
You will also need a java runtime, Openjdk6 works however there should be nothing stopping the Official Oracle version from working either.<br />
<br />
# pacman -S openjdk6<br />
<br />
Install the latest Arduino software.<br />
wget http://aur.archlinux.org/packages/arduino/arduino.tar.gz<br />
tar xvf arduino.tar.gz<br />
cd arduino<br />
makepkg -i<br />
<br />
== Configuration ==<br />
<br />
Add the following modules to your /etc/rc.conf file.<br />
cdc-acm <br />
ftdi_sio<br />
<br />
Add your user to the uucp group: <br />
# gpasswd -a <user> uucp<br />
<br />
Finally logout then log back in again or reboot to complete the configuration.<br />
<br />
== Running Arduino Uno ==<br />
<br />
Once Arduino is running you must ensure you have selected the correct board from the Tools->Boards menu item:<br />
Arduino Uno<br />
<br />
Secondly you must ensure you have selected the correct serial port from the Tools->Serial Port menu item:<br />
/dev/ttyACM0<br />
<br />
Once these are done you should be able to write and upload sketches to your Arduino Uno without any issues.<br />
<br />
== Additional information ==<br />
<br />
When building with pak gcc-multilib and binutils-multilib were installed, however testing has revealed that the multilib versions are not required and the Arduino Uno works fine with the regular 64 bit versions of these programs.<br />
<br />
== References ==<br />
* https://wiki.archlinux.org/index.php/Arduino<br />
* https://bbs.archlinux.org/viewtopic.php?pid=295312#p295312</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino_64bit&diff=125751Arduino 64bit2010-12-22T12:12:52Z<p>Niadh: </p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.<br />
<br />
These instructions are for 64 bit Arch users and are based upon the latest Arduino software kit (version 021). Additional instructions are present to enable the use of serial ports with Arduino boards on Arch64.<br />
<br />
Finally it is worth noting as of Dec 20th 2010 only the Arduino Uno board has been tested with these instructions, other boards may work, but they may not, you have been warned.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Installation ==<br />
<br />
Install the following dependencies:<br />
* avr-libc - The C runtime library for the AVR family of microcontrollers <br />
* libusb-compat - Library to enable user space application programs to communicate with USB devices<br />
* sh - Shell, the standard command language interpreter<br />
* xdg-utils - Command line tools that assist applications with a variety of desktop integration tasks.<br />
<br />
# pacman -S avr-libc libusb-compat sh xdg-utils<br />
<br />
You will also need a java runtime, Openjdk6 works however there should be nothing stopping the Official Oracle version from working either.<br />
<br />
# pacman -S openjdk6<br />
<br />
Install the latest Arduino software.<br />
wget http://aur.archlinux.org/packages/arduino/arduino.tar.gz<br />
tar xvf arduino.tar.gz<br />
cd arduino<br />
makepkg -i<br />
<br />
== Configuration ==<br />
<br />
Add the following modules to your /etc/rc.conf file.<br />
cdc-acm <br />
ftdi_sio<br />
<br />
Add your user to the uucp group: <br />
# gpasswd -a <user> uucp<br />
<br />
Finally logout then log back in again or reboot to complete the configuration.<br />
<br />
== Running Arduino Uno ==<br />
<br />
Once Arduino is running you must ensure you have selected the correct board from the Tools->Boards menu item:<br />
Arduino Uno<br />
<br />
Secondly you must ensure you have selected the correct serial port from the Tools->Serial Port menu item:<br />
/dev/ttyACM0<br />
<br />
Once these are done you should be able to write and upload sketches to your Arduino Uno without any issues.<br />
<br />
== Additional information ==<br />
<br />
When building with pak gcc-multilib and binutils-multilib were installed, however testing has revealed that the multilib versions are not required and the Arduino uno works fine with the regular 64 bit versions of these programs.</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino_64bit&diff=125744Arduino 64bit2010-12-22T10:09:13Z<p>Niadh: </p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.<br />
<br />
These instructions are for 64 bit Arch users and are based upon the latest Arduino software kit (version 021). Additional instructions are present to enable the use of serial ports with Arduino boards on Arch64.<br />
<br />
Finally it is worth noting as of Dec 20th 2010 only the Arduino Uno board has been tested with these instructions, other boards may work, but they may not, you have been warned.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Installation ==<br />
<br />
Install the following dependencies:<br />
* avr-libc - The C runtime library for the AVR family of microcontrollers <br />
* libusb-compat - Library to enable user space application programs to communicate with USB devices<br />
* sh - Shell, the standard command language interpreter<br />
* xdg-utils - Command line tools that assist applications with a variety of desktop integration tasks.<br />
<br />
# pacman -S avr-libc libusb-compat sh xdg-utils<br />
<br />
You will also need a java runtime, Openjdk6 works however there should be nothing stopping the Official Oracle version from working either.<br />
<br />
# pacman -S openjdk6<br />
<br />
Install the latest Arduino software.<br />
wget http://aur.archlinux.org/packages/arduino/arduino.tar.gz<br />
tar xvf arduino.tar.gz<br />
cd arduino<br />
makepkg -i<br />
<br />
== Configuration ==<br />
<br />
Add the following modules to your /etc/rc.conf file <br />
cdc-acm <br />
ftdi_sio<br />
<br />
Add your user to the uucp group: <br />
# gpasswd -a <user> uucp<br />
<br />
Finally logout then log back in again or reboot to complete the configuration.<br />
<br />
== Running Arduino Uno ==<br />
<br />
Once Arduino is running you must ensure you have selected the correct board from the Tools->Boards menu item:<br />
Arduino Uno<br />
<br />
Secondly you must ensure you have selected the correct serial port from the Tools->Serial Port menu item:<br />
/dev/ttyACM0<br />
<br />
Once these are done you should be able to write and upload sketches to your Arduino Uno without any issues.<br />
<br />
== Additional information ==<br />
<br />
When building with pak gcc-multilib and binutils-multilib were installed, however testing has revealed that the multilib versions are not required and the Arduino uno works fine with the regular 64 bit versions of these programs.</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino_64bit&diff=125635Arduino 64bit2010-12-20T14:21:32Z<p>Niadh: </p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.<br />
<br />
These instructions are for 64 bit Arch users and are based upon the latest Arduino software kit (version 021). Additional instructions are present to enable the use of serial ports with Arduino boards on Arch64.<br />
<br />
Finally it is worth noting as of Dec 20th 2010 only the Arduino Uno board has been tested with these instructions, other boards may work, but they may not, you have been warned.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Installation ==<br />
<br />
Install the following dependencies:<br />
* avr-libc - The C runtime library for the AVR family of microcontrollers <br />
* libusb-compat - Library to enable user space application programs to communicate with USB devices<br />
* sh - Shell, the standard command language interpreter<br />
* xdg-utils - Command line tools that assist applications with a variety of desktop integration tasks.<br />
<br />
# pacman -S avr-libc libusb-compat sh xdg-utils<br />
<br />
You will also need a java runtime, Openjdk6 works however there should be nothing stopping the Official Oracle version from working either.<br />
<br />
# pacman -S openjdk6<br />
<br />
Install the latest Arduino software.<br />
wget http://aur.archlinux.org/packages/arduino/arduino.tar.gz<br />
tar xvf arduino.tar.gz<br />
cd arduino<br />
makepkg -i<br />
<br />
== Configuration ==<br />
<br />
Add the following modules to your /etc/rc.conf file <br />
cdc-acm <br />
ftdi_sio<br />
<br />
Add your user to the uucp group: <br />
# gpasswd -a <user> uucp<br />
<br />
Finally reboot:<br />
# reboot<br />
<br />
== Running Arduino Uno ==<br />
<br />
Once Arduino is running you must ensure you have selected the correct board from the Tools->Boards menu item:<br />
Arduino Uno<br />
<br />
Secondly you must ensure you have selected the correct serial port from the Tools->Serial Port menu item:<br />
/dev/ttyACM0<br />
<br />
Once these are done you should be able to write and upload sketches to your Arduino Uno without any issues.<br />
<br />
== Additional information ==<br />
<br />
When building with pak gcc-multilib and binutils-multilib were installed, however testing has revealed that the multilib versions are not required and the Arduino uno works fine with the regular 64 bit versions of these programs.</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino_64bit&diff=125634Arduino 64bit2010-12-20T14:19:54Z<p>Niadh: </p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.<br />
<br />
These instructions are for 64 bit Arch users and are based upon the latest Arduino software kit (version 021). Additional instructions are present to enable the use of serial ports with Arduino boards on Arch64.<br />
<br />
Finally it is worth noting as of Dec 20th 2010 only the Arduino Uno board has been tested with these instructions, other boards may work, but they may not, you have been warned.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Installation ==<br />
<br />
Install the following dependencies:<br />
* avr-libc - The C runtime library for the AVR family of microcontrollers <br />
* libusb-compat - Library to enable user space application programs to communicate with USB devices<br />
* sh - Shell, the standard command language interpreter<br />
* xdg-utils - Command line tools that assist applications with a variety of desktop integration tasks.<br />
<br />
# pacman -S avr-libc libusb-compat sh xdg-utils<br />
<br />
You will also need a java runtime, Openjdk6 works however there should be nothing stopping the Official Oracle version from working either.<br />
<br />
# pacman -S openjdk6<br />
<br />
When building with pak, gcc-multilib and binutils-multilib were installed, however testing has revealed that the multilib versions are not required and the Arduino uno works fine with the regular 64 bit versions of these programs.<br />
<br />
Install the latest Arduino software.<br />
wget http://aur.archlinux.org/packages/arduino/arduino.tar.gz<br />
tar xvf arduino.tar.gz<br />
cd arduino<br />
makepkg -i<br />
<br />
== Configuration ==<br />
<br />
Add the following modules to your /etc/rc.conf file <br />
cdc-acm <br />
ftdi_sio<br />
<br />
Add your user to the uucp group: <br />
# gpasswd -a <user> uucp<br />
<br />
Finally reboot:<br />
# reboot<br />
<br />
== Running Arduino Uno ==<br />
<br />
Once Arduino is running you must ensure you have selected the correct board from the Tools->Boards menu item:<br />
Arduino Uno<br />
<br />
Secondly you must ensure you have selected the correct serial port from the Tools->Serial Port menu item:<br />
/dev/ttyACM0<br />
<br />
Once these are done you should be able to write and upload sketches to your Arduino Uno without any issues.</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino_64bit&diff=125633Arduino 64bit2010-12-20T13:02:36Z<p>Niadh: </p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.<br />
<br />
These instructions are for 64 bit Arch users and are based upon the latest Arduino software kit (version 021). Additional instructions are present to enable the use of serial ports with Arduino boards on Arch64.<br />
<br />
Finally it is worth noting as of Dec 20th 2010 only the Arduino Uno board has been tested with these instructions, other boards may work, but they may not, you have been warned.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Installation ==<br />
<br />
Install the following dependencies:<br />
* avr-libc - The C runtime library for the AVR family of microcontrollers <br />
* libusb-compat - Library to enable user space application programs to communicate with USB devices<br />
* sh - Shell, the standard command language interpreter<br />
* xdg-utils - Command line tools that assist applications with a variety of desktop integration tasks.<br />
<br />
# pacman -S avr-libc libusb-compat sh xdg-utils<br />
<br />
You will also need a java runtime, Openjdk6 works however there should be nothing stopping the Official Oracle version from working either.<br />
<br />
# pacman -S openjdk6<br />
<br />
When I built it using pak, gcc-multilib and binutils-multilib were installed, however I have found that the multilib versions are not required and my Arduino uno works fine with the regular 64 bit versions.<br />
<br />
Install the latest Arduino software.<br />
wget http://aur.archlinux.org/packages/arduino/arduino.tar.gz<br />
tar xvf arduino.tar.gz<br />
cd arduino<br />
makepkg -i<br />
<br />
== Configuration ==<br />
<br />
Add the following modules to your /etc/rc.conf file <br />
cdc-acm <br />
ftdi_sio<br />
<br />
Add your user to the uucp group: <br />
# gpasswd -a <user> uucp<br />
<br />
Finally reboot:<br />
# reboot<br />
<br />
== Running Arduino Uno ==<br />
<br />
Once Arduino is running you must ensure you have selected the correct board from the Tools->Boards menu item:<br />
Arduino Uno<br />
<br />
Secondly you must ensure you have selected the correct serial port from the Tools->Serial Port menu item:<br />
/dev/ttyACM0<br />
<br />
Once these are done you should be able to write and upload sketches to your Arduino Uno without any issues.</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino_64bit&diff=125623Arduino 64bit2010-12-20T03:42:48Z<p>Niadh: </p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.<br />
<br />
These instructions are for 64 bit Arch users and are based upon the latest Arduino software kit (version 021). Additional instructions are present to enable the use of serial ports with Arduino boards on Arch64.<br />
<br />
Finally it is worth noting as of Dec 20th 2010 only the Arduino Uno board has been tested with these instructions, other boards may work, but they may not, you have been warned.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Installation ==<br />
<br />
Install dependencies:<br />
# pacman -S avr-libc java-runtime libusb-compat sh xdg-utils<br />
<br />
When I built it using pak, gcc-multilib and binutils-multilib were installed, however I have found that the multilib versions are not required and my Arduino uno works fine with the regular 64 bit versions.<br />
<br />
Install the latest Arduino software.<br />
wget http://aur.archlinux.org/packages/arduino/arduino.tar.gz<br />
tar xvf arduino.tar.gz<br />
cd arduino<br />
makepkg -i<br />
<br />
== Configuration ==<br />
<br />
Add the following modules to your /etc/rc.conf file <br />
cdc-acm <br />
ftdi_sio<br />
<br />
Add your user to the uucp group: <br />
# gpasswd -a <user> uucp<br />
<br />
Finally reboot:<br />
# reboot<br />
<br />
== Running Arduino Uno ==<br />
<br />
Once Arduino is running you must ensure you have selected the correct board from the Tools->Boards menu item:<br />
Arduino Uno<br />
<br />
Secondly you must ensure you have selected the correct serial port from the Tools->Serial Port menu item:<br />
/dev/ttyACM0<br />
<br />
Once these are done you should be able to write and upload sketches to your Arduino Uno without any issues.</div>Niadhhttps://wiki.archlinux.org/index.php?title=Arduino_64bit&diff=125622Arduino 64bit2010-12-20T03:22:00Z<p>Niadh: Created page with "Category:Development (English) Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, des..."</p>
<hr />
<div>[[Category:Development (English)]]<br />
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.<br />
<br />
These instructions are for 64 bit Arch users and are based upon the latest Arduino software kit (version 021). Additional instructions are present to enable the use of serial ports with Arduino boards on Arch64.<br />
<br />
Finally it is worth noting as of Dec 20th 2010 only the Arduino Uno board has been tested with these instructions, other boards may work, but they may not, you have been warned.<br />
<br />
More information is availible on the [http://www.arduino.cc/ Arduino HomePage].<br />
<br />
== Installation ==<br />
<br />
Install dependencies:<br />
<br />
avr-libc <br />
java-runtime<br />
libusb-compat<br />
sh<br />
xdg-utils<br />
<br />
When I built it using pak, gcc-multilib and binutils-multilib were installed, however I have found that the multilib versions are not required and my Arduino uno works fine with the regular 64 bit versions.<br />
<br />
Install the latest Arduino software.<br />
wget http://aur.archlinux.org/packages/arduino/arduino.tar.gz<br />
tar xvf arduino.tar.gz<br />
cd arduino<br />
makepkg -i<br />
<br />
== Configuration ==<br />
<br />
Add the following modules to your /etc/rc.conf file <br />
cdc-acm <br />
ftdi_sio<br />
<br />
Add your user to the uucp group: <br />
# gpasswd -a <user> uucp<br />
<br />
Finally reboot:<br />
# reboot<br />
<br />
== Running Arduino Uno ==<br />
<br />
Once Arduino is running you must ensure you have selected the correct board from the Tools->Boards menu item:<br />
Arduino Uno<br />
<br />
Secondly you must ensure you have selected the correct serial port from the Tools->Serial Port menu item:<br />
/dev/ttyACM0<br />
<br />
Once these are done you should be able to write and upload sketches to your Arduino Uno without any issues.</div>Niadhhttps://wiki.archlinux.org/index.php?title=USB_storage_devices&diff=98554USB storage devices2010-03-01T01:08:26Z<p>Niadh: /* Manual mounting */</p>
<hr />
<div>[[Category:Storage (English)]]<br />
[[Category:HOWTOs (English)]]<br />
{{i18n_links_start}}<br />
{{i18n_entry|English|:USB Storage Devices}}<br />
{{i18n_entry|Italiano|:USB Storage Devices (Italiano)}}<br />
{{i18n_entry|EspaƱol|:Dispositivos USB de almacenamiento}}<br />
{{i18n_links_end}}<br />
<br />
This document describes how to use the popular USB memory sticks with Linux. However, it is also valid for other devices such as digital cameras that act as if they were just a USB storage.<br />
<br />
If you have an up-to-date system with the standard Arch kernel, [[udev]] and a modern [[Desktop Environment]] your device should just show up on your desktop, no need to open a console.<br />
<br />
Otherwise see [[#Manual mounting|Manual mounting]] below.<br />
<br />
==Auto-mounting of USB devices==<br />
See [[Udev#Auto mounting USB devices|Udev:Auto mounting USB devices]]<br />
<br />
==Manual mounting==<br />
<br />
{{Note|Before you decide that your Arch Linux doesn't mount your USB device, be sure to check all available ports. Since some might not share the same controller, and will then not be able to mount the device.}}<br />
<br />
===Getting a kernel that supports usb_storage===<br />
<br />
If you do not use a custom-made kernel, you are ready to go, for all Arch Linux stock kernels are properly configured. If you do use a custom-made kernel, ensure it is compiled with SCSI-Support, SCSI-Disk-Support and usb_storage. If you use the latest [[udev]], you may just plug your device in and the system will automatically load all necessary kernel modules. Older releases of udev would need hotplug installed too. Otherwise, you can do the same thing manually:<br />
<br />
# modprobe usb-storage<br />
# modprobe sd_mod (only for non SCSI kernels)<br />
<br />
===Mounting USB memory===<br />
<br />
In order to mount the device you need to know the path to the device node, there are at least two ways of finding out:<br />
*if the partition you want to mount has a label search in {{Filename|/dev/disk/by-label}}<br />
*look in {{Filename|/dev/disk/by-id/}} for devices starting with usb, the usable partitions will end with -part#<br />
*search in the output of {{Codeline|dmesg}} for the kernel device name, you can use {{Codeline|grep}} to help you find what you are looking for: {{Codeline|<nowiki>dmesg | grep -e "sd[a-z]"</nowiki>}}<br />
{{Note|If you can't find your device you can use lsusb to verify that it is indeed recognized by the system.}}<br />
<br />
You also need to create the directory in which you are going to mount the device:<br />
# mkdir /mnt/usbstick<br />
<br />
Finally you can mount the device as root with this command (don't forget to replace '''device_node''' by the path you found):<br />
# mount '''device_node''' /mnt/usbstick<br />
<br />
If {{Codeline|mount}} does not recognized the format of the device you can try to use the {{Codeline|-t}} argument, see {{Codeline|man mount}} for details.<br />
<br />
{{Note|If mounting your stick doesn't work you can try to repartition it, see [[Format a device]].}}<br />
<br />
===Mounting the USB stick as normal user===<br />
<br />
If you want non-root users to be able to mount a USB memory stick, add the following line to your /etc/fstab file:<br />
/dev/sda1 /mnt/usbstick vfat rw,noauto,async,'''user''' 0 0<br />
<br />
{{Note|Where '''/dev/sda1''' is replaced with the path to your own usbstick, see [[USB_Storage_Devices#Mounting_USB_memory|Mounting USB memory]].}}<br />
<br />
Now, any user can mount it with:<br />
$ mount /mnt/usbstick<br />
<br />
And unmount it with:<br />
$ umount /mnt/usbstick</div>Niadh