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

General discussion • Ilitek ILI2131 with CM4 Trixie

$
0
0
Hi Folks, I was delighted to see that Trixie has built-in support for our new ILI2131 touchscreen. I have written a Python script that tests the interrupt and reads the xy coordinates of touches - so far all good. However, despite the touchscreen being shown in the Control Centre / Screens menu, the touches don't move the cursor. Any ideas please?

Here is my config.txt:

# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details
dt_debug=1

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Enable audio (loads snd_bcm2835)
#dtparam=audio=on

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
#camera_auto_detect=1

# Automatically load overlays for detected DSI displays
#display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
dtoverlay=sn65dsi83-g101ice
max_framebuffers=2
dtoverlay=ilitek251x,interrupt=17
dtoverlay=tca8418

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[cm5]
dtoverlay=dwc2,dr_mode=host

[all]
enable_uart=1

Statistics: Posted by skyfish — Fri Nov 14, 2025 9:40 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles