Questions tagged [modules]

Modules extend the functionality of the kernel by loading/unloading into the kernel upon demand and without the need to reboot the system. Device drivers are a prominent example of modules that allow the kernel to access hardware.

Filter by
Sorted by
Tagged with
1
vote
0answers
58 views
+100

Device Tree for DSA with KSZ9897

I have a custom board with a KSZ9897 switch chip and a LAN7801 upstream. The KSZ9897 is connected to the Compute Module via i2c, and I can see it at 0x5f using i2cdetect. Everything appears to be ...
0
votes
1answer
49 views

No module named 'gi'

Recently i have installed Altinstall Python 3.8.0 in /usr/bin. However when i try to from gi.repository import GLib i get: ModuleNotFoundError: No module named 'gi' I have tried many ways (...
0
votes
0answers
17 views

Why No /dev/v4l/by-id?

I want to refer to a USB camera by ID in an fswebcam configuration file. /dev/v4l/by-id should look like this: pi@raspsky:~ $ ls -a /dev/v4l/by-id . usb-HD_Camera_Manufacturer_USB_2.0_Camera-video-...
0
votes
0answers
26 views

Mount SMB Share as File

I am trying to use g_mass_storage to present files from a network as usb with my raspberry pi zero w. Sadly, g_mass_storage takes a file for the file parameter. I also tried creating a file with dd ...
0
votes
1answer
29 views

How I can identify and set a needed display module which was missing on boot time?

Summarizing the problem Can't identify a needed display module which is loaded within the initramfs on boot time. Providing details and any research After fixing the problem on the surface using ...
0
votes
1answer
59 views

WARNING: “__sanitizer_cov_trace_pc undefined” when compiling a kernel module in RPi 4

I recently bought a new RPi 4 and tried to install the module I ran on the old RPi 3B (which ran successfully). Now, when trying to install the same module on the RPi 4 I get 2 warnings when compiling ...
2
votes
1answer
191 views

Rasberry Pi - how do I install TUN driver?

I want to install OpenVPN Server on my Raspberry Pi 2, following the same steps I used in a virtual machine running Ubuntu 19.10 Ubuntu works fine, but Raspberry goes on error during the installation ...
0
votes
1answer
100 views

symbolic link does not work when using it for cv2.so

I followed a tutorial online for installing opencv4 on raspberry pi. Everything works except when trying to create a symbolic link to my cv2.so. It appears to be working but I can only import cv2 ...
1
vote
0answers
42 views

How to connect “FPV Night Vision QVGA 320X240 Monocular” to raspberry 4?

I am working on a project which need this module to be connected with raspberry pi 4 or 3. I tried some to convert into single RCA cable (worked) but I want to convert it into HDMI. I am unable to ...
3
votes
1answer
111 views

Oh no! GPIO again!

I'm working at this source: https://github.com/ozw1z5rd/ninepin/blob/master/iec/iec.c int iec_init(void) { int result; int minor; if ( request_mem_region(GPIO_BASE, 4096, LABEL_DEVICE) == NULL ...
0
votes
2answers
1k views

LIRC Tutorial For Rpi2B+ Buster Too Old Problem

I'm trying to set up lirc on a Pi2 B+ running the latest Raspbian buster and latest kernel / firmware set by rpi-update. I've started from this HOW-TO. All I get from sudo modprobe lirc_rpi is: ...
0
votes
0answers
181 views

Setting up the second PWM channel from kernel module not working on RPI 3 model B+

I'm trying to set up both PWM channels (PMW0 and PMW1) on my Raspberry Pi 3 Model B+ from my kernel module. I've successfully set up channel 0 with the desired frequency and variable duty cycle and I'...
1
vote
1answer
1k views

Waveshare SIM7600E-H no wwan0 interface when connected to Raspberry Pi 4 model B

I have connected the new Raspberry Pi 4 model b with the waveshare SIM7600E-H 4G HAT. The os is Raspbian Buster Lite. The configuration I use is the following: 1) The jumpers are placed in the middle ...
1
vote
1answer
1k views

Controlling 5 LIDARs using Raspberry Pi

