Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2001 14:51:11 +0800
From:      Shaun Dwyer <sldwyer@bigpond.com>
To:        Mike Smith <msmith@freebsd.org>
Cc:        "Patrick S. Gardella" <patrick@FreeBSD.ORG>, tdwyer@bigpond.com, freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: LCD driver port (Linux -> FreeBSD) needed for car-mp3 player
Message-ID:  <3AED0B5F.CF181D5F@bigpond.com>
References:  <200104291905.f3TJ5j800935@mass.dis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AED0B5F.CF181D5F>