mechtech

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #18094
    mechtech
    Participant

    Yeah had to install python2.7 has well. As I found issues I commented about them in this thread https://ozzmaker.com/forums/topic/post-here-for-support-on-the-ozzmaker-sara-r5-lte-m-gps-10dof/ You will see there is another file that is not found while trying to run the make command, /root/linux/drivers/tty/serial/sc16is7xx.ko. From what I have recently read about the make command, I believe that is the command that makes the n_gps.ko file, and with the sc16is7xx.ko missing, I am blocked.

    #18091
    mechtech
    Participant

    Alex, I am new to the board and I am having issues getting the multiplexing working and I saw you mentioned you did get it working. My issue is there is no n_gsm.ko file but there is a n_gsm.o file.

    I am is a raspberry pi OS 64bit fresh as of a few days ago on rpi 3b+, any ideas?

    #18087
    mechtech
    Participant

    Doing 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!

    #18085
    mechtech
    Participant

    After 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.

    #18083
    mechtech
    Participant

    Hopefull 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 1 year, 4 months ago by mechtech.
    #18082
    mechtech
    Participant

    Ok 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.

    #18081
    mechtech
    Participant

    Just 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.

Viewing 7 posts - 1 through 7 (of 7 total)

Blip, blop, bloop…