Skip to content

Instantly share code, notes, and snippets.

@sander
Last active August 29, 2015 14:21
Show Gist options
  • Select an option

  • Save sander/eea247a5a9cfef3e4acd to your computer and use it in GitHub Desktop.

Select an option

Save sander/eea247a5a9cfef3e4acd to your computer and use it in GitHub Desktop.
Edison Arduino issue
# ls /dev/tty*
/dev/tty /dev/tty2 /dev/tty31 /dev/tty43 /dev/tty55 /dev/ttyACM0
/dev/tty0 /dev/tty20 /dev/tty32 /dev/tty44 /dev/tty56 /dev/ttyGS0
/dev/tty1 /dev/tty21 /dev/tty33 /dev/tty45 /dev/tty57 /dev/ttyMFD0
/dev/tty10 /dev/tty22 /dev/tty34 /dev/tty46 /dev/tty58 /dev/ttyMFD1
/dev/tty11 /dev/tty23 /dev/tty35 /dev/tty47 /dev/tty59 /dev/ttyMFD2
/dev/tty12 /dev/tty24 /dev/tty36 /dev/tty48 /dev/tty6 /dev/ttyPTI0
/dev/tty13 /dev/tty25 /dev/tty37 /dev/tty49 /dev/tty60 /dev/ttyPTI1
/dev/tty14 /dev/tty26 /dev/tty38 /dev/tty5 /dev/tty61 /dev/ttymcu0
/dev/tty15 /dev/tty27 /dev/tty39 /dev/tty50 /dev/tty62 /dev/ttymcu1
/dev/tty16 /dev/tty28 /dev/tty4 /dev/tty51 /dev/tty63 /dev/ttymcu2
/dev/tty17 /dev/tty29 /dev/tty40 /dev/tty52 /dev/tty7
/dev/tty18 /dev/tty3 /dev/tty41 /dev/tty53 /dev/tty8
/dev/tty19 /dev/tty30 /dev/tty42 /dev/tty54 /dev/tty9
[ 1639.549408] pmic_ccsm pmic_ccsm: USB ID Detected. Notifying OTG driver
[ 1640.407561] dwc3-host dwc3-host.2: xHCI Host Controller
[ 1640.408257] dwc3-host dwc3-host.2: new USB bus registered, assigned bus number 1
[ 1640.408509] dwc3-host dwc3-host.2: irq 34, io mem 0xf9100000
[ 1640.408655] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1640.408679] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1640.408698] usb usb1: Product: xHCI Host Controller
[ 1640.408717] usb usb1: Manufacturer: Linux 3.10.17-yocto-standard dwc-xhci
[ 1640.408735] usb usb1: SerialNumber: dwc3-host.2
[ 1640.409545] xHCI xhci_add_endpoint called for root hub
[ 1640.409566] xHCI xhci_check_bandwidth called for root hub
[ 1640.409841] hub 1-0:1.0: USB hub found
[ 1640.409887] hub 1-0:1.0: 1 port detected
[ 1640.410486] dwc3-host dwc3-host.2: xHCI Host Controller
[ 1640.410895] dwc3-host dwc3-host.2: new USB bus registered, assigned bus number 2
[ 1640.411060] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 1640.411085] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1640.411104] usb usb2: Product: xHCI Host Controller
[ 1640.411123] usb usb2: Manufacturer: Linux 3.10.17-yocto-standard dwc-xhci
[ 1640.411142] usb usb2: SerialNumber: dwc3-host.2
[ 1640.411809] xHCI xhci_add_endpoint called for root hub
[ 1640.411829] xHCI xhci_check_bandwidth called for root hub
[ 1640.412107] hub 2-0:1.0: USB hub found
[ 1640.412151] hub 2-0:1.0: 1 port detected
[ 1640.475376] pmic_ccsm pmic_ccsm: USB VBUS Detected. Notifying OTG driver
[ 1640.727535] usb 1-1: new full-speed USB device number 2 using dwc3-host
[ 1640.751089] usb 1-1: New USB device found, idVendor=2a03, idProduct=0043
[ 1640.751120] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[ 1640.751141] usb 1-1: Product: Arduino Uno
[ 1640.751160] usb 1-1: Manufacturer: Arduino Srl
[ 1640.751178] usb 1-1: SerialNumber: 75431343334351A0C1B0
[ 1640.752133] usb 1-1: ep 0x82 - rounding interval to 1024 microframes, ep desc says 2040 microframes
[ 1640.795898] cdc_acm 1-1:1.0: ttyACM0: USB ACM device
# lsmod
Module Size Used by
usb_f_acm 14335 1
u_serial 18582 6 usb_f_acm
g_multi 70813 0
libcomposite 39245 2 usb_f_acm,g_multi
bcm_bt_lpm 13676 0
bcm4334x 578947 0
# lsusb -v
Bus 001 Device 002: ID 2a03:0043
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x2a03
idProduct 0x0043
bcdDevice 0.01
iManufacturer 1 Arduino Srl
iProduct 2 Arduino Uno
iSerial 220 75431343334351A0C1B0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 62
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 0
CDC Header:
bcdCDC 10.01
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
CDC Union:
bMasterInterface 0
bSlaveInterface 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 255
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Device Status: 0x0000
(Bus Powered)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 3.10
iManufacturer 3 Linux 3.10.17-yocto-standard dwc-xhci
iProduct 2 xHCI Host Controller
iSerial 1 dwc3-host.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0103 power enable connect
Device Status: 0x0001
Self Powered
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 3.10
iManufacturer 3 Linux 3.10.17-yocto-standard dwc-xhci
iProduct 2 xHCI Host Controller
iSerial 1 dwc3-host.2
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 31
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 1
wHubCharacteristic 0x0009
Per-port power switching
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 0 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.02a0 5Gbps power Rx.Detect
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 15
bNumDeviceCaps 1
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x02
Latency Tolerance Messages (LTM) Supported
wSpeedsSupported 0x0008
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 3
Lowest fully-functional device speed is SuperSpeed (5Gbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 2047 micro seconds
Device Status: 0x0001
Self Powered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment