[Lcdproc] Can't get this thing working...
bsdfan at nurfuerspam.de
Sun Dec 27 21:55:34 UTC 2009
-------- Original-Nachricht --------
> Datum: Sun, 27 Dec 2009 16:37:45 +0100
> Von: "Thorsten Godau" <dl9sec at gmx.net>
> An: lcdproc at lists.omnipotent.net
> Betreff: Re: [Lcdproc] Can't get this thing working...
> Hi Joris, hi Markus,
> brilliant! Thanks a million for the hints. It seems to work.
> Maybe that could be a suggestion for a further improvement:
> - Either a new driver type keypad.so
> - or a new connection type "keypad" within the HD44780 driver
> which does nothing than checking the keypad connected to the
> paralell port and giving the pressing information. No display
> control, only keypad control...
The hd44780 driver requires an output function, so just having a input only connection type will not work. (Except we create an empty one - ugly hack).
Additionally, the keypad scan need to take into account which lines to exclude. Having an independent parallel port input driver will only work, if no display is connected to the parallel port. Otherwise strange things might happen.
Looking at recent computers (SBCs may be an exception) many don't have a parallel port anymore. A real advantage would be a small and easy to build device using the USB port for which we could create a driver.
> Another question:
> Where are the keys bound to the letters? Is it possible to trigger
> a shell command like e.g. "poweroff" with a button.
> Is there a documentation for the button handling or where can i find
> further infos about that?
> Regards, Thorsten
a) The "key text" is bound using the KeyDirect_ or KeyMatrix_ options.
b) you found that yourself already (lcdexec)
More information about the LCDproc