Questions tagged [config.txt]

This file is parsed by the GPU before the initialisation of the ARM core. It can be used to set various parameters to alter the behaviour of the system, such as display resolution or overclocking settings.

Filter by
Sorted by
Tagged with
1 vote
0 answers
21 views

Configuring the Raspberry Pi 4 B as a USB (HID) Gadget?

I am new to Raspberry Pi and recently got a RB Pi 4 intending to use it as a mouse/keyboard for my laptop. The problem is that I can't find valid information about how to configure the Pi 4 as a USB ...
BLUC's user avatar
  • 111
0 votes
0 answers
40 views

Updating RaspberryPi Ubuntu Server 20.04 to 22.04 caused usercfg.txt to not be honored

I asked on askUbuntu a while back but didn't get much traction... should have known there was a stack for Raspi... So I've been putting my HMDI output configuration in /boot/firmware/usercfg.txt ...
Chris Heath's user avatar
0 votes
1 answer
37 views

raspberry 400 hdmi output does not follow config.txt

Have my new raspberry 400 with current Raspberry OS and connected a TV by the official micro-HDMI-cable. There is no problem getting an image, but it always goes to 1080p@50 mode (TV tells me that, ...
ridgy's user avatar
  • 101
0 votes
2 answers
26 views

MAX31586 configuraiton using overlay

I want to read three MAX31586s using a Raspberry pi 3B. Two are connected on the spi0 and I can configure the maxtherm on config.txt to work. For the third one, maxtherm doesn't work with spi1, at the ...
Marco Galimberti's user avatar
0 votes
0 answers
35 views

Cannot set MAC address for Pi Zero W USB ethernet gadget

I am trying to create a portable debian system that runs on pi zero w using the 0W image from debian-downloads, I downloaded the image and flashed it to an sd card using etcher.io, next I edited ...
misha's user avatar
  • 1
0 votes
1 answer
82 views

4K video Stuck in raspberryPi4 (8GB RAM) even after doing required settings of config.txt

i am stuck at playing the 4K even at less frame rates (25fps) on the HMDI 0/1 of my raspberryPi4 (8GB,Cortex A7 CPU,1.5Ghz CPUspeed) even after desirable settings of raspi4 and being supported by the ...
Harsh Kumar's user avatar
0 votes
2 answers
59 views

Turn on raspberry PI from an input GPIO pin without ground

For context, I am using a raspberry PI 4 connected with it's charger (edit : I meant power supply, not charger). I wish to be able to turn it on when it receive a high value on a pin (for example,...
camp's user avatar
  • 1
0 votes
1 answer
190 views

Parameter order in config.txt - Can't change screen resolution

Does the order of the parameter in the config.txt matter? For example if hdmi_cvt=800 400 60 6 0 0 0 specified before the parameters (hdmi_group=2 & hdmi_mode=87) that specify that a custom ...
Zaffresky's user avatar
1 vote
1 answer
1k views

Switching between kernel versions in raspberry pi 4

My rpi4 is currently loading kernel 6.1.14-v7l+ at boot, while I have more installed: $ ls /lib/modules 5.15.84+ 5.15.84-v7+ 5.15.84-v7l+ 5.15.84-v8+ 6.1.14+ 6.1.14-v7+ 6.1.14-v7l+ 6.1.14-v8+ ...
Ricky Robinson's user avatar
0 votes
0 answers
73 views

Camera and boot issues

My raspberry pi zero 2w would not connect to any monitor. To fix this I deleted the config text file, and it connects to monitors now. However, it does not connect to a camera now. I enabled the ...
user112167's user avatar
0 votes
0 answers
773 views

unable to detect camera on raspberry pi 4 b (bullseye)

I have my camera module connected and have also tried sudo apt-get update and apt-get update as well but my os is already up to date. But when I try vcgencmd get-camera it gives an output like Output: ...
saksham Galhotra's user avatar
4 votes
4 answers
938 views

Raspberry Pi 3b+ - Turning off power LED from /boot/config.txt no longer works with kernal 5.15.56-v7+

I successfully turned off all my LEDs on my Raspberry Pi 3B+ according to this guide, by adding these lines in the /boot/config.txt: [all] # Turn off Power LED dtparam=pwr_led_trigger=none dtparam=...
SneakyShrike's user avatar
0 votes
0 answers
89 views

Errors Changing /boot/config.txt externally

I was overclocking my pi, and I went a little overkill, so now it wont boot. Im trying to change config.txt back to its previous state externally, but I don't have the permissions to do it. I tried ...
Fred Daws's user avatar
1 vote
1 answer
411 views

Raspberry pi 4, UART4 and SPI0

Raspberry pi 4 has 4 usable uart ports, uart 4 with rx in gpio 9 and tx in gpio 8, share rx pin with SPI0 miso0 pin. I would like to use both peripherals no ate the same time, but in different moment ...
Jefferson Alexis's user avatar
0 votes
1 answer
44 views

Raspberry PI is not booting [closed]

I tried to follow this tutorial https://www.laub-home.de/wiki/Raspberry_Pi_multiple_I2C_bus to connect a second i2C device on GPIO-pin 17 and 27. I had to reboot the pi after editing the /boot/config....
Marie03's user avatar
-1 votes
1 answer
573 views

Does Raspberry Pi Camera use specific GPIO pins?

I have a Raspberry Pi 4 Model B. Certain pins are used by some sensors. Once I plug my sensors into my system, the camera cannot be found by the Raspberry, on the other hand, everything works fine ...
Nihat's user avatar
  • 1
1 vote
1 answer
657 views

How do I rotate LCD touch panel on a Raspberry Pi 3?

I know this question has been asked many times, but I can't find a solution that works anywhere to rotate the official raspberry pi touch screen (not the display part as this is working, just the ...
ID10T_ERROR's user avatar
0 votes
0 answers
94 views

Can't modify UART 5 baudrate

I'm trying to communicate a NUCLEO-F746ZG with a RPi-CM4 thru the UART5. I need, at least, a baudrate >= 4000000. Using the stty -F /dev/ttyAMA2 4000000 I get the "unable to perform all ...
Juan Tántera's user avatar
-1 votes
1 answer
695 views

how to edit /boot/config.txt from the .img.xz file?

i have installed ubuntu-21.10-preinstalled-desktop-arm64+raspi.img.xz. is it possible to edit /boot/config.txt from the file itself so that we need not boot into the pi and then edit the config.txt ...
user135142's user avatar
0 votes
2 answers
9k views

libcamera stack does not work with Bullseye

On a RasPi4, the HQ-Camera works well with the legacy camera stack, but not with the libcamera stack. I did an update from Buster to Bullseye. $ uname -a Linux raspberrypi 5.10.89-v7l+ #1506 SMP Fri ...
Neverland's user avatar
  • 351
0 votes
2 answers
331 views

Camera not recognized on Raspberry Pi 3 B

I've tried connecting a camera to my Raspberry Pi and I've enabled it on raspi-config but vcgencmd get_camera still shows supported=0 detected=0. Also, in my boot/config.txt, start_x=1 is not even ...
vidyacharan prabhakaran's user avatar
1 vote
1 answer
512 views

How To make Raspberry Pi Hardware PWM off after startup

I am driving motor using ESC with Hardware PWM signal comes from Raspberry Pi ,I set the GPIO 19 (PIN 35) to be PWM1 , the problem is when the Raspberry Pi startup it gives output value to PWM1 (GPIO ...
0ussama's user avatar
  • 11
5 votes
2 answers
13k views

is dtoverlay a general linux concept or RPi specific?

With all the raspberry pi hats popping on and off, dtoverlay and /boot/config.txt is a very nice method to quickly tell the kernel that you've got new device tree information. But I've never seen this ...
Sittin Hawk's user avatar
1 vote
1 answer
603 views

Pi Zero extra I2C pins

My use-case is to have multiple sensors with the same I2C address attached to the PI and also a LED screen that I want to attach on it's own. I found that there is a software level overlay BUT it is ...
Assaf Moldavsky's user avatar
-1 votes
2 answers
461 views

Is it impossible to boot from SD card once USB/SSD boot is enabled in Raspberry Pi 2?

Based on this documentation: To enable USB host boot mode, the Raspberry Pi needs to be booted from an SD card with a special option to set the USB host boot mode bit in the one-time programmable (...
The Quantum Physicist's user avatar
2 votes
1 answer
301 views

Reassign GPIO pins for SPI (swap MOSI with SCK)

I had an adapter board made for a Raspberry Pi 4B and I somehow swapped the SPI clock and data lines on the board. Rather than redrawing and waiting for new adapter boards, is there a way to reassign ...
GT Electronics's user avatar
0 votes
2 answers
235 views

How do I regain access to either the filesystem or terminal on a raspberry pi that has all networking services disabled and no terminal?

Due to some unfortunate configuration settings, I kludged my raspberry pi into not having a terminal (it normally boots into an app, which still works fine) nor having network access. I can no longer ...
Mdev's user avatar
  • 103
0 votes
1 answer
270 views

Setting X to use 800x480

For some reason, despite settings in /boot/config.txt when I start X windows it goes with a resolution of 1024x768. I have a 5 inch screen with that uses 800x480. How can I reconfigure X to use a ...
StevenPatz's user avatar
-1 votes
1 answer
742 views

Enable WiFi with SD card after first boot

I want to enable WiFi on Rasberry Pi from SD card. I already installed and used, so it isn't the first boot. I search online and I found no answer to my problem How can I enable on boot the WiFi after ...
dandan's user avatar
  • 1
-1 votes
2 answers
4k views

How to enable both UART (ttyS0 and ttyAMA0) on Raspberry Pi 3b?

I've already read dozens of manuals and stack topics, but I do not figure out if it even possible run both UARTs on RPi 3B. Some tutorials advice to map uart to other pins in /boot/config.txt I tried ...
Sahasrar's user avatar
0 votes
1 answer
636 views

RasPi4 does 2nd init of HDMI, thus ignoring config.txt read done at boot

RasPi 4B When I edit config.txt, trying to force a certain resolution, RasPi always comes up with the monitors preferred resolution. After a lot of trying, including a completely new fresh OS install, ...
Maurits's user avatar
0 votes
0 answers
1k views

Pi 4B ignores HDMI mode 4 - 640x480, boots instead at 1024x768

I edited /boot/config.txt to use hdmi_group=2 and hdmi_mode=4; one HDMI monitor is connected to the first connector. It starts at 1024x768 instead. Only when I explicitly run xrandr --output HDMI-1 --...
0__'s user avatar
  • 502
0 votes
1 answer
961 views

Facing problems with audio output from GPIO pins with RPi 4

I am unable to get audio output from the GPIO pins on my Raspberry Pi 4. I initially added dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4 to the config.txt file in boot directory and used the GPIO ...
TheLastAirbender's user avatar
-1 votes
1 answer
83 views

S.O.S Monitor Says No signal and HDMI inactive to Raspberry Pi4B

I connected mi PI4B to the monitor with HDMI-MicroHDMI adapter, and when I power de PI device, the monitor says "HDMI Inactive" and no signal. The screen was in black. The Red led of the PI ...
Adri's user avatar
  • 1
1 vote
0 answers
362 views

Is there a command line editor for config.txt

I am looking to make an install script for hifi-berry and a few other pieces of hardware. When config.txt didn't have sections, there was no risk of adding a line in the "wrong place". With ...
mksteve's user avatar
  • 121
-1 votes
1 answer
265 views

Setting interface name in /boo/config.txt

I am trying to setup an interface name can1 (instead of can0) on spi0. Looking at the instructions at https://blog.stabel.family/raspberry-pi-4-device-tree/ I was able to add a new overlay file. Even ...
rickthehope's user avatar
1 vote
0 answers
361 views

hdmi_cvt ignored on my boot/config.txt

I am testing a LCD HAT ( ST7735S ) that I bought and it is working great with fbcp, but I can´t get raspberry pi os to run at native screen resolution ( 128x128 ). I´ve been reading all documentation ...
Badjano's user avatar
  • 189
1 vote
1 answer
419 views

How to list all RPI frequencies' settings?

I've been playing with overclocking in the last 2 days. I'm helping myself with this list. Yesterday I came across a command which lists all of these parameters and the frequencies which are currently ...
GChuf's user avatar
  • 211
0 votes
0 answers
24 views

Config.txt for connecting RPI4 to Light Projector [duplicate]

I am using this code in the config.txt and I am not able to connect properly to the projector. It is possible to decide to display or not an image but it isn't possible to turn On or Off the projector....
nanobio3D's user avatar
0 votes
1 answer
1k views

Debian Buster w/ Overclocking

Due to software requirements I'm running Debian Buster and am hoping to be able to give my Pi4 a slight overclock. I've created a confix.txt file in /boot with the following content: over_voltage=2 ...
Phill Healey's user avatar
1 vote
1 answer
620 views

Setting precise voltage offsets with over_voltage

On the BCM2711, the base VCore was greatly lowered from previous processors, though the over_voltage setting still uses 0.025V increments. On my Pi 4, vcgencmd measure_volts returns 0.8563V when not ...
bwDraco's user avatar
  • 131
0 votes
1 answer
3k views

How to get full UART safely on Pi4?

I need to use full UART. I was using dtoverlay=pi3-miniuart-bt to achieve this but the name suggests it's for pi3, I have pi4. Should I use miniuart-bt instead, or disable-bt as I would want to turn ...
smsware's user avatar
  • 103
0 votes
0 answers
54 views

Pi keeps changing source

I have a problem with my Pi. Every time I turn on the TV it automatically changes the source to my Pi. I tried following this thread : stopping RaspPi / raspbmc from auto changing source on tv ...
snoodler's user avatar
0 votes
1 answer
756 views

Second Acer monitor X183H native 1366 x 768 HDMI-to-VGA adapters "Input Not Supported" (*First AcerG195W works great)

#Raspberry Pi w/ latest Raspbian (Raspberry's OS) (which I have connected as a desktop computer) https://www.raspberrypi.org/products/raspberry-pi-4-model-b/specifications/?resellerType=home #...
just.a.nobody's user avatar
0 votes
1 answer
3k views

Ultra-wide monitor support - Screen resolution, Video and Audio Raspberry Pi 4 B

Ultra-wide monitor specs: 34 inch WHFD (2560 x 1080) IPS Display (21:9) - HD 10 AMD Free sync OS: Arch linux with Openbox (lightdm) Issues: Managed to get 2560x1080 pixels with hdmi_enable_4kp60=1 in ...
noobtech2020's user avatar
3 votes
1 answer
755 views

Use both internal and external activity LED?

With something like dtoverlay=act-led,gpio=26 in boot/config.txt I can enable an external activity LED, which is useful if the Pi is in a case and the on-board LED cannot be seen. Unfortunatelly, ...
PMF's user avatar
  • 854
2 votes
0 answers
172 views

Monitor settings not persisting across reboot

I have two monitors connected to a RPi 4B rev 1.4 running Raspbian 10. When I boot, both monitors are mirrored, so I go to Preferences > Screen Configuration and set the monitors up how I want (...
baum's user avatar
  • 181
5 votes
2 answers
20k views

Raspberry Pi 4 B GPIO boot and shutdown button(s)

I've been doing some research on power buttons for the Raspberry Pi, but I'm having quite a hard time finding information. Right now, I have button working on GPIO5, and when I connect it to the ...
are_end's user avatar
  • 159
1 vote
2 answers
515 views

How to get netboot debug info from start.elf

I am attempting to netboot Ubuntu 20.04.1LTS arm64 on a Raspberry Pi 3B v1.2. To do this, I have replaced the Ubuntu u-boot boot loader with the Pi boot loader, as instructed in the Ubuntu ...
Zsub's user avatar
  • 111
4 votes
4 answers
10k views

Raspberry Pi 4B screen tearing

I want to build a smooth experience on a Raspberry PI, and screen tearing is destroying transitions and animations on a web application viewed in chromium in full-screen, I'm using a 7" ...
Andrei Krestyan's user avatar