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.

32
votes
4answers
41k views

How do I load a module at boot time?

As stated in Why is my Audio (Sound) Output not working?, to initialise the sound driver, you must run sudo modprobe snd_bcm2835 every time you want to output sound. How do I get this to run on boot? ...
19
votes
3answers
26k 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?
9
votes
5answers
52k 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 ...
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 ...
7
votes
0answers
96 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 ...
6
votes
3answers
3k views

Can the GPIO`s pins be used as another RX and TX?

I am entering the world of Raspberry PI. The reason I write, I require Raspberry connect the GSM / GPRS and GPS Fruit Adan (The 3 together) module. So far, I've only managed to connect the GPS and RPI ...
6
votes
3answers
5k views

Compile linux module on Raspbian error

I am trying to compile a simple helloworld module on my Raspberry Pi B+ under the 3.18.7+ Kenel. I did it after THIS tutorial. When I try to build my module I have this error : make[1]: *** /lib/...
5
votes
2answers
16k 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 ...
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 ...
4
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 ...
4
votes
2answers
3k views

How do I get the configuration and Module.symvers for a Raspbian kernel to compile a loadable module for my RPI 2?

I installed Raspbian using NOOBS_lite_v1_4.zip on a new microSD. After the initial install I ran sudo apt-get update sudo apt-get upgrade Running "uname -r" tells me I am running Linux version ...
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: ...
4
votes
2answers
5k views

Connection for 6 raspberry pi camera modules? [closed]

Any ideas, I want to configure 6 cameras for 360 degree view
4
votes
1answer
1k views

Periodic task in kernel module

I currently developing a gpio based kernel module for a custom protocol. As per requirements of protocol, I have to send data, clock and enable signal to output device throgh gpio. This data is 16-bit....
4
votes
1answer
594 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 ...
3
votes
4answers
11k 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 ...
3
votes
3answers
3k views

DHT11 module compilation error

I try to compile the source code of DHT11 module given in [https://www.endian.se/content/?p=127] . I have followed the step of KERNEL compilation in [[http://bchavez.bitarmory.com/archive/2013/01/16/...
3
votes
2answers
9k views

Where do I find the linux headers for an image?

I started with Raspbian 3.18.5 (Wheezy?) and did an rpi update and ended up with 4.1.10 (Jessie?). When I did a sudo apt-get install linux-headers the following packages were available: linux-...
3
votes
1answer
6k views

RPI2 Kernel module compilation (kernel 3.18.11+ vs 3.18.11-v7+)

I want to recompile a kernel module/driver on my RPI2 for my RPI2. The command uname -a gives me: Linux cpf 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux Q1) What ...
3
votes
1answer
2k views

Unloading kernel module does not remove /dev/ device file

I have had success following tutorials for developing kernel modules, running them on a Ubuntu 12.04 LTS virtual machine. Particularly the example in this tutorial works fine on Ubuntu on a 3.2.0 ...
3
votes
1answer
69 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
12k 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
868 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 /...
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: ...
3
votes
0answers
360 views

Issues getting specific Raspberry Kernel Sources from Github [closed]

I have a Issue getting the Kernel Sources for the Raspberry from Github. To be clear, I have no Problem in getting them as such, but for a specific Kernel Version of the 3.10.y-Branch, lets say 3.10....
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 ...
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 ...
2
votes
1answer
4k views

LIRC - Unable to load module

I have rasbian installed and I'm trying to use LIRC to read from a remote control following this tutorial. http://mvartan.com/2014/11/25/controlling-your-tv-or-any-ir-device-with-raspberry-pi/ I ...
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 ...
2
votes
2answers
340 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 ...
2
votes
1answer
401 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 ...
2
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
3answers
7k views

NRF24l01 Raspberry Pi and Arduino

I've been trying to make work the NRF24l01 RF module with Raspberry and Arduino, but I can't. This is the version of the module I have: NRF24l01 Module I'm trying to send the data from the Arduino, ...
2
votes
2answers
2k views

insmod segmentation fault error each time I insert a basic module

I'm trying to build some kernel modules on RPI, the ismond work fine for some times, now the insmod command crash each time I try to insert a simple module. the kernel module compile without any error ...
2
votes
1answer
1k 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 ...
2
votes
0answers
691 views

pcm512x module problem, blacklisting it doesn't help

I keep having the following message during boot, reboot and I see in dmesg log. pcm512x 1-004c: Failed to reset device: -5 I'm on the ArchLinux ARM. I've been googling, found this, unfortunately ...
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 ...
1
vote
1answer
1k 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, ...
1
vote
1answer
732 views

Seeing “modprobe: not found” using nodejs and raspi-io

I'm trying to use the johnny-five Node.js framework with raspi-io to do a hello world example based on this tutorial. Here's my code: var five = require("johnny-five"); var Raspi = require("raspi-io")...
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 ...
1
vote
1answer
1k views

lens for raspberry pi 2 to expand the field of view

Hi all i'm using raspberry pi 2 with raspbian , i'm working on face and eyes detection using opencv and c++ , i want to expand the field of view for the pi official camera module any suggestions will ...
1
vote
1answer
360 views

Raspberry Pi as a PS3 controller

I want to make my raspberry pi to automate GT6 B-spec when I am away from my PS3 however, I cannot find a way how to get my raspberry pi to act as a PS3 controller (I have only found how to use my ps3 ...
1
vote
1answer
20 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 ...
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
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
711 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
644 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 ...
1
vote
1answer
854 views

GPS module IM131227001 only logging

i buy RPI GPS Add-on IM131227001 and when i connect it into RPI then GPS module start logging this: May 8 13:57:53 raspi kernel: [ 554.811792] SysRq : HELP : loglevel(0-9) reboot(b) crash(c) ...
1
vote
0answers
32 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 ...