From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 4 14:41:22 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 024E616A418 for ; Mon, 4 Feb 2008 14:41:22 +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 A261513C4D9 for ; Mon, 4 Feb 2008 14:41:21 +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=ksSmH6stS60MPYniO+FrE9FUUxu7rXEIMI4ZPfUfuKmcAqQ1MLwjac0Hk7C0Rb79gtcXY3hbR1h3vuYohPgy3FW6ueBI+UfUgziXbFLIfgORcDF22Psbv7ex7EpTLyifTT8yv10+jolbzFgpprCAIKq/BEYN6Fm1GZrHSgZ83p0=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1JM2Vb-000BFF-Fh; Mon, 04 Feb 2008 17:41:19 +0300 Date: Mon, 4 Feb 2008 17:41:18 +0300 From: Eygene Ryabinkin To: cristi@roedu.net Message-ID: References: <4c65bf9e-80e5-4c0b-acef-d9914a57679f@i12g2000prf.googlegroups.com> <47728D80.5010507@zirakzigil.org> <475A8637.9020507@zirakzigil.org> <20071212155244.GJ1442@daemon.grid.kiae.ru> <4760114D.6020203@zirakzigil.org> <47950952.6040909@roedu.net> <41549.193.226.5.33.1201087601.squirrel@mail.roedu.net> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <41549.193.226.5.33.1201087601.squirrel@mail.roedu.net> Sender: rea-fbsd@codelabs.ru X-Spam-Status: No, score=-1.9 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_40 Cc: freebsd-hackers@freebsd.org, Giulio Ferro , nork@freebsd.org Subject: Re: Synaptics 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, 04 Feb 2008 14:41:22 -0000 Cristian, good day. Wed, Jan 23, 2008 at 01:26:41PM +0200, cristi@roedu.net wrote: > >> I just ran into the same problem. In xorg.conf I explicitly told the > >> synaptics driver to use "psm" and "/dev/psm0", but the error message > >> would > >> suggest that it uses "event". > >> > >> Also, I tried to change the source code of the synaptics driver > >> (synaptics.c) and hard-coded "psm" as the only driver, no matter what > >> xorg.conf says. Synaptics still would not start, but this time > >> complaining > >> that no device was specified. Please note that I had "Device" in my > >> xorg.conf, but the error suggests that the driver ignored it. > > Suppose I use the attached xorg.conf file, at some point, > /var/log/Xorg.0.log shows the following error: > > (II) Synaptics touchpad driver version 0.14.6 (1406) > Synaptics_Touchpad no synaptics event device found (checked 10 nodes) > Synaptics_Touchpad The /dev/input/event* device nodes seem to be missing > (EE) xf86OpenSerial: No Device specified. > Synaptics driver unable to open device > (EE) PreInit failed for input device "Synaptics_Touchpad" > (II) UnloadModule: "synaptics" > > As you said, it looks like synaptics is trying to use the "auto" protocol, > although the configuration file tells it to use "psm". > > Now, if I put the attached patch in x11-drivers/synaptics/files, using the > same xorg.conf, synaptics will fail like this: > > (II) Synaptics touchpad driver version 0.14.6 (1406) > (EE) xf86OpenSerial: No Device specified. > Synaptics driver unable to open device > (EE) PreInit failed for input device "Synaptics_Touchpad" > (II) UnloadModule: "synaptics" > > It almost looks as if I have to hardcode the device too, because synaptics > certainly ignores my options. This is a sort of 'ping' mail, sorry. To the point: I had reproduced the problem and will start looking into it once this message will fly from my mailserver. Stay tuned ;)) -- Eygene