Package: src:linux
Version: 6.12.111-1
Severity: important
Tags: regression

Since upgrading from 6.12.107-1 to 6.12.111-1, the built-in keyboard of an
ASUS ROG Strix GL704GM sends no key events at all. Booting 6.12.107-1 again
fixes it completely. The two kernels are installed side by side on the same
machine, nothing else changes, and the result is the same every time.

**Hardware**

- ASUS ROG Strix GL704GM (`Strix GL704GM_GL704GM`), BIOS GL704GM.301
(2018-09-14)
- The built-in keyboard is the internal USB device
  `0b05:1866 ASUSTek Computer, Inc. N-KEY Device`, bound by `hid-asus`.
  The PS/2 `AT Translated Set 2 keyboard` on serio0 carries no keys on this
  model: IRQ 1 stays at its probe-time count while typing works on 6.12.107.
- Debian 13 (trixie) based, MX Linux 25.3, Debian kernel `6.12.111+deb13-amd64`

**Symptom on 6.12.111**

No key events reach the kernel from the built-in keyboard: none at the display
manager, on a VT, or in the desktop session. An evdev reader on the "Asus
Keyboard" input nodes sees nothing, and the Caps Lock LED doesn't toggle. USB
keyboards work normally. The internal keyboard works in GRUB and in Windows on
the same machine. The device is not runtime-suspended (`power/control=on`,
`runtime_status=active`).

**Kernel log, 6.12.111 (every boot, 7 of 7):**

```
asus 0003:0B05:1866.0002: input,hidraw1: USB HID v1.10 Keyboard
[ASUSTeK Computer Inc. N-KEY Device] on usb-0000:00:14.0-10/input0
asus 0003:0B05:1866.0003: input,hidraw2: USB HID v1.10 Keyboard
[ASUSTeK Computer Inc. N-KEY Device] on usb-0000:00:14.0-10/input1
asus 0003:0B05:1866.0004: Fixing up Asus N-Key report descriptor
asus 0003:0B05:1866.0004: Asus failed to request functions: -75
asus 0003:0B05:1866.0004: Failed to initialize backlight.
asus 0003:0B05:1866.0004: input,hiddev0,hidraw3: USB HID v1.10 Device
[ASUSTeK Computer Inc. N-KEY Device] on usb-0000:00:14.0-10/input2
```

**Kernel log, 6.12.107 (every boot, keyboard works):**

```
asus 0003:0B05:1866.0004: input,hidraw2: USB HID v1.10 Keyboard
[ASUSTeK Computer Inc. N-KEY Device] on usb-0000:00:14.0-10/input0
asus 0003:0B05:1866.0007: Fixing up Asus N-Key report descriptor
asus 0003:0B05:1866.0007: input,hiddev0,hidraw4: USB HID v1.10 Device
[ASUSTeK Computer Inc. N-KEY Device] on usb-0000:00:14.0-10/input2
asus 0003:0B05:1866.0005: input,hidraw5: USB HID v1.10 Keyboard
[ASUSTeK Computer Inc. N-KEY Device] on usb-0000:00:14.0-10/input1
```

The new message is the functions request in the keyboard init path failing
with -EOVERFLOW (-75) on interface 2. After that the device stays silent,
which suggests the keyboard is never put into its reporting mode.

**Likely cause (not bisected)**

The only `hid-asus` changes between 6.12.107 and 6.12.111 are in 6.12.108:

- `HID: asus: simplify RGB init sequence`
- `HID: asus: fix missing hid_is_usb() check`

The first one changes the N-KEY init path, which is where the failure is
logged. I haven't bisected or tested a revert. I can test a patched kernel or
a revert if that helps.

**Workaround:** boot 6.12.107-1.

Further output (`lsusb -v -d 0b05:1866`, the hid report descriptor from
`/sys/kernel/debug/hid/0003:0B05:1866.*/rdesc`, full dmesg from either kernel)
is available on request.

Reply via email to