RaspTech
Posts: 5
Joined: Sun Mar 31, 2019 4:05 pm

Hiring linux driver to rpi porting expert (sim7100 with rpi)

Tue Apr 09, 2019 6:45 pm

Hello, Im using rpi 3b+ with latest raspbian. Ive got development board sim7100a(gps/3g/4g) from:
https://amzn.to/2YVBBiV
They state its working with rpi, however they didnt even included instructions for linux or linux driver. Ive managed to get it working thru usb on windows 10 with their win10 driver, and I was able to use sim7100a as modem... So I managed to find linux drivers from manufacturor, however its throwing some errors while compiling on latest raspbian and Ive kinda gave up...

Code: Select all

[email protected]:~/Downloads/gobinet $ make
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions Module.* modules.order
make -C /lib/modules/4.14.98-v7+/build M=/home/pi/Downloads/gobinet modules
make[1]: Entering directory '/usr/src/linux-headers-4.14.98-v7+'
  CC [M]  /home/pi/Downloads/gobinet/GobiUSBNet.o
/home/pi/Downloads/gobinet/GobiUSBNet.c: In function ‘GobiUSBNetStartXmit’:
/home/pi/Downloads/gobinet/GobiUSBNet.c:866:8: error: ‘struct net_device’ has no member named ‘trans_start’; did you mean ‘mem_start’?
    pNet->trans_start = jiffies;
        ^~
/home/pi/Downloads/gobinet/GobiUSBNet.c: In function ‘GobiUSBNetModInit’:
/home/pi/Downloads/gobinet/GobiUSBNet.c:1260:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    struct mutex m;
    ^~~~~~
In file included from ./include/linux/module.h:18:0,
                 from /home/pi/Downloads/gobinet/GobiUSBNet.c:59:
/home/pi/Downloads/gobinet/GobiUSBNet.c: In function ‘__check_debug’:
./include/linux/moduleparam.h:149:27: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
  param_check_##type(name, &(value));       \
                           ^
./include/linux/moduleparam.h:347:68: note: in definition of macro ‘__param_check’
  static inline type __always_unused *__check_##name(void) { return(p); }
                                                                    ^
./include/linux/moduleparam.h:149:2: note: in expansion of macro ‘param_check_bool’
  param_check_##type(name, &(value));       \
  ^~~~~~~~~~~~
./include/linux/moduleparam.h:129:2: note: in expansion of macro ‘module_param_named’
  module_param_named(name, name, type, perm)
  ^~~~~~~~~~~~~~~~~~
/home/pi/Downloads/gobinet/GobiUSBNet.c:1303:1: note: in expansion of macro ‘module_param’
 module_param( debug, bool, S_IRUGO | S_IWUSR );
 ^~~~~~~~~~~~
/home/pi/Downloads/gobinet/GobiUSBNet.c: In function ‘__check_interruptible’:
./include/linux/moduleparam.h:149:27: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
  param_check_##type(name, &(value));       \
                           ^
./include/linux/moduleparam.h:347:68: note: in definition of macro ‘__param_check’
  static inline type __always_unused *__check_##name(void) { return(p); }
                                                                    ^
./include/linux/moduleparam.h:149:2: note: in expansion of macro ‘param_check_bool’
  param_check_##type(name, &(value));       \
  ^~~~~~~~~~~~
./include/linux/moduleparam.h:129:2: note: in expansion of macro ‘module_param_named’
  module_param_named(name, name, type, perm)
  ^~~~~~~~~~~~~~~~~~
/home/pi/Downloads/gobinet/GobiUSBNet.c:1306:1: note: in expansion of macro ‘module_param’
 module_param( interruptible, bool, S_IRUGO | S_IWUSR );
 ^~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:326: recipe for target '/home/pi/Downloads/gobinet/GobiUSBNet.o' failed
make[2]: *** [/home/pi/Downloads/gobinet/GobiUSBNet.o] Error 1
Makefile:1535: recipe for target '_module_/home/pi/Downloads/gobinet' failed
make[1]: *** [_module_/home/pi/Downloads/gobinet] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.14.98-v7+'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2
I need someone help me to get this driver going. I can pay.
Drivers link: https://ufile.io/0cfit

Andyroo
Posts: 3375
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Hiring linux driver to rpi porting expert (sim7100 with rpi)

Tue Apr 09, 2019 10:16 pm

Have you seen https://www.pianywhere.com/product/pian ... ry-pi-hat/

They have it working in a HAT - you may find a work around in their application notes / drivers.
Need Pi spray - these things are breeding in my house...

RaspTech
Posts: 5
Joined: Sun Mar 31, 2019 4:05 pm

Re: Hiring linux driver to rpi porting expert (sim7100 with rpi)

Tue Apr 09, 2019 10:52 pm

Andyroo wrote:
Tue Apr 09, 2019 10:16 pm
Have you seen https://www.pianywhere.com/product/pian ... ry-pi-hat/

They have it working in a HAT - you may find a work around in their application notes / drivers.
They dont provide any documentations on their website about setup, only troubleshooting, which I dont find useful.. I could buy their hat for 260euro which I dont need, but Im hoping, that there should be someone who can help me out here.

Andyroo
Posts: 3375
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Hiring linux driver to rpi porting expert (sim7100 with rpi)

Tue Apr 09, 2019 11:00 pm

:?: They have a driver build and a USB mod for Linux at https://www.pianywhere.com/wp-content/u ... driver.pdf

Is that different from yours?
Need Pi spray - these things are breeding in my house...

edison4mobile
Posts: 1
Joined: Wed Apr 10, 2019 3:02 pm

Re: Hiring linux driver to rpi porting expert (sim7100 with rpi)

Wed Apr 10, 2019 3:03 pm

Hi, I can do it.
I have experienced in ubuntu driver for sim7100

incognitum
Posts: 280
Joined: Tue Oct 30, 2018 3:34 pm

Re: Hiring linux driver to rpi porting expert (sim7100 with rpi)

Wed Apr 10, 2019 5:51 pm

RaspTech wrote:
Tue Apr 09, 2019 6:45 pm
They state its working with rpi, however they didnt even included instructions for linux or linux driver.
Are you sure you need an extra driver to start with, and the board is not supported by the standard Linux qmi_wwan module?
If you attach the board by USB while the Pi is on, what do the last lines of "dmesg" say?

BliteKnight
Posts: 1
Joined: Fri May 03, 2019 2:14 pm

Re: Hiring linux driver to rpi porting expert (sim7100 with rpi)

Fri May 03, 2019 2:17 pm

I was able to follow these steps to get the drivers to install on my PI

https://github.com/botletics/SIM7000-LT ... -456162076

Return to “Wanted”