From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-45730-garchives=archives.gentoo.org@gentoo.org>)
	id 1FyWpj-0000jg-Gr
	for garchives@archives.gentoo.org; Thu, 06 Jul 2006 16:36:07 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k66GWXUC001662;
	Thu, 6 Jul 2006 16:32:33 GMT
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189])
	by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k66G9Z1R030457
	for <gentoo-user@lists.gentoo.org>; Thu, 6 Jul 2006 16:09:35 GMT
Received: by nf-out-0910.google.com with SMTP id o25so230181nfa
        for <gentoo-user@lists.gentoo.org>; Thu, 06 Jul 2006 09:09:35 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth;
        b=uXYzshmBzI3jqRcZJskUo1JpHiayHXGfgo7TlfpBkWOpzDdWawMGCcBv8uWRpFzvFz4ZKsvID1YixnFSv2op0eUMJ3DAd6h03aeLwJl7szUqq4goT+0M+2M0injaQrPsnVjUgU21xbVv+k/FkyNmiNZ5FiwSfkdBb0ToM1a8EiQ=
Received: by 10.78.138.14 with SMTP id l14mr270287hud;
        Thu, 06 Jul 2006 09:09:35 -0700 (PDT)
Received: by 10.78.20.11 with HTTP; Thu, 6 Jul 2006 09:09:35 -0700 (PDT)
Message-ID: <7573e9640607060909y79c02ba5ldedf73359f32cd54@mail.gmail.com>
Date: Thu, 6 Jul 2006 09:09:35 -0700
From: "Richard Fish" <bigfish@asmallpond.org>
Sender: richard.j.fish@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Modular xorg mouse problem
In-Reply-To: <49bf44f10607060833m7a7cddcev38f19117a03d589b@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <49bf44f10607060833m7a7cddcev38f19117a03d589b@mail.gmail.com>
X-Google-Sender-Auth: 8de0ca6aaaa6a1e9
X-Archives-Salt: 88a3c348-a224-4c8f-b974-11dad29191bc
X-Archives-Hash: 11b6e76b790a020588506be6c73ddd50

On 7/6/06, Grant <emailgrant@gmail.com> wrote:
> I upgraded my laptop to modular xorg but X won't start.  Based on the
> errors I see, it seems to be due to the mouse in some way.  I've tried
> compiling xorg-x11 with only 'synaptics' and both 'synaptics' and
> 'mouse' in my INPUT_DEVICES.  I've also commented and uncommented the
> two 'Driver' lines below but I still get mouse errors and X won't
> start.
>
> Section "InputDevice"
>         Identifier "mymouse"
> #       Driver "mouse"
>         Driver "synaptics"
>         Option "Protocol" "PS/2"
>         Option "Device" "/dev/mouse"

I believe if you want to use the synaptics driver, you should be using
an "event" interface.  From my xorg.conf:

        Identifier  "touchpad"
        Driver      "synaptics"
        Option      "Device" "/dev/input/trackpad_evt"
        Option      "Protocol" "event"

I use a special device node because my trackpad and keyboard would
sometimes move around on the generic event nodes.  So I have a udev
rule in 10-local.rules for this:

BUS=="input", KERNEL=="event*", SYSFS{phys}=="isa0060/serio1/input0",
NAME:="input/trackpad_evt", SYMLINK="input/%k"

You can use dmesg to figure out the right setting for SYFS{phys}, or
just use /dev/input/eventX in your xorg.conf.

Of course you'll need to have CONFIG_INPUT_EVDEV in your kernel
configuration to get the event interfaces.

HTH,
-Richard
-- 
gentoo-user@gentoo.org mailing list