LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* how to make side button (button 6) work with kernel 2.6.5 (logitech mouseman)
@ 2004-05-23  2:43 Erik Steffl
  0 siblings, 0 replies; 2+ messages in thread
From: Erik Steffl @ 2004-05-23  2:43 UTC (permalink / raw)
  To: lkml

   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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* how to make side button (button 6) work with kernel 2.6.5 (logitech mouseman)
@ 2004-05-12  9:01 Erik Steffl
  0 siblings, 0 replies; 2+ messages in thread
From: Erik Steffl @ 2004-05-12  9:01 UTC (permalink / raw)
  To: lkml

   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, /dev/psaux device and "ExplorerPS/2" in X config.

   Her'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"

   TIA

	erik

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-23  2:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-23  2:43 how to make side button (button 6) work with kernel 2.6.5 (logitech mouseman) Erik Steffl
  -- strict thread matches above, loose matches on Subject: below --
2004-05-12  9:01 Erik Steffl

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).