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


Groups > linux.debian.maint.boot > #75685 > unrolled thread

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

Started byNoisyCoil <noisycoil@tutanota.com>
First post2025-06-27 01:20 +0200
Last post2025-06-27 17:40 +0200
Articles 7 — 4 participants

Back to article view | Back to linux.debian.maint.boot


Contents

  Bug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards NoisyCoil <noisycoil@tutanota.com> - 2025-06-27 01:20 +0200
    Processed: Re: Bug#1108360: keyboard-configuration:  keyboard_present does not detect Apple SPI keyboards "Debian Bug Tracking System" <owner@bugs.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-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
    Bug#1108360: marked as done (keyboard-configuration:  keyboard_present does not detect Apple laptop keyboards) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-06-27 17:40 +0200

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

FromNoisyCoil <noisycoil@tutanota.com>
Date2025-06-27 01:20 +0200
SubjectBug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards
Message-ID<L242S-dpX8-3@gated-at.bofh.it>

[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!

[toc] | [next] | [standalone]


#75711 — Processed: Re: Bug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-06-27 17:30 +0200
SubjectProcessed: Re: Bug#1108360: keyboard-configuration: keyboard_present does not detect Apple SPI keyboards
Message-ID<L2jbA-dzwL-7@gated-at.bofh.it>
In reply to#75685
Processing control commands:

> severity -1 important
Bug #1108360 [keyboard-configuration] keyboard-configuration: keyboard_present does not detect Apple laptop keyboards
Severity set to 'important' from 'normal'

-- 
1108360: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108360
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#75713

FromCyril Brulebois <kibi@debian.org>
Date2025-06-27 17:30 +0200
Message-ID<L2jbA-dzwL-9@gated-at.bofh.it>
In reply to#75685

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

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

[toc] | [prev] | [next] | [standalone]


#75774

FromCyril Brulebois <kibi@debian.org>
Date2025-06-30 21:00 +0200
Message-ID<L3rTr-eipE-1@gated-at.bofh.it>
In reply to#75713

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

Cyril Brulebois <kibi@debian.org> (2025-06-27):
> 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.

Just in case anyone wonders:

    console-setup | 1.239         | testing      | source, all
    console-setup | 1.239         | unstable     | source, all


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

[toc] | [prev] | [next] | [standalone]


#75775

FromNoisyCoil <noisycoil@disroot.org>
Date2025-06-30 21:20 +0200
Message-ID<L3scN-eiMO-7@gated-at.bofh.it>
In reply to#75774
On 30/06/25 20:57, Cyril Brulebois wrote:
> Cyril Brulebois<kibi@debian.org> (2025-06-27):
>> 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.
> Just in case anyone wonders:
Thanks a lot Cyril! Overnight we built new images and today we tested 
them on platforms available to us. We confirm the fix worked.
> 
>      console-setup | 1.239         | testing      | source, all
>      console-setup | 1.239         | unstable     | source, all
> 
> 
> Cheers,
> -- Cyril Brulebois (kibi@debian.org) <https://debamax.com/> D-I release 
> manager -- Release team member -- Freelance Consultant
> 

Cheers!

[toc] | [prev] | [next] | [standalone]


#75776

FromCyril Brulebois <kibi@debian.org>
Date2025-06-30 21:20 +0200
Message-ID<L3scN-eiMO-5@gated-at.bofh.it>
In reply to#75775

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

NoisyCoil <noisycoil@disroot.org> (2025-06-30):
> Thanks a lot Cyril! Overnight we built new images and today we tested
> them on platforms available to us. We confirm the fix worked.

Thanks for the report+patch in the first place, I didn't do much…


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

[toc] | [prev] | [next] | [standalone]


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

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-06-27 17:40 +0200
SubjectBug#1108360: marked as done (keyboard-configuration: keyboard_present does not detect Apple laptop keyboards)
Message-ID<L2jlf-dzzO-5@gated-at.bofh.it>
In reply to#75685

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

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.boot


csiph-web