#1086029 console-setup-udeb: Keyboard not detected (Microsoft Surface Keyboard)

#1086029#5
Date:
2024-10-25 09:11:55 UTC
From:
To:
Dear Maintainer,

The following diff add support for

Microsoft Surface Type Cover Keyboard

This keyboard is not detected by default during debian installation.

$ git diff
diff --git a/debian/keyboard_present.sh b/debian/keyboard_present.sh
index 3ab667f..e3407f6 100644
--- a/debian/keyboard_present.sh
+++ b/debian/keyboard_present.sh
@@ -35,6 +35,7 @@ keyboard_present () {
     kbdpattern="$kbdpattern\|HIL keyboard"
     kbdpattern="$kbdpattern\|ADB keyboard"
     kbdpattern="$kbdpattern\|Sun Type"
+    kbdpattern="$kbdpattern\|Microsoft Surface Type Cover Keyboard"
     kbdpattern="$kbdpattern\|bluetooth.*keyboard"
     if grep -i "$kbdpattern" /proc/bus/input/devices >/dev/null; then
        return 0


Regards,