From owner-freebsd-hackers Sun Apr 29 23:48:13 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailin5.bigpond.com (juicer02.bigpond.com [139.134.6.78]) by hub.freebsd.org (Postfix) with ESMTP id D4DE337B424; Sun, 29 Apr 2001 23:48:04 -0700 (PDT) (envelope-from sldwyer@bigpond.com) Received: from bigpond.com ([139.134.4.52]) by mailin5.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GCLF3Y00.1K1; Mon, 30 Apr 2001 16:52:46 +1000 Received: from WEBH-T-008-p-156-167.tmns.net.au ([203.54.156.167]) by mail5.bigpond.com (Claudes-Zippy-MailRouter V2.9c 9/3458137); 30 Apr 2001 16:48:08 Message-ID: <3AED0B5F.CF181D5F@bigpond.com> Date: Mon, 30 Apr 2001 14:51:11 +0800 From: Shaun Dwyer X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith Cc: "Patrick S. Gardella" , tdwyer@bigpond.com, freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player References: <200104291905.f3TJ5j800935@mass.dis.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Mike, The software I am using in Linux (cajun - cajun.sourceforge.net) requires a serial display to work. What the linux driver does is emulate the serial display, and provides a /dev/lcd. As I am not a perl coder, I cannot modify Cajun to use the app you wrote, And as I am not a C coder, I cannot modify what you wrote to behave like the linux driver. Unless there is something already around that can take input in the way /dev/cuaaX does, and then pump the data into what you wrote, I think that the easiest way to do this is to make a driver for FreeBSD that behaves exactly the way that the Linux driver does. Shaun Mike Smith wrote: > > > Hi Patrick, > > > > > > I didn't really explain much about the LCD+Driver... > > Basically its a parallel port display that uses the generic Hitachi > > HD44780 > > chipset. What the driver for linux does is provide a /dev/lcd > > that you can address the same as you would /dev/cuaaX for a serial > > matrix orbital display. > > > > The reason I am using the parallel port LCD, is that it cost $80, > > as opposed to $400+ for the matrix orbital serial display (I am in > > Australia). > > Look at /usr/share/examples/ppi; you don't need (or want) a kernel driver > for this sort of thing. I wrote the ppilcd app to talk to exactly that > LCD controller; the electronics involved should be the same as for the > Linux interface. > > If you have any questions, let me know. The code's a bit old, but the > ppi interface hasn't changed in the last four years. > > -- > ... every activity meets with opposition, everyone who acts has his > rivals and unfortunately opponents also. But not because people want > to be opponents, rather because the tasks and relationships force > people to take different points of view. [Dr. Fritz Todt] > V I C T O R Y N O T V E N G E A N C E -- ---------------------- Shaun Dwyer sldwyer@bigpond.com ---------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message