Modem’s document tells that we need to modify the linux driver files - option.c, qcserial.c, usb_wwan.c. Modification mainly has addition of new VID and PID details of the modem for usb-serial to detect. Quectel provides c files and Makefile of these drivers with necessary modifications for my kernal version of linux 4.9.11 (Debian buster running). My linux board has little memory and didnot have linux-headers nor source on the board memory system (i.e no build folder exists in /lib/modules/4.9.11-g09a125b5724d/
I learnt how to cross-compile these files by downloading my kernal source files on to another ubuntu PC. While generating new option.ko, qcserial.ko, usb_wwan.ko, I used KDIR = compiled/kernal/path.
Now I replace these new kernal modules onto my linux board and reboot. Quectel driver userguide tells that I should be able to see ‘option’ as a usb driver. But it is not shown. qmi_wwan and cdc-wdm modems are detected which is good news. But option is not shown.
PCI modem is shown under lsusb also. But it is not detected as a ttyUSB0,ttyUSB1 etc. I believe ‘option’ driver missing in above list is the problem. Can anyone help me understand why its not listed?
I’m trying to install quectel driver in my linux, but now the issue is how to install driver manually and use it in linux… as well as it can shown on the linux networking interface.
At last, I’m using quectel RM500Q-GL…have some solution for me and many thanks!!