From owner-freebsd-hardware Mon Nov 6 11:46:44 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 757D637B4C5 for ; Mon, 6 Nov 2000 11:46:40 -0800 (PST) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id NAA55747; Mon, 6 Nov 2000 13:46:31 -0600 (CST) (envelope-from cdillon@wolves.k12.mo.us) Date: Mon, 6 Nov 2000 13:46:31 -0600 (CST) From: Chris Dillon To: Shaun Dwyer Cc: freebsd-hardware@FreeBSD.ORG Subject: Re: Parallel LCD support In-Reply-To: <00110701501104.01538@neptune.ctnet.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 7 Nov 2000, Shaun Dwyer wrote: > I had a look in /usr/src/share/examples/ppi/ppilcd.c It appears to > be something capable of talking to a HD44780 display, however, I > was unable to compile it. make generated a pile of errors and > bombed out. Just tried that myself... To get it to compile, copy ppbconf.h and ppi.h out of /usr/src/sys/dev/ppbus into the same directory as ppilcd.c and its Makefile. Then make depend && make all. You'll get an executable called ppilcd. What you do with it from there is up to you. :-) P.S. You can read the code to pretty easily find out the commandline parameters it supports. The usage() function isn't called when no paramaters are given, so you'll have to give it an unused parameter like -x to get its usage. -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For IA32 and Alpha architectures. IA64 and PowerPC under development. http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message