Unable to get Arduino UNO connect to ACM0

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Unable to get Arduino UNO connect to ACM0

Postby janpihlgren » Jan 27th, '15, 06:47

I'm using ThinkPad W701, Mageia 4 (latest update) Arduino UNO and Arduino WiFi shield (original).
When connect the Arduino UNO to a USBport the Arduino UNO can't find ACM0 or any other Serial port. The serial port selector is gray as in this image:

Arduino_WiFi_SerialPort.png
Arduino WiFi Serial Port selection
Arduino_WiFi_SerialPort.png (34.15 KiB) Viewed 6525 times


This is the output from lsusb:
Code: Select all
[jan@Humlan ~]$ lsusb
Bus 002 Device 003: ID 17ef:1008 Lenovo Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0bc2:50a5 Seagate RSS LLC FreeAgent GoFlex Desk USB 3.0
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 006: ID 17ef:4816 Lenovo Integrated Webcam
Bus 001 Device 008: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 007: ID 413c:2005 Dell Computer Corp. RT7D50 Keyboard
Bus 001 Device 005: ID 17ef:1007 Lenovo
Bus 001 Device 004: ID 0a5c:217f Broadcom Corp. BCM2045B (BDC-2.1)
Bus 001 Device 003: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 001 Device 009: ID 2341:0001 Arduino SA Uno (CDC ACM)
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[jan@Humlan ~]$

This is a part from /dev

Arduino_WiFi_ACM0.png
Show /dev/ACM0
Arduino_WiFi_ACM0.png (56.93 KiB) Viewed 6525 times



Anyone that know howto connect or howto select the Serial Port?
Last edited by doktor5000 on Jan 30th, '15, 22:03, edited 1 time in total.
Reason: added code tags, removed img tags
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Unable to get Arduino UNO connect to ACM0

Postby pete910 » Jan 29th, '15, 03:52

Did you add your user to the dialout group?

MageiaControlCentre>System>Users>Groups and edit the group dialout and add yourself if not in it


Edit:

Log out then back in again for it to take effect.
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: Unable to get Arduino UNO connect to ACM0

Postby janpihlgren » Jan 29th, '15, 05:41

I tried your sugestion.
But I'm already a member of the group dialout
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Unable to get Arduino UNO connect to ACM0

Postby pete910 » Jan 29th, '15, 13:03

Forgot to mention the lock group too :oops:

If it still does not let you, run in a console and post the output here.
User avatar
pete910
 
Posts: 357
Joined: Jan 8th, '12, 18:53

Re: Unable to get Arduino UNO connect to ACM0

Postby doktor5000 » Jan 29th, '15, 22:13

Or simply try to run it as root if you suspect that it's a permission issue. But as it's a graphical application be sure to use
Code: Select all
su -

to switch to root to obtain a full environment.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to get Arduino UNO connect to ACM0

Postby janpihlgren » Jan 30th, '15, 05:02

Here is my result of your proposel:
Code: Select all
[jan@Humlan ~]$ su - arduino
su: user arduino does not exist
[jan@Humlan ~]$ arduino
WARNING:  RXTX Version mismatch
        Jar version = RXTX-2.2
        native lib Version = RXTX-2.2pre2
Binary sketch size: 11286 bytes (of a 32256 byte maximum)
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x0a
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x49
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x6e
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x74
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x61
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x6c
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x7a
[jan@Humlan ~]$
Last edited by doktor5000 on Jan 30th, '15, 22:02, edited 1 time in total.
Reason: added code tags
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Unable to get Arduino UNO connect to ACM0

Postby doktor5000 » Jan 30th, '15, 18:01

No, it's not. You should run it as root. Read my post again, compare to what you did, then try again.
You tried to switch to user arduino, which does not exist. Just run
Code: Select all
su -

as I've shown, and then as root try to run your program again.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to get Arduino UNO connect to ACM0

Postby janpihlgren » Jan 30th, '15, 18:14

Is this what you want?
Code: Select all
[jan@Humlan ~]$ su
Lösenord:
[root@Humlan jan]# arduino &
[1] 6571
[root@Humlan jan]# WARNING:  RXTX Version mismatch
        Jar version = RXTX-2.2
        native lib Version = RXTX-2.2pre2
Binary sketch size: 11286 bytes (of a 32256 byte maximum)
Binary sketch size: 11286 bytes (of a 32256 byte maximum)
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

[1]+  Klart                   arduino
[root@Humlan jan]#
Last edited by doktor5000 on Jan 30th, '15, 22:01, edited 1 time in total.
Reason: changed quote tags to code tags, removed superfluous whitespace
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Unable to get Arduino UNO connect to ACM0

Postby doktor5000 » Jan 30th, '15, 22:06

Yes, at least it now shows an error message, I'd say. There are various threads related to that:
avrdude: stk500_recv(): programmer is not responding


https://www.youtube.com/watch?v=plCxXwiUK-w
http://forum.arduino.cc/index.php?topic=123573.0
http://stackoverflow.com/questions/1976 ... t-respondi
http://arduino.stackexchange.com/questi ... -is-not-re
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18058
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron