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
1answer
41 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
3answers
610 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 ...
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
2answers
487 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
0answers
176 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
36 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
35 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....
0
votes
1answer
369 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, ...
1
vote
0answers
63 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
1answer
164 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
1answer
278 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, ...
1
vote
1answer
119 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 ...
3
votes
4answers
13k 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 ...
0
votes
2answers
642 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. ...
7
votes
0answers
164 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
1answer
289 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 ...
10
votes
5answers
54k views

Installed pyusb, still: 'ImportError: no module named core'

On my Raspberry Pi I installed libusb and pyusb via sudo apt-get install libusb-dev python-usb. But running some Python code (pyrow, to read data from a rowing machine) gives me this error at import ...
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 ...
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 ...
0
votes
0answers
427 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
0answers
492 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" ...
4
votes
1answer
767 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 ...
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
0answers
107 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 ...
21
votes
3answers
27k views

How compile a loadable kernel module without recompiling kernel

I have read quite a bit about how to compile a kernel module on (and for) the Raspberry Pi, but I'm still not quite able to figure out why it's not working. I have been able to build the module, but ...
12
votes
2answers
19k views

How to make raspbian load the i2c-dev module on boot up

I have installed 2012-07-15-wheezy-raspbian, and the i2c-dev module and i2c_bcm2708 are there and work with i2c-tools. How do I get the i2c-dev module etc. to load at bootup?
3
votes
1answer
924 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 /...
0
votes
1answer
543 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 ...
5
votes
2answers
2k views

Can Compute Modules provide clustering and high availability?

I am very interested in Compute Modules, but have a few concerns: The main press release (linked above) for Compute Modules states that these systems are "primarily designed for those who are going ...
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 ...
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: ...
8
votes
3answers
11k views

Enabling audible terminal bell/beep on wheezy

I am trying to enable an audible terminal bell/beep through the 1/8" mini-rca audio out (headphone jack) on debian wheezy with the rapsberry pi model b. Normal audio works as expected, when playing a ...
2
votes
1answer
427 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 ...
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 (...
1
vote
2answers
742 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
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
117 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
700 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 ...
2
votes
2answers
356 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 ...
3
votes
4answers
20k views

ImportError: No module named GPIO

I have install RPi.GPIO 5.3a from here: https://pypi.python.org/pypi/RPi.GPIO I ran the next code: sudo python setup.py install there are no fails on the installing. I will run the next script: ...
7
votes
2answers
18k views

Designing Raspberry Pi Compute Module with Ethernet capability

I recently got the new Raspberry Pi Compute Module due to the small size and ability to create custom board attaching with it. The application requirement I need is just USB, some I/Os and LAN. I ...
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
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
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 ...
5
votes
1answer
7k 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
77 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. ...
3
votes
2answers
13k views

Verified 4G USB dongles

Is it possible that there are no verified 4G USB dongles for RPI, or the following link is out of date? If so, why is it? If not, where are they listed?
-10
votes
2answers
172 views

Modular Raspberry Pi Model

Is there a modular, interchangeable (phone-blocks like) tiny computer out there ? I'd like to add and remove stuff from my computer when the processor becomes old for example. I know raspberry pi has ...
-4
votes
1answer
1k views

Firmware modules not available in Raspbian os

I am working on a project. I have Raspbian installed on my Raspberry Pi. When I do sudo lsmod I have no output. I cannot use lirc and i2c module as this require firmware modules. I have to submit the ...