mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* advices for a lcd driver design.
@ 2005-05-08 10:33 moreau francis
  2005-05-08 11:12 ` Willy Tarreau
  0 siblings, 1 reply; 3+ messages in thread
From: moreau francis @ 2005-05-08 10:33 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm trying to write a lcd driver for a HD44780 compatible display.
Basicaly it will be the only screen available on my linux board.
My problem is that I don't know which desgin I should use when
implementing the lcd's driver, because several choices are possible:

1) implementing a dumb char device  "/dev/lcd"
2) implementing a console driver
3) implementing a tty driver

I can't find any documentation on vt that makes the choice quite
hard but when looking at the code it may be the best choice for
user-space. Do you think it's the good direction ?

Thanks for your advices,

      Francis.


	

	
		
__________________________________________________________________ 
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: advices for a lcd driver design.
  2005-05-08 10:33 advices for a lcd driver design moreau francis
@ 2005-05-08 11:12 ` Willy Tarreau
  0 siblings, 0 replies; 3+ messages in thread
From: Willy Tarreau @ 2005-05-08 11:12 UTC (permalink / raw)
  To: moreau francis; +Cc: linux-kernel

Hi Francis,

There already are several drivers for this display, why write another one ?
One I use and know (because I wrote it :-)) is available here :
 
  http://linux.exosec.net/kernel/lcdpanel/

It works with any combination of data and control bits from a parallel port,
and can initialize early in the kernel to display a booting message. It also
supports a keypad. I know that several appliance makers who use it. It uses
/dev/lcd to send data and some ANSI codes to move the cursor, and to define
up to 8 graphics characters. It uses /dev/keypad for keypad input.

Another one exists, I don't remember its name but it used to be announced
on freshmeat. It emulates a vt52 terminal IIRC.

Hoping this helps,
Willy

On Sun, May 08, 2005 at 12:33:30PM +0200, moreau francis wrote:
> Hi,
> 
> I'm trying to write a lcd driver for a HD44780 compatible display.
> Basicaly it will be the only screen available on my linux board.
> My problem is that I don't know which desgin I should use when
> implementing the lcd's driver, because several choices are possible:
> 
> 1) implementing a dumb char device  "/dev/lcd"
> 2) implementing a console driver
> 3) implementing a tty driver
> 
> I can't find any documentation on vt that makes the choice quite
> hard but when looking at the code it may be the best choice for
> user-space. Do you think it's the good direction ?
> 
> Thanks for your advices,
> 
>       Francis.
> 
> 
> 	
> 
> 	
> 		
> __________________________________________________________________ 
> Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: advices for a lcd driver design.
@ 2005-05-09 15:19 moreau francis
  0 siblings, 0 replies; 3+ messages in thread
From: moreau francis @ 2005-05-09 15:19 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: linux-kernel

Hi Willy

--- Willy Tarreau <willy@w.ods.org> a écrit:
> Hi Francis,
> 
> There already are several drivers for this display, why write another one ?
> One I use and know (because I wrote it :-)) is available here :

sorry I wasn't clear in my last email, when I said 'HD44780 compatible display'
I was talking about electrical signals compatibity.
Actually I will use a lcd that supports graphical or text (80x20) mode. 
I assume that a design for this kind of lcd is different from hd44780's one. 
And that's the reason I want to use kernel vc...

        Francis



	

	
		
__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-05-09 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-08 10:33 advices for a lcd driver design moreau francis
2005-05-08 11:12 ` Willy Tarreau
2005-05-09 15:19 moreau francis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®