Newest Questions
37,631 questions
-2
votes
0
answers
23
views
Using Pi5 as a desktop and main home computer
I’ve recently switched entirely to using a Raspberry Pi 5 (16GB) as my main home desktop, and I’m really enjoying the change. I still have a Windows 11 laptop from work (sadly, I don’t get a choice ...
0
votes
1
answer
36
views
Permanently change swap memory size with zram generator on Raspberri Pi 5
I have a Rasperri Pi 5 and I need to increase swap memory to 4GB to self-host PhotoPrism, as explained in their guide.
Details about my operating system:
PRETTY_NAME="Debian GNU/Linux 13 (trixie)&...
0
votes
0
answers
13
views
opencv won't reliably display jpeg on second monitor
I’m trying to display jpegs full screen on a second monitor on a Raspberry Pi 5 using opencv in Python.
import cv2
from pathlib import Path
from screeninfo import get_monitors, Monitor
def ...
0
votes
0
answers
18
views
Camera not available on Raspberry 4B
I use a RPi 4B, on which I want to use a camera P5V04A Rev 1.3.
I boot on Bookworm 64 Full, my problem is that the camera is not recognized:
rpicam-hello --list-devices
returns: no camera available.
...
-1
votes
0
answers
13
views
Tips for optimizing gemma2:2b on Raspberry Pi 5 for voice assistant? (tool calling)
👋
I'm building a privacy-focused voice assistant on a Raspberry Pi 5 that runs gemma2:2b locally via Ollama. It works, but I'm trying to squeeze out more performance for a better user experience.
...
-2
votes
0
answers
23
views
What are the power requirements for a R.Pi 3 when supplied through GPIO?
I'm already aware of 5V (±0.25V), and being ready for a 3A drain. But I'm also concerned about things like ripple voltage, ripple frequency and just how sharp transient demands will be. I also need to ...
-1
votes
0
answers
40
views
Why I am unable to dump a Macronix flash memory chip using raspberrypi?
Upon a raspberrypi I hooked up a macronix MX35LF1GE4AB flash memory chip. For that I hooked the chip into a raspberrypi zero w like this:
The chip is connected as:
Flash Memory
Raspberry Pi
GPIO pin
...
-1
votes
2
answers
32
views
Buildroot, Configure wifi with IWD on pi3
I'm using buildroot 2025.08.1 for a rp3b.
After create a minimal build based on default rpi3 defconfig, I tried to add wifi with IWD, following this tutorial without success.
The only other change I ...
-1
votes
0
answers
35
views
How to get my RPi4 Trixie to send a parting pulse on GPIO23 at the end of a soft shutdown?
I’m told (thanks,Grok) that at the end of a “shutdown -h now” at the very end, the kernel can send a low pulse about 100msec long out the GPIO23 pin. I will use this to have a relay then cut power ...
0
votes
0
answers
35
views
CM4S DPI display not working
A DPI display is working with CM3+. However, when changing the CM3+ to CM4S, only the backlight is working.
Attempts to resolve the issue:
A GitHub issue has been created and several steps have been ...
-2
votes
1
answer
44
views
Why Thonny fails to load on RPI CM4
Thonny fails to load on my new RPi CM4, tried sudo apt update && sudo apt upgrade -y, that successfully applied a huge update, but Thonny still fails:`
d
aves@raspberrypi:~ $ thonny
16:46:28....
0
votes
0
answers
15
views
Adding Effects to Live Audio Reading Audio Levels
I am building a full size Dalek and wanted to use a Raspberry Pi for audio effects, rather than by a dedicated Dalek Sound Effect unit.
I managed to create a bash script that used the rec and play ...
-1
votes
1
answer
13
views
Kodi vnsi slow, vdr-sxfe fast. What I miss?
I have installed slackware-current on Raspberry pi4, I want to use the raspberry pi4 as "tv decoder", the program "vdr-sxfe" using opengl give me good performance (perfect on x264 ...
0
votes
0
answers
27
views
Rpi cannot clone public repo fatal: unable to access Could not resolve host
I am teaching some IoT concepts to some high school engineering students. I have used Raspberry Pis for years in class and always been able to get the students to use SSH with them through Putty. ...
0
votes
0
answers
18
views
Getting inverted display when interfacing ILI9341 with Raspberry Pi 3B
I am running Raspberry Pi OS Lite (without GUI) on a Raspberry Pi 3B and have connected a generic ILI9341 display to the GPIO. I am getting inverted display, and I reckon that I am going wrong ...
0
votes
0
answers
11
views
Analog audio gone when booting with 3.5 mm plug plugged in
If I run wpctl status after booting Bookworm Lite on Pi 4 it doesn't list Built-in Audio Stereo under Sinks. If I try playing audio through it (using default pipewire output in Kodi) it's very low ...
0
votes
0
answers
15
views
How to prevent snd_bcm2835 from loading in Raspbian trixie?
I've got a RGB panel whose driver conflicts with snd_bcm2835. I can manually rmmod snd_bcm2835 before running the panel but would prefer to stop the snd module from loading altogether. I'm using an ...
-1
votes
0
answers
23
views
How to install the Apache2 package on a Raspberry Pi Stretch?
I wanted to run WEBDAV on my Paspberry Pi 3, which requires Apache.
I ran: sudo apt update
and then: sudo apt search apache2,
but I got the message:
`Package apache2 is not available, but is referred ...
0
votes
1
answer
38
views
Pihole gives me 403 Forbidden
when I downloaded pihole I already had my websites running on apache2 port 80 and pihole ran on lighttpd so I had to run it on a different port... for example port 9080, but when I tried to open http:/...
0
votes
0
answers
17
views
PPS-GPIO not loading correctly, seems to be a PTP issue, are im right?
Im trying to get the PPS-GPIO loaded on trixie on a rpi 5. (also tried bookworm on rpi 5)
/etc/modules does have pps-gpio
config.txt has dtoverlay=pps-gpio,gpiopin=18
if I run ppstest /dev/pps0, it ...
0
votes
0
answers
20
views
New Raspberry Pi 5 has started to 'ignore' the keyboard
I have recently acquired a Raspberry Pi 5 with 4GB. It has plugged into it a generic UK keyboard that I used to use with my RP B+ and a Genius Tracker Ball. The Monitor is an Asus VS247H HDMI LCD ...
0
votes
1
answer
25
views
ANAVI phat and LIRC - cannot send IR commands
I am trying to use the Anavi Infrared pHAT from PiHut to end IR commands to a television. I have read and tried all the answers that I could find, but no avail. And I do not understand what is going ...
0
votes
0
answers
34
views
Sharing an ethernet connexion with NetworkManager, not kept after reboot
I am using a raspberrypi to isolate a Windows host from the rest of my network. My intention is to have a small firewall that acts as a dhcp/dns server and doesn't route the windows network to the ...
0
votes
0
answers
11
views
ASP.NET app in docker container not accessible
I have an ASP.NET web app that sends signal through can bus on Raspberry Pi. When I run the app throught dotnet run it runs flawlessly. I had to dockerize, and in order to have access to can bus I ...
1
vote
0
answers
94
views
How to control first-time boot in Trixie-based image?
I have an automated system that prepares SD card images for an application that does not involve any direct user interaction with the Pi. Currently this mounts the boot partition in order to add ...
0
votes
0
answers
26
views
Raspberry Pi Zero 2w with MAX98357a - No Sound
I've wired up a MAX9857A to a Pi Zero 2W. It all appears to be working, however the only time I hear sound is on a restart. It makes a popping/crackling noise briefly and the speaker gets a little bit ...
0
votes
2
answers
86
views
rPI5 - RDP was working under Bookworm, but not under Trixie
I had a raspberryPi5 that was running Bookworm, and I was able to RDP into it without issues (running xRDP and connecting via the Windows app in macOS)
Setup had followed:
sudo apt install xrdp
sudo ...
-1
votes
0
answers
28
views
using grub on pi I don't want to boot with grub
I want to do some system programming. I am doing some basic programs. It creates an image with grub-mkrescue. Can I install grub on pi without it interfering with pi's boot process?
I am using pi ...
0
votes
1
answer
63
views
Accessing Raspberry via VNC with correct credentials: Invalid username or password
I want to use my Raspberry 4 remotely via VNC. The system is a fresh set-up using Raspberry Pi OS Desktop 64bit (Trixie).
The system is running head-less.
Steps I performed for set-up the Raspberry:
...
0
votes
0
answers
51
views
Pi-4 OS drops to initramfs or busybox
I am supposed to run a python script on the raspberry pi but before I do that I want to try and get the raspberry pi OS to work properly, however it doesn't matter how many times I re-flash the OS ...
0
votes
0
answers
22
views
Multitouch HID with Rasperry PI for Windows
I am currently working on a small project where I’m trying to configure a HID multitouch touchscreen using a Raspberry Pi, so that it is recognized and properly handled by Windows. The goal is for the ...
2
votes
1
answer
55
views
Identify Raspberry Pi device from contents of microSD
I have a microSD card with existing Raspberry PI OS installed and I am wondering if I can identify for which Raspberry PI device it was written for.
I checked /etc/os-release but no info about a ...
0
votes
1
answer
53
views
RPi5 power using buck converter
I am using a Raspberry Pi 5 for our project. I wish to power the Pi through USB-C but without a dedicated power adapter.
I am using a XL4016 9A buck converter at 5 volts. Can i cut a USB-C cable then ...
0
votes
0
answers
16
views
ACS ACR1281 Reader on Raspberry Pi 4 Randomly Stops Responding (LIBUSB_ERROR_TIMEOUT)
Good day everyone,
I’m using a Raspberry Pi 4 with two ACS ACR1281 1S Dual Readers connected. Occasionally, one of the readers (the one that’s frequently used) becomes unresponsive—it stops reacting ...
-1
votes
1
answer
30
views
How to diagnose: Logwatch on Pi4B Fails to send daily email
I've had Logwatch running on a Pi4 running Buster for several years now.
I wanted to run it on a different Pi4, also running Buster.
The logwatch.conf files are identical:
MailTo = [me]@mac.com
...
0
votes
0
answers
62
views
Raspberry Pi boot order changes after power off (not reboot)
I have a Raspberry Pi 5 with a SSD on a Raspberry Pi Official M.2 HAT+ and a USB Stick attached.
I want to run the OS from the USB Stick and use the SSD exclusively for storage.
So I formatted the SSD ...
0
votes
0
answers
19
views
Why do my ports fail over time on the Raspberry Pi?
I am having issues with serial connections on my Raspberry Pi 5b. This is set up to periodically send requests to various serial USB devices controlled by PIC24's that are attached to it.
This works ...
0
votes
0
answers
106
views
How do you set up a connection on Trixie to automatically switch between DHCP and Link-Local-Address
I have a headless Raspberry Pi 4 with WAN and ETH0 connected running Trixie.
I need ETH0 to use a DHCP address when connected to a network with a DHCP server and then switch to a Link-Local address ...
0
votes
0
answers
52
views
Six serial pairs (Rx/Tx) from RPi 5 GPIO pins, is there an existing solution?
I need to have six channels of serial Tx/Rx to control independent power supplies in real time. Ideally all six would be set (requires a few bytes each) in under 1 second.
I'm a big fan of pigpio and ...
-1
votes
1
answer
19
views
Mixing PWM and audio
We have some CM3 and now CM4 mounted on custom boards. audio is enabled on both via config.txt with:
dtparam=audio=on
Audio is on pins 40 / 41 (I think, I have a schematic for a similar but different ...
0
votes
0
answers
26
views
Can disabling a service generate an exception?
RPi is configured headless and operated via ssh. Running a Python script by using a service.
The script exits via Ctl+S which is captured by an Exception. On the Exception the script writes data to a ...
0
votes
0
answers
52
views
SPI with Raspberry Pi 4 and multiple Picos
I am working on a project with a bunch of Raspberry devices and have hit a bit of a road block.
I have a central raspberry Pi 4 that has 4 peripheral Raspberry Pi Picos all connected through an SPI ...
0
votes
0
answers
24
views
RPI OS shows white/red image while booting, can we control it?
So we have a mystery here. We have a product where we added a PI5 to show stuff on screen.
we are running the Raspbian Pi OS LITE 64 bit (bookworm, moving to trixi soon).
We want to show our brand ...
0
votes
0
answers
48
views
How to control a stepper motor using Python?
I am currently trying to control a NEMA 17 stepper motor rated for 1.5A through a DRV8825 driver using a Raspberry Pi 4B for a school project. I was trying to use RPi.GPIO to control the motor but it ...
1
vote
0
answers
23
views
Two monitors as one window
Using Rpi4b with Bookworm can two monitors be used for one screen. For example I open one program that opens full screen on both monitors as one window, with out having to spread the window across ...
0
votes
0
answers
35
views
How can I configure a Raspberry Pi 3 B+ as an I2C Slave?
I have an Aardvark USB to I2C/SPI adapter and I want to use it to test I2C communications between my Raspberry Pi 3 B+ and Ubuntu computer. Because of the project I'm doing I need the raspi to be the ...
0
votes
0
answers
58
views
On a pico 2w how do I set the time on boot?
Ntptime wants to set the RTC. The Pico2w (RP2350) does not have an RTC. Setting time.localtime() does not hold and resets to the EPOCH.
Using NTPTIME and worldtimeapi worked well on the picow (RP2040)....
0
votes
0
answers
58
views
How can multiple Python programs simultaneously access GPIO on Pi 5
I'm quite new to Pi programming. I know this question has been asked before but things do seem to have changed with Pi 5 and the latest Python libraries.
What is a way for 2 Python programs to access ...
0
votes
0
answers
28
views
how do I solve file transfer with ssh problem
ssh from my Mac to headless pi zero works no problem with cmd ssh username@raspberrypi
the cmd does not ask for a password and results in username@raspberrypi:~ $ on the pi
however when trying to file ...
0
votes
0
answers
25
views
Problems with older releases
I have inherited several Pi's running rs-15.1.
Recently when I try to sudo apt update, I get this response
pi@rasp1:~ $ sudo apt update
Err:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
...