4g modem unsupport device error

HI
we are currently working on khadas vim1 with ubuntu operating system
we are interface the quectel 4G modem but we are getting error while connecting 4g modem its showing unsupport device
we have made changes in /driver/usb/serial/options.c and we have enable the USB DRIVER FOR GSM AND CDMA in kernel menuconfig
but we are getting unsupport device error can you please give me some solution

thank you
Regards
vijay

Hello @vijayKhadas

Can you provide the model you used to test?

Thanks.

SBC : VIM1
Modem Model: Quectel EC25 (4G Modem with USB Interface)

can u provide this command line result more plz !

$ lsusb

*Before Connecting Modem
khadas@Khadas:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 1a40:0801 Terminus Technology Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

*After Connecting Modem

khadas@Khadas:~$ [ 1907.162405@2] usb 1-1.3: Unsupported device
[ 1907.162807@2] usb 1-1.3: Unsupported device
[ 1907.165773@2] usb 1-1.3: Unsupported device
[ 1907.169898@2] usb 1-1.3: Unsupported device
[ 1907.173996@2] usb 1-1.3: Unsupported device

khadas@Khadas:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 2c7c:0125
Bus 001 Device 002: ID 1a40:0801 Terminus Technology Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

plz provide this ones

$ uname -a
$ lsmod

Hi
our problem has solved through updating the zImage manually on vim1

we have used below steps to recompile the kernel in the khadas ubuntu source
$ make all
in linux dir we have done
$ make ARCH=arm64 menuconfig
we have made changes in menuconfig after that
$ make kernel
after that we are updating the image to get the kernel changes in image file
$ make image
after we are loading the image to board using below command
$ aml-burn-tool -i VIM1_Ubuntu-xfce-bionic_Linux-4.9_arm64_EMMC_V20190809.img

But its not reflecting the modified kernel changes in the board so usb driver is not updated so we have got error so can you tell me how to get modified zImage in VIM1_Ubuntu-xfce-bionic_Linux-4.9_arm64_EMMC_V20190809.img file so we can update the image file on board easily

thank you,
regards
vijay

Hello @vijayKhadas

After you modify the kernel, you need to build the kernel deb package via command make debs

$ make kernel
$ make debs
$ make

Then the modifications will in your new image.

Oh Thanks for the update. But I could not find this procedure any where in the documentation. Can you Point me to the recompilation procedure if available in docs ?

BTW, The VIM1 Board S905X IC is heating up too much, is it natural or any problem with board. Most of the time i am using only linux. But still the IC is getting heated up faster. Can you let me know the reason and work around ?

Regards,
Stain

@vijayKhadas Do you have a heatsink and a fan ?

Yes We have heat sink,
but how can we keep Fan in my product ?

Fan is work in auto mode.If you want to keep it work.you can edit /boot/env.txt.the frist line is the fan mode . you can edit it ( auto or high or low).This operation requires a reboot to take effect.

Hi,
You mean to say, the board should always be connected with FAN for operation ?
If i am using in industrial product the ambient temperatures will be very high. It will be very difficult in those scenarios.
Is this limitation is coming from Amlogic Chipset or any other issue ?

Regards,
Stalin

No need, if the system load is not heavy.

If the ambient temperature is very high you have to use the FAN.

What’s the ambient temperature and the VIM1 board temperature when you use it?

1 Like