arduino linux stk500 recv programmer is not responding

–>post begin<–
Unable to program uno under linux. Works under windows.
Hardware is okay. Board, cable same everything under windows XP everything works.
Like to know why it is not working in linux.
Nothing is wired into arduino uno, just usb cable plugged in.
This can’t be a hardware problem.

Environment:
VirtualBox 4.2.6 hosted by OpenSUSE 12.3.
VM Windows XP → works.
VM OpenSUSE 12.3 → fail.
VM Ubuntu 13.1 → fail.

USB device in VM is checked and active.
lsusb shows the device.
led lights blink during upload attempt.

What am I missing???

Followed installation instructions and checked troubleshooting forum.

Here is command line used and resulting output:

u2002@u1000-VirtualBox:~$ sudo /usr/share/arduino/hardware/tools/avrdude -C /usr/share/arduino/hardware/tools/avrdude.conf -v -v -v -v -v -v -p atmega328p -c arduino -P /dev/ttyACM0 -b 115200 -D -U flash:w:/tmp/build3159236559623672832.tmp/Blink.cpp.hex:i 1>a.out 2>a.err

file a.out is empty.

file a.err: attached.
partial below:

avrdude: Version 5.11.1, compiled on Apr 28 2013 at 18:46:46
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is “/usr/share/arduino/hardware/tools/avrdude.conf”
User configuration file is “/home/u2002/.avrduderc”
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM0
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]
AVR Part : ATMEGA328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Programmer Type : Arduino
Description : Arduino
avrdude: Send: A [41] . [80] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [81] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [04]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [82] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [04]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [98] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
Hardware Version: 3
Firmware Version: 4.4
avrdude: Send: A [41] . [84] [20]
avrdude: Recv: . [14]
avrdude: Recv: . [03]
avrdude: Recv: . [10]
avrdude: Send: A [41] . [85] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

–>post end<–

a.err (42.5 KB)

The error messages you give at the bottom of your post:

avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding

seems to be the same as what this person is seeing as am I (3rd post in thread): http://forum.arduino.cc/index.php?topic=212401.msg1575902#msg1575902

As my post says, I'm running on Macs but I was able to test a PC which successfully uploaded the code to the Uno.

For ubuntu try this:

Entering the command, groups, in a terminal will show the groups you belong to, you usually need to belong to 'dialout' for ACM devices (arduino uno) in ubuntu .

sudo adduser YourUserName GroupToJoin Will fix things if you need to join a group, logout and login after you run adduser.

For open SUSE see this page: http://playground.arduino.cc//Linux/OpenSUSE

hope this helps.

Please read my post again. I followed the directions for OpenSUSE u mention. I used the sudo command, so dialout group membership should not be an issue. (I did add my user to the dialout group anyway.) This is not a permissions problem. Problem remains unresolved. I guess it is a mystery. Certainly others are having success, so I dunno.