Skip to main content

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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
45 views

RP2040 i2c: What is ic_clk in the manual referring to

Background I'm currently writing a device driver for the RP2040's i2c module and struggled a lot in understand the manual. I had to re-read the sections on how to calculate the IC_SCL_CNT, ...
Jan's user avatar
  • 1
0 votes
1 answer
65 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 ...
Seamus's user avatar
  • 22.3k
0 votes
2 answers
36 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/...
Jan's user avatar
  • 101
0 votes
0 answers
110 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 ...
Lochan R's user avatar
0 votes
0 answers
11 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-...
Arun Cheriyan's user avatar
0 votes
0 answers
21 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 ...
st4n 0x's user avatar
0 votes
1 answer
59 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 ...
peacer's user avatar
  • 1
0 votes
0 answers
50 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 ...
user162422's user avatar
0 votes
0 answers
20 views

How to use an old LG Optimus L5 2 cellphone screen as a display

I extracted the screen from an old LG Optimus L5 2 phone. The screen model is allegedly LM400MN1A. I want to use it as a display for my Raspberry Pi 4B, but I don’t know which part of the board is the ...
Flamethrower's user avatar
0 votes
0 answers
63 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 ...
totoro115's user avatar
0 votes
0 answers
29 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 ...
Udit's user avatar
  • 1
0 votes
0 answers
39 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. ...
Christianidis Vasilis's user avatar
0 votes
0 answers
64 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 ...
Kabira  K's user avatar
  • 101
1 vote
0 answers
32 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....
Bob's user avatar
  • 11
0 votes
0 answers
414 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 ...
Rafpigna's user avatar
0 votes
1 answer
954 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?
Bram's user avatar
  • 172
0 votes
0 answers
328 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....
Peter Hodd's user avatar
0 votes
0 answers
646 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 ...
Jakob's user avatar
  • 1
1 vote
0 answers
137 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 ...
Aotearoa_DEV's user avatar
1 vote
2 answers
833 views

X server unable to launch using vc4-kms-v3d GL driver on a 8gb Pi4b+

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 ...
Gaffen's user avatar
  • 11
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 # ...
NevilleDNZ's user avatar
1 vote
0 answers
494 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 ...
zeruel.z's user avatar
1 vote
2 answers
575 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 (...
gue's user avatar
  • 11
1 vote
0 answers
205 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 ...
Dave's user avatar
  • 121
0 votes
0 answers
125 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://...
stormfire's user avatar
0 votes
0 answers
153 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 ...
Max's user avatar
  • 121
0 votes
0 answers
182 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 ...
r_al_sim's user avatar
0 votes
1 answer
209 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 ...
PeterGhimself's user avatar
1 vote
0 answers
360 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 &...
ZeusBios's user avatar
  • 111
0 votes
0 answers
193 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 ...
Pirogrammer's user avatar
-1 votes
1 answer
59 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 ...
bob mcgrath's user avatar
1 vote
2 answers
490 views

Having trouble with my Nema 17 stepper motor and TB6600 Driver, I am using a 12 V adaptor

I have attached an image of my setup. Code I am using is below import RPi.GPIO as GPIO from time import sleep # Direction pin from controller DIR = 10 # Step pin from controller STEP = 8 # 0/1 used ...
Melani's user avatar
  • 11
1 vote
1 answer
11k 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 ...
Hneel's user avatar
  • 19
0 votes
2 answers
364 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 ...
Mattia's user avatar
  • 101
0 votes
0 answers
277 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 ...
Gija's user avatar
  • 1
0 votes
0 answers
459 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 ...
John U's user avatar
  • 181
0 votes
1 answer
158 views

Why did my Raspberry Pi 4 stop playing sound?

Two updates ago, my Pi 4 just stopped playing sound and I tried doing another update/upgrade combo and still nothing. Could this be a corrupted sound driver? How can I fix this? I purchased the Pi 4 ...
Dominic Michel's user avatar
0 votes
0 answers
768 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 ...
user643011's user avatar
0 votes
0 answers
233 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 ...
a.gulcan's user avatar
2 votes
0 answers
696 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) ...
Paul Jurczak's user avatar
2 votes
1 answer
106 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 ...
Chris's user avatar
  • 23
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/...
WantToKnowMore's user avatar
2 votes
1 answer
839 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 ...
Heneer's user avatar
  • 121
1 vote
0 answers
345 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 ...
Yiros's user avatar
  • 11
1 vote
1 answer
345 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 ...
Seanasaurus's user avatar
4 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 ...
user avatar
3 votes
0 answers
285 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 ...
Murilo Machado Pinto's user avatar
0 votes
1 answer
856 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?
Eon's user avatar
  • 109
1 vote
1 answer
333 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'...
Fl0v0's user avatar
  • 69
1 vote
1 answer
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 ...
MaTY's user avatar
  • 11

1
2 3 4 5
7