[Lcdproc] [Lcdproc][patch] Cwlnx driver bug fix

Gideon gideon.tsang@cwlinux.com
Wed Jan 17 09:43:01 2007


Hi Peter,

>> I set the "Model" parameter correctly in LCDd.conf, but vertical bar
>> didn't draw correctly on 12232 display because there's no mask for the
>> graphical mode.  Now the program would still limit 12232 display to draw
>> a vertical bar with width 5, but that's the width for all icons.  Any
>> other way to do it?
> 
> Yes, icons are 5 pixels wide.
> But if possible I'd like to make the vertical bars as wide as possible
> to make lcdproc's (the client) CPUGraph screen (the one with the "running bar 
> graph") show as one "block" (i.e. one bar graph instead of X columns 
> separated by a blank pixel ;-).
> 
> How did the bars go wrong with the 12232 ?

The bars only write the whole block correctly, but not partially.  It 
looks something like this


******
******
  ***** *****
  ***** *****
  ***** *****
  ***** *****
  ***** *****
  ***** *****
  ***** *****
  ***** *****

I also tried the nightly tarball(20070117).  It is somewhat different 
from the stable-0-5-x version which I was using.  The LCDd of this 
version didn't run successfully. It gave me this following error:

"Could not open driver module server/drivers/CwLnx.so: 
server/drivers/CwLnx.so: undefined symbol: lib_adv_bignum"

and even I commented it out the screen doesn't draw correct, I'm still 
looking at it now.

BTW, I just noticed that the instruction of getting the latest version 
of LCDproc from CVS is incorrect in this page:
http://lcdproc.sourceforge.net/docs/current-user.html

 >>cvs -d:pserver:anonymous@cvs.lcdproc.sourceforge.net:/cvsroot/lcdproc 
login
 >>cvs -d:pserver:anonymous@cvs.lcdproc.sourceforge.net:/cvsroot/lcdproc 
checkout -r stable-0-5-x lcdproc

should be
cvs -d:pserver:anonymous@lcdproc.cvs.sourceforge.net:/cvsroot/lcdproc login
cvs -d:pserver:anonymous@lcdproc.cvs.sourceforge.net:/cvsroot/lcdproc 
checkout -r stable-0-5-x lcdproc


regards,

Gideon