[Lcdproc] Matrix Orbital on Linux x86_64

Seann Clark nombrandue@tsukinokage.net
Tue Jul 8 02:03:02 2008


Ok, so I found the autogen.sh and was able to get farther with this. Now I
get this error in Syslog:

Jul  7 20:57:20 haruhi-new LCDd: glk: unrecognized module type: 0x2A
Jul  7 20:57:20 haruhi-new LCDd: Driver [glk] init failed, return code < 0
Jul  7 20:57:20 haruhi-new LCDd: Could not load driver glk
Jul  7 20:57:20 haruhi-new LCDd: There is no output driver
Jul  7 20:57:20 haruhi-new LCDd: Critical error while initializing, abort.


It is different so that is good, I just have no clue what that hex points
to. I was careful and made sure that the MtxOrb_LDADD was identical to the
glk_LDADD so I think I am a bit farther with this. 

Any suggestions on this? I will look on my side to my limited knowledge of
the stuff in the code.

Regards, 
Seann

-----Original Message-----
From: Ray Molenkamp [mailto:rmolenkamp@matrixorbital.ca] 
Sent: Monday, July 07, 2008 8:38 PM
To: Seann Clark
Cc: lcdproc@lists.omnipotent.net
Subject: Re: [Lcdproc] Matrix Orbital on Linux x86_64

Humzz I tested with a recent copy from cvs. I can
recommend a cvs snapshot over the latest official
release. See the sourceforge page on instructions
how to fetch a copy from cvs.

1) edited the server/drivers/Makefile.am  
Pay attention though cause things are kinda case
sensitive. If in doubt copy the MtxOrb_LDADD
line and replace MtxOrb with glk.

2) ran auogen.sh

3) ran ./configure --enable-drivers=glk

4) ran  make clean

5) ran make

After that went into the server folder and ran LCDd from there
with pretty much the default LCDd.conf.  I'm at home right now
so didn't have any GLK to test with so tried fooling into opening
/dev/null but the driver was definitely unhappy about that but
at least it loaded.

I'll verify that it actually works when I get into the office tomorrow
morning but about 98% sure it works fine.

--Ray

