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
0
votes
0
answers
11
views
USB Camera Properties changes in Raspberry PI Compute Module 4 with attached PCIe
I am capturing images using a USB Camera connected to a Raspberry Pi CM4, which in turn is connected to an external PCI interface. Sometimes, the camera works fine, but at other times, it shows an ...
1
vote
0
answers
35
views
How to make ePaper work in landscape mode with RPi Pico?
I bought a 2.9inch ePaper display for RPi Pico (296 × 128 Pixels, Black / White / Red, SPI Interface) from WaveShare.
I found several MicroPython drivers for 2.9" ePaper on Waveshare's GitHub:
...
0
votes
0
answers
29
views
How to connect multiple Wifi Cards using PCIe expansion boards to RPI5?
I have multiple Intel 5300 Wifi cards with mini PCIe - Link
I have a RPI5 from which I want to connect these multiple Wifi Cards to get the CSI data from multiple Wifi cards
I was able to find these ...
0
votes
0
answers
59
views
Interlaced HDMI is not working on Pi4 Bookworm
I've a Pi4 with Bookworm (CLI, no desktop). I'm trying to get 1080i50 output from the HDMI, but the Pi keeps sending progressive on the output.
Everything is freshly newly installed (so up to date).
I'...
0
votes
1
answer
285
views
How to get temperature and humidity data from a Sensiron SHT3X
The more I read, the more confused I become...
I have a SHT30 Temperature And Humidity Sensor. I bought it from Adafroot some time ago, but never found a real use for it. Now that Raspberry Pi has ...
0
votes
2
answers
92
views
Installing rtl8192eu does not work cause of gcc issues
I want to install the rtl8192 linux driver in order to use my TP-Link TL-W823N USB adapter but when I execute sudo dkms install rtl8192eu/1.0 then I get gcc error messages.
$ cat /var/lib/dkms/...
0
votes
0
answers
309
views
Not able to access GPIO pins on my Pi5
So, I've been writing this device driver program in C to access GPIO pins. Whenever I try to install the module onto the board I get an error at gpio_request. The part I'm not able to understand is ...
0
votes
0
answers
18
views
"Invalid module format" when running a cross-compiled linux kernel module
I'm trying to cross compile the ad7192 linux driver for a raspberry pi 4 running the latest 64 bit raspberry pi OS(kernel 6.6.20).
pi@raspberrypi:~/projects$ uname -a
Linux raspberrypi 6.6.20+rpt-rpi-...
0
votes
0
answers
32
views
How to connect Smartelex 10D DC Motor Driver HAT for Raspberry Pi 3 with 24V 100W motor and 24V 10Ah battery?
I recently acquired the Smartelex 10D DC Motor Driver HAT for my Raspberry Pi 3, intending to control a 24V 100W motor powered by a 24V 10Ah battery. However, I'm uncertain about the wiring ...
0
votes
1
answer
66
views
DC motor always on
this is my first time working with Pi and I'm trying to control a single motor (closely following this tutorial: https://www.youtube.com/watch?v=OV0S_3KMj2A).
Specs are:
Raspberry Pi 3 Model B+
5V DC ...
0
votes
0
answers
104
views
'make' command not working on my Raspberry Pi while compiling the SocketCAN driver
Problem: When running "make" command I am met with errors
I've been trying to install a SocketCAN driver on my pi device so I can communicate with a USB CAN Adapter. I've been following ...
0
votes
0
answers
110
views
Finding a compatible commit of the kernel source files to cross-compile a kernel module
For Raspberry Pi I used an image from https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit
I cloned the entire history from the https://github.com/raspberrypi/linux to the ...
0
votes
0
answers
55
views
Unable to unbind/disable the built-in USB driver
i was trying to upload my custom USB driver to test it but the kernel calls it's built-in USB driver probe once pendrive is plugged in.
1)i cannot directly remove using the built-in drive functn. as ...
0
votes
0
answers
54
views
Where is the C file with the I2C functions?
I can find in raspberry pi (5), using Raspbian, in directory /usr/include/linux the files i2c.h and i2c-dev.h. I am looking for the .c files that have the I2C functions and use the header files.
...
0
votes
0
answers
100
views
Waveshare ePaper display via IT8951 hat driver for Raspberry pi 4 model B
I bought the 10.3 epaper display which I am trying drive it from a Raspberry Pi 4. The official wiki instructions (https://www.waveshare.com/wiki/10.3inch_e-Paper_HAT) is using BCM2835 which I assume ...
1
vote
0
answers
33
views
Problem controlling 3 servos of different types [closed]
I had a remote developer do code for 3 servos to control a mechanism. He made sure to aquire similar hardware. Rpi4 and 16channel pwm driver. He used 3 sg90 servos. I have 1 sg90 and 2 smaller servos....
0
votes
0
answers
546
views
Raspberry 3B+ Wifi not works anymore also with new OS/Sdcard.. broken chip? Please help!
EDIT:
On suggestions of @milliways I'm editing the question since he says that all the stuff I posted is irrelevant, and I have to "start fresh".
I installed again a new fresh image of ...
0
votes
1
answer
1k
views
OpenCL on rPi 400
I have an rPi 400 running Raspbian (Debian GNU/Linux 11.)
If I run clinfo on it, I see 0 platforms.
I have no /etc/vendor/ directory either.
How do I run OpenCL on my rPi400?
0
votes
0
answers
415
views
Building driver for a Mygica USB tv tuner
I'm trying to build a driver on my Raspberry Pi zero 2W for a Mygica USB tv tuner obtained from Aliexpress (https://www.aliexpress.com/item/1883597971.html?spm=a2g0o.order_list.order_list_main.11....
0
votes
0
answers
719
views
Kernel and header Version not the same
So i wanted to build the driver for my wifi adapter for my raspberry pi 400: https://github.com/morrownr/88x2bu-20210702
And i did everything what was said and then got the error: Your kernel files ...
1
vote
0
answers
167
views
issue with installing rtl8852au driver on mobile robot with rpi4
Good morning y'all!
Happy Easter to you kind souls!
I'm stuck trying to get my new TP-Link AX1800 - Archer TX20U Plus working on my mobile Robot I'm working on.
The Archer TX20U Plus is based on the ...
1
vote
2
answers
1k
views
X server unable to launch using vc4-kms-v3d GL driver on a 8gb Pi4b+ [closed]
I've been encountering some tearing issues in kodi and so chose to switch to the vc4-kms-v3d driver in my boot config. The performance in now significantly improved, however I also occasionally need ...
3
votes
2
answers
1k
views
Why does `apt install linux-headers-generic` install old headers for the newest stable kernel?
I can boot a vanilla pi-4 with kernel8.img (Feb 15, 2023) to release 5.15.84-v8+ ... the pi-4 runs admirably.
# ls -ltr /boot/*.img
-rwxr-xr-x 1 root root 8194604 Feb 15 18:02 /boot/kernel8.img
# ...
1
vote
0
answers
680
views
SPI Chip Select (CS) Control?
I am working with spidev on my RPi4 project and I have noticed that there is a significant delay caused by the CS signal. I am using the hardware CS pin (CE0, pin header 24) to drive the CS signal for ...
1
vote
2
answers
730
views
Real TTY Driver installation - Moxa 5110 not able to connect /dev/ttyr01: Input/output error
trying to get my Moxa Nport 5110 to work with the RPI4.
Currently Using:
Raspbian GNU/Linux 10 (buster)
installed moxa-real-tty-drivers-for-linux-kernel-5.x-v5.1
added some tty ports automatically (...
1
vote
0
answers
249
views
Help debugging random USB Wifi disconnect with ALFA AWUS036ACM (chipset MT7612U)
To improve the Wifi on my RPi4, I bought an ALFA AWUS036ACM USB Wifi dongle, based on very positive compatibility reviews…
After a few weird missing driver file issues (that might be due to my running ...
0
votes
0
answers
140
views
"Make" command gave error while trying to compile AP drivers for MT7601U on raspberry pi 4
i have a wifi adapter which has MT7601U chipset in it, but the driver in linux kernel for this chipset doesn't support AP mode, so i was trying to install the AP driver from this github page:
https://...
0
votes
0
answers
171
views
Using Pi to check mipi clk?
I'm using the Pi 4 compute module to connect to a IMX219 camera using the mipi interface. Well, actually putting the mipi through a FPGA interface first but the basic question is:
Can I use the Pi to ...
0
votes
0
answers
230
views
Identify LCD and driver and touch pannel
I'm going through my box of bits to start a new project and having trouble with an LCD screen. When connected to the pi4 it doesn't fit the screen. Thing is the no signal screen also doesn't fit when ...
0
votes
1
answer
227
views
'/dev/v4l-subdev1' node not created anymore for 16 MP Arducam with autofocus (IMX519 based) with Rpi 4B
/dev/v4l-subdev0 and /dev/v4l-subdev1 nodes used to be created before when booting up the Rpi with the ArduCam plugged in (via MIPI CSI-2 port). Now only /dev/v4l-subdev0 shows up, and I'm not sure ...
1
vote
0
answers
394
views
On Raspberry Pi 4 with Ubuntu 22.04 don't work ioctl
I have Raspberry Pi 4 (aarch64 Cortex-A72) with OS Ubuntu 22.04 LTS 64-bit installed. I try read frame from webcam.
When I run this code:
if (ioctl(fd, VIDIOC_DQBUF, &buf) < 0) {
std::cout &...
0
votes
0
answers
202
views
White screen on a LCD screen after downloading driver
I went through installing the drive and setting it up and it worked but after a few months of not using it, the screen only showed white.
I tried reinstalling it (Downloading the driver, extracting ...
-1
votes
1
answer
68
views
spi driver works on pi 3 and pi 4, but not on pi cm4
I have a spi driver for an nrc7292. When I load it on a pi3 or 4 it works every time, but when I load it on a cm4 it only loads correctly about half the time. What could possibly be different? Once ...
1
vote
2
answers
14k
views
Where's the windows 10 driver for the Raspberry Pi Pico?
I have a brand new Raspberry Pi Pico. And when I connect it to my Windows 10 PC i get a new device with missing drivers.
Guess what: pressing "Update Driver..." is not very helpfull here.
I ...
0
votes
2
answers
480
views
How to manage with raspberry pi two L298N H-bridge drivers
I connected to my Raspberry pi 3b+ two L298N H-bridge drivers and 4 motor (two for each driver) and i tried the code below:
Assumption: I purposely used this script because I wanted to test the ...
0
votes
0
answers
298
views
Camera driver, updated or removed and now isn't working
My camera was working fine, but now it isn't being recognized anymore.
I tried to check if it was enabled on the Raspberry Configuration Interface tab, but the camera option isn't showing anymore.
On ...
0
votes
0
answers
473
views
TP-link WN725N / RT8188eu wifi dongle on Pi Desktop OS (NOT on Raspberry Pi hardware)
There's lots of great solutions out there (and here on StackOverflow) for this on Pi hardware but I'm trying to make this dongle work on a PC running Pi OS, which totally foxes the various build ...
0
votes
0
answers
879
views
Pi 3B (without +) regularly losing Ethernet connection (smsc95xx)
I have a problem with some of my PIs losing Ethernet connection. This happens between every few days to a month. After the Ethernet connection is lost, it does not come back up. Besides the Ethernet ...
0
votes
0
answers
259
views
How to Install Canon LBP6000 Printer Driver on QEMU?
Canon Printers and CUPS: ARM drivers availabile?
Platform: Raspbian Stretch
I tried the link above but couldn't get it to work.In the driver guide it says I need to install some packages.
# yum ...
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
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 ...
0
votes
0
answers
47
views
Driver corrupts OS
I've been working on a PI project, I am using Waveshare 7" touchscreen, now I need to download driver to enable touchscreen, I tried downloading it from their website: https://www.waveshare.com/...
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 ...
1
vote
0
answers
416
views
(RPi4) AHD to CSI-2 and ENOSPC / PiCameraMMALError: Failed to enable connection: Out of resources
I have a fun one - I'm trying to get an analogue camera input (AHD using a normal BNC connector) over a CSI-2 cable/bus (standard RPi one, not the dual-lane Google ones), and be usable through the CSI ...
1
vote
1
answer
392
views
Connecting Multiple Big Stepper Motors to RPi
I am fairly new to using stepper motors and RPis, so have some potentially naive questions.
Firstly, I am using two NEMA 34 stepper motors and planning to connect them with DM860T drivers. However, I ...
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
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 ...
1
vote
1
answer
944
views
How is spidev and the spi-bcm2835 module related?
Removing either one deletes the SPI devices from /dev/
What's the difference between the two modules and how do they relate?
1
vote
1
answer
365
views
What is the impact of setting gpu_mem=16 using the vc4 kms driver? (compute module 3+)
If i understood correctly, the kms driver (vc4-kms-v3d) uses a dynamic memory split which can be set via the 'cma' parameter in cmdline.txt
This means the less memory i assign to the gpu with 'gpu_mem'...
1
vote
2
answers
3k
views
Rastertospl failed samsung printer
I have connected my Samsung M2020 Series printer connected to RPI with CUPS. The printer is set up and I installed proper drivers for this printer on the RPI. CUPS recognised it and I selected it. The ...