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
1answer
32 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 ...
1
vote
1answer
1k 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
1answer
25 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
1answer
118 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
2answers
178 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 ...
0
votes
0answers
52 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 (...
2
votes
1answer
54 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 ...
1
vote
1answer
41 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
votes
1answer
36 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 ...
0
votes
2answers
54 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 ...
1
vote
2answers
186 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
97 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
26 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
1answer
68 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 ...
1
vote
0answers
79 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 --...
3
votes
2answers
4k 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
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
1answer
132 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
32 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
1answer
3k views

Raspberry Pi B+ Overclocking: Force Turbo not working

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 the governor (...
0
votes
0answers
16 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
111 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 ...
2
votes
0answers
306 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, ...
0
votes
0answers
72 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 ...
-1
votes
2answers
3k 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() ...
1
vote
0answers
60 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 ...
3
votes
3answers
6k 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" ...
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
373 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 ...
2
votes
4answers
69k 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
1answer
167 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
140 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
355 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
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
1answer
314 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
19 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: -. ...
1
vote
0answers
416 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-...
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 "...
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 (...
0
votes
1answer
187 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 ...
21
votes
6answers
43k views

How do I increase the terminal font size?

I have a Raspberry pi B, using Debian, just rigged up with a 3.5 inch TFT-LCD monitor via VGA. The text size in command line mode is too small to read, so I would like to increase its size, and one ...
1
vote
1answer
35 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
89 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 ...
4
votes
3answers
7k 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 ...
0
votes
1answer
229 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
1answer
114 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
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,...
0
votes
2answers
4k views

Raspberry Pi HDMI not Working

I have a Raspberry Pi 3 & a Windows 10 PC. I have extracted the NOOBS file and saved the extracted file on an SD Card. I tried to do the first boot on my Raspberry Pi with the SD Card inserted and ...
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
318 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 ...