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
3
votes
2 answers

Stuck at sequential test during Python 3.7 installation on Raspberry Pi 4

During installation, every time I try to run make -j 4 it always stuck at 0:19:16 load avg: 0.95 [129/416] test_exception_variation 0:19:17 load avg: 0.96 [130/416] test_extcall 0:19:17 load avg: 0.96 [131/416] test_faulthandler the longest I…
3
votes
3 answers

Docker-Compose error: "line 1: Not: command not found" when executing --version (Current Version 1.27.4)

Looks like I am having the same issue as this docker-compose-usr-local-bin-docker-compose-line-1-not-command-not-found but when I looked at my '/usr/local/bin/docker-compose' file it was not empty. Also when I try the pip install, it said…
Paul
  • 101
  • 2
  • 10
3
votes
0 answers

fw_printenv and fw_setenv output 'Environmet WRONG, copy 0' on Raspberry Pi 4 with Ubuntu 20.04

Summary I want to use fw_printenv and fw_setenv on Raspberry Pi 4(RPi4) with Ubuntu 20.04 to print and set a environment value for U-Boot. When runs those commands, then I can see following errors on the UART console: ubuntu@ubuntu:~$ sudo…
user17088962
3
votes
1 answer

Constant Delay in Bluetooth Low Energy (BLE) data transmission

I am trying to evaluate the suitability of some different wireless interfaces for our project on 2xRaspberry Pi 4 and currently I’m evaluating Bluetooth Low Energy. Therefore I have written an Central and Peripheral device application with the Qt…
3
votes
0 answers

Microk8s ImagePullBackOff cannot be fixed by modifying the config

I have installed a microk8s to ubuntu (arm64 bit version), I would like to access my local image registry provided by the microk8s enable registry. But I get a ImagePullBackOff error, I have tried to modify…
Dániel Kis
  • 2,341
  • 5
  • 28
  • 51
3
votes
2 answers

PyAudio no sound under Docker

I have built a simple docker image and am trying to figure out why PyAudio will not output any sound. speaker-test outputs pink noise to the headphone jack. aplay sound.wav also works python3 play_wave.py sound.wav hangs and doesn't output any…
Paul Wieland
  • 765
  • 2
  • 10
  • 29
3
votes
1 answer

Error while installing Docker on Raspberry Pi 4

I am trying to install Docker on a Raspberry Pi 4, but I am getting an error. May you tell me, how to fix this? Thanks a lot! pi@raspberrypi:~ $ curl -fsSL https://get.docker.com -o get-docker.sh pi@raspberrypi:~ $ sudo sh get-docker.sh # Executing…
Nighthawx
  • 35
  • 1
  • 6
3
votes
2 answers

PyCharm IDE can't find RPI.GPIO module

On the advice of TheZadok42 I installed PyCharm 2020.3.3 on both my Windows machine and my Raspberry PI 4. I have also bought and installed the FreeNove Ultimate Starter Kit for Raspberry on both. The first tutorial lesson is Blink.py, which just…
3
votes
0 answers

VSCode unable to connect SSH to raspberry pi 4

I'm facing an annoying problem which just popped out of the blue overnight: VScode will not, under any circumstances connect to my raspberry pi 4 via ssh. I'm using VScode insiders with the remote-ssh extension and it worked like a charm the weeks…
user14984104
3
votes
0 answers

Q: Write a string to HID device in Python?

I have an RFID reader with 2 antennas (ant1, ant2) attached to a RPi4 (raspbian) that behaves as a HID USB keyboard. I have managed to read its antennas oputput following these posts: How can I get a String from HID device in Python with…
parovelb
  • 353
  • 4
  • 19
3
votes
0 answers

Deep Learning Model not working on Raspberry Pi 4 (ALSA ISSUES for USB Microphone)

I am working on a Trigger Word Detection System. I need to run the model on Raspberry Pi. The Code is working absoulutely fine on Windows PC. But on rasberry I am getting alot of warning with respect to ALSA. I have even changed my model to TFLITE…
3
votes
0 answers

Consider switching to the bundled Java runtime message in Intellij on Raspberry Pi 4

I have installed intelliJ by extracting ideaIC-2020.3.tar.gz file in /opt on my Raspberry pi 4. Whenever I run IntelliJ, I see the below message. There are some articles on this issue but non of them worked for me. Has anyone found a solution to…
d.s
  • 179
  • 13
3
votes
1 answer

Ansible creating directories from a list of variables

I'm starting to learn ansible and trying to create some directories that will be used in different tasks in the playbook so I create variables for each one. My playbook so far. --- - name: tests hosts: all vars: dir1: /data/dir1 dir2:…
CJZ
  • 33
  • 3
3
votes
1 answer

"getNativeWindowHandle+0x54" on Gluon JavaFX 16 EA 4 via DRM

I was following the steps given at Gluon Documentation to run JavaFX on Raspberry Pi 4 via DRM. I downloaded the JavaFX EA 16 builds from here. javafx.properties file…
rnayabed
  • 113
  • 10
3
votes
1 answer

raspistill returning file not found

I am trying to use the 64 bit version of raspbian (which can be found here: https://www.raspberrypi.org/forums/viewtopic.php?f=117&t=275370 I downloaded it, installed everything, ran my updates and then switched on the camera. But when I try to…
Diemo
  • 143
  • 2
  • 6