All of lore.kernel.org
 help / color / mirror / Atom feed
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:50:45 -0800	[thread overview]
Message-ID: <ZabeFRKGZQn7QuIK@google.com> (raw)
In-Reply-To: <5207ea8a-722b-4431-8d50-8cec8356f1ad@redhat.com>

On Tue, Jan 16, 2024 at 08:33:39PM +0100, Hans de Goede wrote:
> Hi,
> 
> On 1/16/24 20:05, Dmitry Torokhov wrote:
> > 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?
> 
> That sounds like a good idea to me. I was already wondering
> if there was a standard response.
> 
> Do you plan to write a fix yourself or shall I propose one ?

Please propose a patch.

Thanks.

-- 
Dmitry

      reply	other threads:[~2024-01-16 19:50 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
2024-01-16 19:33           ` Hans de Goede
2024-01-16 19:50             ` Dmitry Torokhov [this message]

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=ZabeFRKGZQn7QuIK@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.