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
1answer
17 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 ...
0
votes
1answer
26 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 ...
1
vote
2answers
41 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 ...
0
votes
1answer
13 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, ...
1
vote
0answers
43 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
votes
0answers
29 views

Possibilities for edit raspi-config using rapberry pi boot sd card?

By mistakenly I edit the .bashrc file, then change autologin as terminal mode, But in my application some errors are printing in while loop, So I can't stop the terminal, because they printing the ...
0
votes
0answers
15 views

Raspberry Pi 4B with HAT and without HDMI cable

I spend 1 hour figuring out why my Raspberry Pi 4 model B with Sense HAT wouldn't even boot without HDMI monitor connected. I ended up with these in /boot/config.txt which worked: hdmi_force_hotplug=1 ...
0
votes
1answer
67 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 ...
0
votes
1answer
20 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 ...
0
votes
0answers
42 views

uart2-5 Raspberry Pi 4

I am using an Raspberry Pi 4 os-ubutun-mate 20.04(focal) I am trying to to enable uart2 and uart3 on my Raspberry Pi 4. However, I'm not sure how to do this? I've read several articles and posts ...
0
votes
1answer
78 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 ...
0
votes
1answer
50 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 ...
0
votes
0answers
25 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 ...
0
votes
0answers
22 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....
0
votes
1answer
295 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 ...
1
vote
1answer
135 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 ...
0
votes
0answers
110 views

config.txt conditional filter for 7" touch display?

I just bought a brand new Pi4 and official 7" touchscreen display along with case. I also have another existing Pi with HDMI monitor. I'm running a custom image based on Raspbian Lite plus ...
0
votes
1answer
217 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 ...
0
votes
0answers
22 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 ...
0
votes
1answer
272 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 (RaspberryOS) (which I have connected as a desktop computer) https://www.raspberrypi.org/products/raspberry-pi-4-model-b/specifications/?resellerType=home #Connection ...
0
votes
0answers
15 views

raspberry pi 4 txrx ttyAMA0 reports a buardrate of 0 despite having tx-rx connection

