Page 1 of 1

Unable to get Arduino UNO connect to ACM0

PostPosted: Jan 27th, '15, 06:47
by janpihlgren
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 6526 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 6526 times



Anyone that know howto connect or howto select the Serial Port?

Re: Unable to get Arduino UNO connect to ACM0

PostPosted: Jan 29th, '15, 03:52
by pete910
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.

Re: Unable to get Arduino UNO connect to ACM0

PostPosted: Jan 29th, '15, 05:41
by janpihlgren
I tried your sugestion.
But I'm already a member of the group dialout

Re: Unable to get Arduino UNO connect to ACM0

PostPosted: Jan 29th, '15, 13:03
by pete910
Forgot to mention the lock group too :oops:

If it still does not let you, run in a console and post the output here.

Re: Unable to get Arduino UNO connect to ACM0

PostPosted: Jan 29th, '15, 22:13
by doktor5000
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.

Re: Unable to get Arduino UNO connect to ACM0

PostPosted: Jan 30th, '15, 05:02
by janpihlgren
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 ~]$

Re: Unable to get Arduino UNO connect to ACM0

PostPosted: Jan 30th, '15, 18:01
by doktor5000
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.

Re: Unable to get Arduino UNO connect to ACM0

PostPosted: Jan 30th, '15, 18:14
by janpihlgren
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]#

Re: Unable to get Arduino UNO connect to ACM0

PostPosted: Jan 30th, '15, 22:06
by doktor5000
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