Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
9 views

Which Libraries can be called inside a Kernel Module [migrated]

Looking for a list of libraries which can be called from a custom Kernel Module. I understand that there are restrictions compared to user space and libraries like <stdio.h> and <string.h>...
0
votes
0answers
22 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
0answers
35 views

ModuleNotFoundError: No module named 'maze_support' “PAGE” tkinter error

Hello I'm trying to create a tkinter GUI for sending a picture througt email. I'm trying to use tkinter GUI generator named: PAGE. I created a good looking project and tried to run it. Sadly there ...
0
votes
1answer
164 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
133 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
2answers
687 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
339 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 ...
0
votes
0answers
30 views

Tracking Mobile Number Distance from the Raspberry Pi

Hello I am new for complete Raspberry pi I have started to learn and implement some basic stuff on Iot so as title represents I would like to ask is there any module for tracking a mobile without ...
3
votes
3answers
5k 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
2k 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
77 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
1k 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 ...
0
votes
0answers
129 views

Compiling kernel module - netfilter ipset ip_hash_mac

I'm using raspbian-lite latest with RPi 3 B. I need ipset hash:mac functionality that is not built with the stock kernel. Got the kernel source and headers for current kernel. They have ip_hash_mac....
0
votes
0answers
607 views

Raspberry Pi Camera module not working

I have a Rev 1.3 camera module which used to work fine with my Rpi 3 last year when I was running Raspbian Jessie. It's been a year since I last used my camera. I took it out again now, the camera ...
0
votes
0answers
56 views

MAX31850K temperature sensor w1_therm strange data

I have three MAX31850K 1-Wire Thermocouple-to-Digital Converters connected to my RPi. When i do cat /sys/bus/w1/devices/[address here]/w1_slave or std::fstream device("/sys/bus/w1/devices/[...
1
vote
0answers
153 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
1answer
250 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
2k 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

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
225 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
38 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
1k 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
540 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
393 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 ...
4
votes
1answer
4k 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 ...
4
votes
1answer
60 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
302 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
3k 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
953 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 ...
3
votes
2answers
1k 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
1answer
855 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
467 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
110 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 ...
2
votes
1answer
641 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
1answer
3k views

Very Cheap Camera Module or Lens for Raspberry Pi

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
870 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 ...
0
votes
0answers
2k views

ImportError: No module named RPi.GPIO

I have installed RPi.GPIO. The RPi.GPIO works on python independently, but when I try to import RPi.GPIO on opencv2, I get an error: Traceback (most recent call last): File "cam.py", line 2, in <...
1
vote
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 ...
1
vote
1answer
2k 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 ...
0
votes
1answer
325 views

Error when execute sudo vi /etc/modules

I am following this tutorial I want to enable I2C feature on Raspi2. I need to write some line on modules.conf (.conf ? I don't remember the extension). But executing sudo vi /etc/modules on ...
4
votes
2answers
11k 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?
3
votes
1answer
881 views

Modules not loaded at boot time

I am currently using Ubuntu 15.10 server (RPi optimized edition) on my RPi2 B. I also bought a display, as suggested in another question. I got the display working by hand, namely activating SPI and ...
1
vote
1answer
66 views

Python Winapi Equivalent for Raspbian? (For automatic mouse movements)

I am trying to use Python to generate automatic mouse movements and clicks etc, however on windows I did this by importing winapi. Is there a way I can do this in raspbian? Would love a response, ...
1
vote
0answers
64 views

My USB2VGA is working - How do I configure X to use that screen?

I have a green screen on my USB2VGA connection (DisplayLink). How do I configure X to use the screen /dev/fb1 which exists? I do not find an xorg.conf.
0
votes
0answers
3k views

How to load modules on startup?

I have bought a touch LCD from waveshare and am trying to set it up. I have changed my config.txt to enable SPI and set up the touch device: ... dtparam=spi=on dtoverlay=ads7846,cs=1,penirq=17,...
-1
votes
3answers
317 views

Module loads with modprobe but doesn't in boot

I'm trying to get the 3.5"spotspear Waveshare display working following the guide, (can't have more than 2 links,the name of the guide is "I'd like to have some LCD on my Pi") Problem is that when I'...
-1
votes
2answers
256 views

RPIO Module installation

I've been trying to install the RPIO module onto my pi. so far, no luck because my pi is without internet at the moment (I only have internet on my laptop through mobile tethering). Does anybody know ...
1
vote
1answer
776 views

Can I use an FT232RL USB to TTL adapter with Raspberry Pi for a GPS module?

I am just starting to scratch the surface and attempt to understand TTL and serial data ports in general, and am really just trying to put the pieces together and see if I'm on the right path. First, ...
17
votes
3answers
20k 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 ...