From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 18 18:23:28 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E6C016A419; Mon, 18 Feb 2008 18:23:28 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id F2C6513C45A; Mon, 18 Feb 2008 18:23:27 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=Xd/0T5OFthp9SxIZNX6FE6m6yp9f4GwJUCuYXuxH4Ywe6uLuFejVw1m2LWenFPKAcOL8vyiajM+hirYeLxKCt4oBSL2xdWCt3shZzTGwgOtVfNgB/5BS3SlyDHqa63aJ6Dd0sc2hp4JnpZoqI5FGhtGZ+OOktiRp8oBg7eH5qjY=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1JRAeE-000Liq-9W; Mon, 18 Feb 2008 21:23:26 +0300 Date: Mon, 18 Feb 2008 21:23:24 +0300 From: Eygene Ryabinkin To: Norikatsu Shigemura Message-ID: References: <1xLCUYBNbj8sdUVp/UxnkYWg5h4@PIbJXusKFhenD3syFE+hwapDAcI> <47B97C96.1080206@zirakzigil.org> <2FpBxFvRMYTG0dQsWse9q7pKV8Y@8Af7teRYKqmQGMEC0xw84kqB83k> <47B98CCC.804@zirakzigil.org> <3l2h+px9k81jQrhpZARxo9ydv5g@Qf/k/EONkq0kVqnQID/zr6zCz2c> <47B99D9B.9050609@zirakzigil.org> <47B9A8F9.4090700@zirakzigil.org> <20080219023524.22197aee.nork@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20080219023524.22197aee.nork@FreeBSD.org> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-1.8 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_40 Cc: freebsd-hackers@freebsd.org, Giulio Ferro Subject: Re: Synaptics Xorg driver for FreeBSD/amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 18:23:28 -0000 Norikatsu, good day. Tue, Feb 19, 2008 at 02:35:24AM +0900, Norikatsu Shigemura wrote: > Hi Eygene, thanks for your summary! You're welcome! > On Mon, 18 Feb 2008 19:04:13 +0300 > Eygene Ryabinkin wrote: > > >> It seems to me that you have another mouse device called ' > >> pointer>' that uses "auto" protocol and finds your mouse at /dev/psm0 > > >> and being SysMouse. Can you show your full xorg.conf? > > > Sure, find it attached... > > Aargh, this is the funny thing: you have no devices that are handled > > by the 'mouse' driver. And Xorg automatically adds one. > > Please, uncomment your 'Mouse1' device inside "ServerLayout", start > > moused and try again. The '' should disappear. > > And probably mices will start working. > > It will be good to see Xorg.log from this attempt. > > I'm using x11-drivers/synaptics on FreeBSD/i386. I don't have > any problem which many people said. > > I have two questions: > > a. Anyone, do you install x11-drivers/xf86-input-void? > I didn't install x11-drivers/xf86-input-void. Personally, I am not using xf86-input-void, because I am using standard system mouse with synaptics touchpad, so I don't need 'void' input device. > b. If you install x11-drivers/xf86-input-void, please check > following setting. > > Section "InputDevice" > Identifier "dummy" > Driver "void" > EndSection > > I read source files of Xserver and void driver, but I didn't > understand these relations:-(. If you'll look at http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=blob;h=dbe158efc6e365cd5bd064d848df3a4f0c0d35f4;hb=43d9edd31e31b33b9da4a50d8ab05004881c8d5a;f=hw/xfree86/common/xf86Config.c#l1611 you will see that server tries to add the mouse driver if there is no drivers of type 'mouse' or 'void'. The hack with adding the "dummy" input device with type "void" disables generation of default mouse driver. This was the true hack and it was a bit beautified in http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=ba9f5138fc32a7a7b97bcf941bc92751b7c6c2c0 now there is a boolean option "AllowEmptyInput" that inhibits creation of core mouse and keyboard in any case. > So I don't know that it's > correct to fix this problem by way of b. And, if x11-drivers/ > xf86-input-void is not installed, that's solution will be crashed. Xorg server 1.4 already has "AllowEmptyInput", so Giulio and others who want to run only Synaptics driver, can add the string ----- Option "AllowEmptyInput" ----- to their "ServerFlags" section and see no automagically added devices. -- Eygene