You are not logged in.

#1 2012-03-04 04:50:36

duke11235
Member
Registered: 2009-10-09
Posts: 221

[SOLVED}How to find Arduino Serial Port

I'm having trouble finding the serial port being used by my arduino. The wiki suggests /dev/USB* or /dev/ACM*, but I see none of those. I'm also not sure what I would use to check everything.log. Thanks

EDIT: A reboot showed the port after the command dmesg. Logout did not seem to be sufficient.

Last edited by duke11235 (2012-03-04 05:42:37)

Offline

#2 2012-03-04 05:26:15

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: [SOLVED}How to find Arduino Serial Port

Remove the cable, run dmesg. Then plug it in and run dmesg again. Should show you some output pertaining to where its located.


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#3 2012-03-04 05:29:56

duke11235
Member
Registered: 2009-10-09
Posts: 221

Re: [SOLVED}How to find Arduino Serial Port

Tried that, says new usb 3-1: new usb full-speed device number 12 using ohci_hcd. Does that relate to a certain tty in /dev? I'm not sure

Offline

#4 2012-03-04 06:22:24

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: [SOLVED}How to find Arduino Serial Port

Can you post output from what you have been doing? dmesg, lsusb, etc etc. Does it say anything about the type of device?
example:

Bus 005 Device 007: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub

Is your system up to-date?


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#5 2012-03-22 15:11:44

mandos
Member
From: Greece
Registered: 2006-01-23
Posts: 100
Website

Re: [SOLVED}How to find Arduino Serial Port

@duke11235: the wiki suggests /dev/ttyACM*, you seem to have forgoten the tty part in your first post.

I'm getting this when typing lsusb:

Bus 004 Device 012: ID 2341:0043

It has no description as you can see, it is an empty line. I do not know if this is normal, I got my Arduino a few minutes ago so some things are new to me

Dmesg reports this:

[ 1962.272292] usb 4-1.6: new full-speed USB device number 12 using ehci_hcd
[ 1962.359384] cdc_acm 4-1.6:1.0: ttyACM0: USB ACM device

Last edited by mandos (2012-03-22 16:40:55)

Offline

#6 2012-03-22 17:34:33

duke11235
Member
Registered: 2009-10-09
Posts: 221

Re: [SOLVED}How to find Arduino Serial Port

Is there a question there? Your dmesg seems to show an arduino at /dev/ttyACM0, so put that in the arduino config file under serial port and you should be fine.

Offline

#7 2012-03-23 11:08:35

mandos
Member
From: Greece
Registered: 2006-01-23
Posts: 100
Website

Re: [SOLVED}How to find Arduino Serial Port

Well there wasn't really a question, more of a wandering (why lsusb doesn't recognize).

Everything works fine, by following the wiki smile

Offline

Board footer

Powered by FluxBB