Questions tagged [driver]
Questions about software drivers for external peripherals as well as drivers for the system components. This is NOT for questions about "driver boards", e.g., for motors; use 'dc-motor' instead.
313 questions
3
votes
1
answer
1k
views
Is there a package or library for controlling the DS3231 on the Raspberry Pi
I've just obtained a DS3231 real time clock (RTC), and added it to my RPi 3b. It seems to work as far as keeping time, but I wanted more.
I'd like to be able to set alarms to trigger the INT/SQW pin ...
3
votes
1
answer
1k
views
Editing heartbeat LED trigger
I am trying to edit the timer of heartbeat trigger on RPi Zero. I have found original .c file of kernel driver here https://github.com/raspberrypi/linux/blob/rpi-5.4.y/drivers/leds/trigger/ledtrig-...
3
votes
2
answers
3k
views
DS18B20 Temperature Sensor - Rpi 3/4 Driver, Wiring, Detection, and Python Programming
I am new in raspberry pi.
In my research project, I would like to monitor ground temperature at 60 points. My team decided to set a monitoring system using raspberry pi.
As a preliminary test, I ...
3
votes
1
answer
15k
views
Installing Wireless Drivers
I am having trouble understanding how to install the drivers needed for my usb wireless that came with my Raspberry Pi Starter Kit. I have the drivers from the CD on the SD card.
install.sh does ...
3
votes
0
answers
322
views
How to write a Kernel module using SPI properly?
I have no experience writing kernel modules. I build some examples with gpio interrupts and they worked prety well. Now I want to use SPI from my kernel module and I will explain why I need it.
I am ...
3
votes
2
answers
3k
views
How to set up the Edimax EW-7611ULB combo Bluetooth WIFI dongle
Although, this dongle works (for awhile), there is a problem with the bluetooth driver. After streaming for about an hour, the driver eats up all the Pi memory and the Pi stops responding. Power ...
3
votes
0
answers
621
views
Kernel error : [drm] Resetting GPU
I am using an app which is using the vc4-drivers. Sometimes videos freeze for an instant, and I see a kernel message saying :
[drm] Resetting GPU
After that, some font are no more displayed but the ...
3
votes
1
answer
1k
views
Change active wifi network without reboot using external USB wifi dongle
I'm trying to programmatically change which wifi network my PI is connected to, on the fly without a reboot. When I run the script using this USB wifi device it won't switch.
However, it works when ...
3
votes
2
answers
513
views
Single channel SPI DMA
The documentation on the SPI peripheral says:
Two DMA channels are required, one to read from and one to write to the SPI.
Is this necessarily true? I have a device where I need to write a few ...
3
votes
0
answers
3k
views
What steps would I need to take to use a kindle fire screen with my RPi?
I have a first-generation Kindle Fire and a RPi. The Kindle Fire screen has a LVDS interface. The Kindle Fire runs a modified version of an Android OS.
As background, I have moderate experience in ...
3
votes
0
answers
440
views
Getting an error when trying to install wifi driver from manufacturer CD on raspberry pi debian wheezy [closed]
I'm getting an error: authentication requested [root] for make driver ./install line 18: 4664 illegal instruction su -c make
Compile make driver error: 132, Please check error message
when attempting ...
3
votes
1
answer
1k
views
How to control Odrive with Raspberry pi? [closed]
How to interface Odrive with RPi? didn't find much information on the internet so want to know who has done something like this before.
trying to use this code:-
import odrive
import time
import ...
2
votes
2
answers
2k
views
Is it possible to build a Raspberry Pi yourself?
As covered in this question, the Raspberry Pi isn't open source. However, if one were to manually buy all the components on the board and solder them in an identical manner, what further steps would ...
2
votes
3
answers
463
views
Where to find libraries for using existing popular sensors? [closed]
I am new to pi and was wondering if there are any existing libraries for common sensors.
I have used Arduino in the past and that time I didn't use any existing libraries, just checked specs for ...
2
votes
2
answers
10k
views
playing wav files with pygame bad quality with noise
I am trying to play a wav file in my raspberry-pi using pygame. I am able to play the music in the speaker.But the sound is very low and many noises are coming along with the sound. Is there some ...
2
votes
2
answers
11k
views
Enable i2c on Ubuntu Mate Raspberry Pi 3
I am having trouble utilizing the i2c bus on my raspberry pi. I am attempting to use it through Adafruits python module for their Servo driver board. When I run a method using the i2c I get:
...
2
votes
3
answers
11k
views
Compile linux device driver in Raspbian
I have some problems with compiling & building a simple gpio driver that I wrote( after THIS documentation). I have a Raspberry Pi Model B+ ( not sure if it's relevant to the question) with a ...
2
votes
2
answers
17k
views
Editing Quirks for a USB driver
I have a device which is using the usbhid driver.
I noticed a module folder inside the driver with a file name quirks.Can anyone tell me the correct way to edit this file and the values it can take?
...
2
votes
1
answer
96
views
How I can identify and set a needed display module which was missing on boot time?
Summarizing the problem
Can't identify a needed display module which is loaded within the initramfs on boot time.
Providing details and any research
After fixing the problem on the surface using ...
2
votes
1
answer
4k
views
Connect IRF520 MOSFET Driver to a Raspberry Pi 2
I'm trying to find a way to connect a DC motor to a IRF520 MOSFET Driver to a Raspberry Pi 2 to then to control the DC motor. I'm new to electronics and I haven't found any clear solutions.
What do I ...
2
votes
1
answer
759
views
Pre-install device drivers
I do not have a USB plug-and-play keyboard for my Raspberry Pi. I do have however a Bluetooth keyboard and a USB Bluetooth dongle. The problem is I have no way to configure my Raspberry Pi during ...
2
votes
1
answer
1k
views
Raspberry Pi 4 hung on boot while powered USB hub is plugged in
I've got a powered USB hub with an ethernet port connected to my Pi. When the Pi boots with it plugged, the boot process hangs until I unplug it. This seemingly includes the clock, as /var/log/syslog ...
2
votes
1
answer
2k
views
how to set precision of DS18B20 via w1-therm?
According to the documentation for w1-therm:
Writing a value between 9 and 12 to the sysfs w1_slave file will change the
precision of the sensor for the next readings. This value is in (volatile)
...
2
votes
1
answer
6k
views
Editing the settings that are available through raspi-config without using raspi-config
I have a Pi 2 and decided to check the new experimental OpenGL driver available in the latest version of Raspbian Jessie. Alas! the thing is really buggy. After enabling it my Pi, (through raspi-...
2
votes
2
answers
4k
views
Controlling multiple 7-segment LEDs with few GPIOs
I've got a simple single-digit 7-segment LED working properly (simply using 7 GPIO pins), but I'd like to scale it up to multiple digits and higher power. But I'd like to keep the number of GPIO pins ...
2
votes
2
answers
2k
views
How to use the DS2482 kernel module
I want to use the ds2482 kernel module/driver but I'm struggling to find an example to start with. I've googled many searches but I swamped with git trees and source trees.
I've loaded it OK and it ...
2
votes
1
answer
10k
views
Installing drivers from USB storage
How do I copy a driver from a USB stick and what directory should I put it in?
I'm using Raspbian. The driver is found here and it's for my TP Link usb wifi dongle: http://pan.baidu.com/share/link?...
2
votes
2
answers
223
views
Fastest way to copy gpio state to memory?
Following an impressive write-up in MagPi 32,there has been other write-ups for better parallel ADC control from a Raspberry Pi.
It appears that the ADC can be driven by Raspberry on-board clock at ...
2
votes
1
answer
6k
views
Can the Pi 3 Be Used as a USB Wifi Adapter?
Problem
The reason I must try to use the Pi as a Wi-Fi adapter rather than the one I currently use for Windows 10 (Netgear A6200) is not even close to compatible with GNU/Linux or *BSD. Ubuntu will ...
2
votes
1
answer
768
views
si7013 driver install raspberry pi
I bought a Silicon Labs si7013/20/21 usb dongle and now I'm trying to install it onto a raspberry pi 1 running raspbian with kernel 3.18 +
I compiled a kernel after adding the drivers to drivers/...
2
votes
2
answers
13k
views
"Inappropriate ioctl for device" error since upgrading Rasbian & firmware
I was happily controlling Shiftbrite LEDs using SPI and Python based on this code
Today I upgraded my Pi using
sudo apt-get update && sudo apt-get dist-upgrade
sudo rpi-update
Now my script ...
2
votes
1
answer
5k
views
Using old D-Link Wifi stick
My brand new raspi just arrived. I played around with raspbmc and did like it. Now I have an old D-Link DWL-122 Wifi stick flying around and I'd love to use it as the WIFI device.
So, is it possible ...
2
votes
1
answer
231
views
How to connect Pi to a homemade board, and communicate with it?
I'd like to make a small "MCU" consisting of a camera, a mic, some LEDs, and probably a cheap ARM CPU. I'm calling this my "SMIC" (streaming media IC).
I'd like to connect this SMIC MCU to a ...
2
votes
1
answer
112
views
Installing Edimax 7611 Wifi Dongle?
I have an Edimax 7611 wifi dongle I'm trying to install. All the instructions I've found seem to require an existing internet connection to download updates and drivers. Is there a way to put the ...
2
votes
1
answer
900
views
Enable ENC28J60 on Raspberry Pi 4 SPI1 CE1
I have a Raspberry Pi model 4B V1.4 running:
Linux raspberrypi 5.10.42-v7l+ #1422 SMP Tue Jun 8 13:03:05 BST 2021
armv7l GNU/Linux
I want to connect an ENC28J60 spi ethernet adapter on spi1. Using ...
2
votes
1
answer
522
views
where can I get the driver of imx219
I'm building kernel(xilinx) and rootfs(debain10) for Avnet96v2 board which has connetted a imx219 via mipi adapter, where can I get newest official driver for the camera, if it is existing.
By the ...
2
votes
5
answers
7k
views
WLAN module gone - RPI 4 B+
The WLAN module of my RPI 4 B+ disappeared. At first I thought that the hardware component had blown. How can I properly diagnose whether there is a hardware or software problem?
What I have done for ...
2
votes
2
answers
2k
views
AWUS036AC (rtl8812au) – ›Association request to the driver failed‹ after restarting wpa_supplicant.service
I am using an AWUS036AC wifi dongle to connect to the internet. I installed the drivers following this instructions.
When I restart my [email protected] I get this error message:
...
2
votes
1
answer
2k
views
Why does i2c not work on my raspberry pi 3 model B?
I have the raspberry pi 3 model B and would like to communicate over i2c. I have heard that the bcm2835 and bcm2837 chip ar almost identical, so I should be able to use the bcm2835 library to ...
2
votes
1
answer
283
views
How can I get Belkin N600 DB adapter to work on Raspberry Pi?
It shows up in lsusb but it doesn't light up or work? Are there any drivers I can download?
I have tried some solutions but this doesn't work or any other variants of it:
sudo apt-get install ...
2
votes
1
answer
1k
views
uvcvideo: Non-zero status (-5) in status completion handler
I'm using a RPI2 and a USB webcam (Microsoft HD3000) to record video.
Now, I'm doing extensive testing and I see that when I record long video (10-12 hours) I sometimes see an error in dmesg.
...
2
votes
1
answer
452
views
Pressure Sensor BMP183 and Raspberry Pi 2B
I have a BMP183 (from Adafruit) and I'm trying to make it work on my Raspberry Pi 2B, but I'm getting the following error:
BMP183 returned ',#randomnumber#, ' instead of 0x55. Communication failed, ...
2
votes
1
answer
630
views
Building Linux Kernel for Driver Creation
I am attempting to compile the kernel for the RPI using Raspbian. These are the steps I took...
(1) Imaged the SD card from http://www.raspberrypi.org/downloads
(2) Downloaded the kernel from and ...
2
votes
0
answers
798
views
Does V4L2 driver support Raw Bayer capture with HQ camera?
I was under impression that current V4L2 driver supports raw capture, but:
pi@raspberrypi:~ $ v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'YU12' (Planar YUV 4:2:0)
...
2
votes
0
answers
116
views
Problem in initiating i2c driver module for bmp180 i2c based sensor at kernel level
For leaning purpose i am writing a i2c client kernel module for bmp180 pressure sensor.
My kernel code is ->
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init....
2
votes
1
answer
306
views
Who has Docker working (pi 4b)? What OS did you use? [closed]
First off I am running berryboot on the sd of my raspberry pi 4b so I can load/run raspbian desktop OS off a 480gb SSD. I hate not have running out of storage ever (this works fine). Issues:
Docker ...
2
votes
0
answers
187
views
Raspberry Pi Model 4 - Which nonfree parts remain?
As the Raspberry Pi Model 4 was released today, I reckon it's time to update this question. I'm aware of the fact that a lot of effort was put into writing usable free software GPU drivers as stated ...
2
votes
0
answers
553
views
Accessing 3+ SD/MMC /dev/mmcblk devices
I've successfully followed some instructions for access 2 SD cards via SPI on a Raspberry Pi 3: https://ralimtek.com/Raspberry_Pi_Secondary_SD_Card/
How do I configure it to access more than 2 SD ...
2
votes
1
answer
634
views
Erratic errors in libfreenect on Raspberry Pi 3
I'm running a 3D SLAM application (RTAB-Map) on my Raspberry Pi 3 with Raspbian Jessie. The sensor I'm using is a Kinect v1 (Xbox 360) camera connected to one of the USB ports.
I've installed ...
2
votes
1
answer
72
views
Is it possible to compile a different wireless chipset driver over the already available one on a Raspberry Pi?
I have a fair amount of expertise in the field of setting up Wireless Ad-Hoc networks with Raspberry Pis. I currently am looking into the possibility of compiling a wireless driver over a preexisting, ...