From nobody@FreeBSD.org  Wed Jul 14 09:27:08 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C23B51065676
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Jul 2010 09:27:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id B1A008FC23
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Jul 2010 09:27:08 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o6E9R81C092048
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 14 Jul 2010 09:27:08 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o6E9R8nS092047;
	Wed, 14 Jul 2010 09:27:08 GMT
	(envelope-from nobody)
Message-Id: <201007140927.o6E9R8nS092047@www.freebsd.org>
Date: Wed, 14 Jul 2010 09:27:08 GMT
From: David DEMELIER <demelier.david@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: information note for x11-drivers/xf86-input-synaptics
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         148591
>Category:       ports
>Synopsis:       information note for x11-drivers/xf86-input-synaptics
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-x11
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 14 09:30:06 UTC 2010
>Closed-Date:    
>Last-Modified:  Wed Jul 14 09:30:26 UTC 2010
>Originator:     David DEMELIER
>Release:        8.1-RC2
>Organization:
>Environment:
FreeBSD Melon.malikania.fr 8.1-RC2 FreeBSD 8.1-RC2 #2: Wed Jul 14 10:39:49 CEST 2010     root@Melon.malikania.fr:/usr/obj/usr/src/sys/Melon  amd64

>Description:
When using x11-drivers/xf86-input-synaptics under FreeBSD, the user must modify some files to make it works. And a such beginner user shouldn't be able to do it easily.

1 If the user do not set `Option      "Protocol" "psm"' in the xorg.conf, the driver won't work.

2 The user need to add `hw.psm.synaptics_support="1"' to the loader.conf to make it works too.

And xf86-input-synaptics does not tell anything about it, I wrote a short summary about these settings in a pkg-message.

Please tell me if you agree.
>How-To-Repeat:

>Fix:
--- Makefile.orig	2010-07-14 11:22:25.000000000 +0200
+++ Makefile	2010-07-14 11:22:45.000000000 +0200
@@ -23,6 +23,7 @@
 MAN4=		synaptics.4x
 
 post-install:
+	${CAT} ${PKGMESSAGE}
 	${MKDIR} ${PREFIX}/share/hal/fdi/policy/10osvendor
 	${INSTALL_DATA} ${WRKSRC}/fdi/11-x11-synaptics.fdi \
 		${PREFIX}/share/hal/fdi/policy/10osvendor/
--- /dev/null	2010-07-14 11:22:00.000000000 +0200
+++ pkg-message	2010-07-14 11:20:35.000000000 +0200
@@ -0,0 +1,22 @@
+To enable synaptics in the psm(4) driver you need to add the following into the
+/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"
+
+To make xf86-input-synaptics works, you also need to disable moused(8), so add
+the following in your rc.conf(5) :
+
+	moused_nondefault_enable="YES"


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 14 09:30:24 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148591 
>Unformatted:
