Pages: [1]   Go Down
Author Topic: Arduino RPM for Mageia 3  (Read 654 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 2
Posts: 73
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just informing that I created an RPM packet for Mageia 3

The official Mageia binaries does not work. Also, Mageia binaries has another problem: it uses a newer version of AVR-GCC that is not compatible with all Arduino sources. Then I created a new packet based on the official binaries with a little changes. The packet "just works" and don't need to change any permissions or groups.


Instruction for usage:

For 32 bits:

Alternative 1 (better because it auto-updates with new versions):

Code:
urpmi.addmedia --wget --distrib http://ftp.blogdrake.net/mageia/mageia3/i586
urpmi arduino
Alternative 2 (manual install):

Code:
urpmi http://ftp.blogdrake.net/mageia/mageia3/free/i586/arduino-1.0.5-1bdk.mga3.i586.rpm
For 64 bits:
Alternative 1 (better because it auto-updates with new versions):

Code:
urpmi.addmedia --wget --distrib http://ftp.blogdrake.net/mageia/mageia3/x86_64
urpmi arduino
Alternative 2 (manual install):

Code:
urpmi http://ftp.blogdrake.net/mageia/mageia3/free/x86_64/arduino-1.0.5-1bdk.mga3.x86_64.rpm

The packet is also available for mageia 2 and should work in other rpm based distros.

Explanation of the changes:
  • The packet includes all the official binaries for maximum compatibility except for:
  • I replaced the RXTX library with the following changes from official binaries:
    • Disabled port locking avoiding the need of adding the user to lock group
    • Added /dev/ttyACM and /dev/arduino devices
  • I added a new udev rule that:
    • Sets the default permissions of the arduino device to 666 for avoiding the need of adding the user to dialout group.
    • Added a link to the device named arduino for auto creating the /dev/arduino device
Logged

Brazil
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Muchas Gracias ANV , It's the second time arduino packs didn't work out-of-the-box with mageia. I'll have to check with Mageia community to fix it for the M4 version. Anyway thank you for the good Job.
Logged

0
Offline Offline
Jr. Member
**
Karma: 2
Posts: 73
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'll have to check with Mageia community to fix it for the M4 version.

It is possible to create a working mageia packet up from sources, but there are many problems on this. I.E. I found that avr-gcc 4.3 compiled from the sources can't create binaries for arduino leonardo. I asked the Arduino people for the exact pathces they are using but they answered me that they are using the Ubuntu binaries.

Then, I decided to create an rpm packet containing the official binaries with a few changes. Tis is a dirty solution that Mageia comunity will reject to use. Then, I think they will continue with the same sources as in Mageia 2 that were reported not working.
Logged

Pages: [1]   Go Up
Jump to: