Date: Fri, 27 Sep 2002 01:09:44 +0200 From: Guido Van Hoecke <Guido@VanHoecke.org> To: freebsd-hackers@freebsd.org Subject: [Fwd: i-Buddie 4: Synaptics touch pad FreeBSD support?] Message-ID: <3D9393B8.1000504@VanHoecke.org>
next in thread | raw e-mail | index | archive | help
I hope it is acceptable to send this also to the hackers list, due to the absence of traffic about touch pads on the questions list: -------- Original Message -------- Subject: i-Buddie 4: Synaptics touch pad FreeBSD support? Date: Fri, 27 Sep 2002 00:40:48 +0200 From: Guido Van Hoecke <Guido@VanHoecke.org> Newsgroups: gmane.os.freebsd.questions I am experimenting with FreeBSD to be prepared when my new i-Buddie 4 arrives. (Specs at http://desknote.biz/sub/spec-i-buddie4.htm). I wonder whether anybody has any experience with this new 'desknote' computer. I specifically would like support for the Synaptics touch pad, but did not find much in the FreeBSD documentation, nor in the ports collection. So I went to see at http://www.synaptics.com/support/downloads.cfm and found a pointer to a linux 'tpconfig' touch pad driver available at http://compass.com/synaptics/ which has not yet been ported to FreeBSD. So I tried to use this on my little FreeBSD testbox: ~/tpconfig-3.1.3 # ./configure loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile ~/tpconfig-3.1.3 # ./make "Makefile", line 254: Need an operator make: fatal errors encountered -- cannot continue ~/tpconfig-3.1.3 # I used vim to add line numbers in the Makefile and copypasted the result: 1 # Generated automatically from Makefile.in by configure. 2 # Makefile.in generated automatically by automake 1.4 from Makefile.am 3 4 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. 5 # This Makefile.in is free software; the Free Software Foundation 6 # gives unlimited permission to copy and/or distribute it, 7 # with or without modifications, as long as this notice is preserved. 8 9 # This program is distributed in the hope that it will be useful, 10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12 # PARTICULAR PURPOSE. 13 14 # Source: $Id: Makefile.am,v 1.2 2000/11/05 21:50:25 cph Exp $ 15 16 17 SHELL = /bin/sh 18 19 srcdir = . 20 top_srcdir = . 21 prefix = /usr/local 22 exec_prefix = ${prefix} 23 24 bindir = ${exec_prefix}/bin 25 sbindir = ${exec_prefix}/sbin 26 libexecdir = ${exec_prefix}/libexec 27 datadir = ${prefix}/share 28 sysconfdir = ${prefix}/etc 29 sharedstatedir = ${prefix}/com 30 localstatedir = ${prefix}/var 31 libdir = ${exec_prefix}/lib 32 infodir = ${prefix}/info 33 mandir = ${prefix}/man 34 includedir = ${prefix}/include 35 oldincludedir = /usr/include 36 37 DESTDIR = 38 39 pkgdatadir = $(datadir)/tpconfig 40 pkglibdir = $(libdir)/tpconfig 41 pkgincludedir = $(includedir)/tpconfig 42 43 top_builddir = . 44 45 ACLOCAL = aclocal 46 AUTOCONF = autoconf 47 AUTOMAKE = automake 48 AUTOHEADER = autoheader 49 50 INSTALL = /usr/bin/install -c 51 INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) 52 INSTALL_DATA = ${INSTALL} -m 644 53 INSTALL_SCRIPT = ${INSTALL_PROGRAM} 54 transform = s,x,x, 55 56 NORMAL_INSTALL = : 57 PRE_INSTALL = : 58 POST_INSTALL = : 59 NORMAL_UNINSTALL = : 60 PRE_UNINSTALL = : 61 POST_UNINSTALL = : 62 CC = gcc 63 MAKEINFO = makeinfo 64 PACKAGE = tpconfig 65 VERSION = 3.1.3 66 67 AUTOMAKE_OPTIONS = "VERSION=1.2" 68 bin_PROGRAMS = tpconfig 69 tpconfig_SOURCES = tpconfig.c synaptics.c ALPS.c utils.c 70 MAINTAINERCLEANFILES = Makefile.in configure aclocal.m4 install-sh missing mkinstalldirs COPYING INSTALL 71 72 # don't know why this is being omitted... 73 EXTRA_DIST = configure 74 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 75 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs 76 CONFIG_CLEAN_FILES = 77 PROGRAMS = $(bin_PROGRAMS) 78 79 80 DEFS = -DPACKAGE=\"tpconfig\" -DVERSION=\"3.1.3\" -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -I. -I$(srcdir) 81 CPPFLAGS = 82 LDFLAGS = 83 LIBS = 84 tpconfig_OBJECTS = tpconfig.o synaptics.o ALPS.o utils.o 85 tpconfig_LDADD = $(LDADD) 86 tpconfig_DEPENDENCIES = 87 tpconfig_LDFLAGS = 88 CFLAGS = -g -O2 89 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 90 CCLD = $(CC) 91 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 92 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \ 93 Makefile.in NEWS aclocal.m4 configure configure.in install-sh missing \ 94 mkinstalldirs 95 96 97 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) 98 99 TAR = gtar 100 GZIP_ENV = --best 101 DEP_FILES = .deps/ALPS.P .deps/synaptics.P .deps/tpconfig.P \ 102 .deps/utils.P 103 SOURCES = $(tpconfig_SOURCES) 104 OBJECTS = $(tpconfig_OBJECTS) 105 106 all: all-redirect 107 .SUFFIXES: 108 .SUFFIXES: .S .c .o .s 109 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 110 cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile 111 112 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) 113 cd $(top_builddir) \ 114 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 115 116 $(ACLOCAL_M4): configure.in 117 cd $(srcdir) && $(ACLOCAL) 118 119 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 120 $(SHELL) ./config.status --recheck 121 $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) 122 cd $(srcdir) && $(AUTOCONF) 123 124 mostlyclean-binPROGRAMS: 125 126 clean-binPROGRAMS: 127 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) 128 129 distclean-binPROGRAMS: 130 131 maintainer-clean-binPROGRAMS: 132 133 install-binPROGRAMS: $(bin_PROGRAMS) 134 @$(NORMAL_INSTALL) 135 $(mkinstalldirs) $(DESTDIR)$(bindir) 136 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 137 if test -f $$p; then \ 138 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ 139 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 140 else :; fi; \ 141 done 142 143 uninstall-binPROGRAMS: 144 @$(NORMAL_UNINSTALL) 145 list='$(bin_PROGRAMS)'; for p in $$list; do \ 146 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ 147 done 148 149 .s.o: 150 $(COMPILE) -c $< 151 152 .S.o: 153 $(COMPILE) -c $< 154 155 mostlyclean-compile: 156 -rm -f *.o core *.core 157 158 clean-compile: 159 160 distclean-compile: 161 -rm -f *.tab.c 162 163 maintainer-clean-compile: 164 165 tpconfig: $(tpconfig_OBJECTS) $(tpconfig_DEPENDENCIES) 166 @rm -f tpconfig 167 $(LINK) $(tpconfig_LDFLAGS) $(tpconfig_OBJECTS) $(tpconfig_LDADD) $(LIBS) 168 169 tags: TAGS 170 171 ID: $(HEADERS) $(SOURCES) $(LISP) 172 list='$(SOURCES) $(HEADERS)'; \ 173 unique=`for i in $$list; do echo $$i; done | \ 174 awk ' { files[$$0] = 1; } \ 175 END { for (i in files) print i; }'`; \ 176 here=`pwd` && cd $(srcdir) \ 177 && mkid -f$$here/ID $$unique $(LISP) 178 179 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) 180 tags=; \ 181 here=`pwd`; \ 182 list='$(SOURCES) $(HEADERS)'; \ 183 unique=`for i in $$list; do echo $$i; done | \ 184 awk ' { files[$$0] = 1; } \ 185 END { for (i in files) print i; }'`; \ 186 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ 187 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) 188 189 mostlyclean-tags: 190 191 clean-tags: 192 193 distclean-tags: 194 -rm -f TAGS ID 195 196 maintainer-clean-tags: 197 198 distdir = $(PACKAGE)-$(VERSION) 199 top_distdir = $(distdir) 200 201 # This target untars the dist file and tries a VPATH configuration. Then 202 # it guarantees that the distribution is self-contained by making another 203 # tarfile. 204 distcheck: dist 205 -rm -rf $(distdir) 206 GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz 207 mkdir $(distdir)/=build 208 mkdir $(distdir)/=inst 209 dc_install_base=`cd $(distdir)/=inst && pwd`; \ 210 cd $(distdir)/=build \ 211 && ../configure --srcdir=.. --prefix=$$dc_install_base \ 212 && $(MAKE) $(AM_MAKEFLAGS) \ 213 && $(MAKE) $(AM_MAKEFLAGS) dvi \ 214 && $(MAKE) $(AM_MAKEFLAGS) check \ 215 && $(MAKE) $(AM_MAKEFLAGS) install \ 216 && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 217 && $(MAKE) $(AM_MAKEFLAGS) dist 218 -rm -rf $(distdir) 219 @banner="$(distdir).tar.gz is ready for distribution"; \ 220 dashes=`echo "$$banner" | sed s/./=/g`; \ 221 echo "$$dashes"; \ 222 echo "$$banner"; \ 223 echo "$$dashes" 224 dist: distdir 225 -chmod -R a+r $(distdir) 226 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 227 -rm -rf $(distdir) 228 dist-all: distdir 229 -chmod -R a+r $(distdir) 230 GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) 231 -rm -rf $(distdir) 232 distdir: $(DISTFILES) 233 -rm -rf $(distdir) 234 mkdir $(distdir) 235 -chmod 777 $(distdir) 236 here=`cd $(top_builddir) && pwd`; \ 237 top_distdir=`cd $(distdir) && pwd`; \ 238 distdir=`cd $(distdir) && pwd`; \ 239 cd $(top_srcdir) \ 240 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile 241 @for file in $(DISTFILES); do \ 242 d=$(srcdir); \ 243 if test -d $$d/$$file; then \ 244 cp -pr $$d/$$file $(distdir)/$$file; \ 245 else \ 246 test -f $(distdir)/$$file \ 247 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 248 || cp -p $$d/$$file $(distdir)/$$file || :; \ 249 fi; \ 250 done 251 252 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) 253 254 -include $(DEP_FILES) 255 256 mostlyclean-depend: 257 258 clean-depend: 259 260 distclean-depend: 261 -rm -rf .deps 262 263 maintainer-clean-depend: 264 265 %.o: %.c 266 @echo '$(COMPILE) -c $<'; \ 267 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 268 @-cp .deps/$(*F).pp .deps/$(*F).P; \ 269 tr ' ' '\012' < .deps/$(*F).pp \ 270 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 271 >> .deps/$(*F).P; \ 272 rm .deps/$(*F).pp 273 274 %.lo: %.c 275 @echo '$(LTCOMPILE) -c $<'; \ 276 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< 277 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ 278 < .deps/$(*F).pp > .deps/$(*F).P; \ 279 tr ' ' '\012' < .deps/$(*F).pp \ 280 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ 281 >> .deps/$(*F).P; \ 282 rm -f .deps/$(*F).pp 283 info-am: 284 info: info-am 285 dvi-am: 286 dvi: dvi-am 287 check-am: all-am 288 check: check-am 289 installcheck-am: 290 installcheck: installcheck-am 291 install-exec-am: install-binPROGRAMS 292 install-exec: install-exec-am 293 294 install-data-am: 295 install-data: install-data-am 296 297 install-am: all-am 298 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 299 install: install-am 300 uninstall-am: uninstall-binPROGRAMS 301 uninstall: uninstall-am 302 all-am: Makefile $(PROGRAMS) 303 all-redirect: all-am 304 install-strip: 305 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 306 installdirs: 307 $(mkinstalldirs) $(DESTDIR)$(bindir) 308 309 310 mostlyclean-generic: 311 312 clean-generic: 313 314 distclean-generic: 315 -rm -f Makefile $(CONFIG_CLEAN_FILES) 316 -rm -f config.cache config.log stamp-h stamp-h[0-9]* 317 318 maintainer-clean-generic: 319 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) 320 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ 321 mostlyclean-tags mostlyclean-depend mostlyclean-generic 322 323 mostlyclean: mostlyclean-am 324 325 clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ 326 clean-generic mostlyclean-am 327 328 clean: clean-am 329 330 distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ 331 distclean-depend distclean-generic clean-am 332 333 distclean: distclean-am 334 -rm -f config.status 335 336 maintainer-clean-am: maintainer-clean-binPROGRAMS \ 337 maintainer-clean-compile maintainer-clean-tags \ 338 maintainer-clean-depend maintainer-clean-generic \ 339 distclean-am 340 @echo "This command is intended for maintainers to use;" 341 @echo "it deletes files that may require special tools to rebuild." 342 343 maintainer-clean: maintainer-clean-am 344 -rm -f config.status 345 346 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ 347 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ 348 mostlyclean-compile distclean-compile clean-compile \ 349 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 350 clean-tags maintainer-clean-tags distdir mostlyclean-depend \ 351 distclean-depend clean-depend maintainer-clean-depend info-am info \ 352 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ 353 install-exec install-data-am install-data install-am install \ 354 uninstall-am uninstall all-redirect all-am all installdirs \ 355 mostlyclean-generic distclean-generic clean-generic \ 356 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 357 358 359 # Tell versions [3.59,3.63) of GNU make to not export all variables. 360 # Otherwise a system limit (for SysV at least) may be exceeded. 361 .NOEXPORT: I must confess that I am too much of a newbie to be able to fix such a problem. Any help would be highly appreciated. Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D9393B8.1000504>