Home › Forums › Forums › Technical Support for the OzzMaker SARA-R5 LTE-M GPS + 10DOF › Post here for support on the OzzMaker SARA-R5 LTE-M GPS + 10DOF
Tagged: SARA-R5
- This topic has 7 replies, 4 voices, and was last updated 1 month, 1 week ago by gricey.
- AuthorPosts
- March 22, 2023 at 1:51 pm #18068Mark WilliamsKeymaster
Post here for support on the OzzMaker SARA-R5 LTE-M GPS + 10DOF
Mark --OzzMaker.com --
March 25, 2023 at 9:24 am #18081mechtechParticipantJust wanted to share that I started with a clean install of Raspberry Pi )S 64bit and when I went through the steps for “enabling multiplexing on the raspberry pi serial interface” I ran into a snag. In step 3. Download kernel source, it requires python2.7, apparently the OS did not come with Python2.7 installed. Using python –version and python3 –version returned the same version of 3.9.2. The library urllib2 is not available in Python3 from what I read on stackoverflow. So to solve this issue, sudo apt-get install python2.7 got me going again.
March 25, 2023 at 9:31 am #18082mechtechParticipantOk another snag, in step 4. Build the N_GSM kernel module, it is looking for /root/drivers/tty/n_gsm.ko, got a No such file or directory. A quick ls -la, showed the file as n_gsm.o, updated the command to /root/drivers/tty/n_gsm.o, and on to the next step.
March 25, 2023 at 9:39 am #18083mechtechParticipantHopefull this is the last issue, step 6. Load module and run CMUX. When running “sudo modprobe n_gsm” I get “modprobe: FATAL: Module n_gsm not found in directory /lib/modules/6.1.19-v8+”
Went ahead and ran “sudo cmux” and it threw a message, cmux: Cannot set line dicipline. Is ‘n_gsm’ module registred?: Invalid argument”
Now I am stuck.
- This reply was modified 2 months, 1 week ago by mechtech.
March 25, 2023 at 10:13 am #18085mechtechParticipantAfter some reading, realizing I need that n_gsm.ko (kernel object) file and not the n_gsm.o file. I am reading about compiling kernel modules, but that is outside of my comfort zone at the moment.
March 26, 2023 at 12:44 am #18087mechtechParticipantDoing some reading to better understand how the make command works, I reran the make command from Step 4. Build the N_GSM kernel module. Looking at the output more closely, I see an error: modpost for /root/linux/drivers/tty/serial/sc16is7xx.ko undefined!
April 9, 2023 at 8:57 am #18123Alex BabijParticipantDid you end up figuring out the issue? I recently had n_gsm not found in directory issue when I had had it working before, and what fixed it for me was doing ‘cp /root/linux/drivers/tty/n_gsm.ko /lib/modules/
uname -r
/kernel/drivers/tty/’ , then ‘depmod’ from the tutorialApril 19, 2023 at 6:36 pm #18142griceyParticipantHiya folks. I’m using the board with a RPi Zero W, running the latest stable Raspian 32-bit (bullseye based). I followed your guide and have had everything working, but the cmux/serial connection seems super hit and miss. Most of the time I will get cmux bomb out with ‘Cannot read /dev/serial0: Resource temporarily unavailable’. A hard (read: pull out the power and plug it back in) power cycle sometimes fixes it, reboots dont seem to do the trick. Any ideas?
Cheers,
Gricey
- This reply was modified 1 month, 1 week ago by gricey.
- AuthorPosts
- You must be logged in to reply to this topic.