Bug 4185 - arduino does not work
Summary: arduino does not work
Status: RESOLVED DUPLICATE of bug 5411
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: D Morgan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 17:46 CET by Jacques Pronchery
Modified: 2012-05-10 08:02 CEST (History)
4 users (show)

See Also:
Source RPM: arduino
CVE:
Status comment:


Attachments

Description Jacques Pronchery 2012-01-18 17:46:14 CET
When lauching arduino there is a message which say we need to be a member
of groups dialout and lock.
For "dialout" it is OK
For "lock" this group do not exists in MCC
But we need also to be member of "uucp"

If clicking on "Add" button it does not write in the groups.
It does not ask yo become root ??

Then we have to choose a directory and after we have not arduino.

I have becomed member of "dialout" and "uucp" and then
I have tested with arduino downloaded from the site and it work.
Manuel Hiebel 2012-01-18 22:37:43 CET

Assignee: bugsquad => dmorganec
Source RPM: Arduino => arduino

Comment 1 D Morgan 2012-01-25 22:36:26 CET
for the lock group, can you install lockdev ?
Comment 2 D Morgan 2012-01-25 22:54:36 CET
i workarounded, i will fix better after
Comment 3 D Morgan 2012-01-25 23:34:32 CET
fixed in next arduino ( using pkexec )

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Jacques Pronchery 2012-01-27 14:47:00 CET
I have tested Arduino with java-sun.
The initial configuration works but the group "uucp" is missing.
To be member of "uucp" is needed to uploaded program in hardware.
Then Arduino do not start, I have to install the packages :
   librxtx2.1    and    librxtx-devel
and then Arduino start.
But in the console I have :
[jacques@localhost ~]$ arduino
java.lang.UnsatisfiedLinkError: gnu.io.RXTXCommDriver.nativeGetVersion()Ljava/lang/String; thrown while loading gnu.io.RXTXCommDriver
java.lang.NoClassDefFoundError: Could not initialize class gnu.io.RXTXCommDriver thrown while loading gnu.io.RXTXCommDriver
^C[jacques@localhost ~]$ 
and the app do not recognize the hardware.

I have downloaded the soft from the site : it work fine.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 5 D Morgan 2012-02-11 03:42:42 CET
can you test with openjdk ? we don't support sun java
Comment 6 Jacques Pronchery 2012-02-11 10:42:43 CET
The problem is the same with openjdk 1.6 and 1.7
If the pack downloaded from Arduino's site work fine,
it's not a problem of java but the integration of Arduino in Mageia.
Dan Joita 2012-03-07 11:22:15 CET

CC: (none) => djmarian4u
Summary: Arduino do not works => arduino does not work

Comment 7 Teymuraz Khazaradze 2012-03-26 22:17:18 CEST
Actually there were two different issues with Arduino in Beta 1:

1. Setting up user to be member of "dialout" and "lock" groups. Now in Beta 2 starting Arduino asks for adding user to these groups. After slection to add user to groups and entering root password Arduino starts ok.

2. Still not fixed: serial port is not accessible from Ardiono. This is problem with rxtx package. Mageia Beta 2 ships with RXTX version rxtx 2.1-7r2 marked as stable on RXTX download page http://rxtx.qbang.org/wiki/index.php/Download. However, as I found somewhere on forums this version has the bug (at least with java openjdk versions both 1.6 and 1.7). Possible workaround is to use RXTX version 2.2pre2. Although it's marked as prerelease, it works fine both with Arduino and with software, developed in our company.

RXTX download page has following note about 2.2pre2 version "TODO: The 2.2pre2 bins contain the 2.2pre1 jar file and the 2.2pre2 native lib which causes a mismatch warning". 

I downloaded and installed 2.2pre2 version libraries instead of shipped rxtx2.1 and Arduino works fine now.

I think the best solution is use RXTX version 2.2pre2 instead of 2.1.7.2 for following Mageia packages:
  rxtx
  librxtx-devel
  librxtx2.1 (will became librxtx2.2)
  lib64rxtx-devel
  lib64rxtx2.1 (will became librxtx2.2)

CC: (none) => hazard157

Comment 8 Jan Pihlgren 2012-05-10 04:14:43 CEST
Ref to bug 5411 this isn't solved in Mageia 2 RC.

CC: (none) => jan

Comment 9 Marja Van Waes 2012-05-10 08:02:01 CEST
(In reply to comment #8)
> Ref to bug 5411 this isn't solved in Mageia 2 RC.

Thx for the link. I'll close this one as a duplicate because that one contains more information.

*** This bug has been marked as a duplicate of bug 5411 ***

Status: REOPENED => RESOLVED
CC: (none) => marja11
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.