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


Groups > linux.debian.kernel > #72424

Bug#757356: Apple keyboard: Scan code event (EV_MSC) not generated when the EV_KEY event is generated by hid-apple.c

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Daniel Lin <ephemient@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#757356: Apple keyboard: Scan code event (EV_MSC) not generated when the EV_KEY event is generated by hid-apple.c
Date Thu, 22 Jul 2021 00:40:01 +0200
Message-ID <CDt2F-2Nm-1@gated-at.bofh.it> (permalink)
References <C8VxU-89x-9@gated-at.bofh.it> <CiWCl-8px-1@gated-at.bofh.it> <CiXoJ-tr-5@gated-at.bofh.it> <nMuG7-3Oy-23@gated-at.bofh.it> <CiYE9-1mW-3@gated-at.bofh.it> <ClAYG-6ee-23@gated-at.bofh.it> <CDlot-6yU-1@gated-at.bofh.it> <nMuG7-3Oy-23@gated-at.bofh.it> <CDlot-6yU-1@gated-at.bofh.it>
X-Original-To Vincent Lefevre <vincent@vinc17.net>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Jul 21 22:33:10 2021
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -2.599
Reply-To Daniel Lin <ephemient@gmail.com>, 757356@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 757356
X-Debian-Pr-Package src:linux
X-Debian-Pr-Keywords patch
X-Debian-Pr-Source linux
X-Gm-Message-State AOAM532RBgNwqYQ2LbWwQdgnjvcgGUYGDjn2GfddeFj0BmRsPvdJEb3O g7jVWoFkT2kHaApZCybrrF2XZGT7T0QzlZCaKcs=
X-Google-SMTP-Source ABdhPJzNDycw1GM1e83++hyIGHXHpJ2wkIN490fVlUoivDrVKxQjNvvoBSKhe+CBkH5eUnsGBx6wFeyETMaDD/B8Kd4=
X-Received by 2002:a05:6602:190:: with SMTP id m16mr28443596ioo.14.1626906537009; Wed, 21 Jul 2021 15:28:57 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/alternative; boundary="00000000000038a88105c7a9b2f6"
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1671403
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 157
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Salvatore Bonaccorso <carnil@debian.org>, 757356@bugs.debian.org
X-Original-Date Wed, 21 Jul 2021 18:28:44 -0400
X-Original-Message-ID <CAGG6mq8i2bDw11-Qe+oJKUh9+ME3cc1DPpWW3Ecb0gJrY9btZA@mail.gmail.com>
X-Original-References <E1lbnDi-001LSU-6w@hullmann.westfalen.local> <20210526075216.GA212882@zira.vinc17.org> <20210526083911.GA214851@zira.vinc17.org> <20140807115944.GA4501@xvii.vinc17.org> <20210526100212.GA276962@zira.vinc17.org> <YLeitmdmsErNOHIg@eldamar.lan> <20210721142427.GA18195@zira.vinc17.org> <20140807115944.GA4501@xvii.vinc17.org> <20210721142427.GA18195@zira.vinc17.org>
Xref csiph.com linux.debian.bugs.dist:1065167 linux.debian.kernel:72424

Cross-posted to 2 groups.

Show key headers only | View raw


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

Yes, I haven't used a machine with hid_apple in many years, but the patch
sign-off is OK with me.

On Wed, Jul 21, 2021 at 10:24 AM Vincent Lefevre <vincent@vinc17.net> wrote:

> On 2021-06-02 17:24:38 +0200, Salvatore Bonaccorso wrote:
> > Hi Vincent,
> >
> > On Wed, May 26, 2021 at 12:02:12PM +0200, Vincent Lefevre wrote:
> [...]
> > > I forgot that there was
> > >
> > >   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757356#35
> > >
> > > from Daniel Lin, with a patch, in 2017. I've looked at this patch
> > > (but have not tried it), and it adds an additional EV_MSC event
> > > when hidinput_apple_event() has to generate an EV_KEY event. So
> > > I confirm that should solve this issue and I'm adding the patch
> > > tag (I don't know whether the patch needs an update, though).
> >
> > Can you, time permitting, starting from there (and needed refreshes)
> > try to confirm if the patch solves the issue on top of 5.10.40?
>
> I could build and test the patched kernel, and I confirm that the
> new patch at
>
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757356#75
>
> solves the issue for me.
>
> > If so, next step would be to propose the change/report the bug at
> > least, to upstream, get_maintainers.pl would suggest to report it
> > to:
> >
> > Jiri Kosina <jikos@kernel.org> (maintainer:HID CORE LAYER)
> > Benjamin Tissoires <benjamin.tissoires@redhat.com> (maintainer:HID CORE
> LAYER)
> > linux-input@vger.kernel.org (open list:HID CORE LAYER)
> > linux-kernel@vger.kernel.org (open list)
>
> Since Daniel Lin (Cc'ed for any comment) is the author of the
> original patch, I suppose that the patch should have:
>
> Co-developed-by: Daniel Lin <ephemient@gmail.com>
> Signed-off-by: Daniel Lin <ephemient@gmail.com>
> Co-developed-by: Vincent Lefevre <vincent@vinc17.net>
> Signed-off-by: Vincent Lefevre <vincent@vinc17.net>
>
> as described at
>   https://www.kernel.org/doc/html/latest/process/submitting-patches.html
>
> if this is OK for him.
>
> --
> Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
>

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#757356: Scan codes still not generated for F1 to F12, Enter and Backspace Vincent Lefevre <vincent@vinc17.net> - 2021-05-26 10:00 +0200
  Bug#757356: Scan code event not generated for some keys of the Apple keyboard: those in applespi_fn_codes Vincent Lefevre <vincent@vinc17.net> - 2021-05-26 10:50 +0200
    Bug#757356: Apple keyboard: Scan code event (EV_MSC) not generated when the EV_KEY event is generated by hid-apple.c Vincent Lefevre <vincent@vinc17.net> - 2021-05-26 12:10 +0200
      Bug#757356: Apple keyboard: Scan code event (EV_MSC) not generated when the EV_KEY event is generated by hid-apple.c Salvatore Bonaccorso <carnil@debian.org> - 2021-06-02 17:30 +0200
        Bug#757356: Apple keyboard: Scan code event (EV_MSC) not generated when the EV_KEY event is generated by hid-apple.c Vincent Lefevre <vincent@vinc17.net> - 2021-07-19 17:00 +0200
        Bug#757356: Apple keyboard: Scan code event (EV_MSC) not generated when the EV_KEY event is generated by hid-apple.c Vincent Lefevre <vincent@vinc17.net> - 2021-07-21 16:30 +0200
          Bug#757356: Apple keyboard: Scan code event (EV_MSC) not generated when the EV_KEY event is generated by hid-apple.c Daniel Lin <ephemient@gmail.com> - 2021-07-22 00:40 +0200
            Bug#757356: Apple keyboard: Scan code event (EV_MSC) not generated when the EV_KEY event is generated by hid-apple.c Vincent Lefevre <vincent@vinc17.net> - 2021-07-26 16:20 +0200

csiph-web