@Vianney
Thanks for your help in this tricky issue.
The usb_cdc driver is installed, we can see it in the dmesg output of our device. And one more issue, we observe a periodic restart of the modem, this is again evident from the output of dmesg. Our core version:
Linux am33x-nimbus-hub 4.14.108+ # 10 SMP PREEMPT Tue May 12 23:20:28 +05 2020 armv7l GNU / Linux
We collect it ourselves and the config file was attached in the previous message. Unfortunately, we still cannot understand what the problem is.
Additional files: the output of the lsusb -v command and the output of dmesg with a periodic restart of the modem we put in this message .
root@am33x-nimbus-hub:~# dmesg | grep cdc
[ 4.580813] usbcore: registered new interface driver cdc_ether
[ 4.580851] usbcore: registered new interface driver cdc_eem
[ 4.581005] usbcore: registered new interface driver cdc_subset
[ 4.581233] usbcore: registered new interface driver cdc_ncm
[ 4.581274] usbcore: registered new interface driver huawei_cdc_ncm
[ 4.581358] usbcore: registered new interface driver cdc_mbim
[ 4.582507] usbcore: registered new interface driver cdc_acm
[ 4.582513] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 4.582625] usbcore: registered new interface driver cdc_wdm
[ 4.871545] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
[ 4.872804] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
dmesg output (restart issue):
[ 26.721981] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 228.771443] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[ 228.920654] usb 1-1: New USB device found, idVendor=8087, idProduct=0716
[ 228.920672] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 228.925220] usb_serial_simple 1-1:1.0: flashloader converter detected
[ 228.925807] usb 1-1: flashloader converter now attached to ttyUSB0
[ 234.961807] usb 1-1: USB disconnect, device number 2
[ 234.962564] flashloader ttyUSB0: flashloader converter now disconnected from ttyUSB0
[ 234.962659] usb_serial_simple 1-1:1.0: device disconnected
[ 235.527441] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[ 235.676656] usb 1-1: New USB device found, idVendor=8087, idProduct=0716
[ 235.676672] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 235.678379] usb_serial_simple 1-1:1.0: flashloader converter detected
[ 235.678932] usb 1-1: flashloader converter now attached to ttyUSB0
[ 330.718625] usb 1-1: USB disconnect, device number 3
[ 330.725152] flashloader ttyUSB0: flashloader converter now disconnected from ttyUSB0
[ 330.725312] usb_serial_simple 1-1:1.0: device disconnected
[ 331.287445] usb 1-1: new high-speed USB device number 4 using musb-hdrc
[ 331.436655] usb 1-1: New USB device found, idVendor=8087, idProduct=0716
[ 331.436672] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 331.438400] usb_serial_simple 1-1:1.0: flashloader converter detected
[ 331.438957] usb 1-1: flashloader converter now attached to ttyUSB0
[ 426.478409] usb 1-1: USB disconnect, device number 4
[ 426.485017] flashloader ttyUSB0: flashloader converter now disconnected from ttyUSB0
[ 426.485176] usb_serial_simple 1-1:1.0: device disconnected
[ 427.047449] usb 1-1: new high-speed USB device number 5 using musb-hdrc
[ 427.196657] usb 1-1: New USB device found, idVendor=8087, idProduct=0716
[ 427.196673] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 427.201041] usb_serial_simple 1-1:1.0: flashloader converter detected
[ 427.201620] usb 1-1: flashloader converter now attached to ttyUSB0
[ 522.238176] usb 1-1: USB disconnect, device number 5
[ 522.244726] flashloader ttyUSB0: flashloader converter now disconnected from ttyUSB0
[ 522.244880] usb_serial_simple 1-1:1.0: device disconnected
[ 522.807446] usb 1-1: new high-speed USB device number 6 using musb-hdrc
[ 522.956663] usb 1-1: New USB device found, idVendor=8087, idProduct=0716
[ 522.956680] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 522.958388] usb_serial_simple 1-1:1.0: flashloader converter detected
[ 522.958945] usb 1-1: flashloader converter now attached to ttyUSB0
USB Output (after start script)
:root@am33x-nimbus-hub:~# lsusb -v
Bus 002 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
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.14
iManufacturer 3 Linux 4.14.108+ musb-hcd
iProduct 2 MUSB HDRC host driver
iSerial 1 musb-hdrc.1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
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
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 0x0011
Per-port power switching
No overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 5 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x02
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0104 power suspend
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
Bus 001 Device 003: ID 8087:0716 Intel Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x8087 Intel Corp.
idProduct 0x0716
bcdDevice 0.00
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x002e
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 500mA
** UNRECOGNIZED: 05 24 00 10 01
** UNRECOGNIZED: 05 24 01 00 00
** UNRECOGNIZED: 04 24 02 02
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self 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
bDeviceProtocol 1 Single TT
bMaxPacketSize0 64
idVendor 0x1d6b Linux Foundation
idProduct 0x0002 2.0 root hub
bcdDevice 4.14
iManufacturer 3 Linux 4.14.108+ musb-hcd
iProduct 2 MUSB HDRC host driver
iSerial 1 musb-hdrc.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0019
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
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 0x0011
Per-port power switching
No overcurrent protection
TT think time 8 FS bits
bPwrOn2PwrGood 5 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x02
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0507 highspeed power suspend enable connect
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
root@am33x-nimbus-hub:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 8087:0716 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub