Questions tagged [pi-4]

For questions that apply specifically to the Raspberry Pi 4 and not other/all models.

696 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
2k views

Raspberry Pi 4 - Dual Audio with Dual HDMI

I have a Raspberry Pi 4. The thing is, I want to play 2 videos at the same time, since the RPi-4 has 2 HDMI outputs. BUT I also want to have split audio. The audio from video 1 should go out over the ...
4
votes
2answers
8k views

Can't set output to 4k 60hz on Pi 4

What I've tried: Setting "4Kp60 HDMI" I did this in the GUI config application and rebooted. Also tried disabling it and then enabling it in the config.txt and rebooted. Installing updates My ...
3
votes
0answers
704 views

How to netboot Ubuntu 20.04.1 Pi4 to Pi4 with dnsmasq…?

I've been trying to netboot my Pi4's using a Pi4 with dnsmasq on Ubuntu. So the idea is to have one Pi with attached storage serving the others. My setup is: master PI with an USB SSD running Ubuntu ...
3
votes
0answers
218 views

help getting ble-mesh (bluetooth mesh) working

I was hoping to get some help. I have been working on getting bluetooth mesh working on my raspberry pi 4 for a few days and feel I am hitting a brick wall. I am referring to this pdf that was ...
3
votes
0answers
3k views

Android Studio on RPi4

So with the release of the 4GB version of Raspberry Pi 4 I started wondering whether installing and running Android Studio on it will be possible. Previous Pi versions were lacking in terms of RAM ...
3
votes
1answer
1k views

Persistently increase usbfs_memory_mb on RPI4 running Ubuntu 19

I am working with a 4gb RaspberryPI4 and it's running a USB3 Flir Blackfly. Out of the box, the setting of usbcore.usbfs_memory_mb @ 16 isn't enough to get a stream from the camera. Increasing the ...
3
votes
0answers
657 views

Raspberry Pi 4: Console on first HDMI screen, X11 on second HDMI screen

The new Pi 4 has two HDMI Ports. After booting Raspbian, the first screen (HDMI-0) should display the console and the second screen (HDMI-1) should display the X11 desktop. My first thought was ...
2
votes
0answers
173 views

Unknown partition table type error from u-boot running on Raspberry Pi 4

I've been trying to run the Linux on my Raspberry Pi 4 board. But, I couldn't even achieve running the u-boot properly. The board launches up without any problem and starts running the u-boot. The u-...
2
votes
0answers
103 views

How do I rebuild the Minecraft shim layer?

I'm running a Minecraft server off a RPi4 8gb, but the raspian OSs is 32 bit, limiting the memory I can allocate to the server. There is a beta 64 bit os, but on of the things missing is Minecraft's ...
2
votes
1answer
69 views

Does the Raspberry Pi 4's processor support ARM's SHA256 instructions?

According to Wikipedia, every Armv8 processor should support sha256 hashing instructions however /proc/cpuinfo doesn't list it. Could there be a failure to identify the feature by the kernel? ...
2
votes
0answers
40 views

magnetic field generated by the engine alternator affects gpio value

I am working on a dashboard for a motorcycle. I created a Qt application on my raspberry pi 4 on a raspberry pi os lite. I have configured one of my GPIO as interrupt using the wiringPi library. ...
2
votes
0answers
174 views

Raspberry pi 4 doesn't detect i2c devices

I am working on a gas flow sensor SFM4100. It's communcation protocol is i2c. And according to gasses bus adresses are changing. For o2 gas, address is 2. When I connected the all pins according to ...
2
votes
0answers
406 views

Getting IO errors while connecting a HDD to a RPi4 when using USB 3.0 but not when using USB 2

for a few weeks now, I have been suffering with the following problem: I wanted to set up a NAS with a Raspberry Pi 4 and two WD Red, running ubuntu server, since the RPi 4 finally supports USB 3.0. ...
2
votes
0answers
346 views

Mimic omxplayer behavior with VLC

I'm trying to mimic the behavior of omxplayer file.mp4 --loop using VLC since omxplayer is going to be deprecated soon. The use case is a splash screen on an environment without X. The closest ...
2
votes
1answer
324 views

How to use Rasbperry PI 3 or Raspberry PI 4 as VPN Router?

I would like to use either Raspberry PI 3B 1GB or Raspberry PI 4 8GB version as VPN Router. I have the following: 4G Router Either Raspberry PI 3B 1GB or Raspberry PI 4B 8GB TP Link Router My plan ...
2
votes
0answers
124 views

I2C device detected on arduino and raspberry pi 3 but not on raspberry pi 4

I have a fresh installation of raspbian (Linux raspberrypi 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux) on a raspberry pi 4. I have enabled i2c and nothing else. I have ...
2
votes
0answers
246 views

