[ubuntu-za] i cant get Ubuntu 12:04b to find my Arduino on the serial port connected to one of my USB ports

Marius Kruger amanic at gmail.com
Mon Mar 12 16:25:23 UTC 2012


On 10 March 2012 16:09, Nico Michael(iBurst) <nick.michael at ptaisp.co.za> wrote:
> The Arduino program is expecting to find my Arduino controller connected to
> USB in this device
> serial.port=/dev/ttyACM0
>
> When I ran this command :
> sudo tail -c 0 -f /var/log/syslog
>
> and plugged the Arduino controller USB cable and got this:
>
> Mar 10 16:04:27 nickm kernel: [ 2732.128237] usb 2-2: new full-speed USB
> device number 14 using uhci_hcd
> Mar 10 16:04:27 nickm kernel: [ 2732.328926] cdc_acm 2-2:1.0: ttyACM0: USB
> ACM device

it looks like it is actually setting it up as ttyACM0

> Mar 10 16:04:27 nickm mtp-probe: checking bus 2, device 14:
> "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-2"
> Mar 10 16:04:27 nickm mtp-probe: bus: 2, device: 14 was not an MTP device
>
> how do I mount my USB device to serial port :  /dev/ttyACM0  ?

It should not be necessary to tell the kernel to use another device,
but you do need to figure out which one was used. Then tell the
arduino app which one it should use, but it normally detects it pretty
well.  You may be hitting some other issue, why do you think it is
trying to use the wrong device?

> Or else what must I use instead of /dev/ttyACM0 in my settings for the
> program to find the connected controller

Well the common way is to look at the logs as you did, you can also
look around in /dev and see which devices are available.

-- 
✝ Marius



More information about the ubuntu-za mailing list