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
0answers
28 views

(Pi4) No Display when in OTG mode unless HDMI_safe=1

Im officially stumped. I have connected my Pi4 to my PC via USB to USB-C for OTG connection. Whenever I boot with the normal PSU to the USB-C port on the Pi4, everything boots correctly (display and ...
2
votes
2answers
135 views

Adding I2C Bus with dtoverlay Does Not Show Up in i2cdetect

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
42 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
33 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
59 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
0answers
19 views

Should HDMI 'overscan_*' adjustments act independent of each other?

Should HDMI config.txt overscan_* adjustments act independent of each other? If not, what's happening? ... what would be the process to make predictable adjustments? For example, if overscan_left &...
0
votes
1answer
30 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 ...
1
vote
2answers
1k 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
49 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
72 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
18 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
398 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
4k 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
683 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 ...
2
votes
1answer
452 views

Setting official touchscreen display boot-time brightness

I've got an official display, and having found other questions about setting the brightness I know I can change the brightness, and make a script that will run on boot, but that means the screen will ...
1
vote
0answers
20 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 ...
0
votes
1answer
178 views

Fallback kernel.img possible in config.txt

I have a raspberry with a customized OS. The image it should load is described in the config.txt on the boot partition. The image is called zImage and the line in the config.txt is: kernel=zImage I ...
0
votes
0answers
216 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
271 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....
1
vote
0answers
431 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
177 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 ...
2
votes
1answer
1k views

Does display_rotate still work?

I'm trying to use this runtime config.txt parameter under Raspbian Stretch and an external LED monitor on the HDMI port to no effect. It's hard to tell from posts here and elsewhere if this setting ...
0
votes
0answers
446 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 ...
1
vote
1answer
187 views

Import settings from other file into config.txt

Is it possible to import settings from another file into config.txt? As I imagine config.txt example content: ... # Uncomment this to enable the lirc-rpi module #dtoverlay=lirc-rpi # Additional ...
2
votes
2answers
7k views

How do I force the correct screen resolution in /boot/config.txt?

I've recently set up a Retropie which I have plugged into my TV. If I have the right input selected on the TV before powering on the Pi, then the image looks crisp and wonderful. However if I turn on ...
2
votes
1answer
559 views

What pin numbering system is used in config.txt?

I am running Ubuntu Mate on a Raspberry Pi 2B. I would like to find which GPIO pin is currently used for the heartbeat, i.e. activity, so I can attach an external LED. The config.txt entry is like ...
13
votes
4answers
22k views

Enabling ARMv8 on Raspberry Pi 3 B

According to this article I should be able to switch to ARMv8 on my Raspberry Pi Model 3B, but I'm getting "rainbow screen" after adding to config.txt the line: arm_control=0x200 Why is it not ...
0
votes
1answer
1k views

VGA to HDMI adapter - modifying config.txt

I have a pre-installed micro SD card with NOOBs. But the instructions on the internet say to use a HDMI to VGA cable, I need to un-comment two lines of code in the config.txt file: #...
7
votes
2answers
11k views

What does “dtoverlay=dwc2” REALLY do?

Please don't point me to what it is used for, there are plenty of articles telling me how to make my Pi Zero an ethernet gadget. Putting "dtoverlay=dwc2" into /boot/config.txt appears to fix a known ...
0
votes
1answer
2k views

Trying to autorun Paho MQTT client script on boot up

I am running a Paho MQTT client on my raspberry pi (Stretch OS). This script recieves MQTT messages from a publisher script and then stores the data in a SQL database. As I added client.loop_forever() ...
0
votes
0answers
144 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 ...
3
votes
1answer
5k views

Unable to set GPU memory split on Raspberry Pi Zero W

I have looked everywhere (both on and off StackExchange) for this but cannot get an answer: I have a Raspberry Pi Zero W, which has 512MB of RAM total. I am running it headless, so I want to ...
0
votes
1answer
2k views

Restoring OTP bit after using MSD boot feature

I have read on the official Raspberry Pi website that it is possible, by adding a line, program_usb_boot_mode=1, to the /boot/config.txt file, to flash a Pi3 with the instruction to boot from USB ...
0
votes
1answer
95 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 ...
1
vote
0answers
158 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 ...
2
votes
3answers
34k views

How to edit config.txt

I am new to raspberry pi, and to linux. When I am trying to follow tutorials online, they sometimes require me to change /boot/config.txt. I am using the Jessie Version or Raspbian. (I am trying to ...
1
vote
0answers
3k 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 ...
1
vote
0answers
686 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 ...
5
votes
6answers
6k views

Raspberry Pi 3 HDMI Not working

I have raspberry pi 3 model b and windows 10 PC. I downloaded Raspbian instead of NOOBS in order to be able to modify the config.txt file. But I'm still having the same problem, that my display doesn'...
3
votes
1answer
7k views

How to set the video resolution over composite?

I am trying to make a RPi 1 work nicely with an old LCD PAL TV (Sony KLV-20SR3). The video signal goes over composite (over SCART) because HDMI is not available. I am using LibreELEC. By default the ...
1
vote
3answers
5k views

How to prevent the “config.txt” file is empty after each start

I use a specific screen with my raspberry pi 3 that requires a command to set the resolution to him, otherwise it displays nothing. It works fine, the problem is that after each start the file "config....
0
votes
1answer
1k views

config.txt - Should I use CEA or DMT for different types of VGA monitors?

When using an HDMI to VGA adapter, converter, or adapter converter (in particular when using this one found on Amazon.com), should I use the setting for CEA (hdmi_group=1) or DMT (hdmi_group=2)? More ...
1
vote
2answers
2k views

Disable Overscan not working

I am using Raspbian Jessie Lite and I want to display a website in iceweasel kiosk mode. To realise this I created an .xsession file which gets executed when booting. When the website displayes a ...
0
votes
1answer
2k views

Raspberry Pi B+ Overclocking: Force Turbo not working [Solved: Undervoltage Problem]

Good day, I am overclocking my raspberry pi. I have selected the turbo option from the raspi-config. I have found out however that the Pi was not running consistently at 1GHz. I have tried setting ...
0
votes
2answers
2k views

Raspberry Pi B+ Overclocking

Good day, May I ask if it is true that if I activate turbo on the raspi-config, the pi doesn't always run at the maximum speed at 1Ghz. Is it safe to set force turbo = 1 at the config.txt to force ...
2
votes
1answer
682 views

Video Composite android tv raspberry pi

I downloaded and installed android tv on my raspberry pi (link here) and tuned off the hdmi hot plug but it does not seem to display. what am i doing wrong?
1
vote
1answer
2k views

Windows 10 IoT Core, Pi 3 Config.txt

Where should I place my config.txt for my Windows 10 IoT Core Raspberry Pi 3 setup? I was reading this, but didn't know for sure if I am simply supposed to place it in the root of the SD card or not?
1
vote
1answer
891 views

Is 'dwc2' limited to USB direct connections?

The instructions for setting up a direct-connect RPi Zero over USB have me add dtoverlay=dwc2 on a new line to `config.txt', and insert modules-load=dwc2,... in cmdline.txt. Are these settings ...
0
votes
1answer
653 views

Make a Lightweight Linux

I need a Lightweight or Simple Linux and run in my RaspberryPi. For the first, download a kernel file and Run make menuconfig: According to the image, I don't understand .config file and config it....
3
votes
1answer
994 views

i2c on a rpi-basic-image created with yocto

I'm attempting to get the i2c bus to work from a raspberry pi image created from yocto. I have looked at other peoples solutions but they are all o do with raspbian or some other flavour of os. My /...