EG25G module, Usb connection is unstable

Dear support and members,

I had problem about EG25G module that usb connection is unstable.

Repeated connection and disconnection at some intervals as I do nothing.
So, I cannot send AT command well and not work wwan0 driver prperly.

What I should do to fix this behavior ?

thx
Shige

I was having same issue. I solved the power hwmon hwmon1: Undervoltage detected! issue but I’m still having the 15 second USB disconnect/reconnect issue.

[Thu May 25 19:57:52 2023] usb 1-1.2.1.1: USB disconnect, device number 11
[Thu May 25 19:57:52 2023] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[Thu May 25 19:57:52 2023] option 1-1.2.1.1:1.0: device disconnected
[Thu May 25 19:57:52 2023] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[Thu May 25 19:57:52 2023] option 1-1.2.1.1:1.1: device disconnected
[Thu May 25 19:57:52 2023] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[Thu May 25 19:57:52 2023] option 1-1.2.1.1:1.2: device disconnected
[Thu May 25 19:57:52 2023] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[Thu May 25 19:57:52 2023] option 1-1.2.1.1:1.3: device disconnected
[Thu May 25 19:57:52 2023] cdc_ether 1-1.2.1.1:1.4 usb0: unregister ‘cdc_ether’ usb-0000:01:00.0-1.2.1.1, CDC Ethernet Device
[Thu May 25 19:58:06 2023] usb 1-1.2.1.1: new high-speed USB device number 12 using xhci_hcd
[Thu May 25 19:58:06 2023] usb 1-1.2.1.1: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
[Thu May 25 19:58:06 2023] usb 1-1.2.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Thu May 25 19:58:06 2023] usb 1-1.2.1.1: Product: EG25-G
[Thu May 25 19:58:06 2023] usb 1-1.2.1.1: Manufacturer: Quectel
[Thu May 25 19:58:06 2023] option 1-1.2.1.1:1.0: GSM modem (1-port) converter detected
[Thu May 25 19:58:06 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB0
[Thu May 25 19:58:06 2023] option 1-1.2.1.1:1.1: GSM modem (1-port) converter detected
[Thu May 25 19:58:06 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB1
[Thu May 25 19:58:06 2023] option 1-1.2.1.1:1.2: GSM modem (1-port) converter detected
[Thu May 25 19:58:06 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB2
[Thu May 25 19:58:06 2023] option 1-1.2.1.1:1.3: GSM modem (1-port) converter detected
[Thu May 25 19:58:06 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB3
[Thu May 25 19:58:06 2023] cdc_ether 1-1.2.1.1:1.4 usb0: register ‘cdc_ether’ at usb-0000:01:00.0-1.2.1.1, CDC Ethernet Device, 2e:d6:89:5d:bd:23
[Thu May 25 19:59:30 2023] usb 1-1.2.1.1: USB disconnect, device number 12
[Thu May 25 19:59:30 2023] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[Thu May 25 19:59:30 2023] option 1-1.2.1.1:1.0: device disconnected
[Thu May 25 19:59:30 2023] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[Thu May 25 19:59:30 2023] option 1-1.2.1.1:1.1: device disconnected
[Thu May 25 19:59:30 2023] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[Thu May 25 19:59:30 2023] option 1-1.2.1.1:1.2: device disconnected
[Thu May 25 19:59:30 2023] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[Thu May 25 19:59:30 2023] option 1-1.2.1.1:1.3: device disconnected
[Thu May 25 19:59:30 2023] cdc_ether 1-1.2.1.1:1.4 usb0: unregister ‘cdc_ether’ usb-0000:01:00.0-1.2.1.1, CDC Ethernet Device
[Thu May 25 19:59:45 2023] usb 1-1.2.1.1: new high-speed USB device number 13 using xhci_hcd
[Thu May 25 19:59:45 2023] usb 1-1.2.1.1: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
[Thu May 25 19:59:45 2023] usb 1-1.2.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Thu May 25 19:59:45 2023] usb 1-1.2.1.1: Product: EG25-G
[Thu May 25 19:59:45 2023] usb 1-1.2.1.1: Manufacturer: Quectel
[Thu May 25 19:59:45 2023] option 1-1.2.1.1:1.0: GSM modem (1-port) converter detected
[Thu May 25 19:59:45 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB0
[Thu May 25 19:59:45 2023] option 1-1.2.1.1:1.1: GSM modem (1-port) converter detected
[Thu May 25 19:59:45 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB1
[Thu May 25 19:59:45 2023] option 1-1.2.1.1:1.2: GSM modem (1-port) converter detected
[Thu May 25 19:59:45 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB2
[Thu May 25 19:59:45 2023] option 1-1.2.1.1:1.3: GSM modem (1-port) converter detected
[Thu May 25 19:59:45 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB3
[Thu May 25 19:59:45 2023] cdc_ether 1-1.2.1.1:1.4 usb0: register ‘cdc_ether’ at usb-0000:01:00.0-1.2.1.1, CDC Ethernet Device, ba:cb:7b:04:cf:72
[Thu May 25 20:01:07 2023] usb 1-1.2.1.1: USB disconnect, device number 13
[Thu May 25 20:01:07 2023] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[Thu May 25 20:01:07 2023] option 1-1.2.1.1:1.0: device disconnected
[Thu May 25 20:01:07 2023] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[Thu May 25 20:01:07 2023] option 1-1.2.1.1:1.1: device disconnected
[Thu May 25 20:01:07 2023] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[Thu May 25 20:01:07 2023] option 1-1.2.1.1:1.2: device disconnected
[Thu May 25 20:01:07 2023] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[Thu May 25 20:01:07 2023] option 1-1.2.1.1:1.3: device disconnected
[Thu May 25 20:01:07 2023] cdc_ether 1-1.2.1.1:1.4 usb0: unregister ‘cdc_ether’ usb-0000:01:00.0-1.2.1.1, CDC Ethernet Device
[Thu May 25 20:01:22 2023] usb 1-1.2.1.1: new high-speed USB device number 14 using xhci_hcd
[Thu May 25 20:01:22 2023] usb 1-1.2.1.1: New USB device found, idVendor=2c7c, idProduct=0125, bcdDevice= 3.18
[Thu May 25 20:01:22 2023] usb 1-1.2.1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Thu May 25 20:01:22 2023] usb 1-1.2.1.1: Product: EG25-G
[Thu May 25 20:01:22 2023] usb 1-1.2.1.1: Manufacturer: Quectel
[Thu May 25 20:01:22 2023] option 1-1.2.1.1:1.0: GSM modem (1-port) converter detected
[Thu May 25 20:01:22 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB0
[Thu May 25 20:01:22 2023] option 1-1.2.1.1:1.1: GSM modem (1-port) converter detected
[Thu May 25 20:01:22 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB1
[Thu May 25 20:01:22 2023] option 1-1.2.1.1:1.2: GSM modem (1-port) converter detected
[Thu May 25 20:01:22 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB2
[Thu May 25 20:01:22 2023] option 1-1.2.1.1:1.3: GSM modem (1-port) converter detected
[Thu May 25 20:01:22 2023] usb 1-1.2.1.1: GSM modem (1-port) converter now attached to ttyUSB3
[Thu May 25 20:01:22 2023] cdc_ether 1-1.2.1.1:1.4 usb0: register ‘cdc_ether’ at usb-0000:01:00.0-1.2.1.1, CDC Ethernet Device, 0e:62:79:35:34:17

just found this @ wireless - Huawei E3531: view signal strength? - Ask Ubuntu

I can actually answer my own question now: it is possible to switch the stick into a “modem mode” where it presents 3 serial devices. Connecting via those modem devices doesn’t currently work, however. In any case, here’s the magic incantation - put the following into a file “/etc/usb_modeswitch.d/12d1:1f01”:

# Huawei E3531s-2 - switch to modem mode instead of HiLink CDC-Ether mode
TargetVendor=0x12d1
TargetProduct=0x1f01

# switch to 12d1:1001 (modem mode, 3 virtual serial ports)
MessageContent="55534243123456780000000000000011062000000100000000000000000000"

# switch to 12d1:14dc (default HiLink CDC-Ether mode)
# MessageContent="55534243123456780000000000000a11062000000000000100000000000000"

# switch to 12d1:1442 (debug mode with 2 virtual serial ports)
# MessageContent="55534243000000000000000000000011060000000000000000000000000000"

Found at and adapted from: Unswitch E303 - USB_ModeSwitch

Hi,

@larry
The issue you encountered was related to the compatibility problem with the atcom tool. I have upgraded the tool to the latest version, which is now compatible with the current version of Raspberry Pi OS, resolving the communication problem with the module. The disconnection of the USB connection is due to the Sixfab CORE services restarting your module for cellular connection purposes. This is not an issue, an expected behavior.

@s-shige
Do you have Sixfab CORE installed on your device as well?

Hello.
Thank you for the update.

Can I check the Sixfab CORE is installed or not ?
The device was transferred so, I don’t know.

If the output of systemctl is-active core_manager.service command is active, it is installed. Details on installing Sixfab CORE are here:

I just check it and it is “inactive”.

Any solution to fix this issue ?

We can also and often see that the module connects and disconnects again from the host and it is mostly caused by the hardware issue.

For example,

  1. The connection is unstable
  2. The power supply could provide enough power.
  3. The USB cable is too long and too easy disturbed. As we know, USB is a kind of high speed bus.
  4. The USB bus cannot meet the USB 2.0 standard specification.

Hi
thank you for the advice, I will check them.

Any other way to initialize module through USB ?
Actually, the module and host is expansion on connector.