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
0 answers

Why do i get "Permission denied" errors from using Weston/Wayland

I have built a Linux system with Buildroot (2021.05) to run on a raspberry pi 4. My graphics stack include using mesa (vc4, v3d, kmro), Wayland / Weston with a DRM back-end. Also installed kmscube, which runs perfectly with the rotating cube…
Cerezo
  • 209
  • 2
  • 9
2
votes
0 answers

socket.getaddrinfo in redis connection throws OSError: [Errno 16] Device or resource busy

Description: I have a small image server, where you can set an image name 1 and image name 2 from two different devices and the server displays the image path consisting of both names. E.g. Device 1 sets the image 1 to foo and device 2 sets the…
Hakaishin
  • 2,550
  • 3
  • 27
  • 45
2
votes
1 answer

How to remove getty@tty1 link in yocto dunfell branch at time of compiliation

I am building linux system for raspberrypi4 but for some reason I need to remove getty@tty1 service in yocto. I have created systemd_%.bbappend file for that. Host PC is Ubuntu 18.04 this is working with warrior branch Now, I am trying to compile…
2
votes
1 answer

Barcode batch scanning - why does this code require a double scan to terminate?

I am a novice Python programmer, trying to write a Python script to run a barcode scanning station (Raspberry Pi 4, RPiOS, Python 3.7.3). I want to scan a certain number of items, and when complete I want to scan a different barcode to process the…
2
votes
1 answer

Raspberry pi4 py-videocore6 execute a program using GPU

in my project i would run a python program on my Raspberry pi4 using GPU instead CPU. I try to use py-videocore6 or achieve my result, i write this on my example code: from videocore6.driver import Driver from videocore6.assembler import qpu from…
Manuel Santi
  • 1,106
  • 17
  • 46
2
votes
2 answers

How to solve Gradle docker image freezing on Raspberry Pi with warning about monotonic clock?

I am trying to set up a Docker container that builds and runs a small application. This is my Dockerfile: ##################### # build the jar ##################### FROM gradle:jdk11 as builder COPY --chown=gradle:gradle application…
michpohl
  • 852
  • 8
  • 30
2
votes
1 answer

Python multiprocessing queue not sending data to parent process

So I've got a bluetooth connection from an arduino reading a joystick and sending the axis readout over bluetooth to my raspberry pi (4b running ubuntu 20.10). I've confirmed it's receiving this data too. Now I try to run this bluetooth…
2
votes
0 answers

update accidentally not installed

During apt upgrade I got an output like the following, unfortunately I pressed enter by mistake. Which is why a package was kept in the previous version. I think it was openssh-server, but I am not sure. I am using Raspberry Pi OS in the current…
Root_DE
  • 71
  • 6
2
votes
1 answer

Classic Bluetooth, BLE, or... Wifi Direct?

Hoping to get a nudge in the right direction :-). I am writing a Java application that will run on a Raspberry Pi 4, embedded in a vehicle (headless, no keyboard). The client or central will be android or iOS. I'd like the following: ABSOLUTELY…
2
votes
1 answer

How to create containerized Spring Boot App on Raspberry Pi 4?

What am I wanting to do? I want to convert to run my containerized of Spring-Boot's app which is can run on amd64 systems, on Raspberry Pi 4's Docker. How can I fix the my problem? What's the running OS on Raspberry Pi? I've installed Ubuntu Server…
E G
  • 157
  • 1
  • 11
2
votes
0 answers

Turn off display (MHS-3.5inch) on Raspberry Pi 4

I am currently experimenting with the MHS-3.5inch display (http://www.lcdwiki.com/MHS-3.5inch_RPi_Display) and a Raspberry Pi 4. So far everything is working fine. But now I want to turn off the display somehow! The Pi should be running but the…
NATOR
  • 505
  • 2
  • 5
  • 14
2
votes
1 answer

Two fullscreen tkinter windows on separate monitors on Raspbery Pi 4

I have a simple TK app that runs fullscreen just fine on one monitor, but now I want to run two fullscreen windows, one on each display on a Raspberry Pi 4. The two displays have different resolutions and work fine on their own, but I can't get two…
Salvatore
  • 10,815
  • 4
  • 31
  • 69
2
votes
1 answer

Is it possible to install 32 bit container in 64 bit host, or the other ways?

I’m try to use picamera, raspistill on raspberry pi. I recognized that these modules are Only work in 32bit os. But I want to use another development that works in 64bit os. So my question is this. Is it possible to make or install container that is…
2
votes
1 answer

crontab doesnt run python script on a raspberry pi 4

I'm trying to run a python script automatically when the raspberry pi 4 turns on, and I'm using crontab to do it. The script is a GUI that helps fill and search a database. the raspberry pi doesnt give any errors or exceptions, it just turns on…
count zero
  • 43
  • 6
2
votes
1 answer

Run Elastic Stack in Docker Compose on Raspberry Pi 4

I'm trying to run an elastic stack on my RasPi4 using docker compose. Problem is that Elastic does not provide images for ARM archtiecture ... only X86. So raspi is not supported out of the box. Everytime I start my docker compose config I get this…