Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #15 on: May 07, 2012, 01:52:47 pm » |
It's looking good. And that's from the reboot?
yes this is after reboot
|
|
|
|
|
Logged
|
|
|
|
|
Värmland, Sweden
Offline
Full Member
Karma: 7
Posts: 222
|
 |
« Reply #16 on: May 07, 2012, 02:07:28 pm » |
Try using sudo to run Arduino to see if it's related to permissions not that I see why re-plugging would help if that was the case...
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #17 on: May 07, 2012, 02:09:35 pm » |
Try using sudo to run Arduino to see if it's related to permissions not that I see why re-plugging would help if that was the case...
nope no respons :/ everthing is okey if i replug it :/
|
|
|
|
|
Logged
|
|
|
|
|
Värmland, Sweden
Offline
Full Member
Karma: 7
Posts: 222
|
 |
« Reply #18 on: May 07, 2012, 02:12:03 pm » |
Is it connected to some kind of USB hub or directly to a USB port on your computer?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #19 on: May 07, 2012, 02:14:19 pm » |
Is it connected to some kind of USB hub or directly to a USB port on your computer?
directly to a USB port
|
|
|
|
|
Logged
|
|
|
|
|
Värmland, Sweden
Offline
Full Member
Karma: 7
Posts: 222
|
 |
« Reply #20 on: May 07, 2012, 02:45:41 pm » |
I wonder if something else is locking the port. Try this before starting the Arduino IDE: ls -l /dev/ttyUSB0 Please paste the output here And try: cat /dev/ttyUSB0 if it shows nothing or if it shows some serial data being sent from the Arduino then it should be ok. If something else is locing the port it would show cat: /dev/ttyUSB0: Device or resource busyWhat kind of sketch is on your chip? Something that send serial data?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #21 on: May 08, 2012, 09:16:55 am » |
crw-rw---- 1 root dialout 188, 0 2012-05-08 16:09 /dev/ttyUSB0 i´ts sould be ok, i give the user right for dialout cat: /dev/ttyUSB0: Device or resource busy yes it send serial data as a sting but only if i send a sting to the arduino
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #22 on: May 08, 2012, 09:34:16 am » |
i googled abit about: cat: /dev/ttyUSB0: Device or resource busy i found this to find what process is accessing the arduino sudo lsof | grep ttyUSB but i get this error lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/home/.gvfs Output information may be incomplete. upowerd 1393 root 14u CHR 188,0 0t0 8451 /dev/ttyUSB0
linux is so complicatet if you never use it :/
|
|
|
|
|
Logged
|
|
|
|
|
Värmland, Sweden
Offline
Full Member
Karma: 7
Posts: 222
|
 |
« Reply #23 on: May 08, 2012, 10:21:12 am » |
The error you get is just a warning. Doesn't mean anything in this case. What I can see is that upowerd is locking the device. Upower is a power save component and there seems to be an old bug related to Upower and the FTDI chip: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586751You will have to upgrade or disable Upower to solve this but I'm not sure how to do it. As the problem is not with your board or with the Arduino environment there may be better support forums than this one. You may have to Google a bit.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
God Member
Karma: 3
Posts: 812
|
 |
« Reply #24 on: May 08, 2012, 02:07:26 pm » |
You will have to upgrade or disable Upower to solve this but I'm not sure how to do it
sudo apt-get remove upower Removing it may disable support for battery monitoring (if it's a laptop) and features like suspend/hibernate. You may or may not not care about this.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #25 on: May 08, 2012, 02:56:12 pm » |
thanks alot guys and special thanks to perhof  it work now i update my xubuntu to 12.04. your answer about the upower bug. i google abou it and its fixed in the 12.04  thanks
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #26 on: May 08, 2012, 03:18:33 pm » |
okey now i have another problem -.- avrdude stk500_recv() programmer is not responding this is what i get if i try to upload code :/
|
|
|
|
|
Logged
|
|
|
|
|
Värmland, Sweden
Offline
Full Member
Karma: 7
Posts: 222
|
 |
« Reply #27 on: May 08, 2012, 04:48:59 pm » |
A few questions: What kind of Arduino board do you have? Which Arduino version do you have installed on the server. Was it when you upgraded to 12.04 that it stopped working?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
God Member
Karma: 3
Posts: 812
|
 |
« Reply #28 on: May 08, 2012, 10:10:23 pm » |
avrdude stk500_recv() programmer is not responding This means that the IDE thinks you're using a specific programmer device, rather than a bootloader-based serial uploader. You must have edited your boards file, or selected "update using programmer" in the IDE. Re-select the right board using the serial port, and you should be good to go.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 15
|
 |
« Reply #29 on: May 09, 2012, 08:50:05 am » |
if i try update using programmer i get this error avrdude: usbdev_open(): did not find any USB device "usb" hmmm.... this is pretty annoying :/
|
|
|
|
|
Logged
|
|
|
|
|
|