legacy Tux's lil' helper
Joined: 10 Sep 2012 Posts: 144
|
Posted: Wed Dec 17, 2014 10:24 am Post subject: usb serial cdc-acm issued |
|
|
hi
i have a teensy v2 device (AVR8 MPU with a built-in USB) and am having issues with usb-serial cdc-acm
i have enabled the kernel driver "USB Modem (CDC ACM) support"
Code: |
CC [M] drivers/usb/class/cdc-acm.o
|
Code: |
usb 2-1: ep0 maxpacket = 32
usb 2-1: skipped 4 descriptors after interface
usb 2-1: default language 0x0409
usb 2-1: udev 2, busnum 2, minor = 129
usb 2-1: New USB device found, idVendor=16c0, idProduct=0483
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: USB Serial
usb 2-1: Manufacturer: Teensyduino
usb 2-1: SerialNumber: 12345
usb 2-1: usb_probe_device
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
cdc_acm 2-1:1.0: usb_probe_interface
cdc_acm 2-1:1.0: usb_probe_interface - got id
cdc_acm 2-1:1.0: This device cannot do calls on its own. It is not a modem.
cdc_acm 2-1:1.0: ttyACM0: USB ACM device
usb 2-1: adding 2-1:1.1 (config #1, interface 1)
drivers/usb/core/inode.c: creating file '002'
hub 2-0:1.0: state 7 ports 2 chg 0000 evt 0002
usb usb3: suspend_rh (auto-stop)
usb usb4: suspend_rh (auto-stop)
systemd-udevd[1532]: starting version 204
|
i have created the right devname /dev/ttyACM0, when i opened mini com to it i can't see any output and the dmesg is reporting this
Code: |
uhci_hcd 0000:00:1a.1: reserve dev 2 ep82-INT, period 64, phase 0, 17 us
uhci_hcd 0000:00:1a.1: release dev 2 ep82-INT, period 64, phase 0, 17 us
uhci_hcd 0000:00:1a.1: reserve dev 2 ep82-INT, period 64, phase 0, 17 us
uhci_hcd 0000:00:1a.1: release dev 2 ep82-INT, period 64, phase 0, 17 us
|
the usb-device should perform "echo", reporting back what you type |
|