linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Steffl <steffl@bigfoot.com>
To: lkml <linux-kernel@vger.kernel.org>
Subject: how to make side button (button 6) work with kernel 2.6.5 (logitech mouseman)
Date: Sat, 22 May 2004 19:43:09 -0700	[thread overview]
Message-ID: <40B00FBD.8030506@bigfoot.com> (raw)

   I have the Logitech Cordless MouseMan Wheel mouse and while it's
mostly working I can't get the side button to work (used to be button 6
when I was using kernel 2.4.x).

   the problem is that side button is same as button 2 (clicking the
wheel), as verified by xev.

   I use psmouse moudule, here's what syslog says when I modprobe psmouse:

/var/log/syslog.0:May 10 23:30:27 jojda kernel: input: ImPS/2 Logitech
Wheel Mouse on isa0060/serio1

   and here's my X config for mouse:


Section "InputDevice"
	Identifier	"Logitech Cordless MouseMan Wheel"
	Driver		"mouse"
	Option		"CorePointer"
	# Option		"Protocol"		"MouseManPlusPS/2"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"Device"		"/dev/psaux"
	Option		"Emulate3Buttons"	"false"
	Option		"Buttons"		"6"
	Option		"ZAxisMapping"		"5 6"
	Option		"SendCoreEvents"	"true"
EndSection

and here's modmap that used to work with kernel 2.4.x (it still sort of
works, the wheel is usable)

xmodmap -e "pointer = 1 2 3 6 4 5"

   other combinations I tried:

Option		"Protocol"		"ExplorerPS/2"
Option		"ZAxisMapping"		"4 5"
no xmodmap mapping

Option		"Protocol"		"ImPS/2"
Option		"ZAxisMapping"		"4 5"
no xmodmap mapping

   got same results, both wheel and side button act as button 2.

   I also tried "ZAxisMapping"		"4 5" and xmodmap -e "pointer = 1 2 3 6 
4 5", that make turning the wheel become button 4 and 6, looks like side 
button is always mapped to wahtever button 2 is mapped to, e.g. xmodmap 
-e "pointer = 1 6 3 4 5 2" results in side button and wheel click to 
become button 6 (is it kernel module that does that?)

   TIA

	erik


             reply	other threads:[~2004-05-23  2:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-23  2:43 Erik Steffl [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-05-12  9:01 how to make side button (button 6) work with kernel 2.6.5 (logitech mouseman) Erik Steffl

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=40B00FBD.8030506@bigfoot.com \
    --to=steffl@bigfoot.com \
    --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 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).