linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alban Browaeys <prahal@yahoo.com>
To: linux-input@vger.kernel.org
Subject: hid-input behing restrictive about the accepted value leads to issues for multimedia LX710 keyboard (resent)
Date: Sun, 05 Feb 2012 23:54:42 +0100	[thread overview]
Message-ID: <1328482482.13410.14.camel@penelope> (raw)

Since commit 6da7066906e977d42104a859c490f5f9a300488c  my multimedia
keys behaves as stuck (ie no release events seen by evdev).

046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser reports a minimum
logical of 1 not 0. This leads to multimedia key press behing
 seen as stuck (as 0 is the returned value for release which is below
minimum reported in rdesc for Consumer).

Enabling hid debug via echo 2 > /sys/module/hid/parameters/debug showed
while pressing the mulitmedia keys:
 drivers/hid/hid-input.c: Ignoring out-of-range 
after the press event (I had also evbug loaded). Then the key will
behave as stuck from evdev point of view (only hidraw and hiddev device
files showing activity, no more from event file).


Just a wild guess, egalaxy also suffers from the same issue and was
hardcoded minimum logical value 0. Could it be that this minimal logical
value is for press events (as here release events all have the value
zero). Or is this a bug in the keyboard reporting its limits.

>From  /sys/kernel/debug/hid/0003\:046D
\:C517.0002/rdesc . The offending input is input3 (ie Consumer.0001) which has logical min 1.

Note this is particularly annoying with regards to the volume up
behaving as stuck .
I also saw a french twitter user reporting the issue but without any
hint on what his keyboard was . Thus the wild guess above that it could
affect all multimedia keyboards.


Best regards
Alban



                 reply	other threads:[~2012-02-05 23:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1328482482.13410.14.camel@penelope \
    --to=prahal@yahoo.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).