[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87aapjbd3h.fsf@benpfaff.org>
Date: Thu, 22 Jul 2010 11:12:02 -0700
From: Ben Pfaff <blp@...stanford.edu>
To: Mattia Jona-Lasinio <mattia.jona@...il.com>
CC: linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.arm.linux.org.uk
Subject: Re: Introducing the LCD-Linux project
Mattia Jona-Lasinio <mattia.jona@...il.com> writes:
> Ben Pfaff <blp@...stanford.edu> writes:
>> When I wanted to solve the same problem for a small
>> serial-connected LCD panel (sold under the name EZIO), I wrote a
>> program called "ezio-term" that has the same functionality but
>> runs entirely in userspace. It connects to the serial port and
>> speaks the EZIO protocol on the serial port, and it creates a pty
>> and acts like an ANSI terminal on that pty. Thus, it translates
>> back and forth between the two protocols.
>
> This is indeed a possibility. However, in my opinion, it always suffers
> the same problems: if you change the display, you have to rewrite everything
> from scratch since the protocol for a different display will be different.
It should not be necessary to rewrite everything, only to write
additional code to interface to the particular device. This code
has to be written in any case, whether it is in userspace or the
kernel.
> I downloaded your program and I'm going through it.
I'm not pushing ezio-term as a general solution, by the way. It
is clearly very specific to EZIO3 devices. I'm just pointing out
that its approach is a reasonable alternative.
--
Ben Pfaff
http://benpfaff.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists