EG915U-EU not works on raspberry pi

Hello.
I’m testing a Quectel EG915U-EU EG915UEUABR03A01M08 but not works on my raspberry pi with quectel-CM tool. This setup works fine with EG25-G.

This is the trace when plug in de model in raspberry:

[51423.448662] usb 1-1: new high-speed USB device number 11 using dwc_otg
[51423.448883] Indeed it is in host mode hprt0 = 00001101
[51423.689141] usb 1-1: New USB device found, idVendor=1782, idProduct=4d12, bcdDevice= 3.18
[51423.689147] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[51423.689152] usb 1-1: Product: Android
[51423.689156] usb 1-1: Manufacturer: Android
[51424.038698] usb 1-1: USB disconnect, device number 11
[51424.988661] Indeed it is in host mode hprt0 = 00021501
[51425.198640] usb 1-1: new high-speed USB device number 12 using dwc_otg
[51425.198934] Indeed it is in host mode hprt0 = 00001101
[51425.438912] usb 1-1: config 1 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 32, changing to 9
[51425.439144] usb 1-1: New USB device found, idVendor=2c7c, idProduct=0901, bcdDevice= 3.18
[51425.439149] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[51425.439153] usb 1-1: Product: Android
[51425.439157] usb 1-1: Manufacturer: Android
[51425.441087] cdc_ether 1-1:1.0 usb0: register 'cdc_ether' at usb-3f980000.usb-1, CDC Ethernet Device, 02:4b:b3:b9:eb:e5

Running quetel-CM tool i getting this:

[05-30_10:24:03:489] QConnectManager_Linux_V1.6.5
[05-30_10:24:03:490] Find /sys/bus/usb/devices/1-1 idVendor=0x2c7c idProduct=0x901, bus=0x001, dev=0x00c
[05-30_10:24:03:490] network interface '' or qmidev '' is not exist
[05-30_10:24:03:490] atdevice_detect failed
[05-30_10:24:03:490] qmidevice_detect failed

I’m testing also in my debian x86 PC and works with quectel-CM tool.
When plug in i get:

[ 7461.296506] usb 1-2: new high-speed USB device number 14 using xhci_hcd
[ 7461.455880] usb 1-2: New USB device found, idVendor=1782, idProduct=4d12, bcdDevice= 3.18
[ 7461.455887] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7461.455890] usb 1-2: Product: Android
[ 7461.455893] usb 1-2: Manufacturer: Android
[ 7462.013794] usb 1-2: USB disconnect, device number 14
[ 7463.096519] usb 1-2: new high-speed USB device number 15 using xhci_hcd
[ 7463.253946] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 32, changing to 9
[ 7463.255950] usb 1-2: New USB device found, idVendor=2c7c, idProduct=0901, bcdDevice= 3.18
[ 7463.255960] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 7463.255966] usb 1-2: Product: Android
[ 7463.255971] usb 1-2: Manufacturer: Android
[ 7463.360300] cdc_ether 1-2:1.0 usb0: register 'cdc_ether' at usb-0000:05:00.3-2, CDC Ethernet Device, 02:4b:b3:b9:eb:e5
[ 7463.365098] option 1-2:1.2: GSM modem (1-port) converter detected
[ 7463.365637] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 7463.367608] option 1-2:1.3: GSM modem (1-port) converter detected
[ 7463.367888] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[ 7463.371608] option 1-2:1.4: GSM modem (1-port) converter detected
[ 7463.371915] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB3
[ 7463.373003] option 1-2:1.5: GSM modem (1-port) converter detected
[ 7463.373242] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB4
[ 7463.374364] option 1-2:1.6: GSM modem (1-port) converter detected
[ 7463.374677] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB5
[ 7463.376043] option 1-2:1.7: GSM modem (1-port) converter detected
[ 7463.376397] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB6
[ 7463.377782] option 1-2:1.8: GSM modem (1-port) converter detected
[ 7463.378131] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB7
[ 7463.453338] cdc_ether 1-2:1.0 enx024bb3b9ebe5: renamed from usb0
[ 7508.026434] IPv6: ADDRCONF(NETDEV_CHANGE): enx024bb3b9ebe5: link becomes ready

And running quectel-CM:

