public inbox for gentoo-laptop@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-laptop] fujitsu siemens s7110 - touch stick?
@ 2007-05-13 17:45 Sebastian Gibb
  2007-05-18 14:07 ` korzec
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Gibb @ 2007-05-13 17:45 UTC (permalink / raw
  To: gentoo-laptop

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

Hello,

I have an FSC Lifebook S7110. I like to use the touch stick (the grey button 
between key 'g', 'h' and 'b') but I can't enable the "press-to-select' 
function.
My xorg.conf:
########
Section "InputDevice"
    Identifier "touchstick"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mouse1"
EndSection
########
Have anybody an idea how to get it works?

Bye
Sebastian

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-laptop] fujitsu siemens s7110 - touch stick?
  2007-05-13 17:45 [gentoo-laptop] fujitsu siemens s7110 - touch stick? Sebastian Gibb
@ 2007-05-18 14:07 ` korzec
  2007-05-19 18:09   ` Sebastian Gibb
  0 siblings, 1 reply; 5+ messages in thread
From: korzec @ 2007-05-18 14:07 UTC (permalink / raw
  To: gentoo-laptop

maybe try to use evdev if you can

On 5/13/07, Sebastian Gibb <sebastiangibb@t-online.de> wrote:
> Hello,
>
> I have an FSC Lifebook S7110. I like to use the touch stick (the grey button
> between key 'g', 'h' and 'b') but I can't enable the "press-to-select'
> function.
> My xorg.conf:
> ########
> Section "InputDevice"
>     Identifier "touchstick"
>     Driver "mouse"
>     Option "Protocol" "auto"
>     Option "Device" "/dev/input/mouse1"
> EndSection
> ########
> Have anybody an idea how to get it works?
>
> Bye
> Sebastian
>
-- 
gentoo-laptop@gentoo.org mailing list



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

* Re: [gentoo-laptop] fujitsu siemens s7110 - touch stick?
  2007-05-18 14:07 ` korzec
@ 2007-05-19 18:09   ` Sebastian Gibb
  2007-05-19 19:12     ` Marcus Wagner
  2007-05-21  8:41     ` James Cloos
  0 siblings, 2 replies; 5+ messages in thread
From: Sebastian Gibb @ 2007-05-19 18:09 UTC (permalink / raw
  To: gentoo-laptop

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

hello,

now I use evdev:

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

but it doesn't work. I don't know whether the touchstick is /dev/input/mouse1. 
How could I discover it?

Bye

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-laptop] fujitsu siemens s7110 - touch stick?
  2007-05-19 18:09   ` Sebastian Gibb
@ 2007-05-19 19:12     ` Marcus Wagner
  2007-05-21  8:41     ` James Cloos
  1 sibling, 0 replies; 5+ messages in thread
From: Marcus Wagner @ 2007-05-19 19:12 UTC (permalink / raw
  To: gentoo-laptop

Sebastian Gibb schrieb:
> hello,
>
> now I use evdev:
>
> Section "InputDevice"
>     Identifier "touchstick"
>     #Driver "mouse"
>     Driver "evdev"
>     Option "Protocol" "auto"
>     Option "Device" "/dev/input/mouse1"
> EndSection
>
> but it doesn't work. I don't know whether the touchstick is /dev/input/mouse1. 
> How could I discover it?
>
> Bye
>   
try  cat /dev/input/mouse1 and move the stick. If you get some weird 
output on your console, its the right device, but since you now use 
evdev it should be something more like /dev/input/event1, bit this can 
change.
Therefore you should od an cat /proc/bus/input/devices, there you can 
see your mouse.
in Xorg.conf you should remove Option Device and add option "Name" "the 
name shown by cat /proc/bus/input/devices". Also protocol "event" could 
be helpful

regards
Marcus
-- 
gentoo-laptop@gentoo.org mailing list



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

* Re: [gentoo-laptop] fujitsu siemens s7110 - touch stick?
  2007-05-19 18:09   ` Sebastian Gibb
  2007-05-19 19:12     ` Marcus Wagner
@ 2007-05-21  8:41     ` James Cloos
  1 sibling, 0 replies; 5+ messages in thread
From: James Cloos @ 2007-05-21  8:41 UTC (permalink / raw
  To: gentoo-laptop; +Cc: Sebastian Gibb

>>>>> "Sebastian" == Sebastian Gibb <sebastiangibb@t-online.de> 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@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6
-- 
gentoo-laptop@gentoo.org mailing list



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

end of thread, other threads:[~2007-05-21 11:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-13 17:45 [gentoo-laptop] fujitsu siemens s7110 - touch stick? Sebastian Gibb
2007-05-18 14:07 ` korzec
2007-05-19 18:09   ` Sebastian Gibb
2007-05-19 19:12     ` Marcus Wagner
2007-05-21  8:41     ` James Cloos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox