[Lcdproc] IOWarrior24 broken size on 16x4 display
Christoph Fritsche
chr.fr@gmx.net
Mon Jul 21 20:47:01 2008
Hi list,
I got lcdproc 0.5.2 up and running on debian etch. I guess, from reading through the web archives, that the majority uses a 20x4 display in combination with the IOWarrior driver. Unfortunately I got an 16x4 HD44780 compatible one and it causes some trouble to lcdproc or the IOWarrior driver. The first and second row is displayed correctly. The third and fourth row is messed up with 4 leading spaces or junk. It looks like the internal buffer allocates 20 chars and overrides the next lines. So lcdproc continues printout on fifth char on row 3 and 4.
When changing the display size to 32x2 everything works fine. The first row extends to the third and the second joins with the fourth.
Does anybody have a similar setup or even a fix to get those 16x4 displays working?
I looked through the code but couldn't find the right place where things went wrong. Could someone point out where to look at?
Thanks in advance
Christoph