Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-laptop
Navigation:
Lists: gentoo-laptop: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-laptop@g.o
From: James Cloos <cloos+gentoo-laptop@...>
Subject: Re: fujitsu siemens s7110 - touch stick?
Date: Mon, 21 May 2007 04:41:36 -0400
>>>>> "Sebastian" == Sebastian Gibb <sebastiangibb@...> writes:

Sebastian> now I use evdev:

Sebastian> Section "InputDevice"
Sebastian>     Identifier "touchstick"
Sebastian>     #Driver "mouse"
Sebastian>     Driver "evdev"
Sebastian>     Option "Protocol" "auto"
Sebastian>     Option "Device" "/dev/input/mouse1"
Sebastian> EndSection

Sebastian> but it doesn't work.

/dev/input/mouse1 is not an evdev device.

Try this:

Section "InputDevice"
  Identifier   "evMouse"
  Driver       "evdev"
  Option       "evBits"  "+1-2"
  Option       "keyBits" "~272-287"
  Option       "relBits" "~0-2 ~6 ~8"
  Option       "Pass"	 "3"
EndSection

and then add:

  InputDevice  "evMouse" "CorePointer"

to the ServerLayout section.

Or, since evdev does not support emulating the middle mouse button by
pressing the left and right simultaneously, I'd suggest what I use:

Section "InputDevice"
  Identifier   "evKeyboard"
  Driver       "evdev"
  Option       "evBits"  "+1"
  Option       "keyBits" "~1-255 ~352-511"
  Option       "Pass"	 "3"
  Option       "AutoRepeat" "500 30"
#   ... plus any XkbOptions ...
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mice"
  Option       "Device" "/dev/input/mice"
  Option       "InputFashion" "Mouse"
  Option       "Name" "AutoDetected"
  Option       "Protocol" "imps/2"
  Option       "Vendor" "AutoDetected"
  Option       "Emulate3Buttons" "on"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "evKeyboard" "CoreKeyboard"
  InputDevice  "Mice" "CorePointer"
#   ...  etc ...
  Screen       "Screen[0]"
EndSection


With /dev/input/mice the kernel does the hard work multiplexing the pad,
stick and any external USB or PS/2 mice and the server handles emulating
the middle button.  In short, everything just works.

I do recommend dvdev for keyboards, though.

-JimC
-- 
James Cloos <cloos@...>         OpenPGP: 1024D/ED7DAEA6
-- 
gentoo-laptop@g.o mailing list


References:
fujitsu siemens s7110 - touch stick?
-- Sebastian Gibb
Re: fujitsu siemens s7110 - touch stick?
-- korzec
Re: fujitsu siemens s7110 - touch stick?
-- Sebastian Gibb
Navigation:
Lists: gentoo-laptop: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: fujitsu siemens s7110 - touch stick?
Next by thread:
shopping for a laptop - tools to bring
Previous by date:
Re: fujitsu siemens s7110 - touch stick?
Next by date:
gcc3.4


Updated Jun 17, 2009

Summary: Archive of the gentoo-laptop mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.