From c0a93e5cfa62ee6200d010ff80bb1c54c568d9bd Mon Sep 17 00:00:00 2001 From: Admin Pupkin Date: Fri, 29 May 2026 15:44:35 +0300 Subject: [PATCH] Add input driver init services and driver-manager configs - ps2d: PS/2 keyboard/mouse (init service + driver-manager wildcard match) - i2c-hidd: I2C HID keyboard/touchpad (init service + driver-manager match) - intel-thc-hidd: Intel Touch Host Controller HID (init service + PCI match) Fixes i2c-hidd path: /usr/bin/i2c-hidd (not /usr/lib/drivers/). These drivers were already built in the base package but were not wired into the boot process. Modern Intel notebooks typically use either i8042 EC emulation (PS/2) or I2C HID for keyboard/touchpad. --- config/redbear-device-services.toml | 76 +++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/config/redbear-device-services.toml b/config/redbear-device-services.toml index 75402c1c92..feb7ed0b19 100644 --- a/config/redbear-device-services.toml +++ b/config/redbear-device-services.toml @@ -240,6 +240,46 @@ command = ["/usr/lib/drivers/ps2d"] [[driver.match]] vendor = 0xFFFF device = 0xFFFF + +[[driver]] +name = "i2c-hidd" +description = "I2C HID keyboard and touchpad driver" +priority = 85 +command = ["/usr/bin/i2c-hidd"] + +[[driver.match]] +vendor = 0xFFFF +device = 0xFFFF + +[[driver]] +name = "intel-thc-hidd" +description = "Intel Touch Host Controller HID driver" +priority = 85 +command = ["/usr/lib/drivers/intel-thc-hidd"] + +[[driver.match]] +vendor = 0x8086 +device = 0x7eb8 + +[[driver.match]] +vendor = 0x8086 +device = 0x7eb9 + +[[driver.match]] +vendor = 0x8086 +device = 0x7ebd + +[[driver.match]] +vendor = 0x8086 +device = 0x7ebe + +[[driver.match]] +vendor = 0x8086 +device = 0xa8b8 + +[[driver.match]] +vendor = 0x8086 +device = 0xa8b9 """ [[files]] @@ -506,3 +546,39 @@ requires_weak = ["04_drivers.target"] cmd = "/usr/bin/redbear-usbaudiod" type = "oneshot_async" """ + +[[files]] +path = "/etc/init.d/10_ps2d.service" +data = """ +[unit] +description = "PS/2 keyboard and mouse driver" +requires_weak = ["00_driver-manager.service"] + +[service] +cmd = "/usr/lib/drivers/ps2d" +type = "oneshot_async" +""" + +[[files]] +path = "/etc/init.d/10_i2c-hidd.service" +data = """ +[unit] +description = "I2C HID keyboard and touchpad driver" +requires_weak = ["00_driver-manager.service"] + +[service] +cmd = "/usr/bin/i2c-hidd" +type = "oneshot_async" +""" + +[[files]] +path = "/etc/init.d/10_intel-thc-hidd.service" +data = """ +[unit] +description = "Intel Touch Host Controller HID driver" +requires_weak = ["00_driver-manager.service"] + +[service] +cmd = "/usr/lib/drivers/intel-thc-hidd" +type = "oneshot_async" +"""