Hello,
motivated by my problem here:
I wanted to try using the latest driver from Quectel for my modem. I managed to integrate it and futher altered some source files (option.c, usb_wwan.c) as per recommendation. Everything compiled smoothly and OpenWRT runs.
However, even everything looked fine to me, the modem is not connecting as there is no /sys/class/net/wwan0/qmi/raw_ip created.
dev:
/dev/cdc-wdm0
/dev/ttyUSB0
/dev/ttyUSB1
/dev/ttyUSB2
/dev/ttyUSB3
all there.
dmesg:
[ 0.885563] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 0.990588] usb 2-1: New USB device found, idVendor=2c7c, idProduct=0800, bcdDevice= 4.14
[ 1.001888] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.001891] usb 2-1: Product: RM500Q-GL
[ 1.014924] usb 2-1: Manufacturer: Quectel
[ 1.014927] usb 2-1: SerialNumber:
[ 1.214172] usb 2-1: Enable of device-initiated U1 failed.
[ 1.243727] usb 2-1: Enable of device-initiated U2 failed.
[ 7.366479] qmi_wwan 2-1:1.4: cdc-wdm0: USB WDM device
[ 7.372723] qmi_wwan 2-1:1.4: Quectel RM500Q-GL work on RawIP mode
[ 7.379874] qmi_wwan 2-1:1.4: rx_urb_size = 31744
[ 7.385143] qmi_wwan 2-1:1.4 wwan0: register ‘qmi_wwan’ at usb-0000:01:00.0-1, RMNET/USB device, 22:a5:0f:50:ec:b5
[ 7.401716] usb 2-1: Enable of device-initiated U1 failed.
[ 7.407967] usb 2-1: Enable of device-initiated U2 failed.
[ 7.738655] option 2-1:1.0: GSM modem (1-port) converter detected
[ 7.744894] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 7.751795] option 2-1:1.1: GSM modem (1-port) converter detected
[ 7.758040] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 7.764952] option 2-1:1.2: GSM modem (1-port) converter detected
[ 7.771255] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 7.778178] option 2-1:1.3: GSM modem (1-port) converter detected
[ 7.784418] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3
lsusb -t:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
|__ Port 1: Dev 2, If 0, Class=, Driver=option, 5000M
|__ Port 1: Dev 2, If 1, Class=, Driver=option, 5000M
|__ Port 1: Dev 2, If 2, Class=, Driver=option, 5000M
|__ Port 1: Dev 2, If 3, Class=, Driver=option, 5000M
|__ Port 1: Dev 2, If 4, Class=, Driver=qmi_wwan, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=, Driver=hub/4p, 480M
Error message in OpenWRT:
daemon.notice netifd: modem (7884): Device only supports raw-ip mode but is missing this required driver attribute: /sys/class/net/wwan0/qmi/raw_ip
Any ideas where else to look at, or what to try?
Best regards
Mike