LCDproc development and user support list

Text archives Help

[Lcdproc] lcdproc menu not visible

Chronological Thread 
  • From: johannes.bauchinger at (Johannes Bauchinger)
  • Subject: [Lcdproc] lcdproc menu not visible
  • Date: Thu, 23 Dec 2010 16:43:26 +0100


We have some trouble with lcdproc menu!

First a short description of the topic:

The user should be able to change IP, netmask and gateway of its item.
Therefore, he just have to enter the menu and immediately the ip address
should appear to change. When he has changed, netmask should appear and so

Now the problem:

We are able to change ip address, but not to see it. Just the cursor is
shown on lcd. We tried to delete all screens, but no change. Here a short
part oft he script:

#!/usr/bin/perl -w

use IO::Socket;

use Fcntl;

use strict;

my $remote = IO::Socket::INET->new(

Proto => "tcp",

PeerAddr => "localhost",

PeerPort => "13666") || die "Cannot connect to LCD\n";


sleep 1;

print $remote "hello\n";

print $remote "client_set name iptest\n";

print $remote "menu_add_item \"\" ipconfig menu \" \"\n";

print $remote "menu_add_item \"ipconfig\" ipconfig_ip ip \"IP\" -value

print $remote "menu_set_item \"\" ipconfig -text \"IP\"\n";

print $remote "menu_set_item \"ipconfig\" ipconfig_ip -text \"ip\"\n";

print $remote "menu_set_main \"ipconfig_ip\"\n";


while(defined(my $input = <$remote>)){

print $input;

if($input eq "menuevent enter ipconfig\n"){

print $remote "menu_goto ipconfig_ip\n";



sleep 1;



We work with an 2 line USBLCD with 16chars (each 5x8bit)

4 keys are activated (the events work fine)

Thank you for your answers!


-------------- next part --------------
An HTML attachment was scrubbed...

Archive powered by MHonArc 2.6.18.

Top of page