Hey there,
I’m writing regarding a problem which occured during my latest raspberrry pi project.
In this project I want to run OSCM on my raspberry pi 3 and controll it using my waveshare 7’’ touch screen. I also would like to use my TV as an output.
What I did was I plugged my external powered HDMI splitter into my raspberry pi. Afterwards I’ve plugged in my TV using a 10m hdmi cable on output 1 and my touchscreen on output 2. The touch screen is being powered by one of my raspberry pi usb ports. The touch controll is also given over this usb cable. My raspberry pi is powered by my 2,5A 5V power adapter.
Waveshare suggested in the product describtion that i should write the following text into the config.txt file.
max_usb_current=1
hdmi_group=2
hdmi_mode=1
hdmi_mode=87
hdmi_cvt 1024 600 60 6 0 0 0
hdmi_drive=1
After doing that I have started the whole system. It looked fine at first but when I’ve played one song, there was no audio. And after a few reboots the raspberry pi changed the config.txt file and the touchscreen stopped working. After deleting the few new lines i had the same result as before.
After reading the following article about the config.txt settings I’ve changed a few properties which seemed incorrect to me. But then everything stopped working. The tv and the touchscreen showed a black screen.
My 2 questions are:
Why does the raspberry pi automatically change the config.txt?
Which which lines should i write into the config.txt in order to solve this problem?
Best regards,
Daniel