linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Oliver Neukum <oneukum@suse.de>
Cc: linux-input@vger.kernel.org
Subject: Re: question on releasing keys
Date: Wed, 28 Apr 2010 09:42:24 -0700	[thread overview]
Message-ID: <201004280942.25746.dmitry.torokhov@gmail.com> (raw)
In-Reply-To: <201004281053.52598.oneukum@suse.de>

Hi Oliver,

On Wednesday 28 April 2010 01:53:52 am Oliver Neukum wrote:
> Hi,
> 
> I am seeing a generic problem with buttons on devices released during S3.
> The input layer then assumes that the button is still pressed. It would be
> best for drivers to either verify that a button is still held or
> alternatively, to release all buttons upon resumption. Is there a generic
> way to do that?
>

I think input core should force release of all keys when device is
being suspended, I guess we need to change input.c::input_dev_reset().

-- 
Dmitry

  reply	other threads:[~2010-04-28 16:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-28  8:53 question on releasing keys Oliver Neukum
2010-04-28 16:42 ` Dmitry Torokhov [this message]
2010-05-06 13:33   ` Oliver Neukum
2010-07-01 16:11     ` 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=201004280942.25746.dmitry.torokhov@gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=oneukum@suse.de \
    /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).