Advices for a lcd driver design. (suite)

From: moreau francis
Date: Mon Jun 06 2005 - 13:40:25 EST


Hello,

I posted an email 1 month ago because I was looking for advices to design
a driver for a lcd device (128x64 pixels) with a t6963c controller.

I have finally choosen a console implementation to interact with the lcd. It
allows me to reuse code that deals with escape character or to start a getty on
it. Unfortunately this implemenatation doens't support lcd's graphical mode.
So I wrote another small driver that can be accessed through "/dev/lcd". It
drives the lcd only in graphical mode. That means that a "echo foo > /dev/lcd"
command won't work as expected.

So now I'm wondering how to synchronize access to the lcd. Because a user appli
that is sending an image to "/dev/lcd" may want to prevent other access from
other application to the lcd either from "/dev/ttyX" or "/dev/lcd" but still
should be able to send char to "/dev/ttyX"

Any idea ?

Thanks for your answers,

Francis






_____________________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/