public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X
Date: Sun, 20 Feb 2011 15:03:55 +0000	[thread overview]
Message-ID: <201102201504.14771.michaelkintzios@gmail.com> (raw)
In-Reply-To: <4D605F74.7050003@gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 4054 bytes --]

On Sunday 20 February 2011 00:25:24 Valmor de Almeida wrote:
> On 02/19/2011 06:59 PM, Mick wrote:
> [snip]
> 
> > On two laptops of mine evdev causes untold confusion with the touchpad
> > and second language selection for the keyboard.  I *have* to use the
> > synaptics and keyboard input drivers.  I'm also using mouse (because it
> > doesn't hurt I guess).
> > 
> > I tried of course to remove them all and leave evdev initially, but it
> > all went horribly wrong.  Perhaps evdev will catch up eventually, I just
> > hope synaptics and keyboard don't default into being deprecated before
> > then.

I think I should at least partly retract some of the above statement - with 
x11-base/xorg-server-1.9.4 I have managed to unmerge x11-drivers/xf86-input-
keyboard and x11-drivers/xf86-input-mouse and evdev seems to still pick up my 
mouse and keyboard.

I had to comment out the following three entries first in my xorg.conf:
#########################################
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
#       InputDevice    "Mouse0" "CorePointer"
#       InputDevice    "Keyboard0" "CoreKeyboard"
#       Option "AllowEmptyInput" "off"
EndSection
#########################################

and also added appropriate Section "InputClass" parts for mouse and keyboard 
in my /etc/X11/xorg.conf, but commented out similar parts in 
/usr/share/X11/xorg.conf.d/10-evdev.conf.

> I am using evdev and synaptics only on a thinkpad t201. Without an
> xorg.conf, all works including when I connect an usb mouse. However I am
> trying to configure the touchpad, trackpoint and extended buttons to
> work as left-hand; that is I would like to have the 3 buttons reversed.
> 
> I have not been lucky so far. In fact I've read on the web about some
> new (relative to xorg 1.7) syntax for the xorg.conf file. Does anyone
> know about a site with humanly friendly information on how to write a
> modern xorg.conf file? 

Have you had a look at:

http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml

Also, have a read of the InputClass section in man xorg.conf and the files in 
/usr/share/X11/xorg.conf.d/.


> In addition to the devices I mentioned above I am
> also trying to setup an external monitor as a hotplug virtual screen.
> 
> For instance, things like this do not work:
> 
> 
> Section "InputClass"
>         Identifier "TouchPad"

Change this line to:

        Identifier "touchpad catchall"

Or, you can also try:

        Identifier "synaptics touchpad catchall"

>         MatchIsTouchpad "on"
>         Driver "synaptics"
>         #Option "SHMConfig" "on"
>         Option "VertTwoFingerScroll" "on"
> EndSection
> 
> In the past I used
> 
> Option "ButtonMapping" "3 2 1"

Do you want this to work for your touchpad with the synaptics driver, or do 
you want this to work with any physical buttons on the laptop, or even an 
external (e.g. USB) mouse?

If the former, then have a look at the NOTES at the end of the man synaptics 
page, where it mentions button mapping.

For non tap buttons you can try setting this option in an InputClass section 
in your xorg.conf for an InputClass device mouse:

Section "InputClass"
        Identifier  "mouse catchall"
        Driver      "evdev"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Option      "Protocol" "auto"
        Option "ButtonMapping" "3 2 1"
EndSection

> which apparently does not work here. Last but not least, how do I get
> the good old  ctrl-alt-backspace  keybinding to kill X?

You'll need to define this in the InputClass that deals with the keyboard:

Section "InputClass"
       Identifier  "keyboard catchall"
       Driver      "evdev"
       MatchIsKeyboard "on"
       MatchDevicePath "/dev/input/event*"
       Option "XkbLayout" "gb"
       Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

HTH.
-- 
Regards,
Mick

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

  reply	other threads:[~2011-02-20 15:05 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-19 17:44 [gentoo-user] help with xorg-server-1.9.4 and no hal; broken mouse/keyboard/X Valmor de Almeida
2011-02-19 18:03 ` [gentoo-user] " Nikos Chantziaras
2011-02-19 18:24   ` Valmor de Almeida
2011-02-19 18:43     ` Nikos Chantziaras
2011-02-19 18:45     ` Dale
2011-02-19 19:38     ` Valmor de Almeida
2011-02-19 18:07 ` [gentoo-user] " Mark Knecht
2011-02-19 18:32   ` Dale
2011-02-19 18:46     ` [gentoo-user] " Nikos Chantziaras
2011-02-19 19:32       ` Dale
2011-02-19 19:48       ` Valmor de Almeida
2011-02-20 17:53         ` Neil Bothwick
2011-02-21  3:43           ` Valmor de Almeida
2011-02-19 20:14       ` Mark Knecht
2011-02-19 20:35         ` Nikos Chantziaras
2011-02-19 20:41           ` Mark Knecht
2011-02-19 20:53             ` Valmor de Almeida
2011-02-19 20:59             ` Nikos Chantziaras
2011-02-19 23:59             ` Mick
2011-02-20  0:25               ` Valmor de Almeida
2011-02-20 15:03                 ` Mick [this message]
2011-02-21  4:07                   ` Valmor de Almeida
2011-02-21  8:10                     ` Mick

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=201102201504.14771.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.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