M2X extension - LTE Modem Driver missing

Here is the output:

khadas@Khadas:~$ zcat /proc/config.gz | grep SERIAL_OPTION
CONFIG_USB_SERIAL_OPTION=y
khadas@Khadas:~$ uname -a
Linux Khadas 4.9.190 #1 SMP PREEMPT Mon Sep 23 23:00:56 EEST 2019 aarch64 aarch64 aarch64 GNU/Linux

I will try to rebuild with following set on arch/arm64/configs/kvim_defconfig:

# CONFIG_USB_SERIAL_OPTION is not set
CONFIG_USB_SERIAL_OPTION=m

Is arch/arm64/configs/kvim_defconfig correct file to set this option?

I have changed following value:

CONFIG_USB_SERIAL_OPTION=m

See command outputs here:

Option is valid in VIM3:

khadas@Khadas:~$ zcat /proc/config.gz | grep SERIAL_OPTION
CONFIG_USB_SERIAL_OPTION=m

And modem is found among USB devices: here.

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  3
P:  Vendor=03f0 ProdID=9d1d Rev=02.28
S:  Manufacturer=HP
S:  Product=HP lt4120 Snapdragon X5 LTE
S:  SerialNumber=0123456789ABCDEF
C:  #Ifs= 2 Cfg#= 2 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=cdc_ether
I:  If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether

But sudo gammu --identify still cannot find it :slightly_frowning_face:

ok plz show this one

lsmod | grep option

be sure what module is loaded !?
after what we can make changes only for this one module
if modem not recognized try again to change something in module source

may be this modem works in other mode not serial ( qmi_wwan ? )

plz check info GitHub - borovsky/x5-snapdragon-linux: Support for Qualcomm x5 Snapdragon LTE modems in linux

!

2 Likes

Here is full output of lsmod:

khadas@Khadas:~$ lsmod
Module                  Size  Used by
galcore               331776  0
vpu                    49152  0
encoder                53248  0
amvdec_avs2           192512  0
amvdec_vp9            151552  0
amvdec_vc1             53248  0
amvdec_real            40960  0
amvdec_mmpeg4          32768  0
amvdec_mpeg4           53248  0
amvdec_mmpeg12         40960  0
amvdec_mpeg12          90112  0
amvdec_mmjpeg          28672  0
amvdec_mjpeg           36864  0
amvdec_h265           135168  0
amvdec_h264mvc         49152  0
amvdec_mh264          151552  0
amvdec_h264           118784  0
amvdec_avs             61440  0
stream_input          180224  10 amvdec_h265,amvdec_mh264,amvdec_h264mvc,amvdec_real,amvdec_vp9,amvdec_h264,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_mmpeg12
decoder_common        176128  17 amvdec_h265,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_mmjpeg,amvdec_real,stream_input,amvdec_vp9,amvdec_h264,encoder,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_vc1,amvdec_mmpeg12,amvdec_mpeg4
firmware               28672  18 amvdec_h265,amvdec_mjpeg,amvdec_mh264,amvdec_mmpeg4,amvdec_h264mvc,amvdec_mmjpeg,decoder_common,amvdec_real,stream_input,amvdec_vp9,amvdec_h264,encoder,amvdec_avs2,amvdec_mpeg12,amvdec_avs,amvdec_vc1,amvdec_mmpeg12,amvdec_mpeg4
media_clock            45056  12 amvdec_h265,amvdec_mh264,decoder_common,vpu,firmware,stream_input,amvdec_vp9,amvdec_h264,encoder,amvdec_avs2,amvdec_mpeg12,amvdec_avs
mali_kbase            475136  0
zram                   36864  4
dhd                  1404928  0
btrfs                1269760  0
xor                    20480  1 btrfs
raid6_pq              106496  1 btrfs

I’ve read info at https://github.com/borovsky/x5-snapdragon-linux - looks like I’ve bought wrong modem here - perhaps would work out-of-the-box with Huawei ME906s :neutral_face: