From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PrN13-0006CA-1e for garchives@archives.gentoo.org; Mon, 21 Feb 2011 04:04:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAA71E0603; Mon, 21 Feb 2011 04:03:28 +0000 (UTC) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by pigeon.gentoo.org (Postfix) with ESMTP id B6302E0603 for ; Mon, 21 Feb 2011 04:03:28 +0000 (UTC) Received: by gwj22 with SMTP id 22so495287gwj.13 for ; Sun, 20 Feb 2011 20:03:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=l7LC/a84cTEzaBK6HL/+TTXVRZd4SsWOCfeAHz+YVM0=; b=ueWO+PxfMXo9hMDyeGQ2acznfrapN9gFQx0E+0EpLsYhpSTQD1HqK60Ehsf5lNhH4d 4EqiGhoQr8GcgrgrdERomsXL8xYCKYArwS0koXAzO/uyVFzTHhkTD1JodFRAs1TVlMjM Wyga8bSMVYOxyx//1qTo6UjIXk/xqYy3PCZ4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=wUTdVrJ9mtJeSbDElkTA4wg5xE7gKlKgnythIBpcLFVVsAqXbDC9KVnBnc4FTIZrUh rWapl97hizQXe+/z+oOD+k+j1iXr18OoL/tTDM4mP91TjZqB98v8Mkp2a70FvLFwaNJu hR2Wxjhm45CCy02Rr3Khdn2k228AHTwyqjqfs= Received: by 10.101.13.2 with SMTP id q2mr414789ani.148.1298261007234; Sun, 20 Feb 2011 20:03:27 -0800 (PST) Received: from [192.168.10.7] (c-68-32-248-84.hsd1.tn.comcast.net [68.32.248.84]) by mx.google.com with ESMTPS id z12sm3869082anp.19.2011.02.20.20.03.25 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 Feb 2011 20:03:26 -0800 (PST) Message-ID: <4D61E4F8.40308@gmail.com> Date: Sun, 20 Feb 2011 23:07:20 -0500 From: Valmor de Almeida User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20110218 Lightning/1.0b3pre Lanikai/3.1.7 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 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 References: <201102192359.53711.michaelkintzios@gmail.com> <4D605F74.7050003@gmail.com> <201102201504.14771.michaelkintzios@gmail.com> In-Reply-To: <201102201504.14771.michaelkintzios@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 439f038a745425296925ae6b75402264 On 02/20/2011 10:03 AM, Mick wrote: [snip] > > Have you had a look at: > > http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml Yes. Got some info there. > > Also, have a read of the InputClass section in man xorg.conf and the files in > /usr/share/X11/xorg.conf.d/. This was helpful. > > [snip] >> >> 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? The latter. > > If the former, then have a look at the NOTES at the end of the man synaptics > page, where it mentions button mapping. man pages (evdev and xorg.conf) were really helpful. > > 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 I tried the above for the Identifier "evdev pointer catchall" in the xorg.conf file and both the usb mouse and trackpoint get their buttons inverted as desired. However the touchpad buttons do not get inverted. I am using xorg.conf.d/ with the synaptics file: 10-synaptics.conf Section "InputClass" Identifier "synaptics touchpad catchall" Driver "synaptics" Option "Protocol" "auto-dev" Option "HorizEdgeScroll" "true" Option "VertEdgeScroll" "true" Option "AutoServerLayout" "on" EndSection which apparently needs to be read before the keyboard conf: 30-keyboard.conf Section "InputClass" Identifier "evdev keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "XkbOptions" "terminate:ctrl_alt_bksp" Option "AutoSeverLayout" "on" EndSection otherwise my keyboard keybindings do not work. I have also tried the pointer InputClass outside the xorg.conf file, that is, inside the xorg.conf.d/ directory. As long as the 10-synaptics.conf file is read first, the keyboard config works so do the usb mouse and trackpoint (with inverted buttons). However so far I have not been able to get the touchpad buttons to be inverted. This is a minor thing I can deal with later. Thanks, -- Valmor > >> 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.