Pi 4B wifi can only use channels legal in China

My Raspberry Pi 4 can access some wifi channels, but not all of them. My question is: How can I get it to access all the wifi channels it is supposed to be able to use in Canada? It is configured for ...
2
votes
0answers
1k views

RP 4 connecting to Asus ZenScreen monitor issue

I'm very new to RP and I recently bought a new RP 4 and wanted to use a portable touchscreen monitor with it, but I wanted something bigger than the 7-10" ones I saw. I went for this one after a ...
2
votes
0answers
577 views

how do i get zoom on a raspberry pi 4?

I am looking to install zoom web conferencing on my raspberry pi 4 4gb running Ubuntu mate 20.04. I have tried the pi kiss method but pi kiss wont load. How do i do this?
2
votes
1answer
2k views

Pi 4 - Ubuntu 64 bit - Boot from SSD over USB - Gets stuck in Initramfs after reboot

TL;DR; Successfully install Ubuntu Mate 20.04 64 Bit on Raspberry Pi 4 (4GB) and boot over USB 3.0 SSD. Works fine. After I do sudo reboot -> ubuntu is broken and I enter initramfs shell, cannot ...
2
votes
0answers
151 views

Debug OTG on RPI 4 for g_midi?

I tried to set a RPI 4 in OTG device mode I added dtoverlay=dwc2 to config.txt I modified the cmdline.txt so it launches wc2 & g_midi I tried ,dr_mode=peripheral too I just tried replacing ...
2
votes
0answers
387 views

Proper GL Driver configuration on RPi 4

Can someone confirm what I should do on a raspberry pi 4 to access the new DRM based opengl drivers? I expected to see a new option in raspi-config for it, but instead I only see the legacy and fake ...
2
votes
0answers
316 views

Raspberry pi 4 stuck on rainbow screen, green LED flashes 4 times

I have install latest(2020-05-27) raspberry pi image 32-bit. And it gets on rainbow screen on both outputs, red lights is on, while green lights flashes 4 times. When I turn on raspberry pi with out ...
2
votes
1answer
720 views

BluetoothError: (111, 'Connection refused')

I'm trying to connect raspberry pi 4 to my ubuntu laptop. I setup a rfcomm server on my laptop, the code is given below: import bluetooth server_sock = bluetooth.BluetoothSocket(bluetooth.RFCOMM) ...
2
votes
0answers
555 views

ALSA errors on raspberry pi 4

So i'm trying to make a virtual assistant on a raspberry pi 4. I have coded the bot to work on my windows machine but now I'm running into errors while using the raspberry pi I figured out which part ...
2
votes
0answers
59 views

Error in printing message to LCD via Raspberry Pi

from RPLCD import CharLCD lcd = CharLCD(cols=16, rows=2, pin_rs=37, pin_e=35, pins_data=[33, 31, 29, 23]) lcd.write_string('Hello world!') I've wired my raspberry pi and LCD exactly as the picture ...
2
votes
0answers
145 views

Slow Serialcommunication between Raspberry Pi and Ardunio Mega

I'm in the process of tinkering with something, and for that I need an Arduino to collect measurement data, and a PI to process it all and send it on. My problem is that the connection between my Pi ...
2
votes
0answers
2k views

pi4 4gb not powering XBOX one wireless dongle

I have a 2GB and a 4GB raspi 4 and the problem persists in both PIs Im trying to control my robot using the xbox one controller. I want to use the dongle instead of the bluetooth to get a bit more ...
2
votes
0answers
147 views

How to connect "FPV Night Vision QVGA 320X240 Monocular" to raspberry 4?

I am working on a project which need this module to be connected with raspberry pi 4 or 3. I tried some to convert into single RCA cable (worked) but I want to convert it into HDMI. I am unable to ...
2
votes
1answer
249 views

Mount network share on boot with hidden password

When I was trying to mount a network share on boot by adding the following line to the /etc/fstab file: //<server>/folder /home/pi/target cifs username=<username>,password=<password&...
2
votes
0answers
121 views

Using GPIO on the Bitwizard DMX hat board

I have a rpi 4, with a relays board on top of it, and a Bitwizard DMX hat board on top of that. The Bitwzard board doesn't have a male header on the top, so I am unable to connect my sensors. It was ...
2
votes
0answers
135 views

Using Motion to Post Photos Captured to API

I am attempting to build a program that will automatically post the photos taken by motion from my usb webcam to a rest API, and have ran into some problems. My livestream works correctly, and it ...
2
votes
2answers
211 views

Wifi connects but no internet access on Raspberry Pi 4

I can connect my Raspberry Pi 4 to my wifi, but I can't seem to access the internet. I can ping machines on the network, and I can ping (and even VNC into) the Pi from network machines. However, I can'...
2
votes
0answers
41 views

