1
21
2
6
3
11

so im tryna quit using my chromecast and start using a raspberry pi with linux to use as my streaming box instead. So what is the best price-to-performance ratio on a raspberry pi for that purpose? I'm mainly gonna watch youtube but being able to watch something in 4k would also be nice, and it needs to have a wifi chip so i can access my jellyfin server

thank guy

4
3

I had trouble finding a video tutorial on the manual setup process in linux for the C SDK, so I made a short video on it, as well as how I have the build environment set up in a shell script. I know theres a script for raspi os but idk how well it works for linux. (I had a different post with the same thing but I'm reposting to make peertube the main video, deleting the old post in a sec) https://www.youtube.com/watch?v=_8DmkVY9L9U

5
9

I'm (@paper_mint@retrolemmy.com) aggregating some tutorials, libraries, and parts for the raspberry pi pico. I'm in the process of making a chiptune tracker on the pi pico and as I've been researching I've gathered a lot of links and stuff. So I figured I'd compile it into a public thread. Also its just a nice format to be able to go through myself. if someone could lmk if they know something similar that already exists that would be awesome & could potentially merge resources with it

6
44
7
9
Powered USB hub hat? (piefed.social)

Has anyone found something like a powered USB hub in hat form for a Pi zero 2 w?

The X302 seems like the right idea, although:

  1. It inhibits the use of a header
  2. There isn't enough docs to figure out if I could just trim a few pins and use the header anyway
  3. Will it actually power the pi, or is the power just for the hub and amp

The ultimate goal is a midi synth with USB inputs for the keyboards. It needs a screen and DAC, and for now I'm building with a Pirate Audio headphone amp but the USB needs to power the keyboard too.

8
15
9
9
10
47
11
8
12
14
submitted 4 months ago* (last edited 4 months ago) by akunohana@piefed.blahaj.zone to c/raspberry_pi@programming.dev

EDIT/SOLVED: The culprit turned out to be a faulty offbrand 5V 3A DC power adapter. I tried another adapter - incidentally, one that I use to charge my smartphone - and the hissing sound was gone. My other router - also a Raspberry Pi 4B - uses the same power adapter as the one that started malfunctioning/hissing was using, but it is quiet and operates normally. At the very least I draw the following three conclusions:

  1. 5V 3A is enough to run a Raspberry Pi 4B as a router with constant heavy TX/RX of at least a couple of terabytes per day.
  2. I should be prepared for the other offbrand power adapter - namely the one that came with the OkDo bundle - to fail within a year or so.
  3. There are really nice people here that give quick and elaborate responses! Thank you all! 🩵

The linked file is a recording of a hissing sound that my Raspberry Pi 4 started to make sometime during the last 24 hours. Another symptom is that the power on and CPU activity LEDs are out. It is not running hot. It doesn’t have an internal fan. It is being cooled by six PC chassis fans. It is running OpenWRT. It has been pumping Linux ISOs in and out non stop for about four months.

I have tried cleaning it by dedusting it. I have also tried rebooting it. While rebooting, it squeals like a mouse, like it was suffering but the LEDs function properly. As soon as it loads user space though and resume routing, they turn off and the hissing sound continues.

Here are some system logs with severities warning and error. As you can see, the logs are from the 15th and I don’t think any of them pertain to the hissing sound and/or the LEDs.

WARNING  
[May 15, 2026, 23:29:12 GMT+2] kern.warn: [    0.196065] pci_bus 0000:01: supply vpcie3v3 not found, using dummy regulator  
[May 15, 2026, 23:29:12 GMT+2] kern.warn: [    0.196201] pci_bus 0000:01: supply vpcie3v3aux not found, using dummy regulator  
[May 15, 2026, 23:29:12 GMT+2] kern.warn: [    0.196257] pci_bus 0000:01: supply vpcie12v not found, using dummy regulator  
[May 15, 2026, 23:29:12 GMT+2] user.warn: [    7.225917] urandom-seed: Seeding with /etc/urandom.seed  
[May 15, 2026, 23:29:12 GMT+2] kern.warn: [    8.327998] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.  
[May 15, 2026, 23:29:12 GMT+2] kern.warn: [    8.365104] brcmutil: loading out-of-tree module taints kernel.  
[May 15, 2026, 23:29:12 GMT+2] kern.warn: [    8.780919] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2  
[May 15, 2026, 23:29:12 GMT+2] kern.warn: [    8.792642] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin  
[May 15, 2026, 23:29:12 GMT+2] daemon.warn: dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry  
[May 15, 2026, 23:29:18 GMT+2] daemon.warn: dnsmasq[1]: no servers found in /tmp/resolv.conf.d/resolv.conf.auto, will retry  
[May 15, 2026, 23:29:21 GMT+2] daemon.warn: odhcpd[990]: No default route present, setting ra_lifetime to 0!  
[May 15, 2026, 23:29:21 GMT+2] daemon.warn: odhcpd[990]: rfc9096: br-lan: piofile updated  
[May 15, 2026, 23:29:37 GMT+2] daemon.warn: odhcpd[990]: No default route present, setting ra_lifetime to 0!  
[May 15, 2026, 23:29:53 GMT+2] daemon.warn: odhcpd[990]: No default route present, setting ra_lifetime to 0!  
[May 15, 2026, 23:30:18 GMT+2] daemon.warn: odhcpd[990]: No default route present, setting ra_lifetime to 0!  
ERROR  
[May 15, 2026, 23:29:12 GMT+2] kern.err: [    0.307942] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.  
[May 15, 2026, 23:29:12 GMT+2] kern.err: [    0.307968] bcm2708_fb soc:fb: probe with driver bcm2708_fb failed with error -2  
[May 15, 2026, 23:29:12 GMT+2] user.err: [    7.197094] insmod: module is already loaded - fat  
[May 15, 2026, 23:29:12 GMT+2] user.err: [    7.204851] insmod: module is already loaded - vfat  
[May 15, 2026, 23:29:22 GMT+2] daemon.err: procd: Got unexpected signal 1  

Judging by the squealing during reboot, I believe it to be either the CPU or memory, although I have never hears memory make sound, while CPUs, I have.

13
5
14
15
15
47
16
6
submitted 5 months ago* (last edited 5 months ago) by FarraigePlaisteach@lemmy.world to c/raspberry_pi@programming.dev

Edit: The solution in my case was to run these commands:

sudo apt update
sudo apt install linux-image-rpi-v8 linux-headers-rpi-v8

The new kernel wasn't used after rebooting though, so I had to edit /boot/config.txt and add:

# New kernel (test)
kernel=vmlinuz-6.12.75+rpt-rpi-v8
initramfs initrd.img-6.12.75+rpt-rpi-v8 followkernel

I'll figure out how to make it so I don't have to manually keep config.txt updated but for now, I'm happy to have a process to stay up to date with current kernels.

/edit

Reading about the latest Copy Fail security vulnerability I realised I was overdue a check on my system. It turns out I had even bigger problems - I was still on Debian 10/Buster.

To solve it I updated my apt list to contain: deb http://archive.raspberrypi.org/debian/ bookworm main

But after doing this, updating and doing a full upgrade, my kernel is still 6.1.21.

I'm now reading that I should not have upgraded from bullseye to bookworm, so what is the easiest way forward from here? If there is a documented set of steps for this scenario I'd appreciate a link. I have a lot of services and scripts so reinstalling from scratch is not really an option.

uname -a
Linux 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux.

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"``___

17
4
18
7
19
9
20
57
21
14

The United States FCC recently announced a ban on new consumer-grade routers produced outside of the US. This does not affect existing devices that were already authorized, and there is a carve-out for manufacturers to apply for a conditional approval. It's difficult to say what the medium or longterm effects of the ban will be.

This got me thinking about what could be used as a makeshift router in a pinch. As it so happens, any computer that can run Linux and has networking interfaces can function as a router. This blog post by Noah Baily documents the process using various old computers and components as custom routers over the years.

These makeshift routers are not going to win any bandwidth speed races, but they're perfectly capable of routing traffic for IoT devices or basic browsing. They're also useful for capturing traffic to analyze or sharing internet access from WiFi to Ethernet or vice-versa.

This guide documents the setup process and capabilities of using a Raspberry Pi as a router. It does not require a particularly powerful computer, even the older Pi 3 B+ that lots of us have tucked away in an old parts bin works fine for this.

22
11
23
38

This board turns a Raspberry Pi CM5 into a NAS with support for 5 HDDs

24
4

Hi all, I'm trying to figure out a good easy setup for a baby monitor, I've got a pi4, pi camera 2 noir, but it's too dark to see anything by itself, and it feels like I'm leaving the plug & play zone where I could just google & program, and am entering the buy an LED and solder zone, which scares me. Any suggestions?

25
27
view more: next ›

Raspberry Pi

6341 readers
2 users here now

Welcome to the programming.dev Raspberry Pi community!

Raspberry Pi is a series of small single-board computers. It is widely used in many areas because of its low cost, modularity, and open design. It is typically used by computer and electronic hobbyists.

Rules

Members of this community are expected to exhibit mature and respectful behavior.

Those who fail to uphold these standards may find their posts or comments removed, with repeat offenders potentially facing a permanent ban.

Please keep discussions in English so that they can be appropriately moderated.

Links

founded 3 years ago
MODERATORS