Raspbian / Ubuntu Mate

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Damonc

Thread Starter
Joined
May 9, 2001
Messages
659
First Name
Damon
Hi,

I'm trying to setup a SIM7600X card (hat) on a raspberry Pi 3 Model B. The card is detected by Raspbian & Ubuntu Mate. I'm not fussed which distro I use, as long as I can get the card to work properly.

The card has a 4G LTE modem and a GPS chip, and connects to the Pi via the GPIO pins AND usb. Using minicom I'm able to intialise the card and query its signal strength. The GPS functionality works fine.

Under Raspbian in terminal I can see a wwan0 device, that has a self-assigned IP. Unless I install the network manager I have no way of interacting with that interface through the GUI. However it doesn't allow me to connect or configure it.

Under Ubuntu Mate, I don't see the wwan0 device, however it does show the 'cellular' device in network manager, complete with the carrier and signal strength and I can set it up with the APN etc. However once I go to connect, i get an error saying that error saying the connection was removed before it could be activated.

There is a driver file I've managed to download, however all the instructions are in Chinese. I've never installed a driver under linux, so I'm not even sure where to start (its a single file ending in '.o')

I'm guessing that ubuntu mate would be the better way to go as it can at least see the card, just wondering if someone is able to offer some advice or suggestions on getting it to work.
 
Joined
May 28, 2018
Messages
154
I haven't used any PI hat for any of my Raspberry PIs. Raspbian is designed for Raspberry PI, so I suggest using that. I think you will need to run raspi-setup or Raspberry setup CLI to activate GPIO, I2C, and SPI connections. If this is your first time using a PI hat, try the Sense hat. It should be the first to use to try and test. This is the route I would take before using any other PI hats.

The module or driver in Linux is compiled for a particular kernel version. This means you will have to know what kernel version the module is compiled for. The file extension for a module is ko, not o. It's best to download the source code and compile the module with the kernel version that you are running. This is easy said than done. Doing this requires you to install the gcc compiler, kernel headers, and other programs to start the compile process. If everything is installed, compiling the module "should" be straightforward. The worst case scenario the source code is written to be best compiled within a certain kernel version range.

Please post the exact model and website address, so I or others can help you better.
 

Damonc

Thread Starter
Joined
May 9, 2001
Messages
659
First Name
Damon
Thanks for the response. I've got the GPIO activated, I've had a touch screen and MoPi running off it previously so all good there. When activating the 4G hat its also uses the GPIO.

I had read that the module extension was .ko so I'm not sure what the .o is. But thanks for that clarification. I'll post the link to the device, manual & drivers below.

The manufactures Wiki (Driver, Manuals etc) https://www.waveshare.com/wiki/SIM7600CE_4G_HAT

The product itself: https://www.waveshare.com/product/mini-pc/raspberry-pi/hats/sim7600ce-4g-hat.htm
 
Joined
May 28, 2018
Messages
154
There is nothing that mentions about wwan0 device. Also, any information and manuals that I found are in English. Did you run lsusb at a terminal screen? If so please print the output. This is the first step in the manual. The next step is incorrect because the file gobiserial is a zip file. Since WaveShare gave you files that are not usually used in Linux, you will need to install unzip and 7z to decompress the files. Use either apt-get or synaptic package manager to install them. Also, don't forget to install gcc and any header libraries. You can use the echo command as an alternative to minicom. You can probably use tail -f /dev/ttyUSB0 to get messages about the device, but I don't know if this will work. If you want to end a program, hit CTRL+C. Type the command reset to unstuck the terminal when it is displaying garbage data.
 

Damonc

Thread Starter
Joined
May 9, 2001
Messages
659
First Name
Damon
I've just checked out the manual, its different to the one I had previously - also the one I had wasn't published in October - so hopefully that will explain it.

Tecknurd - Yep I did the lsusb and can see the various devices the card creates, as for the wwan0 interface I'm aware its not mentioned anywhere which makes it more bizzare - but its only there when the card is connected.
 

Damonc

Thread Starter
Joined
May 9, 2001
Messages
659
First Name
Damon
I'll go through those latest instructions and report back on how I go.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top