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.

48 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
286 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, ...
2
votes
0answers
115 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] ...
2
votes
0answers
249 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 ...
2
votes
0answers
5k views

No display with "dtparam=audio=on"

This is my /boot/config.txt: http://termbin.com/0pq4 (1600x900 screen with HDMI to VGA adapter, turned vertical): # For more options and information see # http://rpf.io/configtxtreadme # Some ...
2
votes
0answers
3k views

Boot config.txt is ignored

Problem The /boot/config.txt file is being ignored when the Raspberry Pi boots up. As such, overscan and overclocking settings are not taking effect. What I've tried Some reported that the line ...
1
vote
1answer
38 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 ...
1
vote
2answers
120 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 ...
1
vote
0answers
63 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 --...
1
vote
0answers
23 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 (...
1
vote
0answers
310 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 ...
1
vote
0answers
386 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-...
1
vote
0answers
110 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
287 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
0answers
22 views

Read pin (power led) from port expander on ic2-0 at config.txt

In config.txt you can have conditional booting based on the GPIO pin level, e.g. the gpio4=1 line. Is it also possible to access the pin on the GPIO port extender at i2c-0, or is this something ...
1
vote
0answers
671 views

Red camera LED fails to turn off

I am using Raspbian 4.9.35-v7+ (3B+) and the camera: https://www.adafruit.com/product/1567. This may be flagged as a duplicate to previous questions under similar titles; however, none of their ...
1
vote
0answers
255 views

Error on init/boot '/init: line 27: can't create /sys/class/leds/led0/trigger'

Sorry for asking the same question twice, but it seems I can't fix the problem yet. I have a web server running on my pi. One day I found that my server is down and I try to access my pi using VNC and ...
1
vote
0answers
209 views

config.txt has no effect on the bash screen with archlinux arm

I have: rpi3 v2.0 http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-3-latest.tar.gz the boot is on a FAT32 2gb sd card and the root is on a EXT4 8gb USB flash drive crt tv connected with an rca cable ...
1
vote
0answers
784 views

How to change screen resolution for 2.4" monitor via config.txt?

I have tried changing the screen resolution of my 2.4" monitor to 320x240, but no luck. Here is my config.txt http://pastebin.com/UdpHKLfP I have no success changing the screen resolution. My ...
1
vote
0answers
2k views

What h264_freq do I need to to improve video latency for h.264 on rpi 2 B?

I'm looking at the following links to help modify my config.txt file: https://www.raspberrypi.org/documentation/configuration/config-txt.md http://elinux.org/RPiconfig In there I see that the GPU ...
1
vote
0answers
2k views

Custom HDMI mode Raspberry Pi 2

I'm new to the Raspberry community and I'm trying to get the Raspberry to display on my iMac through Target Display Mode (TDM). This works fine, but only up to 720p, since the iMac can only work in ...
1
vote
0answers
2k views

Retropie Retroarch Emulator PSX and N64 too small resolution

I'm new to the Raspberry Pi and just got a RP2, with a retropie image. I installed an N64 and PSX rom to test it out and they work perfectly BUT for the size on my 40" 1080p TV. This is what I get: ...
0
votes
1answer
23 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 ...
0
votes
0answers
35 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 (...
0
votes
1answer
25 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, ...
0
votes
0answers
31 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
22 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
64 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
91 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
65 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
46 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
129 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
0answers
24 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
0answers
17 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 "...
0
votes
0answers
961 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 ...
0
votes
1answer
131 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
792 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 ...
0
votes
0answers
376 views

How to fix adafruit 7" display resolution problem on PI3?

I recently bought adafruit 7" display to be used with my PI3 to see if it will work. Well, it sort of works. The screen comes up everything is displayed but the resolution is screwed up. I have tried ...
0
votes
0answers
594 views

problem with video HDMI video output, distorted image

I am playing with a Rpi3 distro (Android Raspand) and I can't see anything. Image is twisted and distorted, please see how I am playing with config.txt following this guide https://raspberrypi....
0
votes
0answers
545 views

RPi3 on Sony Bravia HDMI Produces Flickering Lines

After working for a while, and with various distributions and SDs, my Raspberry Pi 3 no longer properly works with my Sony Bravia. With the HDMI inserted it now displays flickering, changing lines. It ...
0
votes
0answers
163 views

For a minimal SD to enable USB Host boot, are bootcode.bin and config.txt sufficient?

For network booting, the according Foundation tutorial describes how one modifies the boot/config.txt on a "standard" SD installation to program the OTP memory in order to enable USB Host boot (by ...
0
votes
1answer
116 views

Killing Power at GDM3 Login

I understand that killing power to a running pi without first shutting down can damage the SD card. Can Killing power at the GDM3 login screen also damage my SD card or do I need to run the GDM3 ...
0
votes
0answers
2k views

Signal from Pi not recognized by DP monitor

I'm trying to switch Raspberry Pi to a new monitor, but monitor complains about not getting HDMI signal. The old monitor was attached via HDMI-DVI cable, while new monitor has HDMI-HDMI cable and then ...
0
votes
1answer
2k views

How to install Ubuntu MATE without HDMI output?

I'm new to Raspberry Pi 2, I just bought a Raspberry Pi 2 1.1, I don't have a TV or monitor with HDMI input, so I have to install Ubuntu MATE without it, is there any way to use composite video? i ...
0
votes
0answers
272 views

RCA output of Pi in black and white

I got a Pi recently, and when trying to use the RCA socket, only got a black and white picture on the TV, it's also blurred. I changed my config.txt to have sdtv_mode set to 2 (PAL, I'm in the UK), ...