MandrivaUsers.org : MS M6000 Laser Notebook use in MDV 2008 - MandrivaUsers.org

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

MS M6000 Laser Notebook use in MDV 2008 How to get all 8 buttons recognized

#1 User is offline   Steve Scrimpshire 

  • This is a dark ride
  • Group: OTW
  • Posts: 3,590
  • Joined: 13-December 02

Posted 12 October 2007 - 05:30 AM

In /etc/X11/xorg.conf

Section "InputDevice"
 Identifier "Mouse1"
 Driver "evdev"
 Option "Buttons" "8"
 Option "bustype" "0x0003"
 Option "relBits" "+0+1+2"
 Option "product" "0x00e1"
 Option "vendor" "0x045e"
 Option "ZAxisMapping" "4 5"
 Option "DialRelativeAxisButtons" "7 6"
 EndSection


I have no idea what relBits is. It was already there before I got all the buttons to work.

You can see what to put for bustype, product and vendor here:
# cat /proc/bus/input/devices
I: Bus=0003 Vendor=045e Product=00e1 Version=0111
N: Name="Microsoft Microsoft Wireless Optical Mouse? 1.00"
P: Phys=usb-0000:00:1d.3-2/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=mouse1 event2 ts1
B: EV=7
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=1c3


That makes the tilt wheel go back and forward in Firefox and scroll from side to side in other apps. To get your 8th button working (which for some reason, the system thinks is Button 9....there being no Button 8), install xbindkeys and create a ~/.xbindkeysrc and put something like this in it:

# Mouse Buttons
"konqueror"
m:0x0 + b:9


Hope this helps someone. I had to dig and dig and stumbled across this example config section on some site written in some foreign language I didn't even know what language it was, or if it was supposed to be a solution or a problem. Tried it and it worked. This may or may not work in 2007.
Posted Image
0

#2 User is offline   adamw 

  • Mandriva Guru
  • View blog
  • Group: Members
  • Posts: 2,327
  • Joined: 18-August 04

Posted 12 October 2007 - 04:28 PM

The relbits stuff is there because of http://qa.mandriva.c...ug.cgi?id=32905 . Basically, without it, a bunch keyboards have quite a lot of keys not working at all.
Adam Williamson | http://www.happyassassin.net
Mandriva contributor and monkey-at-large
Feed the monkey: donate to help me work on Mandriva full-time
awilliamson A T mandriva D 0 T org
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users