Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jayme-github/fb129cb3777c7c357ecc5a6ac00f0aae to your computer and use it in GitHub Desktop.
Save jayme-github/fb129cb3777c7c357ecc5a6ac00f0aae to your computer and use it in GitHub Desktop.
Disable Raydium Touch System touchscreen on ThinkPad X1 Carbon 7th gen

To make the usbhid driver ignore the touchscreen device, add a HID_QUIRK_IGNORE quirk as module paramater:

Add a modprobe file, like /etc/modprobe.d/disable_raydium_touchscreen.conf:

# Add/modify USB HID quirks by specifying
# quirks=vendorID:productID:quirks where vendorID, productID, and quirks are all in 0x-prefixed hex
#
# For a list of quirks, see https://github.com/torvalds/linux/blob/master/include/linux/hid.h
options usbhid quirks=0x2386:0x4328:0x00000004

To actually disable the device (or at least keep it in a suspended state), configure it to autosuspend as fast as possible:

This can be done via the package sysfsutils and a file like /etc/sysfs.d/autosuspend_raydium_touchscreen.conf:

bus/usb/devices/usb1/1-6/power/autosuspend_delay_ms = 0
bus/usb/devices/usb1/1-6/power/control = auto

Device bus or id might differ, see lsusb -t for the correct values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment