From 4a355f789d1f77218d892f3a9192e395419bb2a4 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Wed, 2 Nov 2022 03:38:54 +0100 Subject: [PATCH] ExternalKeyboard: Add a note about the special drivers sysfs knob Just so that I don't forget about it entirely, as I haven't had to use it so far... --- plugins/externalkeyboard.koplugin/main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/externalkeyboard.koplugin/main.lua b/plugins/externalkeyboard.koplugin/main.lua index 46e5f6b27..5487b9070 100644 --- a/plugins/externalkeyboard.koplugin/main.lua +++ b/plugins/externalkeyboard.koplugin/main.lua @@ -41,6 +41,8 @@ local OTG_CHIPIDEA_ROLE_PATH = "/sys/kernel/debug/ci_hdrc.0/role" -- It does not require debugfs, but the point is moot as debugfs is mounted by default on those, -- as Nickel relies on it for PM interaction with the display driver. local OTG_SUNXI_ROLE_PATH = "/sys/devices/platform/soc/usbc0/otg_role" +-- NOTE: See https://www.mobileread.com/forums/showthread.php?p=4135724 if your keyboard reports itself as an Apple keyboard. +-- (We currently don't do this here, but that may change in the future). local function setupDebugFS() local mounts = io.open("/proc/mounts", "re")