[05-30_10:15:27:269] QConnectManager_Linux_V1.6.5
[05-30_10:15:27:273] Find /sys/bus/usb/devices/1-2 idVendor=0x2c7c idProduct=0x901, bus=0x001, dev=0x00f
[05-30_10:15:27:273] Auto find qmichannel = /dev/ttyUSB1
[05-30_10:15:27:273] Auto find usbnet_adapter = enx024bb3b9ebe5
[05-30_10:15:27:273] netcard driver = cdc_ether, driver version = 6.1.0-21-amd64
[05-30_10:15:27:273] Modem works in ECM_RNDIS_NCM mode
[05-30_10:15:27:327] /proc/35280/fd/5 -> /dev/ttyUSB1
[05-30_10:15:27:327] /proc/35280/exe -> /usr/bin/screen
[05-30_10:15:29:332] atc_fd = 7
[05-30_10:15:29:332] AT> ATE0Q0V1
[05-30_10:15:29:344] AT< OK
[05-30_10:15:30:344] AT> AT+QCFG="usbnet"
[05-30_10:15:30:355] AT< +QCFG: "usbnet",1
[05-30_10:15:30:355] AT< OK
[05-30_10:15:30:355] AT> AT+QNETDEVCTL=?
[05-30_10:15:30:366] AT< +QNETDEVCTL: (0,1,3),(1-7),(0,1)
[05-30_10:15:30:366] AT< OK
[05-30_10:15:30:366] AT> AT+CGREG=2
[05-30_10:15:30:377] AT< OK
[05-30_10:15:30:377] AT> AT+CEREG=2
[05-30_10:15:30:388] AT< OK
[05-30_10:15:30:388] AT> AT+C5GREG=2
[05-30_10:15:30:399] AT< +CME ERROR: 58
[05-30_10:15:30:399] AT> AT+QNETDEVSTATUS=?
[05-30_10:15:30:410] AT< +CME ERROR: 58
[05-30_10:15:30:410] AT> AT+QCFG="NAT"
[05-30_10:15:30:420] AT< +CME ERROR: 3
[05-30_10:15:30:420] AT> AT+CGMR
[05-30_10:15:30:431] AT< EG915UEUABR03A01M08
[05-30_10:15:30:432] AT< OK
[05-30_10:15:30:432] AT> AT+CPIN?
[05-30_10:15:30:442] AT< +CPIN: READY
[05-30_10:15:30:443] AT< OK
[05-30_10:15:30:443] AT> AT+QCCID
[05-30_10:15:30:454] AT< +QCCID: 8934222301235526247F
[05-30_10:15:30:454] AT< OK
[05-30_10:15:30:454] requestGetICCID 8934222301235526247F
[05-30_10:15:30:454] AT> AT+CIMI
[05-30_10:15:30:470] AT< 214223002672651
[05-30_10:15:30:471] AT< OK
[05-30_10:15:30:471] requestGetIMSI 214223002672651
[05-30_10:15:30:471] AT> AT+QICSGP=1
[05-30_10:15:30:482] AT< +QICSGP: 1,"","","",0
[05-30_10:15:30:482] AT< OK
[05-30_10:15:30:483] requestGetProfile[1] ///0/IPV4
[05-30_10:15:30:483] AT> AT+COPS=3,0;+COPS?;+COPS=3,1;+COPS?;+COPS=3,2;+COPS?
[05-30_10:15:30:501] AT< +COPS: 0,0,"Movistar",7
[05-30_10:15:30:508] AT< +COPS: 0,1,"Movistar",7
[05-30_10:15:30:516] AT< +COPS: 0,2,"21407",7
[05-30_10:15:30:516] AT< OK

[51423.448662] usb 1-1: new high-speed USB device number 11 using dwc_otg
[51423.448883] Indeed it is in host mode hprt0 = 00001101
[51423.689141] usb 1-1: New USB device found, idVendor=1782, idProduct=4d12, bcdDevice= 3.18
[51423.689147] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[51423.689152] usb 1-1: Product: Android
[51423.689156] usb 1-1: Manufacturer: Android
[51424.038698] usb 1-1: USB disconnect, device number 11
[51424.988661] Indeed it is in host mode hprt0 = 00021501
[51425.198640] usb 1-1: new high-speed USB device number 12 using dwc_otg
[51425.198934] Indeed it is in host mode hprt0 = 00001101
[51425.438912] usb 1-1: config 1 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 32, changing to 9
[51425.439144] usb 1-1: New USB device found, idVendor=2c7c, idProduct=0901, bcdDevice= 3.18
[51425.439149] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[51425.439153] usb 1-1: Product: Android
[51425.439157] usb 1-1: Manufacturer: Android
[51425.441087] cdc_ether 1-1:1.0 usb0: register 'cdc_ether' at usb-3f980000.usb-1, CDC Ethernet Device, 02:4b:b3:b9:eb:e5

Seems the modem is working with RNDIS mode

[05-30_10:15:27:273] Modem works in ECM_RNDIS_NCM mode

but send AT command for change to ECM mode

AT+QCFG="usbnet",1

nothing change and the functionality is the same.

Do I need new drivers for raspberry?
What do you need to program an application with python inside the modem?

Thanks

Because on Raspberry Pi, there is no ttyUSB port.
Before you run the quectel-CM you can run the cmd first

sudo modprobe  option
echo 2C7C  0901 FF | sudo tee /sys/bus/usb-serial/drivers/option1/new_id

Thanks, doing this wotks with quectel-CM.

On raspberry pi with EG25-G I don’t need to add it for work with quectel-CM. When I plugged it, I showing ttyUSBX connected on kernel message (sudo dmesg).

Anyway, if I’ve adding the “option” module in /etc/modules-load.d/modules.conf
and add in crontab

@reboot echo 2C7C  0901 FF | sudo tee /sys/bus/usb-serial/drivers/option1/new_id

the EG915U works fine on every reboot.
Do you know if there is a more elegant way instead of adding it to cron?

The quectel-CM support the EG915U.

You can add the command in initial script or recompile the Linux kernel. Or you can just recompile the option.ko.