power problem with pi4 and 7" touchscreen

I have a Pi4 that I have connected to a 7" touchscreen. The touchscreen is powered by a microUSB cable, the Pi4 is then powered through the GPIO, per the instructions. I keep getting the low power ...
2
votes
0answers
120 views

Pi cannot boot when encrypted USB SSD drive is attached

I have a Pi 4, running Raspbian 10 Buster. I have an attached SSD drive with LUKS encryption. When I restart the Pi, it wouldn't boot if the SSD is attached. Once I unplug it, it boots well and I can ...
2
votes
0answers
532 views

Raspberry Pi 4 stuck on Rainbow Screen

My Raspberry Pi turns on, it shows the Rainbow Screen, then freezes. I have not installed Raspbian; I downloaded NOOBS and put it on my micro SDHC card. I put the micro SDHC card into the slot and ...
2
votes
0answers
172 views

(Wiring) RPi 4B laptop keyboard

NOTE: Not that I've chosen a few wired keyboards, I'll accept an answer that explains HOW to (easily) wire a keybard to the pi - it cannot obstruct the use of a small fan powered by the GPIO. I'm ...
2
votes
0answers
124 views

Turning on/off specific HDMI port on Pi 4

According to the docs, vcgencmd now can specify which hdmi port as a second argument for raspberry pi 4, so I did sudo apt update then sudo apt upgrade but vcgencmd display_power 0 7 returns error=2 ...
2
votes
0answers
245 views

RPi 4 second HDMI port does not seem to support CEC

When using the cec-utils on a Pi-4 with 2 HDMI devices connected, the one connected to HDMI1 does not respond to commands or show up in a scan. Running cec-client -l only shows 1 device. Is there ...
2
votes
0answers
153 views

Issue with Raspberry Pi 4 OpenCV

I have been using OpenVINO + NCS2 on a raspberry Pi 3b+ with no issues for an IP camera security application (object detection). I then upgraded to Pi 4 looking for better performances. The object ...
2
votes
0answers
335 views

Purethermal2 + RPi4 (4GB + Raspbian)

A week ago I received a fresh RPi4 4GB and started to play with it. I installed Raspbian Buster from the downloads page, no errors. After everything was set up, I tried to connect my Purethermal 2 (...
2
votes
0answers
2k views

How can I get my new Raspberry Pi 4B to output 1080i video

I finally got into the Pi world with a model 4B. I've updated it to Raspian/Buster and have the network working (wireless and wired - but just using wireless right now). I'm running it using VNC-...
2
votes
2answers
866 views

Backward Compatibility on the Pi 4

Is it possible to run Raspbian Stretch on the Pi 4? The problem is that the newest released (Raspbian Buster) has some weird bug in which JavaFX applications cannot be started with the error : "*...
2
votes
0answers
1k views

Different resolutions HDMI-1/HDMI-2 in Screen Layout Editor

I have a Raspberry Pi 4 (2GB) connected to 2 displays of resolution 3840x600 each (58:9 aspect ratio), running the latest version of Buster. To have the display in correct resolution, I have edited ...
2
votes
2answers
1k views

WiFi network disappeared?

I set up my RasPi 4 as a WiFi Access Point according to this guide, and it worked - I could see the SSID in the list of networks, and join the WiFi network, and connect using ssh, but only for a brief,...
1
vote
1answer
13 views

Printing a image in the mini thermal receipt printer adafruit using raspberry pi

I have opened the command prompt on a Raspberry Pi and typed the command as: lp -d ZJ-58 -o fit-to-page /home/pi/Documents/image_name.bmp which produces the gibberish printing as follows: Could ...
1
vote
1answer
27 views
+50

Thermal mini printer receipt adafruit printing gibberish

I have written a very simple program in python to print the text value in the mini thermal receipt printer adafruit. Code: # On a CircuitPython microcontroller: import board import busio import serial ...
1
vote
0answers
40 views

Raspberry pi ethernet light blinking a color when connected to laptop

I have received a Raspberry Pi 4 Model B, and have been using it for several weeks. I had installed OpenWRT(21.02.1) on one of my MicroSD cards and had put it into my pi. I don't have an external ...
1
vote
0answers
48 views

Raspberry pi 4 Not Booting Solid Red One Green Flash

Hello I have a raspberry pi 4 and after it was lying for some time in a drawer I decided to use it for something and it doesn't work. I'm sure it used to work before and even though it was just lying ...
1
vote
2answers
62 views

OBS doesn't work

I am a user of obs, Open Broadcaster Software. I am using raspbian bullseye 32 bits OS. I have installed OBS with this command: sudo apt-get install obs-studio && sudo apt-get install obs-...

1
2 3 4 5
14