From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: "Barnabás Pőcze" <pobrn@protonmail.com>,
linux-input@vger.kernel.org,
"Shang Ye" <yesh25@mail2.sysu.edu.cn>,
gurevitch <mail@gurevit.ch>, "Egor Ignatov" <egori@altlinux.org>,
"Anton Zhilyaev" <anton@cpp.in>
Subject: Re: [PATCH v2] Input: atkbd - Skip ATKBD_CMD_GETID in translated mode
Date: Tue, 16 Jan 2024 11:05:47 -0800 [thread overview]
Message-ID: <ZabTi1PbTl-uF5aM@google.com> (raw)
In-Reply-To: <20a1cc94-7f88-4b7f-879b-1835f804e8d1@redhat.com>
On Tue, Jan 16, 2024 at 03:43:10PM +0100, Hans de Goede wrote:
> Hi,
>
> On 1/16/24 14:32, Barnabás Pőcze wrote:
> >
> > After:
> >
> > evdev:input:b0011v0001p0001*
> > KEYBOARD_KEY_f8=fn
> > KEYBOARD_KEY_76=f21
> >
> > I: Bus=0011 Vendor=0001 Product=0001 Version=abba
> > N: Name="AT Translated Set 2 keyboard"
> > P: Phys=isa0060/serio0/input0
> > S: Sysfs=/devices/platform/i8042/serio0/input/input4
>
> I see, thank you. There are no v0001p0001 matches
> in the hwdb.d/60-keyboard.hwdb shipped with systems.
>
> Typically laptop builtin keyboards use another match-type
> so that they can do DMI matching e.g.:
>
> evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*:*
>
> So luckily for almost all users the e field in the match
> rule changing should not be an issue. Sorry that this
> was a problem for you.
Hans, I wonder, if we skip "GET ID" command because it is a
portable/laptop, maybe we should assume that it is the standard "0xab83"
instead of "0xabba" that we assign if GET ID fails but SET LEDS
succeeds. What do you think?
Thanks.
--
Dmitry
next prev parent reply other threads:[~2024-01-16 19:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-15 17:46 [PATCH v2] Input: atkbd - Skip ATKBD_CMD_GETID in translated mode Hans de Goede
2023-11-25 4:30 ` Dmitry Torokhov
2023-11-25 13:43 ` Hans de Goede
2024-01-16 0:21 ` Barnabás Pőcze
2024-01-16 9:34 ` Hans de Goede
2024-01-16 13:32 ` Barnabás Pőcze
2024-01-16 14:43 ` Hans de Goede
2024-01-16 19:05 ` Dmitry Torokhov [this message]
2024-01-16 19:33 ` Hans de Goede
2024-01-16 19:50 ` Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZabTi1PbTl-uF5aM@google.com \
--to=dmitry.torokhov@gmail.com \
--cc=anton@cpp.in \
--cc=egori@altlinux.org \
--cc=hdegoede@redhat.com \
--cc=linux-input@vger.kernel.org \
--cc=mail@gurevit.ch \
--cc=pobrn@protonmail.com \
--cc=yesh25@mail2.sysu.edu.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.