We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0
votes
2answers
150 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
51 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'...
0
votes
0answers
99 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
97 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) (...
0
votes
0answers
482 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. ...
0
votes
0answers
51 views

Packages are correctly installed using pip3 in my virtual environment but are not being imported, I get ModuleNotFoundError

I am using a raspberry pi 3 with raspbian buster and python 3.7.3. I can install packages fine in my virtual environment using pip3 install. This can be seen when I use the command pip list, all my ...
3
votes
0answers
37 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
168 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
214 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
842 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
37 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
527 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
1answer
476 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
207 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
66 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: ...
0
votes
0answers
578 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
830 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
138 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
599 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
318 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
647 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 ...
3
votes
4answers
14k 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
3k 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
120 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
297 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
508 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
4k 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
3k 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
370 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
40 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
2k 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
764 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
731 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
8k 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
78 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
436 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
4k 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 ...
2
votes
2answers
1k views

rfid hf module for pi 3

I would like to create system which recognize products in store. What I want to use is RFID HF technology, because of it's perfect work range (1-2m is perfect for me). Unfornatelly every rfid reader ...
1
vote
1answer
2k views

Compiling driver for raspbian jessie 4.4.21-v7+

I'm trying to compile the driver of rtl8812AU (github.com/diederikdehaas/rtl8812AU). I've downloaded and installed the last version of raspbian. The following is written in the change log, among ...
0
votes
1answer
803 views

Why isn't gpio_set_debounce working in my Raspberry Pi Zero kernel module?

I'm stuck on example 1 from this tutorial. I found the Raspberry Pi code for it here. I uncommented the gpio_set_debounce line and compiled the module, but my switch still bounces a ton, resulting in ...
0
votes
1answer
165 views

Is powering the Pi 3B using GPIO allowed?

I am building a GPIO module that actually powers the Raspberry Pi. I am working with Pi 3B boards and want to feed power directly to GPIO pins 2/4 (VCC +5V) and pin 6 (GND,) completely bypassing the ...
3
votes
1answer
974 views

i2c on a rpi-basic-image created with yocto

I'm attempting to get the i2c bus to work from a raspberry pi image created from yocto. I have looked at other peoples solutions but they are all o do with raspbian or some other flavour of os. My /...
1
vote
2answers
5k views

Very Cheap Camera Module or Lens for Raspberry Pi [closed]

I have been looking around for any cheap (less than $7) alternative to the official Rasberry Pi camera module. Is there any extremely cheap camera module/feature/extension available for Rasberry Pi? ...
0
votes
1answer
1k views

raspberry camera module cannot be opened with device ID

i am trying to run this face recognition code from here! i successfully installed OpenCV on the raspberry, and i used the code before on windows. but here i have the problem with the raspberry ...
2
votes
2answers
2k views

Unable to install SimpleCV on Raspberry Pi 3

I've tried multiple times and different ways to install SimpleCV for Python2 on my Raspberry Pi 3. I was able to do this with no problem on RP2. The first method I tried was using pip: sudo pip ...
2
votes
1answer
3k views

How to set pull up/down resistors in a kernel module

Hellow I'm enthusiast newbie in linux kernel modules development. I started writing basic kernel modules that control Pi's gpio. But i came in to sticky situation i need to set pull up/down of pins ...