Hi,
just tested on ubuntu 9.04, 64bit.
When plugging the mbed in,
sudo tail -f /var/log/messages
gives:
Sep 5 19:12:41 ubu64 kernel: [ 217.032014] usb 5-2: new full speed USB device using uhci_hcd and address 2
Sep 5 19:12:41 ubu64 kernel: [ 217.215082] usb 5-2: configuration #1 chosen from 1 choice
Sep 5 19:12:41 ubu64 kernel: [ 217.283715] Initializing USB Mass Storage driver...
Sep 5 19:12:41 ubu64 kernel: [ 217.285269] scsi4 : SCSI emulation for USB Mass Storage devices
Sep 5 19:12:41 ubu64 kernel: [ 217.285505] usbcore: registered new interface driver usb-storage
Sep 5 19:12:41 ubu64 kernel: [ 217.285509] USB Mass Storage support registered.
Sep 5 19:12:41 ubu64 kernel: [ 217.291240] cdc_acm 5-2:1.1: ttyACM0: USB ACM device
Sep 5 19:12:41 ubu64 kernel: [ 217.307143] usbcore: registered new interface driver cdc_acm
Sep 5 19:12:41 ubu64 kernel: [ 217.307148] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Sep 5 19:12:46 ubu64 kernel: [ 222.288466] scsi 4:0:0:0: Direct-Access mbed Microcontroller 1.0 PQ: 0 ANSI: 0 CCS
Sep 5 19:12:46 ubu64 kernel: [ 222.317141] sd 4:0:0:0: [sdb] 4096 512-byte hardware sectors: (2.09 MB/2.00 MiB)
Sep 5 19:12:46 ubu64 kernel: [ 222.322133] sd 4:0:0:0: [sdb] Write Protect is off
Sep 5 19:12:46 ubu64 kernel: [ 222.334140] sd 4:0:0:0: [sdb] 4096 512-byte hardware sectors: (2.09 MB/2.00 MiB)
Sep 5 19:12:46 ubu64 kernel: [ 222.339134] sd 4:0:0:0: [sdb] Write Protect is off
Sep 5 19:12:46 ubu64 kernel: [ 222.339143] sdb:
Sep 5 19:12:46 ubu64 kernel: [ 222.359239] sd 4:0:0:0: [sdb] Attached SCSI removable disk
Sep 5 19:12:46 ubu64 kernel: [ 222.359317] sd 4:0:0:0: Attached scsi generic sg3 type 0
after that, a
ls -l /dev/tty????
gives
crw-rw---- 1 root dialout 166, 0 2009-09-05 19:12 ttyACM0
so, I have to be in group dialout.
id `whoami`
uid=1000(kevin) gid=1000(kevin) groups=1000(kevin),4(adm),20(dialout),24(cdrom),46(plugdev),106(lpadmin),121(admin),122(sambashare)
..for me it works fine on a fresh ubuntu64 9.04 install..
I've never changed the mbed serial Port settings (mbed.ini on mbed) as you can see here:
ls -a /media/MBED/
. .. CanBusExample1.bin MBED.HTM .Trash-1000
..Good Luck!
hi,guys
how to use serial port on ubuntu? when I use the command "ls /dev/ttyACM*", there is error
"can not access /dev/ttyACM*,there is no the directory or file".
Anyone can help me?
Thank you!