From: Nathan B. <nat...@gm...> - 2010-04-19 21:55:45
|
Hi there Rupert, Thanks for your help! I will definately look into pertd. If you want some advice on how to build lcd4linux on ubuntu: There are changes in the svn repo that dont seem to have made it into RC2. This gives an "undefined reference to `rdtscl'" error, but after some research I found that this problem had already been addressed and patched. I just needed to checkout the latest version from svn. Also, I can remember needing to install a 'libXXXXX' package with apt-get, but cant quite remember what it was.. 'libtool', maybe? Also, if you wanted to compile it without any extraneous dependencies, you can just use './configure --with-plugins=XXXXX', and specify the 1 or 2 that you need. I actually got it to work 2 minutes after pressing send on the last email I wrote ... It turns out my thin client was still overloaded with perl, mysql and sqlite, since it only has 128MB RAM, some of which is used as the file system. But I rebooted it, and everything seems to be working smoothly :) Now just to code a shell-fm plugin and design a layout ... Cheers, Nathan B Well, you got further than me, I couldn't even get lcd4linux to build on my Ubuntu Karmic box due to dependency issues and sadly no one on this list replied to my queries. I ended up using the pertd application developed by some dude over at Pertelian: http://www.pertelian.com/joomla/index.php?option=com_content&task=category§ionid=7&id=23&Itemid=49 (check the community download link as well - though the above link lists all the programs you'll need) It actually works quite well, there are two versions, pertd and pertd2. IIRC pertd takes input from simple takes files stored in /var (the readme is very comrehensive) whilst pertd2 takes input from a fifo pipe. I could never get the fifo pipe to work, so I stuck with pertd instead. It works really well and has been running 24*7 on my Intel DM501 (the newer version of the Intel Atom 330) for about a month non-stop. It seems to only use a small amount of CPU and RAM so I am happy. The quality isn't brilliant, the text flashes as it scrolls and it there are some extraneous characters as new text enters the screen to scroll along, but overall I find it ace. I use bash scripts to update the text files, the scripts being run via a cron job. Currently it displays: Line1: sys load 1min 5 mins and 15 mins, memory usage Line2: temp of CPU, Northbridge and HDD from lm-sensors Line3: Currently Recording / Next Recording and Scheduled Recording from mythtv (via mythstatus) since the box is primarily a mythtv box Line4: Any WARNING error message from syslog and if that is empty, a check that the internet is up and disk space usage info. Overall, I would highly recommend it. You might get nice looking stuff out of lcd4linux, but since I couldn't even build it, I gave up. Hope this is usefull. Rupert On Mon, Apr 19, 2010 at 11:45 PM, Nathan Broadbent <nat...@gm...>wrote: > Hi, > > To follow on from my last email, I figured out how to compile lcd4linux > with the 2 plugins that I needed, and have got it running (somewhat) on > tinycore linux, on a compaq evo thin client. However, the buggy Pertelian > driver issue still remains. This time, its even worse ... It was quite bad > on my 64bit ubuntu machine, but its absolutely unreadable and scrambled when > running on tinycore linux. Can someone advise if I could somehow fix this > with a tweaked parameter or something? > > Cheers, > Nathan B > > > > > On Mon, Apr 19, 2010 at 9:51 PM, Nathan Broadbent <nat...@gm...>wrote: > >> Hello, >> >> Today I received my Pertelian X2040 LCD display, and I am trying to get it >> to work on linux. It works fine on my windows box with the Pertelian >> software. But when I compile lcd4linux and run it with a simple test string, >> the text gets all mixed up and letters appear in random positions. I dont >> know if the reason is because I am running it on a 64bit processor which >> hasnt been tested before, or if its because Pertelian have updated the >> devices firmware in some way. >> >> Also, I would love to ask if anyone could tell me how the 'mysql' and >> 'sqlite' dependencies can be turned off? I want to run lcd4linux on tinycore >> linux, and I don't want to have to load mysql or sqlite.. I was looking at >> "./configure --help" and saw that you can turn off plugins, but which plugin >> do I need to disable to get rid of sqlite3? Or, a better question would be: >> is there a way to disable ALL plugins, except for the 1 or 2 that I want? >> >> I will download and install 32bit ubuntu on my laptop tonight and see if >> the LCD works properly on lcd4linux. >> >> Cheers for your help, >> Nathan B >> > > |