Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1251174

Bug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards

From NoisyCoil <noisycoil@tutanota.com>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.boot
Subject Bug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards
Date 2025-06-27 01:20 +0200
Message-ID <L242S-dpX8-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: keyboard-configuration
Version: 1.238
Severity: normal
Tags: patch
X-Debbugs-Cc: noisycoil@tutanota.com, noisycoil@disroot.org

Dear Maintainer,

Earlier today in Bananas Team we received multiple reports that keyboard-
configuration is broken on Apple laptops with arm64 CPUs: reconfiguring
the package throws the errors

```
cat: '/sys/bus/usb/devices/*:*/bInterfaceClass': No such file or directory
cat: '/sys/bus/usb/devices/*:*/bInterfaceSubClass': No such file or directory
cat: '/sys/bus/usb/devices/*:*/bInterfaceProtocol': No such file or directory
```

and refuses to go ahead with the configuration. I could reproduce this bug on
my machine. It happens because the keyboard_present function is unable to
detect the laptops' keyboards. In attachment you will find a patch to enable
detection by adding the relevant strings to the matching pattern for
/proc/bus/input/devices. I tested it works on the M1 MacBook Pro and M2 MacBook
Air, and expect it will on the other laptops too.

We would be very grateful if a fixed release could land in trixie, as this is
a major blocker for our first-boot configuration of installations with no
desktop environment. If you agree and wish me to, I could take care of the
unblock request. I see v1.238 needs unblocking too, but the delta only contains
translations as far as I can see, so I think the two unblocks could be filed
as one.

Cheers!

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards NoisyCoil <noisycoil@tutanota.com> - 2025-06-27 01:20 +0200
  Bug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards Cyril Brulebois <kibi@debian.org> - 2025-06-27 17:30 +0200
    Bug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards Cyril Brulebois <kibi@debian.org> - 2025-06-30 21:00 +0200
      Bug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards NoisyCoil <noisycoil@disroot.org> - 2025-06-30 21:20 +0200
        Bug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards Cyril Brulebois <kibi@debian.org> - 2025-06-30 21:20 +0200

csiph-web