Skip to content

Mac Mini 2020 M1 keyboard problem (some key combinations doesn't work) #466

@ksckaan1

Description

@ksckaan1

I installed Asahi Linux 3 weeks ago and have been trying to find a solution since then, but without success.

I am using a Windows keyboard on both Asahi Linux and macOS. When I press CTRL+SHIFT+P, CTRL+SHIFT+U, or CTRL+SHIFT+K, the key combinations are not recognized. All three keys work correctly when pressed individually or with other modifier combinations.

These key combinations work properly on macOS with the same keyboard.

System info:

  • Distro: Fedora Linux Asahi Remix 42 (KDE Plasma Desktop Edition)
  • Kernel: 6.18.15-400.asahi.fc42.aarch64+16k
  • Device: Mac Mini M1 (2020)
  • Keyboard: USB Windows keyboard (Vendor: 0c45, Product: 760a)

What I have tested so far:

  • sudo evtest — CTRL+SHIFT+U/K/P produces no output at the kernel level
  • sudo libinput debug-events — same result, no output for these combinations
  • xkbcli interactive-wayland — no output for these combinations
  • Killed all IBus processes — issue persists
  • Normally using Turkish (tr) keyboard layout. Switched to us layout to test — issue persists
  • Wayland is in use, X11 is not available
cat /proc/bus/input/devices
I: Bus=0003 Vendor=0c45 Product=760a Version=0111
N: Name="USB Keyboard"
P: Phys=usb-0000:02:00.0-2.3/input0
S: Sysfs=/devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/0003:0C45:760A.0001/input/input0
U: Uniq=
H: Handlers=sysrq kbd leds event0 
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=1f

I: Bus=0003 Vendor=0c45 Product=760a Version=0111
N: Name="USB Keyboard Consumer Control"
P: Phys=usb-0000:02:00.0-2.3/input1
S: Sysfs=/devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.1/0003:0C45:760A.0002/input/input1
U: Uniq=
H: Handlers=kbd event1 
B: PROP=0
B: EV=1f
B: KEY=3f00033fff 0 0 483ffff17aff32d bfd4444600000000 1 130ff38b17d000 677bfad9415fed 19ed68000004400 10000002
B: REL=1040
B: ABS=100000000
B: MSC=10

I: Bus=0003 Vendor=0c45 Product=760a Version=0111
N: Name="USB Keyboard System Control"
P: Phys=usb-0000:02:00.0-2.3/input1
S: Sysfs=/devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.1/0003:0C45:760A.0002/input/input2
U: Uniq=
H: Handlers=kbd event2 
B: PROP=0
B: EV=13
B: KEY=c000 10000000000000 0
B: MSC=10

I: Bus=0003 Vendor=0c45 Product=760a Version=0111
N: Name="USB Keyboard"
P: Phys=usb-0000:02:00.0-2.3/input1
S: Sysfs=/devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.1/0003:0C45:760A.0002/input/input3
U: Uniq=
H: Handlers=sysrq kbd event3 
B: PROP=0
B: EV=100013
B: KEY=1000000000007 ff800000000007ff febeffdfffefffff fffffffffffffffe
B: MSC=10

I: Bus=0003 Vendor=18f8 Product=0f97 Version=0110
N: Name="USB OPTICAL MOUSE "
P: Phys=usb-0000:02:00.0-2.4/input0
S: Sysfs=/devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.4/1-2.4:1.0/0003:18F8:0F97.0003/input/input4
U: Uniq=
H: Handlers=mouse0 event4 
B: PROP=0
B: EV=17
B: KEY=1f0000 0 0 0 0
B: REL=903
B: MSC=10

I: Bus=0003 Vendor=18f8 Product=0f97 Version=0110
N: Name="USB OPTICAL MOUSE  Keyboard"
P: Phys=usb-0000:02:00.0-2.4/input1
S: Sysfs=/devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.4/1-2.4:1.1/0003:18F8:0F97.0004/input/input5
U: Uniq=
H: Handlers=sysrq kbd event5 
B: PROP=0
B: EV=10001f
B: KEY=33eff 0 0 483ffff17aff32d bfd4444600000000 1 130ff38b17c000 677bfad9415fed e09effdf01cfffff fffffffffffffffe
B: REL=1040
B: ABS=100000000
B: MSC=10

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="Mac mini J274 Headphone Jack"
P: Phys=ALSA
S: Sysfs=/devices/platform/sound/sound/card0/input7
U: Uniq=
H: Handlers=event6 
B: PROP=0
B: EV=21
B: SW=14

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="Apple SMC power/lid events"
P: Phys=macsmc-input (0)
S: Sysfs=/devices/platform/soc/23e400000.smc/macsmc-input/input/input8
U: Uniq=
H: Handlers=kbd event7 
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
localectl status
System Locale: LANG=en_US.utf8
               LC_NUMERIC=tr_TR.utf8
               LC_TIME=tr_TR.utf8
               LC_MONETARY=tr_TR.utf8
               LC_PAPER=tr_TR.utf8
               LC_NAME=tr_TR.utf8
               LC_ADDRESS=tr_TR.utf8
               LC_TELEPHONE=tr_TR.utf8
               LC_MEASUREMENT=tr_TR.utf8
               LC_IDENTIFICATION=tr_TR.utf8
    VC Keymap: tr
   X11 Layout: tr
    X11 Model: pc105
sudo libinput list-devices | grep -A20 "USB Keyboard"
[sudo] password for ksckaan1: 
Device:                  USB Keyboard
Kernel:                  /dev/input/event0
Id:                      usb:0c45:760a
Group:                   2
Seat:                    seat0, default
Capabilities:            keyboard 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
--
Device:                  USB Keyboard Consumer Control
Kernel:                  /dev/input/event1
Id:                      usb:0c45:760a
Group:                   2
Seat:                    seat0, default
Capabilities:            keyboard pointer 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           disabled
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
--
Device:                  USB Keyboard System Control
Kernel:                  /dev/input/event2
Id:                      usb:0c45:760a
Group:                   2
Seat:                    seat0, default
Capabilities:            keyboard 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
--
Device:                  USB Keyboard
Kernel:                  /dev/input/event3
Id:                      usb:0c45:760a
Group:                   2
Seat:                    seat0, default
Capabilities:            keyboard 
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
sudo dmesg | grep -i "0c45\|760a\|hid\|keyboard" | tail -30
[    0.104585] hid: raw HID events driver (C) Jiri Kosina
[    0.104606] usbcore: registered new interface driver usbhid
[    0.104606] usbhid: USB HID core driver
[    3.134777] usb 1-2.3: New USB device found, idVendor=0c45, idProduct=760a, bcdDevice= 1.05
[    3.134789] usb 1-2.3: Product: USB Keyboard
[    3.138411] input: USB Keyboard as /devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.0/0003:0C45:760A.0001/input/input0
[    3.388306] hid-generic 0003:0C45:760A.0001: input,hidraw0: USB HID v1.11 Keyboard [USB Keyboard] on usb-0000:02:00.0-2.3/input0
[    3.399289] input: USB Keyboard Consumer Control as /devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.1/0003:0C45:760A.0002/input/input1
[    3.451266] input: USB Keyboard System Control as /devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.1/0003:0C45:760A.0002/input/input2
[    3.451329] input: USB Keyboard as /devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.3/1-2.3:1.1/0003:0C45:760A.0002/input/input3
[    3.451456] hid-generic 0003:0C45:760A.0002: input,hiddev96,hidraw1: USB HID v1.11 Keyboard [USB Keyboard] on usb-0000:02:00.0-2.3/input1
[    3.617423] hid-generic 0003:18F8:0F97.0003: input,hidraw2: USB HID v1.10 Mouse [USB OPTICAL MOUSE ] on usb-0000:02:00.0-2.4/input0
[    3.619861] input: USB OPTICAL MOUSE  Keyboard as /devices/platform/soc/690000000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0/usb1/1-2/1-2.4/1-2.4:1.1/0003:18F8:0F97.0004/input/input5
[    3.670303] hid-generic 0003:18F8:0F97.0004: input,hiddev97,hidraw3: USB HID v1.10 Keyboard [USB OPTICAL MOUSE ] on usb-0000:02:00.0-2.4/input1
echo $WAYLAND_DISPLAY
echo $XDG_SESSION_TYPE
loginctl show-session $(loginctl | grep $(whoami) | awk '{print $1}') -p Type
wayland-0
wayland
Type=wayland

Type=unspecified

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions