I am trying to get a SIM7600E-H-4G-HAT running on my Raspberry Pi 3B+, but it is not working. Here is what I’ve done so far:
- Inserted my SIM-Card, connected the antenna to Main, connected the entire hat via GPIO pins to my Pi without any USB cable connected to that hat. I left the two yellow jumpers factory-default like, centered just as pictured in the manual.
- I booted the raspberry, set via
raspi-configthe serial options as described in the manual (no, then yes). chmod 777forsim7600_4G_hat_initand addedsh /home/.../sim7600_4G_hat_initto rc.local- Rebooted, installed minicom, started
sudo minicom -D /dev/ttyS0and nothing happens and it does not even react on any keystroke. I even compiled the bcm2835 directory and the phoncecall-demo. When I try tosudo ./Phonecallit says
Failed to get byte count on serial.
Both LEDs shine red permanently. What am I doing wrong?
How to use the SIM7100 module in Linux V1.0 – Shanghai SimCom 2014dec30
Ubuntu example to compile and install driver GobiSerial.tar.gz
(1) /dev/ttyUSB0-diag port for output developing messages
(2) /dev/ttyUSB1- NMEA port for GPS NMEA data output
(3) /dev/ttyUSB2-AT port for AT commands
(4) /dev/ttyUSB3-Modem port for ppp-dial
(5) /dev/ttyUSB4-audio port
(6) /dev/ttyUSB5-Virtual Net card
Ubuntu example to compile and install driver GobiSerial.tar.gz
lsusb
(1) SIM7100 module will be recognized by Ubuntu via USB interface(vid=1e0e,pid=9001).
(2) Type the command “sudo rmmod usbserial”, some error messages may be prompted, just ignore them.
(5) Copy GobiSerial.tar.gz to home directory and type the command “tar zxvf GobiSerial.tar.gz”
(6) Compile the driver GobiSerial. Type the command “cd GobiSerial && make”,if no error occurs, a file named “GobiSerial.ko” will be generated.
(7) Type the command “sudo modprobe usbserial && sudo insmod GobiSerial.ko” to install the driver.
(8) List the ttyUSBx devices by “ls -l /dev/ttyUSB*”
If /dev/ttyUSB0~5 are available, then device driver is installed successfully!
Notes: there are 6 ports for SIM7100 modules in Linux host.
(2) The USB class ttyUSB2 is the AT-port in SIM7100, so customer should configure the minicom with /dev/ttyUSB2 port.
Categories: Uncategorized

rc.localif using an operating system withsystemdlike Raspbian or Ubuntu or arch. Please take note that using/etc/rc.localhas limitations due to Compatibility with SysV. We have seen many problems here on this site using it. Following the recommendation of the developers from systemd you should avoid using it. – Ingo Sep 20 ’19 at 22:28