Seann Clark wrote:
> Ray, 
>
> 	I just spent about 45 minutes fighting with this for that rather
> easy looking change. No matter what I do, from a complete removal of the
> software, deleted the src directory, unpacked the downloaded source again,
> made the changes, recompiled, reinstalled, and got this in the syslog:
>
> Jul  7 19:54:50 haruhi-new LCDd: Could not open driver module
> /usr/local/lib/lcdproc/glk.so: /usr/local/lib/lcdproc/glk.so: undefined
> symbol: lib_adv_bignum
> Jul  7 19:54:50 haruhi-new LCDd: Driver [glk] binding failed
> Jul  7 19:54:50 haruhi-new LCDd: Could not load driver glk
> Jul  7 19:54:50 haruhi-new LCDd: There is no output driver
> Jul  7 19:54:50 haruhi-new LCDd: Critical error while initializing, abort.
> Jul  7 19:56:45 haruhi-new LCDd: Could not open driver module
> /usr/local/lib/lcdproc/glk.so: /usr/local/lib/lcdproc/glk.so: undefined
> symbol: lib_adv_bignum
> Jul  7 19:56:45 haruhi-new LCDd: Driver [glk] binding failed
> Jul  7 19:56:45 haruhi-new LCDd: Could not load driver glk
> Jul  7 19:56:45 haruhi-new LCDd: There is no output driver
> Jul  7 19:56:45 haruhi-new LCDd: Critical error while initializing, abort.
>
>
> Sadly enough, as a lark it looks like the Fedora 9 x86_64 package has the
> same issue (Prob the SAME exact problem)
>
> -----Original Message-----
> From: lcdproc-admin@lists.omnipotent.net
> [mailto:lcdproc-admin@lists.omnipotent.net] On Behalf Of Ray Molenkamp
> Sent: Monday, July 07, 2008 7:39 PM
> To: Seann Clark
> Cc: lcdproc@lists.omnipotent.net
> Subject: Re: [Lcdproc] Matrix Orbital on Linux x86_64
>
> There seems to be a line missing from server/drivers/Makefile.am
> if you add the following line to it
>
> glk_LDADD = libLCD.a libbignum.a
>
> and rerun the autogen.sh script you should be all good.
>
> --Ray
>
> tSeann Clark wrote:
>   
>> All,
>>
>>  
>>
>>             This is my first post to the list, but I am having a 
>> little problem with my (new) LCDproc install base. Here is the stat info:
>>
>> LCD:
>>
>> Matrix Orbital GLK19264-7T-1U Serial Graphical LCD
>>
>> O/S: Fedora 9 x86_64
>>
>> Hardware: Asus DSBF 4Gigs RAM Dual Xeon Quad core
>>
>>  
>>
>> I just downloaded and configured a test of the software on this system 
>> to test the LCD out and after getting the configs file correctly set 
>> up for the system I get an error as follows:
>>
>>  
>>
>> Could not open driver module server/drivers/glk.so: 
>> server/drivers/glk.so: undefined symbol: lib_adv_bignum
>>
>> Driver [glk] binding failed
>>
>> Could not load driver glk
>>
>> There is no output driver
>>
>> Critical error while initializing, abort.
>>
>>  
>>
>>  
>>
>>  
>>
>> Config file (cut for the sake of Sanity):
>>
>>  
>>
>> ## Server section with all kinds of settings for the LCDd server ##
>>
>> [server]
>>
>> Driver=glk
>>
>> # Tells the driver to bind to the given interface
>>
>> Bind=127.0.0.1
>>
>> # Listen on this specified port; defaults to 13666.
>>
>> Port=13666
>>
>> # Sets the reporting level; defaults to 2 (warnings and errors only).
>>
>> ReportLevel=2
>>
>> # Should we report to syslog instead of stderr ? Default: no
>>
>> ReportToSyslog=yes
>>
>> # Sets the default time in seconds to displays a screen.
>>
>> WaitTime=30
>>
>> # User to run as.  LCDd will drop its root priviledges,
>>
>> # if any, and run as this user instead.
>>
>> User=nobody
>>
>> ServerScreen=no
>>
>> Foreground=no
>>
>> DriverPath=/usr/local/lib/lcdproc/
>>
>> ToggleRotateKey=Enter
>>
>> PrevScreenKey=Left
>>
>> NextScreenKey=Right
>>
>> ScrollUpKey=Up
>>
>> ScrollDownKey=Down
>>
>> ScrollDownKey=Down
>>
>>  [Input]
>>
>> FreePauseKey=yes
>>
>> FreeBackKey=yes
>>
>> FreeForwardKey=yes
>>
>> FreeMainMenuKey=yes
>>
>>  [menu]
>>
>> MenuKey=Escape
>>
>> EnterKey=Enter
>>
>> UpKey=Up
>>
>> DownKey=Down
>>
>> LeftKey=Left
>>
>> RightKey=Right
>>
>> ## Matrix Orbital GLK driver ##
>>
>> [glk]
>>
>> # select the serial device to use [default: /dev/lcd]
>>
>> Device=/dev/ttyS0
>>
>> # set the initial contrast value [default: 560; legal: 0 - 1000]
>>
>> Contrast=560
>>
>> # set the serial port speed [default: 19200; legal: 9600, 19200, 38400]
>>
>> Speed=19200
>>
>>  
>>
>>  
>>
>> Regards and thanks in advance,
>>
>> Seann
>>
>>  
>>
>>     
> _______________________________________________
> LCDproc mailing list
> LCDproc@lists.omnipotent.net
> http://lists.omnipotent.net/mailman/listinfo/lcdproc
>