If you have an idea what should be implemented in lcd4linux, this is the right place for you! The very important development process step software design should happen here, too, so feel free to add any comments, corrections, whatever…
If you are a developer, and have some spare time, you're very welcome to pick up an item and work on it!
Accordingly to https://www.gnu.org/software/automake/manual/automake.html#Future-of-aclocal, it got REMOVED!!
lcd4linux shall provide a socket plugin. - As input parameters the plugin shall at least require hostname, and port number - The plugin shall open a listing socket - A client connected to the listing socket shall be able to sent text to the plugin. The plugin shall format and show the text on the display - The plugin shall understand control sequences sent by the client e.g. to position the cursor or clear the display.
I haven't found something like that, but I think it would be very usefull.
Poelchen1337: I do it something like this with my betascirpt (please help to develop and email me: [email protected] :
I create a newsfile in txt-format
wget http://feeds.n24.de/n24/homepage?format=xml cp homepage?format=xml news.xml rm homepage?format=xml sed -e 's/<.*>//g' news.xml > nws.txt sed -e 's/<.*>//g' nws.txt > news.txt rm news.xml rm nws.txt cat news.txt
and then I let it show on the LCD with
file::readline('/path/to/file', line_number)
I am currently using vlc to play music, and use the logger interface to ouput Streaming Radio/Icecast/Shoutcast info (Stream Name, Current Song) to a named pipe/pseudo terminal pair. To read and format the info, I use:
cat /dev/ptyu1 | fgrep --linbuffered -e "New Title" -e "Icy-Name" | > sed -e "/access_http debug:/s///" -e "/New Title=/s//Now Playing: /"
This is similar to:\
tail -f /var/log/messages
Which gives me an output like this to stdout:
Icy-Name: : ampedOut : it's like a god's rubbing your tummy @ 128kbps Icy-Url: http://ampedOut.net Now Playing: Hanzel Und Gretyl - SS Deathstar Supergalactick Now Playing: Amduscia - Beyond The Darkness Now Playing: Inform?tik - Autonomous (Nothing Is Real Mi Now Playing: Funker Vogt - Nothing To Include Now Playing: Combichrist - this is my life
The current exec and file-read plugins do not allow for this type of continuous output. Reading the same info from nc would also be a problem.
Thinking about it, you would need to be able to run a command like above, continue to read stdout then do an internal comparison/grep, and depending on which grep matches, send that to the corresponding row/column/widget like:
exec(cat x | grep --line-buffered y | sed z) expression-1 (string to match,string/characters to leave out) expression-2 (string to match,string/characters to leave out) expression-n (string to match,string/characters to leave out)
where expression is passed to a subwidget (in this case textwidget), with n being the number of widgets that will use it)\
Think of it as working with tail -f
The evaluator can be extended with new functions by the use of plugins, which must be C code, compiled and linked. Sometimes it may be great if one could add simple functions in the lcd4linux.conf, using existing functions (think of it as subroutines).
Syntax could be the same as with variables:
Functions { sqr arg1*arg1 dist sqrt(arg1*arg1+arg2*arg2) }
These functions would always have a variable number of parameters, which can be accessed withing the function only as variables with ne name arg1, arg2, …
Why you do not add embedded perl evaluator?\
It would simplify support of evaluator end stop endless feature requests for extending expressions. Also it would be rather easy to make plugin interface via perl which in its turn would allow end users to extend program without recompiling program by writing simple scripts.
This could be achieved by introducing some kind of LayoutSet configuration objects and adding a few options to a Layout:
Layout 20x4 { Row1 ... Row2 ... DisplayTime 5 } LayoutSet MySlideShow { DisplayTime 10 Layout1 20x4 Layout2 default }
Where DisplayTime defines how long a Layout should be displayed before we go to the next one. If a DisplayTime variable has been defined within a LayoutSet definition, it is used as a default value for all Layouts without such a definition.
linuxhost# lcd4linux -f /etc/lcd4linux.conf -i using raw port 0x378 (deprecated!) You *really* should change your setup and use ppdev! eval> clear OK eval> put 3,10 "Hello, World!" OK eval>
I'm currently trying to implement this but only time will tell if I can manage to add this to the interactive mode …
D-Bus is a new IPC system for unices, providing App ↔ App as well as App ↔ OS communication. It seems like D-Bus will be widely used in upcoming KDE and Gnome versions (its a freedesktop.org spec).
It would be great to have D-Bus client support available (could probably be done as a plugin), allowing lcd4linux to poll information from D-Bus enabled applications. (Like getting the current playlist entry from a media player etc)
Also, acting as a D-Bus Server would make sense (but would be more work to implement), so Applications could push information to lcd4linux, even if the App runs as normal user, and the daemon runs with root privileges.
*Global Hotkeys like Strg+Shift+F3 to switch between the layouts would be nice.
Driver for the Hitachi HD61830 chip
DataSheet HD61830A00H.html]
We need a driver for the powering of graphical lcd that are run by graphic cards via dvi or vga! pinouts here for vga: http://starfox.ucc.asn.au/carcomp/serio_lcd.htm http://www.bit-tech.net/modding/2004/07/07/psone_lcd/1 http://www.gearlive.com/index.php/news/article/how_to_psone_lcd_your_computer_05110831/
Driver for Epsons SEDxxxx Controller Series like SED1330, SED1335, SED1565
Datasheets: http://www.tstonramp.com/~pddwebacc/ics_app%20notes/epson/SED1330.pdf http://www.vitek.com.tw/technical/sed1335e.pdf http://www.webmaster.gaw.ru/pdf/lcd/Chips/Epson/sed1565.pdf
I like to see support for this and some othter Dotmatrix Display manufactured by Bona Fide.
You can get the data sheet directly from me if not available on the website since there was a problem for one week.
⇒ as this display uses KS0108 controller, it should work with serdisplib and the serdisplib driver from lcd4linux
⇒ i like to see support for max6953 i2c led matrix controller in cascade.
Would be nice to show weather info on my LCD screen.
⇒ in the mean time, you can experiment with the exec plugin and the weather command line utility (http://fungi.yuggoth.org/weather/; Debian package: weather-util):
# EDDH is Hamburg (Germany) exec('weather -i EDDH', 600000)
This is useful by example to show the last 4 lines of a log like dmesg
Root ACCESS plugin:
I am using a dockstar that has debian squeeze on it and I can get LCD4LINUX working on it, I would like to use the lcd to show root access , and with keyboard type apt-get and other commands. So mini monitor.
Thanks for this wonderful tool. I am using dockstar, too. lcd4linux works like a charm except the outdated libmpdclient lib … many users would be thankful for easy compiling the mpd plugin without hair loss :) (mpdris could be an alternative - actually testing)
What about a integrated driver for DPF/AppoTech AX206?
is it possible to integrate an information when the Feature of Enigma2 Receivers ⇒ “HbbTV” is activ ?? Only the meassage on the Display “ HbbTV” Would be sufficient.
I would like to see the possibility to subscribe to mqtt topics from a MQTT broker (server), within lcd4linux. (Smart Home)