From: Pekka Pietikainen <pp@netppl.fi>
To: marcelo@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] make 2.4 shut up about "can't emulate rawmode for keycode 272" with logitech cordless mice
Date: Fri, 25 Jul 2003 10:09:43 +0300 [thread overview]
Message-ID: <20030725070942.GA29589@netppl.fi> (raw)
Hi
Could you please apply this patch to 2.4. It fixes a very annoying problem
with logitech wireless keyboard/mouse combinations. Every time a
mouse button is pressed the message
keyboard.c: can't emulate rawmode for keycode 272
appears on the console, which is somewhat annoying especially if you want
to use gpm. For 2.5 this has been fixed by the patch in
http://www.cs.helsinki.fi/linux/linux-kernel/2003-06/0754.html,
Here's a similar patch for 2.4, which fixes the problem for me.
--- linux/drivers/input/keybdev.c.orig 2003-05-31 14:23:10.000000000 +0300
+++ linux/drivers/input/keybdev.c 2003-05-31 14:23:58.000000000 +0300
@@ -172,7 +172,8 @@
if (type != EV_KEY) return;
if (emulate_raw(code, down))
- printk(KERN_WARNING "keyboard.c: can't emulate rawmode for keycode %d\n", code);
+ if(code < BTN_MISC)
+ printk(KERN_WARNING "keybdev.c: can't emulate rawmode for keycode %d\n", code);
tasklet_schedule(&keyboard_tasklet);
}
--
Pekka Pietikainen
next reply other threads:[~2003-07-25 6:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-25 7:09 Pekka Pietikainen [this message]
2003-07-25 19:38 ` [PATCH] make 2.4 shut up about "can't emulate rawmode for keycode 272" with logitech cordless mice Marcelo Tosatti
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=20030725070942.GA29589@netppl.fi \
--to=pp@netppl.fi \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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