OldBikerPete Posted May 30, 2019 Posted May 30, 2019 Hello forumees. I am running as root on an OrangePI Zero+ which uses a H2 processor running a CL version of arrmbian 3.4.113 which works fine. I have recently obtained a SimCom SIM7600CE GSM/GPS module which has only a USB interface. I tracked down drivers for it but the Linux version must be compiled to a module which I have managed (with a number of warnings) after a couple of hiccups. Now trying to install the compiled module is resulting in error messages. I think the problem is compatability with armbian which is beyond my expertise, so I am asking for help. Below is the CL dialog of my attempts to install the module. ```````````````` root@gpsControl:/usr/src/SIM7600LinuxDriver/GobiSerial# insmod GobiSerial.ko insmod: ERROR: could not insert module GobiSerial.ko: Unknown symbol in module ############ root@gpsControl:/usr/src/SIM7600LinuxDriver/GobiSerial# cd /lib/modules/3.4.113-sun8i root@gpsControl:/lib/modules/3.4.113-sun8i# ls build modules.alias modules.builtin.bin modules.devname modules.symbols GobiSerial.ko modules.alias.bin modules.dep modules.order modules.symbols.bin kernel modules.builtin modules.dep.bin modules.softdep ########### root@gpsControl:/lib/modules/3.4.113-sun8i# modinfo GobiSerial.ko filename: /lib/modules/3.4.113-sun8i/GobiSerial.ko license: Dual BSD/GPL description: GobiSerial author: Qualcomm Innovation Center version: 2011-07-29-1026 srcversion: 09B011938149D9A32402EAF alias: usb:v1E0Ep9001d*dc*dsc*dp*ic*isc*ip* alias: usb:v05C6p9000d*dc*dsc*dp*ic*isc*ip* alias: usb:v05C6p9046d*dc*dsc*dp*ic*isc*ip* alias: usb:v05C6p1E0Ed*dc*dsc*dp*ic*isc*ip* alias: usb:v05C6p920Dd*dc*dsc*dp*ic*isc*ip* alias: usb:v05C6p920Cd*dc*dsc*dp*ic*isc*ip* depends: usbserial vermagic: 3.4.113-sun8i SMP preempt mod_unload modversions ARMv7 p2v8 parm: debug:Debug enabled or not (bool) ################# root@gpsControl:/lib/modules/3.4.113-sun8i# depmod GobiSerial.ko depmod: ERROR: Bad version passed GobiSerial.ko root@gpsControl:/lib/modules/3.4.113-sun8i# ```````````````````````````````` I have attached the source of the module, the Makefile and a full log of the 'make all' Makefile GobiSerial.c make.log
sfx2000 Posted May 30, 2019 Posted May 30, 2019 (edited) If it's really a Gobi, then consider libqmi/libmbim and modemmanger - they're in the upstream repos... and there's a PPA as well... https://launchpad.net/~aleksander-m/+archive/ubuntu/modemmanager-bionic Might work out of the box there - modemmanager is pretty cool, abstracts out a lot of the lower level stuff... That should get Gobi working as a modem - for GNSS oriented stuff, better to go with a GPS module like the uBlox Neo-6/7/8 modules, they're great for navigation and timing stuff, and they typically will interface with UART rather than USB Edited May 30, 2019 by sfx2000 updated for GNSS comment
Recommended Posts