I came across this instructable which illustrates how to connect the TFMini LiDAR to the Raspberry Pi. In the list of materials, he said that I will be needing a Resistor (between 100-1k Ohm) (...
1
vote
0answers
2k views

Warning: modules_install: missing 'System.map' file. Skipping depmod

I am trying to insert a kernel module using depmod and modprobe utilities in-order to resolve any dependencies. When I build the module it throws "Warning: modules_install: missing 'System.map' file. ...
3
votes
0answers
62 views

How do I build just some in-tree modules for the Raspbian kernel?

I would like to cross-build some in-tree modules (capi, gigaset) that are included in the kernel source but not in the standard Raspbian kernel. My toolchain is using the tools from https://github....
1
vote
1answer
292 views

Waveshare SIM7600E-H no internet connection

I don't know why i'm not able to connect to the internet with my HAT. Maybe i'm doing the connection check wrong, because i'm always getting Error when i test a ftp connection. I'm getting following ...
7
votes
0answers
441 views

Cannot Use SPI frequency above 500 kHz

I am running Arch Linux ARM on a Raspberry Pi 2 Model B, and I am attempting to communicate with a TFT display. I am writing a kernel module to interface with the display using SPI, and it works, but ...
0
votes
2answers
2k views

PyQt5 not found by Python3.7

I installed Python 3.7 on my raspberry pi with the help of Installing Python 3.7.0 on Raspbian tutorial and wanted to use it to start my script which uses PyQt5 but its throwing a ModuleNotFoundError. ...
1
vote
0answers
55 views

FFC 12 pin cable with a USB interface

I have this barcode scanner module and I need to connect it to my raspberry pi 3 b+. I am a beginner at this and I don't know how to go about it. I have been searching for weeks. The seller in ...
0
votes
0answers
890 views

Can't build DKMS kernel module

I'm on Raspian Stretch and an RPi2. I'm trying to install xtables-addons-dkms. This was the output of apt-get on my first attempt: Setting up xtables-addons-dkms (2.12-0.1) ... Loading new xtables-...
0
votes
2answers
873 views

Error driver marvell 88W8997 File sd8997_uapsta.bin not Found on kernel

We are developing a carrier board for CM3 and we want to have WiFi dual band on CM3. We choose a module with the marvell 88w8997. We connect the module by SDIO for WiFi. I think all is connected OK, ...
0
votes
1answer
402 views

Raspbian compile single kernel module gfs2

I'm trying my best to get GFS2 mounted on top of a dual-primary DRDB /dev/drdb0 volume on Raspbian, but I'm hitting an issue. The DRBD volume has a working stonith/fencing cluster setup using ...
1
vote
0answers
74 views

iptables doesn't recognise REDIRECT as target

Trying to redirect traffic using iptables v1.6 and the following line: iptables -t nat -A PREROUTING -p udp --dport 67 -j REDIRECT --to-port 6767 which results in the following output: iptables: No ...
0
votes
0answers
822 views

modprobe gives: “FATAL: <module> not found in directory” error

I am using Raspberry Pi 3 and running standard raspbian stretch on it. pi@raspberrypi:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" ...
5
votes
1answer
1k views

Docker Daemon fails to run - containerd will not start

Fairly new to Linux. Trying to run Docker on a raspberrypi. sudo service docker status docker.service: Job docker.service/start failed with result 'dependency'. sudo systemctl list-dependencies ...
0
votes
0answers
283 views

Kernel module can't be loaded - “invalid module format”

Headline: I've cross-compiled a kernel module for the Raspberry Pi, but on attempting to load it, I get the following error: insmod: ERROR: could not insert module testmod.ko: Invalid module format ...
0
votes
1answer
944 views

unable to install e-paper display, module epd2in7 not found

I bought a 2.7inch e-Paper HAT, I install everything but when I try to run a code I have Traceback (most recent call last): File "demo2.py", line 1, in <module> import epd2in7 ...
0
votes
1answer
385 views

Kernel modules and Pi board versions

I have a Raspbian image (4.9.59-v7) into which I am loading a kernel module that I have built myself since it is not in the default image (for an ICS43432 MEMS I2S microphone). I have this working ...
1
vote
1answer
1k views

After installing python 3.6 most modules don't work

I'm new with RPi and also Linux, so my question might be stupid but I tried to get Python 3.6 running with different ways (compiling, pyenv, berryconda). In general I think python is running on all ...
0
votes
3answers
810 views

GCC version for compiling a loadable kernel module

I am not very familiar with Linux, so may be my question is a little bit foolish. I would like to compile kernel module without recompiling the kernel (USB Wi-Fi stick driver for MT7106U chip). I ...
4
votes
4answers
21k views

How to make PCM5102 DAC work on Raspberry Pi ZeroW?

I purchased a PCM5102 for my PiZeroW, but having problems finding complete driver software information voltage information wiring information. I chose this particular unit because they seemed very ...
1
vote
2answers
4k views

No module named '_tkinter' in DEBIAN

I have some problems with tkinter. I want to use it with python 2.7.9 or python 3.4 with DEBIAN but it give me this error in both cases: Python 3.4.3 (default, Dec 1 2017, 16:25:43) [GCC 4.9.2] on ...
0
votes
1answer
151 views

It is possible to stack two different Add-Ons in Raspberry Pi 3?

I need to create a project that has GPRS/GSM and GPS, but there are no products with both functionalities. I found some Add-Ons that may work but I'm not sure if there is any way to stack both. I know ...
2
votes
1answer
2k views

GPS + GPRS in Raspberry Pi 3 Model B

I'm a newbie on what regards to electronic projects, but I will like to set up a GPS tracker to transmit coordinates over a GPRS internet connection (3G or so). I found some Add-Ons that may work but ...
1
vote
1answer
479 views

Installing Jasper runs on several errors

I'm trying to install Jasper with this guide. Now i'm hanging with the following problem: i try to use the command sudo apt-get -t experimental install phonetisaurus m2m-aligner mitlm libfst-tools, ...
0
votes
2answers
636 views

Pi for control 20 analog outputs

We need 20 analog outputs with adjustable voltage (0-20 volts), frequency (0-150 Hz), as well as adjustable maximum current, and also the ability to measure current, frequency and voltage. How can ...
0
votes
2answers
5k views

ModuleNotFoundError: No module named 'PySide'

Please help me - I have spent few days reading forums to fix that issue (No success so far). I still get this error import PySide.QtCore ModuleNotFoundError: No module named 'PySide' (using Mac ...
1
vote
1answer
4k views

Loading kernel module *qmi_wwan* before *option* to get /dev/cdc-wdm0 automatically

I try to setup a USB modem (Chip is a SimTech SIM5215) using QMI. Everything works fine and it connects to my mobile provider. One problem remains: most of the time the kernel loads the module option (...
2
votes
2answers
449 views

Populate /dev in Buildroot

I would like the /dev/i2c* devices to be populated in Buildroot for Pi zero after the i2c_dev module is inserted. Currently just modprobing the module does nothing. According the Buildroot doc I guess ...
1
vote
0answers
42 views

Raspbian is loading the wrong modules for wlan0 and wlan1 [duplicate]

I have a few Pis running Raspbian 4.4.50-v7+ with a USB module attached. I would like wlan0 to be the Wi-Fi chip and wlan1 to be the USB module. It seems that sometimes it works, but other times it ...
1
vote
1answer
3k views

Problem compiling a kernel module

I am trying to compile a driver for a USB to serial converter. I've ran the following commands based on a previous thread: sudo apt-get update sudo apt-get upgrade sudo rpi-update I then downloaded ...
1
vote
2answers
925 views

Importing Python 3 Libraries Issue “ImportError: No module named…”

I am trying to use a module I have downloaded in Python 3, but when I call from i2clibraries import i2c_hmc5883l the error ImportError: No module named "i2clibraries" occurs. The folderi2clibraries ...
1
vote
1answer
928 views

Modifying libcomposite module doesn't work

I'm trying to modify the libcomposite module in a way that it prints the functions of which are loaded to the log file. I'm using an Raspberry Pi Zero W with the 4.9.20+ Kernel. I updated everything ...
5
votes
1answer
10k views

How can I setup the video / graphics on the Raspberry Pi 3?

There seem to be redundant accelerated video module options for the Raspberry Pi 3. I read that the Raspberry Pi uses a device tree (a rather clever solution for ARM systems which do not have the ...
3
votes
1answer
88 views

Magnet on gps module - will it harm?

Maybe a stupid question, but really importnt to me. So I'm making some app with a pi, lcd and a GPS module. The gps module is a board with an extention cable of 5m, with a module at the end of it. ...
2
votes
1answer
464 views

ipv6 stopped working, how can I fix it?

I have tried: modprobe ipv6 Which returns modprobe: ERROR: ../libkmod/libkmod.c:557 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.21-v7+/modules.dep.bin' It has worked until ...
4
votes
3answers
5k views

LIRC remote control won't send (irsend: hardware does not support sending)

I'm trying to build a TV remote control using Raspberry Pi, and I get the following error when I try to send a command: pi@raspberrypi:~$ irsend SEND_ONCE Samsung_BN59-00937A KEY_POWER irsend: ...
1
vote
0answers
1k views

How can I use an already installed module when I'm using a virtual environment?

I have created a virtual enviroment on my RPI3 (Raspbian-Jessie), so that I may more easily work with a particular image-searching software (as outlined in this tutorial, step #4). My script requires ...
2
votes
2answers
2k views

No communication between GPRS module RaspberryPi Zero serial GPIO ports

I am trying to use my RaspberryPi Zero to communicate with an A6 GPRS module (http://www.inkocean.in/gprs-a6-module-sms-board-gsm-gprs-wireless-data-transmission-over-sim900a) Drawing of physical ...