Synaptics Touchpad xfree driver hack :)
Norikatsu Shigemura
nork at FreeBSD.org
Thu Jan 1 11:01:39 PST 2004
On 01 Jan 2004 14:24:38 +0100
Arne Schwabe <arne at rfc2549.org> wrote:
> The synaptics XFree86 driver *should* detect all features and use them
> like on linux. But for now initialisation of an attached second mouse
> is not done (I was too lazy to do it, and for me it works without it)
WoW! This is CooooL!!! In my environment (SHARP Mebius MURAMASA
PC-MT2-F1), it looks good works. I was impressed. So I made a
port for synaptics driver.
# I don't like sample setting:-). I'll adjust these parameter.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 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 at 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 at 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_PROGRAM} ${WRKDIR}/${PORTNAME}/${ALL_TARGET} ${PREFIX}/lib/modules/input/
X
X.include <bsd.port.mk>
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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
More information about the freebsd-current
mailing list