From: Julien B. <Dha...@ho...> - 2006-01-31 18:09:50
|
Hi Michael, Never mind my last e-mail, I fond the file and modified it. Sorry about that. The GKL still doesn't work. Get the same error message. However, setting it up as an LCD4041 seems to work. One last question: I think the "clear" function does not work. I will attempt to fix it but I must tell you that my knowledge of C is like vaporware LOL drv_generic_serial_write("\376\130", 2); --> the \376\130 these are decimal number equivalent to ascii characters you send to the LCD right? Sequence "command + command number". Thanks for your patience, Julien On 1/30/06 11:36 PM, "Michael Reinelt" <re...@eu...> wrote: > Hi Julien, > >> I recently installed lcd4linux on my clarkconnect box (ver3.2) to interface >> with a matrix orbital GKL1223-25 display. I modified lcd4linux.conf as >> explained in the doc. The startup message "LCD4Linux 0.10.0" appears on >> screen, I can modify the contrast and turn on/off the backlight. However, >> nothing else seems to go through as if the "Layout" part of the config file >> wasn't read. lcd4linux -Fvv returns: >> >> MatrixOrbital: framebuffer could not be allocated: malloc() failed > > Well, the reason for malloc() failing is simle: looks like I've been too > lazy to enter all display sizes :-) > > Take a look into drv_MatrixOrbital and look for your model name > (GKL1223-25). There you will find: > > {0x0f, "VK204-25", 4, 20, 0, 1, 1}, > {0x10, "GLC12232", -1, -1, 0, 1, 1}, > {0x13, "GLC24064", -1, -1, 0, 1, 1}, > {0x15, "GLK24064-25", -1, -1, 0, 1, 1}, > {0x22, "GLK12232-25", -1, -1, 0, 1, 1}, > {0x31, "LK404-AT", 4, 40, 8, 8, 2}, > > As you can see, all the GLC- and GLK-models have an unknown size. Enter > the correct size here, and you should be done. > > And, *please*, return your corrections as a patch so others can benefit, > too. > > > > TIA, Michael |