[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Control: severity -1 important

Hi,

NoisyCoil <noisycoil@tutanota.com> (2025-06-27):
> 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.

Thanks, merged and uploaded. I flipped a coin regarding commit metadata,
feel free to `git format-patch` next time if you wish to have another
mail address used there.

  https://salsa.debian.org/installer-team/console-setup/-/commit/54ca641c9118cc7a099f806a30827e7c408f8d9c

> 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.

Looks like it deserves a slightly higher severity (bumped with this
mail), and yes, that looks very much acceptable and desirable for
trixie. No need to file an unblock request, I'll process it alongside
other packages we need for d-i builds. Thanks for the offer though,
appreciated.


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: