From 901b3d41118d1c61572d0ce7abf5d53cc365da14 Mon Sep 17 00:00:00 2001 From: homelab-black Date: Sun, 16 Aug 2026 18:16:07 +0900 Subject: [PATCH] Add wake-up support for CT88INCH displays --- library/lcd/lcd_comm_rev_c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/lcd/lcd_comm_rev_c.py b/library/lcd/lcd_comm_rev_c.py index 75fe73a2f..5de42bfa0 100644 --- a/library/lcd/lcd_comm_rev_c.py +++ b/library/lcd/lcd_comm_rev_c.py @@ -139,7 +139,7 @@ def __del__(self): def auto_detect_com_port() -> Optional[str]: # If sleeping device is detected through serial number or vid/pid, try to wake it up for com_port in comports(): - if com_port.serial_number == 'USB7INCH' or com_port.serial_number == 'CT21INCH': + if com_port.serial_number in ('USB7INCH', 'CT21INCH', 'CT88INCH'): LcdCommRevC._wake_up_device(com_port) elif com_port.vid == 0x1a86 and com_port.pid == 0xca21: LcdCommRevC._wake_up_device(com_port)