# Waveshare DSI LCD Touchscreen support

**URL:** <https://forums.balena.io/t/waveshare-dsi-lcd-touchscreen-support/369634>\
**Category:** Project help\
**Tags:** raspberrypi4, hardware\
**Created:** [January 4, 2024, 2:49pm UTC](https://forums.balena.io/t/waveshare-dsi-lcd-touchscreen-support/369634 "2024-01-04T14:49:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![incognos](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/incognos/32/9578_2.png) [@incognos](https://forums.balena.io/u/incognos)\
**Post date:** [January 4, 2024, 2:49pm UTC](https://forums.balena.io/t/waveshare-dsi-lcd-touchscreen-support/369634/1 "2024-01-04T14:49:27Z")

</div>

I have a waveshare 10.1 inch DSI LCD and I am trying to get it to work with a rasberry pi using balenaos. They seem to require their own drivers but for the life of me, I cannot see how to get these installed. Please see [https://www.waveshare.com/wiki/10.1inch\_DSI\_LCD\_(C)](https://www.waveshare.com/wiki/10.1inch_DSI_LCD_(C))

I manage to get the driver software on the boot partition, but obviously it will not run as the system is read only.

```auto
root@d972945:/mnt/boot/screen_drivers# bash ./WS_xinchDSI_MAIN.sh 101C I2C1
SCREEN_type=8,I2C_bus=1
The raspberry PI hardware platform is pi4
Driver Start Settings
cp: cannot create regular file '/lib/modules/5.15.92-v8/WS_xinchDSI_Touch.ko': Read-only file system
cp: cannot create regular file '/lib/modules/5.15.92-v8/WS_xinchDSI_Screen.ko': Read-only file system
cp: cannot create regular file '/lib/modules/5.15.92-v8/WS_xinchDSI_Touch_Interface.ko': Read-only file system
cp: cannot create regular file '/lib/modules/5.15.92-v8/WS_xinchDSI_Screen_Interface.ko': Read-only file system
depmod: ERROR: openat(/lib/modules/5.15.92-v8, modules.dep.9118.973963.1704380267, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.15.92-v8, modules.dep.bin.9118.973963.1704380267, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.15.92-v8, modules.alias.9118.973963.1704380267, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.15.92-v8, modules.alias.bin.9118.973963.1704380267, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.15.92-v8, modules.softdep.9118.973963.1704380267, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.15.92-v8, modules.symbols.9118.973963.1704380267, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.15.92-v8, modules.symbols.bin.9118.973963.1704380267, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.15.92-v8, modules.builtin.bin.9118.973963.1704380267, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.15.92-v8, modules.builtin.alias.bin.9118.973963.1704380267, 301, 644): Read-only file system
depmod: ERROR: openat(/lib/modules/5.15.92-v8, modules.devname.9118.973963.1704380267, 301, 644): Read-only file system
modprobe: FATAL: Module WS_xinchDSI_Touch not found in directory /lib/modules/5.15.92-v8
modprobe: FATAL: Module WS_xinchDSI_Screen not found in directory /lib/modules/5.15.92-v8
grep: config.txt: No such file or directory
./WS_xinchDSI.sh: line 11: config.txt: Read-only file system
grep: config.txt: No such file or directory
./WS_xinchDSI.sh: line 11: config.txt: Read-only file system
grep: config.txt: No such file or directory
./WS_xinchDSI.sh: line 11: config.txt: Read-only file system
grep: config.txt: No such file or directory
./WS_xinchDSI.sh: line 11: config.txt: Read-only file system
grep: config.txt: No such file or directory
./WS_xinchDSI.sh: line 11: config.txt: Read-only file system
grep: config.txt: No such file or directory
./WS_xinchDSI.sh: line 11: config.txt: Read-only file system

```

I’ve gone through some of the other articles but not much help. Any direction would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![Bobik](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/bobik/32/2405_2.png) [@Bobik](https://forums.balena.io/u/Bobik)\
**Post date:** [June 30, 2024, 6:41pm UTC](https://forums.balena.io/t/waveshare-dsi-lcd-touchscreen-support/369634/2 "2024-06-30T18:41:52Z")

</div>

Hello, I just bought [similar 5“ display](https://www.waveshare.com/wiki/50H-800480-IPS) and faces the same issue with driver.

Have you figured it out?

---

<div class="post-metadata">

**Author:** ![dreammtn](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@dreammtn](https://forums.balena.io/u/dreammtn)\
**Post date:** [August 9, 2024, 10:10pm UTC](https://forums.balena.io/t/waveshare-dsi-lcd-touchscreen-support/369634/3 "2024-08-09T22:10:53Z")

</div>

I’m also trying to do the same thing. Anyone have any luck with this?

---

<div class="post-metadata">

**Author:** ![alanb128](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/alanb128/32/2839_2.png) [@alanb128](https://forums.balena.io/u/alanb128)\
**Post date:** [August 13, 2024, 3:16am UTC](https://forums.balena.io/t/waveshare-dsi-lcd-touchscreen-support/369634/4 "2024-08-13T03:16:30Z")

</div>

Hello, there are a few things you can try to get the display working in balenaOS:

1. Set the device overlays (as shown in step 2 of the Waveshare wiki link in the first post, or use a similar overlay list for other displays) Here is a link for how to set such overlays: [Advanced boot settings - Balena Documentation](https://docs.balena.io/reference/OS/advanced/#setting-device-tree-overlays-dtoverlay-and-parameters-dtparam)
2. Since the device overlay for a particular display is probably not included in balenaOS, you may need to compile them to .dtbo format and copy to the Pi. Here is an example of that step:  
[Sensors and Data Logging with Embedded Linux - The Ultimate Guide Part 1 - balena Blog](https://blog.balena.io/sensors-and-data-logging-with-embedded-linux-the-ultimate-guide-part-1/) - check out the section at the bottom about enabling a device tree overlay at boot on balenaOS.

Also check out this post with a similar question: [HyperPixel 2.1 Round Display Support](https://forums.balena.io/t/hyperpixel-2-1-round-display-support/356783)
