From owner-freebsd-doc@FreeBSD.ORG Wed Dec 19 09:32:42 2012 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67631D30 for ; Wed, 19 Dec 2012 09:32:42 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id B519C8FC13 for ; Wed, 19 Dec 2012 09:32:41 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-doc@freebsd.org; Wed, 19 Dec 2012 10:32:36 +0100 Message-ID: <50D189B2.2060102@ose.nl> Date: Wed, 19 Dec 2012 10:32:34 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: [patch] Re: Fwd: thinkpad and synaptics References: <20121217172902.GA1017@mycenae.sbb.rs> In-Reply-To: Content-Type: multipart/mixed; boundary="------------010306060809010705030600" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 09:32:42 -0000 This is a multi-part message in MIME format. --------------010306060809010705030600 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/19/2012 05:44 AM, Eitan Adler wrote: > Someone want to turn this into an FAQ patch? I have not tested this yet, but I will tonight at home on my laptop. I have omitted the line moused_nondefault_enabled="YES" in /etc/rc.conf as mentioned in the ports/148591 because this is default, but I made sure to mention that moused_enable="YES" should not be present in /etc/rc.conf because this will be when chosen so in bsdinstall. Maybe this can be moved to the laptops article later on and have the FAQ refer to it? This could be done for all laptop specific items in the FAQ? > > > ---------- Forwarded message ---------- > From: David Demelier > Date: 18 December 2012 02:35 > Subject: Re: thinkpad and synaptics > To: Zoran Kolic > Cc: freebsd-stable@freebsd.org > > > If you plan to use the Xorg synaptics driver you *must* remove > moused_enable from rc.conf, Xorg can't use the synaptics mouse if the > moused already sits on the /dev/psm0 device. This is not really well > documented, tough. > > I've sent a PR to document pkg-message for xf85-input-synaptics but it has > never been checked, http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/148591 > > See the documentation in the patch.txt, it should works. > > Regards > > > 2012/12/17 Zoran Kolic > > ... > >>> In rc.conf: >>> >>> moused_enable="YES" >>> >>> in loader.conf: >>> >>> hw.psm.synaptics_support="1" >> OK. I know it is writen zillion times and it still does not >> work for me. It is thinkpad e320, amd64, 9.1, kms. I had a >> lot of problems regarding fonts and non working vertical >> scroll on the pad. What I did: >> put synaptics_support >> run moused >> changed xorg.conf in a million ways >> This xorg.conf is similar to mine. I also have psm0 in /dev/ >> spite I have no loader.conf option right now. I assume that >> installing xf86 synaptics did the job. Simply, it does not >> scroll, with this configuration. >> I might need to rest a day or two, to sleep and to read more. >> Best regards and, once more, thanks all for help. >> >> Zoran --------------010306060809010705030600 Content-Type: text/x-patch; name="synaptic-faq.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="synaptic-faq.diff" Index: en_US.ISO8859-1/books/faq/book.xml =================================================================== --- en_US.ISO8859-1/books/faq/book.xml (revision 40429) +++ en_US.ISO8859-1/books/faq/book.xml (working copy) @@ -5752,6 +5752,45 @@ + + + My laptop has a Synaptics touchpad. Can I use + it in X? + + + + Yes, you will have to configure a few things to + make it work. + + If you plan to use the Xorg synaptics driver you + must remove moused_enable from + rc.conf. Xorg can not use + the synaptics mouse if the moused already sits on + /dev/psm0. + + To enable synaptics in the &man.psm.4 driver you need + to add the following into + /boot/loader.conf: + + hw.psm.synaptics_support="1" + + You also need the following into your + xorg.conf : + + Section "InputDevice" +Identifier "Touchpad0" +Driver "synaptics" +Option "Protocol" "psm" +Option "Device" "/dev/psm0" +EndSection + + And be sure to add the following into the + ServerLayout section : + + InputDevice "Touchpad0" "SendCoreEvents" + + + How do I use remote X displays? --------------010306060809010705030600--