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.

127 questions
35
votes
4 answers

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? (i.e. before logging in and without any input)
Alex Chamberlain
  • 15,638
  • 15
  • 69
  • 113
23
votes
3 answers

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 it reports Invalid module format when I try to…
Edward
  • 961
  • 1
  • 6
  • 25
15
votes
6 answers

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 usb.core: ImportError: no module named core This…
A. Goossens
  • 293
  • 1
  • 2
  • 8
15
votes
2 answers

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?
John La Rooy
  • 12,005
  • 9
  • 48
  • 77
9
votes
1 answer

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 I cannot get the SPI frequency to go above 500…
j_lentini
  • 149
  • 6
9
votes
3 answers

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 shockwave file in Midori with gnash for…
humbolight
  • 251
  • 1
  • 2
  • 8
9
votes
3 answers

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 realised the module development kit doesn't not…
Dennis
  • 383
  • 1
  • 5
  • 14
7
votes
5 answers

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 popular on Ebay when talking about adding I2S…
null
  • 197
  • 1
  • 1
  • 9
6
votes
3 answers

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/modules/3.18.7+/build: No such file or directory. …
EngineerN
  • 81
  • 1
  • 5
6
votes
3 answers

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 or GSM / GPRS and RPI, previous TTL-USB wire.…
Enrique Marin
  • 61
  • 1
  • 2
5
votes
1 answer

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 docker container.d not started sudo systemctl start…
Sidereal
  • 161
  • 1
  • 5
5
votes
1 answer

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 standardized PCI bus). There are two different…
Jonathan Komar
  • 512
  • 2
  • 5
  • 15
5
votes
2 answers

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 to create their own PCB". Does this mean it is…
smeeb
  • 645
  • 3
  • 9
  • 22
5
votes
2 answers

Connection for 6 raspberry pi camera modules?

Any ideas, I want to configure 6 cameras for 360 degree view
Papirus747
  • 51
  • 1
  • 2
5
votes
2 answers

how to access to the configuration of my raspberry pi os lite

Hello I want to access the menuconfig of the raspberry pi os lite, but I had this error root@raspberrypi:/# make menuconfig make: *** No rule to make target 'menuconfig'. Stop. root@raspberrypi:/# I want to see the configuration of this os is it…
mina
  • 385
  • 2
  • 5
  • 14
1
2 3
8 9