From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 12:02:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5777916A4CE for ; Thu, 1 Jan 2004 12:02:46 -0800 (PST) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D94D43D3F for ; Thu, 1 Jan 2004 12:02:23 -0800 (PST) (envelope-from nork@FreeBSD.org) Received: from pelsia.ninth-nine.com (pelsia.ninth-nine.com [219.127.74.123]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.10/8.12.10/NinthNine) with ESMTP id i01K2MFR028405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Jan 2004 05:02:22 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Fri, 2 Jan 2004 05:02:22 +0900 From: Norikatsu Shigemura To: freebsd-current@FreeBSD.org Message-Id: <20040102050222.72d09737.nork@FreeBSD.org> In-Reply-To: <20040102040130.22999353.nork@FreeBSD.org> References: <86n097dco9.fsf@kamino.rfc1149.org> <20040102040130.22999353.nork@FreeBSD.org> X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: arne@rfc2549.org Subject: Re: Synaptics Touchpad xfree driver hack :) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 20:02:46 -0000 On Fri, 2 Jan 2004 04:01:30 +0900 Norikatsu Shigemura wrote: > PC-MT2-F1), it looks good works. I was impressed. So I made a > port for synaptics driver. Oops, this has a bug. s/INSTALL_PROGRAM/INSTALL_DATA/ like following shar. Humm.. I like MinSpeed = MaxSpeed = 0.06 (noaccel). I think that 0.02 is too late, and 0.10 is too fast. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # synaptics/Makefile # synaptics/distinfo # synaptics/pkg-descr # synaptics/pkg-plist # echo x - synaptics/Makefile sed 's/^X//' >synaptics/Makefile << 'END-of-synaptics/Makefile' X# New ports collection makefile for: synaptics X# Date created: 2004/01/02 X# Whom: nork@FreeBSD.org X# X# $FreeBSD$ X# X XPORTNAME= synaptics XPORTVERSION= 0.12.2 XCATEGORIES= x11-servers XMASTER_SITES= http://w1.894.telia.com/~u89404340/touchpad/files/ X XPATCH_SITES= http://www.plaisthos.de/synaptics/ XPATCHFILES= synaptics-driver.diff XPATCH_DIST_STRIP= -p1 X XMAINTAINER= nork@FreeBSD.org XCOMMENT= Synaptics Touchpad driver for XFree86 4.X X XUSE_BZIP2= yes XUSE_GMAKE= yes XUSE_X_PREFIX= yes X XBUILD_DEPENDS= ${X11BASE}/bin/xf86cfg:${PORTSDIR}/x11-servers/XFree86-4-Server XRUN_DEPENDS= ${BUILD_DEPENDS} X XWRKSRC= ${WRKDIR}/${PORTNAME} X XALL_TARGET= synaptics_drv.o X Xpre-everything:: X @if ! grep MOUSE_SYNAPTICS_CMD /usr/include/sys/mouse.h > /dev/null 2>&1; then \ X ${ECHO_MSG} "Please get&apply a following patch for kernel:"; \ X ${ECHO_MSG} " http://www.plaisthos.de/synaptics/synaptics.kern.diff"; \ X ${FALSE}; \ X fi X Xdo-install: X @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/${ALL_TARGET} ${PREFIX}/lib/modules/input/ X X.include END-of-synaptics/Makefile echo x - synaptics/distinfo sed 's/^X//' >synaptics/distinfo << 'END-of-synaptics/distinfo' XMD5 (synaptics-0.12.2.tar.bz2) = 5f4f5bf8a7756194f358d82bdb63dde4 XMD5 (synaptics-driver.diff) = cb13952a19d780d2860049a09dd30df4 END-of-synaptics/distinfo echo x - synaptics/pkg-descr sed 's/^X//' >synaptics/pkg-descr << 'END-of-synaptics/pkg-descr' XThe Synaptics TouchPad driver for for XFree86 4.x. A Synaptics touchpad Xby default operates in compatibility mode by emulating a standard mouse. XHowever, by using a dedicated driver, more advanced features of the Xtouchpad becomes available. X XWWW: http://w1.894.telia.com/~u89404340/touchpad/ END-of-synaptics/pkg-descr echo x - synaptics/pkg-plist sed 's/^X//' >synaptics/pkg-plist << 'END-of-synaptics/pkg-plist' Xlib/modules/input/synaptics_drv.o END-of-synaptics/pkg-plist exit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -