linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Kosina <jikos@kernel.org>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>,
	linux-input@vger.kernel.org
Subject: Re: [PATCH] HID: logitech-dj/hidpp: Add info/warn/err messages about 27 MHz keyboard encryption
Date: Wed, 5 May 2021 14:28:24 +0200 (CEST)	[thread overview]
Message-ID: <nycvar.YFH.7.76.2105051428140.28378@cbobk.fhfr.pm> (raw)
In-Reply-To: <20210404185609.5120-1-hdegoede@redhat.com>

On Sun, 4 Apr 2021, Hans de Goede wrote:

> By default 27 MHz Logitech keyboards send the keypresses to the receiver
> in plain text. Logitech's Windows "Keyboard and Mouse settings" tool allows
> configuring encryption for the keyboard wireless link.
> 
> Now there also is a Linux tool for setting this up:
> https://gitlab.freedesktop.org/jwrdegoede/logitech-27mhz-keyboard-encryption-setup
> 
> Once a keyboard is paired in encrypted mode, it will no longer work with
> any receiver other then the receiver it was paired with.
> If a user accidentally tries to pair another keyboard with the receiver
> with which a keyboard has been paired in encrypted mode, then the receiver
> looses the encryption key and the originally paired keyboard will no longer
> work with either that receiver, or another receiver until the keyboard's
> encryption key is rewritten by another encrypted mode pairing using the
> tool. Or until it is reset by following a special reset procedure.
> 
> This commit adds 3 new log messages related to 27 MHz keyboard link
> encryption to the Logitech dj / hidpp drivers:
> 
> 1. An info level message when keyboard encryption is being used
> 2. A warning message when keyboard encryption is not used
> 3. An error message when the encryption key has been lost and the
>    keyboard will not work because of this
> 
> Messages 2. and 3. contain a link to the userspace tool to setup the
> encryption. The linked page also contains instructions to clear the key
> (without needing the tool) to help a user recover from the keyboard not
> working in case 3.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Applied, thank you Hans.

-- 
Jiri Kosina
SUSE Labs


      reply	other threads:[~2021-05-05 12:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-04 18:56 [PATCH] HID: logitech-dj/hidpp: Add info/warn/err messages about 27 MHz keyboard encryption Hans de Goede
2021-05-05 12:28 ` Jiri Kosina [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=nycvar.YFH.7.76.2105051428140.28378@cbobk.fhfr.pm \
    --to=jikos@kernel.org \
    --cc=benjamin.tissoires@redhat.com \
    --cc=hdegoede@redhat.com \
    --cc=linux-input@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).