I am trying to get the LPC1768 to send a "Hello world!" message through its TX-RX pins, but the raspberry pi reports a buad rate of 0 when connected to it via TX-RX: What I've tried: -. ...
0
votes
0answers
1k 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 "...
2
votes
0answers
253 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, ...
1
vote
0answers
19 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 (...
2
votes
2answers
3k 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 ...
0
votes
1answer
150 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 ...
3
votes
3answers
5k 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" ...
1
vote
1answer
34 views

Force Pi 3B+ Raspian (not NOOBS) to boot in composite mode automatically (using config.txt?)

Please do not echo the noise of similar questions and answers. None seem to meet my need. What is the minimum set of config.txt commands that I need to ensure that my Pi 3B+ outputs to composite when ...
0
votes
2answers
72 views

Best resource for raspi-config equivalents in config.txt

I am trying to figure out how to edit my /boot/config.txt with the same functionality implicit in raspi-config. For example, I'd like to know how to enable/disable for "P6 Serial" in this ...
0
votes
1answer
165 views

Can't find ~/.config?

I'm trying to follow this tutorial: at one step I'm supposed to change the autostart file with this command: sudo nano ~/.config/lxsession/LXDE-pi/autostart but when I cd into my /home/pi folder (...
0
votes
0answers
872 views

Overscan on Ubuntu 20.4 LTS

I have recently been working on getting a server running on the pi 3. I installed the server but there was a lot of overscan, and at the time I didn't know what that was. I searched on the web for a ...
0
votes
0answers
1k views

Ubuntu GPIO mapping and port configuration

I turned from Raspbian to Ubuntu 19 32bit on my RPI4 because I need this distribution. I downloaded it using the RPI Imager. I had a working pinout on Raspbian, mapped on config.txt for the I2C and ...
1
vote
0answers
287 views

Trouble Detecting Devices on Added I2C Buses

I decided to add additional i2c buses to my raspberry pi 4 through the use of gpios and overlays. I first came across this idea from this post by the instructables. Through editing the config.txt file ...
0
votes
1answer
185 views

Outputing DMX using Bitwizard Hat

I have a Raspberry Pi 4B with a Bitwizard DMX Hat which uses the serial port. I try to output DMX from the board to a LED light using QLC+ software, but it's not working. I tried some commands and I ...
1
vote
0answers
350 views

Waveshare RS485 CAN hat over raspberry pi 3A+

So I have been at least trying to connect to the hat from the Pi, the following is my configuration: I follow the manual set in this link: https://www.waveshare.com/w/upload/2/29/RS485-CAN-HAT-user-...
2
votes
2answers
190 views

SPI Not working when chip select is connected to ground, works fine when connected to CE 0,1 or 2

I am working on MFRC522 sensors. However I need more than 3 SPI Devices. The 3 works fine except when I want to connect chip select to GPIO, It does not work. I tried a single spi device by connecting ...
0
votes
1answer
128 views

overscan ignored in raspberry pi

I configured the pi screen to be horizontal (using display_rotate=1) but as you can see in the image the scree is not in full screen: it start from about 1/4 from left of the screen I use a manual ...
0
votes
0answers
753 views

Raspberry Pi 4 shutdown with no Power LED (red) and no ACT LED (green)

I've recently modified my boot/config.txt to include the following lines: dtoverlay=gpio-poweroff,gpiopin=9,active_low=n dtoverlay=gpio-poweroff,gpiopin=10,active_low=n This works exactly how I ...
2
votes
2answers
2k views

Setting up multiple I2C buses using dtoverlay

I am trying to set up multiple I2C interfaces on my pi. I have added the following lines to my /boot/config.txt and rebooted: dtoverlay=i2c-gpio,bus=4,i2c_gpio_delay_us=1,i2c_gpio_sda=29,...
2
votes
0answers
105 views

Boolean logic in config.txt conditional filters

When using conditional filters in config.txt, is it possible to use boolean logic for specific GPIO combinations? I tried the following and it did not work: [gpio24=0,gpio25=0,gpio26=0,gpio27=0] ...
0
votes
1answer
106 views

Wifi disabled after reconfiguring HDMI

I am using a Raspberry Pi 3 A+ with Raspbian Stretch (updated/upgraded about a month ago), connected to a Manga Screen 2: http://wiki.thing-printer.com/index.php?title=Manga_Screen_2 I have used this ...
2
votes
0answers
231 views

SPI0 and UART0 interference caused by SPI interrupt

I have a raspberry CM3 running a custom Linux version created by buildroot (kernel: 4.19.44-v7). The CM3 is configured to be part of a measurement system that is used on a quad-bike (so a lot of ...
0
votes
1answer
73 views

Raspberry PI config.txt gets recreated and the custom modifications ignored

I have encountered a similar problem to; Can't Access TTY: Job Control Turned Off I followed the solution by adding avoid_safe_mode=1 to config.txt but somehow the config.txt gets recreated and ...
4
votes
3answers
6k views

Raspberry Pi Multiple I2C Busses

EDIT: Other people I've talked to and one poster here (since deleted) have said that they have the same issue while going through the Instructables tutorial to set up multiple I2C busses. There are ...
1
vote
0answers
109 views

EDID problem with different monitors

I've got 2 monitors I use with a pi. The HP monitor self identifies root@raspberrypi:/home/pi# tvservice -n device_name=HWP-HP_L1755 & it is happy with the preferred hdmi settings root@...
1
vote
0answers
243 views

Toggle UART (enable_uart=1) without rebooting

Which pins can can I manually toggle to enable or disable UART on a Raspberry Pi Zero or 3B+ without rebooting? As I understand, /boot/config.txt is parsed before Linux is started, but I don't mind ...
1
vote
0answers
24 views

No video on SV-3 instrument viewer

When I set the Pi (Zero) up with the required 640x480 60Hz mode in config.txt the SV-3 reports no signal. But if I plug a VGA Acer monitor in to the Pi and then unplug it, plugging in the SV-3 works! ...
1
vote
1answer
1k views

Does hdmi_cvt need the '=' in config.txt?

I've got an HDMI touchscreen for my Raspberry Pi, and the instructions say to add the following to the end of the config.txt file: max_usb_current=1 hdmi_group=2 hdmi_mode=1 hdmi_mode=87 hdmi_cvt ...
2
votes
2answers
6k views

Cant find /home/pi/.config/lxsession/LXDE-pi/autostart

I am trying to follow this guide to set up a pi 3+ as kiosk but I get stuck at step 10. It says that this directory doesn't exist. It seems that there is no .config file. Any help is much appreciated ...
0
votes
2answers
2k views

gpio-shutdown doesn't seem to have an effect

We are trying to have the Pi shut down gracefully when power is removed. We have a battery connected so that it will have time to shut down. So far, our attempts to use gpio-shutdown have been ...