All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pekka Pietikainen <pp@netppl.fi>
To: Lionel Bouton <Lionel.Bouton@inet6.fr>
Cc: Jurgen Kramer <gtm.kramer@inter.nl.net>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: Completely disable AT/PS2 keyboard support in 2.4?
Date: Mon, 9 Jun 2003 21:39:06 +0300	[thread overview]
Message-ID: <20030609183906.GA32734@netppl.fi> (raw)
In-Reply-To: <3EE4A14C.3000109@inet6.fr>

On Mon, Jun 09, 2003 at 05:01:32PM +0200, Lionel Bouton wrote:
> Jurgen Kramer wrote:
> On my config (Logitech wireless mouse and kb with USB receiver) :
> - 272 keycode happens on each left click,
> - 273 or 276 on each right click (actual button pressed dependant there 
> are 2 buttons recognised as the right one on my Optical Trackman),
> - 275 on each middle click,
> - 274 on each wheel click...

Same here... Here's a patch that fixed it (something similar was added
to 2.5 recently)

--- linux-2.4.20-20.1.2007.nptl/drivers/input/keybdev.c.orig	2003-05-31 14:23:10.000000000 +0300
+++ linux-2.4.20-20.1.2007.nptl/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





  reply	other threads:[~2003-06-09 18:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-09 10:54 Completely disable AT/PS2 keyboard support in 2.4? Jurgen Kramer
2003-06-09 13:34 ` Geert Uytterhoeven
2003-06-09 14:45   ` Jurgen Kramer
2003-06-09 15:01     ` Lionel Bouton
2003-06-09 18:39       ` Pekka Pietikainen [this message]
2003-06-10  9:11     ` Geert Uytterhoeven
2003-06-09 15:05 ` Randy.Dunlap

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=20030609183906.GA32734@netppl.fi \
    --to=pp@netppl.fi \
    --cc=Lionel.Bouton@inet6.fr \
    --cc=geert@linux-m68k.org \
    --cc=gtm.kramer@inter.nl.net \
    --cc=linux-kernel@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 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.