Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3990

Interfacing (DSI, CSI, I2C, etc.) • Waveshare 1200x800 DSI screen not working on RPi5

$
0
0
Hi everyone, I'm hoping to get some help getting the Waveshare 10.1inch DSI LCD (C) working on my RPi5.

Running uname -a, I get:
Linux raspberrypi 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

From the Waveshare Wiki, I downloaded the driver folder, navigated to the installer script for the kernel and hardware I'm using and ran their bash script:
sudo bash WS_xinchDSI_MAIN.sh 101C I2C0

which outputs the following:
SCREEN_type=8,I2C_bus=10
The raspberry PI hardware platform is pi5

I rebooted and the screen didn't work (albeit illuminated but with a dark background)

When I looked at the config.txt, the script had added the following lines:

ignore_lcd=1
dtparam=i2c_vc=on
dtparam=i2c_arm=on
dtoverlay=WS_xinchDSI_Screen,SCREEN_type=8,I2C_bus=4
dtoverlay=WS_xinchDSI_Touch,I2C_bus=4,invertedx,swappedxy

Does it matter that the I2C_bus=4 in the config.txt, but it is reported as I2C_bus=10 when the WS_xinchDSI_MAIN.sh script is run?
I tried changing the values, to match, but still the screen isn't working.

Any advice would be greatly appreciated!

Statistics: Posted by Peter_W — Sat Jan 27, 2024 3:47 pm



Viewing all articles
Browse latest Browse all 3990

Trending Articles