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

Bug#1108360: marked as done (keyboard-configuration: keyboard_present does not detect Apple laptop keyboards)



Your message dated Fri, 27 Jun 2025 15:34:09 +0000
with message-id <E1uVB5d-007TPR-14@fasolo.debian.org>
and subject line Bug#1108360: fixed in console-setup 1.239
has caused the Debian Bug report #1108360,
regarding keyboard-configuration: keyboard_present does not detect Apple laptop keyboards
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1108360: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108360
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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!

Attachment: keyboard_present.sh-detect-Apple-MTP-and-SPI-keyboar.patch
Description: application/mbox


--- End Message ---
--- Begin Message ---
Source: console-setup
Source-Version: 1.239
Done: Cyril Brulebois <kibi@debian.org>

We believe that the bug you reported is fixed in the latest version of
console-setup, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1108360@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Cyril Brulebois <kibi@debian.org> (supplier of updated console-setup package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 27 Jun 2025 17:20:08 +0200
Source: console-setup
Architecture: source
Version: 1.239
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
Closes: 1108360
Changes:
 console-setup (1.239) unstable; urgency=medium
 .
   [ NoisyCoil ]
   * Add support for Apple MTP keyboard and Apple SPI Keyboard, as found
     on ARM-based Apple laptops like M1 MacBook Pro and M2 MacBook Air
     (Closes: #1108360).
Checksums-Sha1:
 1d6ebeff4d019148a20578420ff97396fae2e815 2873 console-setup_1.239.dsc
 20297a5ae25e995f6757d53d9003b8a8b74d6722 3888508 console-setup_1.239.tar.xz
 bc727670098e6310810977583a1ae0c674d7ee63 16124 console-setup_1.239_source.buildinfo
Checksums-Sha256:
 3f149335fe545307f05440b8f7353b89d6337d3061c94ae08ed8fe85cb6e50fe 2873 console-setup_1.239.dsc
 ff47c98989ee294eb8f2a95626a7e7dba390fe04d0a974dc716877ee89c3ad40 3888508 console-setup_1.239.tar.xz
 e2b6ea4af4e1ad9b69b0d382b40f2c7aa6f3d6d6123b0f3acee84a69cf5fc0ee 16124 console-setup_1.239_source.buildinfo
Files:
 b0f549950909b239c77679d04a491260 2873 utils optional console-setup_1.239.dsc
 88989fe71d616fbd45135c1230b7fc85 3888508 utils optional console-setup_1.239.tar.xz
 6d2ff02062ec5b9108563042b272f214 16124 utils optional console-setup_1.239_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCgAuFiEEtg6/KYRFPHDXTPR4/5FK8MKzVSAFAmhetzEQHGtpYmlAZGVi
aWFuLm9yZwAKCRD/kUrwwrNVIGfID/90O4vym6xfK+24Ui7qNyByUHYXypheQrdp
YHUQ8MmuZ1AVJD/0KE2kn3zHCQBKnty/EUe7FCgvrdqbKs29Ucfa9Jp4dNBVATu1
QIGTGezfnJKYsT3kseSZp1oaXJ5INc0nrdoYV+WxeRx0H4ieokKZg1LFZXnebA+f
wx/s7WdwzoJI/Coc4g7mErs0o3JGV/Ec8Pt8D/py9xtRQOrlxADzZzAQb+HlDFhE
KUrCa1oQpqA7qcCXnVXxPJ1Am/p/ruMz0Xu6imW9ENSis02hgwQ4zz+KMph/rtkF
+vqIHqj8xWglf4Z0eHbb06DmtlOERXOIlihKse0gt8I7himlhpuz1aEldJP8P43o
zJA6ZHSpfEPJxMdApjNCS/x619w8S8oFCUmQvgncbbZbPy5jx2zvtSjn8DTQMJpK
zytIMj/ELj1oBJyZ5VZyvljGoIBJvUfbe81wIlYrrTwbMQvWIXoXt0pfT49KsASM
w4CqY4UL1gC9nFqVQ006n4aeo0fvUZcqb7mvHLEppP0YiizLsF1LP/zFInnbQDDD
0/md9DGh/1Ja1MjLLOCxVihBqEHma6hV2MrMlRHfBOFlunsEZEqDUwL3Rs5Qti8i
vyjHEp4gyGVqO4CVNZVKJpfgHMgErcC0FmZZmqUvmQIEWlUl4Nx3L/q28EBYUop6
h964ac/5QQ==
=ZDC1
-----END PGP SIGNATURE-----

Attachment: pgpgRw86zZObg.pgp
Description: PGP signature


--- End Message ---

Reply to: