Skip to main content

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
0 votes
2 answers
32 views

PrimeOS 2.1.0 rpi 4b dsi display dont work

Good morning. I have a dsi touch screen thats works with all distros android on my rpi 4b, but dont work with PrimeOS 2.1.0. The rainbow appears but after, don't show anything. All distros android ...
Renato Jardim's user avatar
-1 votes
1 answer
27 views

Minimal config.txt for enabling UART0

I am attempting to connect to the UART0 on my Raspberry Pi 4B. I have shorted together GPIO pins 14 and 15 (pins 8 an 10 on the header). I then run picocom /dev/ttyAMA0 and see if it's echoing (it ...
Jeremy Salwen's user avatar
0 votes
1 answer
99 views

When is the 'disable-bt' dtoverlay necessary?

I have a Pi 3B+. There are a number of resources out there that suggest it is necessary to enable the disable-bt overlay in order to make use of the serial UART on GPIO 14 & 15. E.g., this ...
larsks's user avatar
  • 653
0 votes
0 answers
78 views

Raspberry 4B Composite video issue

Need your help with the Raspberry 4B Composite video issue. I have read official documentation and a lot of topics on the internet, but still did not solve my problem. Problem: I power Raspberry ->...
SPS's user avatar
  • 1
0 votes
1 answer
63 views

480x320 display HDMI - blank after boot

I am trying to get to work mini HDMI chinese 480x320 display. I want to display only console output, and that resolution is good enough for it. Display is known to be ok, during boot it shows good ...
dingo27mobile's user avatar
0 votes
0 answers
36 views

rPi 4 two screen configuration without the gui

I tried plugging two screens with different dimentions into this pi4 and the result is a mess. What is more, I started with PiOS 64 lite, and am running the i3 desktop. Loving i3, but of course ...
Petr's user avatar
  • 117
1 vote
1 answer
542 views

What filename does auto_initramfs look for?

From the config.txt documentation: If auto_initramfs is set to 1, look for an initramfs file using the same rules as the kernel selection. Presumably it's looking for something with either no suffix,...
OrangeDog's user avatar
  • 111
1 vote
0 answers
563 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
1 vote
0 answers
619 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
176 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
37 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
80 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
246 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
1 vote
2 answers
190 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
  • 11
-1 votes
1 answer
957 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
4k 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
116 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
1k 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
5 answers
1k 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
109 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
632 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
47 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
0 votes
2 answers
923 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
  • 11
1 vote
1 answer
1k 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
117 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
954 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
1 vote
2 answers
11k 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
  • 361
0 votes
2 answers
427 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
755 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
8 votes
2 answers
18k 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
0 votes
1 answer
885 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
620 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
388 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
399 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
-1 votes
1 answer
381 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
2k 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
6k 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
1k 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
-1 votes
2 answers
1k 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
99 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
550 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
290 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
466 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
689 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
  • 231
0 votes
0 answers
25 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
727 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
4k 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
65 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