I have my modem Quectel EM-05 plugged on M2 slot and camera on usb port.
I often have problem of Quectel module get disconnected from system. Here are some logs of sudo dmesg | grep USB
[ 0.993473] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.993548] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.994018] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 0.994335] usbserial: USB Serial support registered for generic
[ 0.994433] usbserial: USB Serial support registered for ch341-uart
[ 0.994528] usbserial: USB Serial support registered for cp210x
[ 0.994623] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 0.994725] usbserial: USB Serial support registered for GSM modem (1-port)
[ 0.994822] usbserial: USB Serial support registered for pl2303
[ 0.995935] USB Video Class driver (1.1.1)
[ 0.998736] usbhid: USB HID core driver
[ 3.619119] amlogic-new-usb2-v2 ffe09000.usb2phy: USB2 phy probe:phy_mem:0xffe09000, iomap phy_base:0xffffff80086fe000
[ 3.629498] amlogic-new-usb3-v2 ffe09080.usb3phy: USB3 phy probe:phy_mem:0xffe09080, iomap phy_base:0xffffff800882f080
[ 11.878430] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 11.901423] hub 1-0:1.0: USB hub found
[ 11.914817] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 11.931084] hub 2-0:1.0: USB hub found
[ 12.240035] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 12.402862] hub 1-1:1.0: USB hub found
[ 12.691998] usb 1-1.4: new high-speed USB device number 3 using xhci-hcd
[ 106.352033] usb 1-1.3: new high-speed USB device number 4 using xhci-hcd
[ 106.483511] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 106.484169] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 106.484869] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
[ 106.485527] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB3
[ 108.690763] usb 1-1.3: USB disconnect, device number 4
[ 108.691241] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 108.694934] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 108.695414] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 108.699692] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[ 135.024013] usb 1-1.3: new high-speed USB device number 5 using xhci-hcd
[ 135.157318] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 135.158587] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 135.159784] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
[ 135.165436] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB3
[ 136.338760] usb 1-1.3: USB disconnect, device number 5
[ 136.339207] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 136.342894] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 136.343380] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 136.347775] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[ 160.880012] usb 1-1.3: new high-speed USB device number 6 using xhci-hcd
[ 161.011630] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 161.014974] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 161.015806] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
[ 161.019035] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB3
[ 162.450775] usb 1-1.3: USB disconnect, device number 6
[ 162.451226] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 162.451682] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 162.452454] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 162.453296] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
The modem appears in system as 4 ports ttyUSB0, ttyUSB1, ttyUSB2 and ttyUSB3.
It did appear on system but eventually disappear.
Can someone give me some pointers on this ? Is this because of my power consumption because of both camera and modem connected on hub ?
[ 781.248076] usb 1-1.3: Device not responding to setup address.
[ 781.456060] usb 1-1.3: Device not responding to setup address.
[ 781.664011] usb 1-1.3: device not accepting address 20, error -71
If you see 4 USB ports shutting down abruptly, you can be damn sure the Hub is shutting down, as the VIM3 has 5 USB ports, 1x OTG 3x USB 2.0 (1 physically available, 1 in the GPIO and one in the PCIe slot…) 1x USB 2.0 and 3.0 interlaced…
Is there a regular interval of disconnection?, try to record the time it stays on, till when it turns off…
can you state your device and the correct firmware ?