From: Michael R. <re...@eu...> - 2005-05-04 06:30:27
|
Hi Julien, >>- includeing linux/parport.h sould be removed. All parport stuff should >>be handled by the generic parport driver. I saw that you need some >>status lines. I will add some wire_status() calls to the parport driver. > Cool. Actually it's not needed anymore since I've changed my mind, and I > use a timed wait rather than a busy line polling method. > It's still a good idea to add some function to get the status lines of > the parallel port. I just wrote the wire_status() stuff and commited. I think it would be a good idea to support both methods: busy-line checking and a fixed delay. We've encountered situations in the past, where waiting caused lcd4linux to eat up too much CPU cycles (especially on slower systems). Maybe you want to detect it by checking if there's a "Wire.Busyline" entry in the config, and/or by using a config entry "UseBusy" (as in the HD44780 driver). bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |