New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#641 - Quectel ECXX and Raw IP on 4.4 kernel #6801
Comments
mikaelbrostrom: patch found here |
mikaelbrostrom: upstream kernel module that works: |
dchard: I confirm this problem stil exist with latest LEDE (SNAPSHOT, r4462-f33de80) and kernel 4.4.71 and modem: Quectel The usb devid is: 2c7c:0125 If I install the QMI related stuff (usb-modeswitch kmod-mii kmod-usb-net kmod-usb-wdm kmod-usb-net-qmi-wwan uqmi) the CDC interface is not popping up at all, even with the above mentioned method (echo “2c7c 0125” >/sys/bus/usb/drivers/qmi_wwan/new_id) If I install the option driver related stuff (kmod-usb-serial-option kmod-usb-serial kmod-usb-serial-wwan), the 4 virtual ttyUSB interfaces are up, interface 2 and 3 are responding to AT commands via minicom, yet it is not possible to start a PDN connection.
|
wildy: Hi. We've got a couple of ar71xx devices (GL-inet MIFI) that are shipping with the new Quectel EC25 modems. I have quickly grown tired of using them in PPP mode so I tried to backport qmi_wwan.c from upstream 4.9 into 4.4 (LEDE 17.01.2). See: wildy/LEDE-source@bde7af1 I think that might be caused by some changes in usbnet code that we need to backport too? I will try to make a more clean backport involving only the commits needed for EC25 but for now it would be nice to see if it works at all :) |
pepe2k: Hi @wildy, These changes are needed to make it working: net: qmi_wwan: support "raw IP" mode Then, for EC21/25, in rawIP mode, issue: Cheers, |
ZupoLlask: Hi Piotr, I'm testing latest LEDE trunk snapshot (kernel 4.9) for ZBT WE826 with a MPCIE Quectel EC25 module. When I install all QMI stuff (enumerated by wildy), /dev/cdc-wdm0 shows up automatically and after interface configuration this is the best I get from QMI:
Sat Aug 26 16:09:46 2017 daemon.notice netifd: Interface '4G_wan' is setting up now
Sat Aug 26 16:09:46 2017 daemon.notice netifd: 4G_wan (21451): Waiting for network registration
Sat Aug 26 16:09:47 2017 daemon.notice netifd: 4G_wan (21451): Starting network 4G_wan
Sat Aug 26 16:09:47 2017 daemon.notice netifd: 4G_wan (21451): Unable to connect IPv4
Sat Aug 26 16:09:47 2017 daemon.notice netifd: 4G_wan (21502): Stopping network 4G_wan
Sat Aug 26 16:09:47 2017 daemon.notice netifd: 4G_wan (21502): Command failed: Permission denied
Sat Aug 26 16:09:47 2017 daemon.notice netifd: Interface '4G_wan' is now down
With UMTS/GPRS/EV-DO protocol everything works just fine. I've made a few more tests, after deleting that "4G_wan" interface (mapped to /dev/cdc-wdm0) so it doesn't interfere with the tests:
root@LEDE:~# uqmi -d /dev/cdc-wdm0 --start-network --apn "blah_apn" --auth-type "both" --username "blah_apn" --password "test" --ip-family "ipv4" --autoconnect --profile 1
"No effect"
root@LEDE:~# uqmi -d /dev/cdc-wdm0 --get-data-status
"Incompatible state"
root@LEDE:~# uqmi -d /dev/cdc-wdm0 --get-serving-system
{
"registration": "registered",
"plmn_mcc": 268,
"plmn_mnc": 1,
"plmn_description": "voda P",
"roaming": false
}
root@LEDE:~# uqmi -d /dev/cdc-wdm0 --get-signal-info
{
"type": "wcdma",
"rssi": -76,
"ecio": 14
}
|
camel: any news ? USB0 and USB1 are out of order and not reacting |
mikaelbrostrom:
Hi,
have a ZBT-WE826 with a 3/4g modem inside, shipped by ZBT.
modem is a Quectel EC25-E.
lsusb: Bus 001 Device 004: ID 2c7c:0125
if i tell qmi_wwan to register the device using: echo "2c7c 0125" >/sys/bus/usb/drivers/qmi_wwan/new_id
device is detected and shows up in dmesg: qmi_wwan 1-1.2:1.4 wwan0: register 'qmi_wwan' at usb-101c0000.ehci-1.2, WWAN/QMI device, XXXXXXXXXXXXX, and /dev/cdc-wdm0 is created
when i try to talk to the device using uqmi, i don't get any response!
uqmi -d /dev/cdc-wdm0 --get-imei (command hangs)
it has to do with the DTR, found a patch for the device on this forum:
https://forum.turris.cz/t/lte-modem-typu-ec25-e-minipcie/2816/24
is it possible to patch the trunk, so this device get supported?
also, if i use option usb serial driver i can connect using pppd
same here, i have to tell option1 driver to detect the deivce.
echo "2c7c 0125" >/sys/bus/usb-serial/drivers/option1/new_id
tested on current trunk and 17.01.0
The text was updated successfully, but these errors were encountered: