[Lcdproc] Can't get this thing working...
Joris Robijn
joris at robijn.net
Sat Dec 26 17:56:09 UTC 2009
On 26 Dec 2009 at 10:36, Thorsten Godau wrote:
> Can i use the keymatrix connected to the LPT in parallel?
> How do i have to extend my LCDd.conf (somewhere i read, that i can use
> more than one devices in the hd44780-section...)?
Hi Thorsten,
I think you can. The driver should (repeat: should) be capable of
instantiating twice. In the the config file you can indicate for each
driver what module (.so file) to load. That way, you can load the same
module twice. This is done with the File= parameter of a driver. By
default it loads the same filename as the drivername. For example:
Drivers=hd44780,hd44780keypad
[hd44780]
# this one loads hd44780.so because filename is unspecified
# ... here specify your ususal parameters
type=lcd2usb #or whatever
[hd44780keypad]
File=hd44780.so # forced filename
Port=0x278
key_direct_0="Menu"
key_matrix_1_4="A"
The first driver loaded is the primary driver and this one determines
things like display size reported to clients. Keys can come from any
driver. You can also load the curses driver only to generate keypresses
for your hd44780 display.
I hope all this information is still true, I haven't played with this
stuff very much lately.
Regards,
Joris
--
Joris Robijn <joris at robijn.net>
Phone: +31 6 288 41 964
More information about the LCDproc
mailing list