Questions tagged [raspberry-pi4]

PROGRAMMING QUESTIONS ONLY. Questions about general use should be asked on https://raspberrypi.stackexchange.com/

The Raspberry Pi 4B comes in three different models, the only difference being the amount of SDRAM (1GB, 2GB or 4GB).
The most notable spec improvements, compared to older models are:

  • 1.5GHz 64-bit quad-core Cortex-A72 ARM v8 CPU
  • 1GB, 2GB or 4GB LPDDR4-3200 SDRAM (depending on model)
  • Gigabit Ethernet
  • 2.4 / 5GHz 802.11ac Wireless LAN
  • Bluetooth 5.0 BLE
  • 2x USB 2.0, 2x USB 3.0
  • 2x micro HDMI ports (both support up to 4kp60)

Visit Raspberrypi-Stackexchange for general questions about the Raspberry Pi.
Also useful might be the original raspberry-pi tag info.

1309 questions
2
votes
1 answer

SWUpdate on RPi4 via yocto - error parsing configuration file

After booting SWUpdate yocto-generated image for the first time, executing swupdate results in error message: Error parsing configuration file: 'globals' section missing, exiting. I tried to strictly follow SWUpdate's documentation, but it gets…
malyjak
  • 41
  • 4
2
votes
1 answer

Problem with mongodb installation on Raspberry PI 4 (bullseye)

I have tried to install mongodb in a Raspberry PI 4 with Debian GNU/Linux 11 (bullseye) and i have the following error: N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://repo.mongodb.org/apt/debian…
husq27
  • 21
  • 2
2
votes
1 answer

Envoy crashes on Raspberry PI 4 when tcmalloc tries to allocate memory

I am trying to run Envoy on RP4 and 64bit Raspberry Pi OS. Envoy 1.20 crashes with: external/com_github_google_tcmalloc/tcmalloc/system-alloc.cc:550] MmapAligned() failed (size, alignment) 1073741824 1073741824 @ 0x559342edc4 0x55934211a4…
Mitch Sitin
  • 1,987
  • 2
  • 12
  • 8
2
votes
0 answers

Better solution to Sync several onedrive accounts on raspberry for NAS

I am interested about synchronize several onedrive accounts on raspberry (version 4) to use like a NAS. So, I could access a external hdd in local and onecloud at the same time. I wouldn't like to pay for enterprise solution, so the idea is for an…
2
votes
1 answer

Read more than one MAX31865

We are implementing temperature reading using PT100 (3 wires) and Raspberry 4 with .NET 6. We are able to read the temperature using as reference this article. SpiConnectionSettings settings = new(0, 0) { ClockFrequency =…
E.Benedos
  • 1,585
  • 14
  • 41
2
votes
1 answer

Go Mod Download on Raspberry Pi4

Am running into a "cannot execute binary file: Exec format error" when running the following command from the below repository: go mod download…
T3Crypto
  • 43
  • 5
2
votes
0 answers

How to read and write file on flash drive

I have a problem with my project. I want my project to read files from usb flash drive and be able to write data to flash drive in real time by plugging in a rasberry PI but I can't find any information on how to do it. Does anyone have a guide or a…
MR.OHM
  • 21
  • 3
2
votes
2 answers

How to take images with Raspberry Pi since "raspistill" and "raspivid" are deprecated

Since the Raspberry Pi is transitioning from using the old raspistill and raspivid to the newer libcamera how should I take an image now if I don't want to use the CLI nor C as programming language? I can't find any wrapper for libcamera in any…
2
votes
0 answers

alsa error message while using speech_recognition

i am working on raspberry pi 4 def record_audio_en(): with sr.Microphone(device_index=1) as source: # microphone as source voice_data = '' try: recognizer.energy_threshold = 2000 …
Ahmed saad
  • 31
  • 4
2
votes
0 answers

Can't set up remote vscode-server via ssh

I'm trying to set up a remote vscode-server on my raspberry pi and access it via ssh. When connecting to it via ssh in my desktop vscode-instance, the setup fails, and I don't really know what the problem is here. These are the error messages the…
yarvis
  • 69
  • 1
  • 6
2
votes
0 answers

SignalR Core - Storing multiple subgroups in cache

I've started playing with SignalR and I don't have an idea how to deal with storing subgroups. Let me draw a picture of a problem that I'm facing. At first I want to say that I know that something like groups are already existing but probably will…
2
votes
1 answer

PICKLE Pic Programmer on RPi 4 Model B

Has anybody used this application PICKLE https://wiki.kewl.org/dokuwiki/projects:pickle with a Raspberry Pi 4 Model B? PICKLE is an application developed in "C", which allows the RPi to use its GPIO pins to program a .hex file in a number of PIC…
vpappano
  • 111
  • 1
  • 11
2
votes
0 answers

Using python to read 8-bit ADC outputs into a Raspberry Pi 4?

I'm using python to read in values from a high-speed 8-bit ADC (the ADS7885 linked here) and convert them into voltages using the SPI0 ports on a Raspberry Pi 4. At this point, I do receive values from the ADC on the Raspberry Pi, but the values I…
mchammer58
  • 21
  • 1
2
votes
0 answers

How to dynamically find a USB device path?

I have a Raspberry Pi 4 connected to a SIM7600 Waveshare modem. The SIM7600 creates 4 virtual USB ports. One of these virtual ports is used for GPS and another is used for the actual modem. Unfortunately, sometimes the GPS device is either on…
Thomas
  • 55
  • 1
  • 5
2
votes
0 answers

Linux KProbe in Raspberry PI

I am trying to use kprobes on Raspberry pi and and trying to store get the file struct from in the post handler of k_probe using the register struct pt_regs. I can't seem to figure out what register to fetch it from. In x86 it's ax so using below…
peterbrown
  • 23
  • 5