Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2012 09:00:15 -0500
From:      Eitan Adler <lists@eitanadler.com>
To:        Bas Smeelen <b.smeelen@ose.nl>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: [patch] Re: Fwd: thinkpad and synaptics igor: fixed whitespace
Message-ID:  <CAF6rxgmntmCX9KKmCSkqgycp8k=wrp6AheKnL-C3fc6jJAC6BA@mail.gmail.com>
In-Reply-To: <50D1BEAE.8030508@ose.nl>
References:  <20121217172902.GA1017@mycenae.sbb.rs> <CAO%2BPfDfFUL7C9x8o4PpC41xcmzbzQjEbAL5D02WUxDZFX=9L%2Bg@mail.gmail.com> <CAF6rxgn_N-R7K-NGrRpgXHXeR25BXgjuxZekmPhE4OC=WVSiPQ@mail.gmail.com> <50D1BEAE.8030508@ose.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 19 December 2012 08:18, Bas Smeelen <b.smeelen@ose.nl> wrote:
> On 12/19/2012 05:44 AM, Eitan Adler wrote:
>>
>> Someone want to turn this into an FAQ patch?
>
> Fixed whitespace issues
> I have not tested this yet, but I will tonight at home on my laptop.

Small nits fixed: see patch.

> 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.

Okay.

> 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?

I'd rather not have the FAQ just be a list of links,
but yes, this should be integrated in the laptop article at some point.





-- 
Eitan Adler

[-- Attachment #2 --]
commit c3c1a8af211d9e4724b18845dcfe6d03f0e5c92d
Author: Eitan Adler <lists@eitanadler.com>
Date:   Wed Dec 19 08:57:53 2012 -0500

    Answer the question "My laptop has a Synaptics touchpad. Can I use it in
    X?"
    
    Submitted by:	Bas Smeelen <b.smeelen@ose.nl>
    Reviewed by:	-doc
    Approved by:	??? (mentor)

diff --git a/en_US.ISO8859-1/books/faq/book.xml b/en_US.ISO8859-1/books/faq/book.xml
index 53421ef..b98b1ea 100644
--- a/en_US.ISO8859-1/books/faq/book.xml
+++ b/en_US.ISO8859-1/books/faq/book.xml
@@ -5411,6 +5411,46 @@ EndSection</programlisting>
 	</answer>
       </qandaentry>
 
+	  <qandaentry>
+	<question id="x-and-synaptic">
+	  <para>My laptop has a Synaptics touchpad.  Can I use
+	    it in X?</para>
+	</question>
+
+	<answer>
+	  <para>Yes, you will have to configure a few things to
+	    make it work.</para>
+
+	  <para>To use the &xorg; synaptics driver in X, you
+	    <emphasis>must</emphasis> remove
+	    <literal>moused_enable</literal> from
+	    <filename>rc.conf</filename>.  &xorg; can not use
+	    the synaptics mouse if the moused already uses
+	    <filename>/dev/psm0</filename>.</para>
+
+	  <para>To enable synaptics in &man.psm.4
+	    add the following to
+	    <filename>/boot/loader.conf</filename>:</para>
+
+	  <programlisting>hw.psm.synaptics_support="1"</programlisting>
+
+	  <para>Also add the following to
+	    <filename>xorg.conf</filename>:</para>
+
+	  <programlisting>Section "InputDevice"
+Identifier  "Touchpad0"
+Driver      "synaptics"
+Option      "Protocol" "psm"
+Option      "Device" "/dev/psm0"
+EndSection</programlisting>
+
+	  <para>As well as the following in the
+	    <quote>ServerLayout</quote> section :</para>
+
+	  <programlisting>InputDevice    "Touchpad0" "SendCoreEvents"</programlisting>
+	</answer>
+      </qandaentry>
+
       <qandaentry>
 	<question id="no-remote-x11">
 	  <para>How do I use remote X displays?</para>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgmntmCX9KKmCSkqgycp8k=wrp6AheKnL-C3fc6jJAC6BA>