LCDproc development and user support list

Text archives Help


[Lcdproc] Re: vlsystem LIS MCE VFD


Chronological Thread 
  • From: nic AT postilion.org (Nic Bernstein)
  • Subject: [Lcdproc] Re: vlsystem LIS MCE VFD
  • Date: Sun Jan 21 00:49:01 2007

I wish to second Johnny's question. I too have an HTPC280 with the LIS
MCE display unit. I have the same experience as Johnny: The LCDd
server starts and runs and seems to inter-operate with the lcdproc
program.

I suspect that this display needs a different driver than the lis2
connectiontype. The driver disk which comes with the unit has different
Windows drivers for the LIS2 and MCE versions of displays.

Can anyone help???

Thanks in advance,
-nic

Here are the pertinent sections of my LCDd.conf file:

###################################################
[server]
Driver=hd44780
Bind=127.0.0.1
Port=13666
ReportLevel=5
WaitTime=5
User=nobody
Foreground=yes
DriverPath=/usr/local/lib/lcdproc/
ToggleRotateKey=Enter
PrevScreenKey=Left
NextScreenKey=Right
[menu]
MenuKey=Escape
EnterKey=Enter
UpKey=Up
DownKey=Down
[curses]
Foreground=blue
Background=cyan
Backlight=red
Size=20x4
TopLeftX=7
TopLeftY=7
UseACS=no
[hd44780]
ConnectionType=lis2
Device=/dev/lcd
Speed=0
Keypad=no
Contrast=0
Backlight=no
OutputPort=no
Size=20x2
Charmap=hd44780_default
DelayBus=true
KeyMatrix_4_1=Enter
KeyMatrix_4_2=Up
KeyMatrix_4_3=Down
KeyMatrix_4_4=Escape
###################################################

Here is some logging output:

###################################################
LCDd version 0.5.1 starting
Built on Jan 20 2007, protocol version 0.3, API version 0.5
Using Configuration File: /usr/local/etc/LCDd.conf
Set report level to 5, output to stderr
...
Server running in foreground
Listening for queries on 127.0.0.1:13666
screenlist_init()
driver_load( name="hd44780",
filename="/usr/local/lib/lcdproc/hd44780.so")
hd44780: Using hd44780_default charmap
HD44780: LCD Serializer: Using device: /dev/lcd
Key "Escape" is now reserved in exclusive mode by client [-1]
Key "Enter" is now reserved in shared mode by client [-1]
Key "Up" is now reserved in shared mode by client [-1]
Key "Down" is now reserved in shared mode by client [-1]
screenlist_process()
screenlist_switch( s=[_server_screen] )
screenlist_switch: switched to screen [_server_screen]
...
Connect from host 127.0.0.1:60163 on socket 5
sock_read_from_client: got message from client 5: "hello
"
sock_read_from_client: got message from client 5: "client_set -name
{LCDproc myth}
screen_add C
screen_set C -name {CPU Use: myth}
widget_add C cpu string
widget_set C cpu 1 1 {CPU [ ]}
widget_add C cpu% string
widget_set C cpu% 1 15 { 0.0%}
widget_add C usni string
widget_set C usni 1 2 {U S N I }
widget_add C usr hbar
widget_add C sys hbar
widget_add C nice hbar
widget_add C idle hbar
widget_add C total hbar
widget_set C total 6 1 0
"
...
###################################################

When I test using the curses drive everything works exactly as expected.

For the record, /dev/lcd is a symlink to /dev/ttyUSB0. Here's what
those devices look like:
# ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Jan 20 18:05 /dev/ttyUSB0

# ls -l /dev/lcd
lrwxrwxrwx 1 root root 12 Jan 20 17:07 /dev/lcd -> /dev/ttyUSB0

And yes, the user "nobody" is a member of the group "dialout":
# grep dialout /etc/group
dialout:x:20:cupsys,nic,nobody

> Hi Johnny,
>
> On Monday, 25. September 2006 04:38, Johnny Earnest wrote:
> > Hello lcdproc'ers,
> > I just got a great new case for my MythTV (
> > http://www.nmediapc.com/htpc280.htm) and it came with a slick looking VFD
> > from vlsystem. It's called the LIS MCE (
> > http://www.vlsys.co.kr/English/product_lis_mce.php). I've been trying to
> > get it working by using the HD44780 driver and "ConnectionType=lis2".
> > I've
> > got lcdd running with out complaining and lcdproc acts like it working,
> > but
> > nothing is showing up on the display other than the welcome sceen that has
> > been there since first powering up the case. Has anyone tested the LIS
> > MCE? Does anyone have it working (as if I could be that lucky)?
> >
> > So lcdd runs and lcdproc talks to it, but the display does nothing....
> >
> > /etc/LCDd.conf driver section
> >
> > ## Hitachi HD44780 driver ##
> > [hd44780]
> >
> > # Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
> > #Port=0x378
> > Device=/dev/ttyUSB0
>
> Is your LCD connected to /dev/ttyUSB0 ?
>
> > # Select what type of connection. See documentation for types.
> > ConnectionType=lis2
>
> This is necessary I guess.
>
> > # If you have a keypad connected.
> > # You may also need to configure the keypad layout further on in this
> > file.
> > Keypad=no
> >
> > # If you have a switchable backlight.
> > Backlight=no
> >
> > # If you have the additional output port ("bargraph") and you want to
> > root@mythbox:/myth/src/lcdproc-0.5.0/server/drivers# vi /etc/LCDd.conf
> > root@mythbox:/myth/src/lcdproc-0.5.0/server/drivers# vi /etc/LCDd.conf
>
> I hope the 2 lines above are not part of your LCDd.conf.
>
> > #DelayMult=2
> >
> > # You can reduce the inserted delays by setting this to false.
> > # On fast PCs it is possible your LCD does not respond correctly.
> > # Default: true.
> > DelayBus=true
>
> Did you also set the Driver directive in the [server] section to
> Driver=hd44780 ?
>
> What does LCDd say if you run it in the foreground with reporting level set
> to
> 5 and logging to stderr ?
>
> If it still does not work, you should give the development version a try.
> It has a lot of bug fixes compared to stock 0.5.0.
>
--
Nic Bernstein
nic AT postilion.org
PGP public key http://postilion.org/nic/key
Enough of the mad economy of your post-modern digital patois, let's talk!




  • [Lcdproc] Re: vlsystem LIS MCE VFD, Nic Bernstein, 01/21/2007

Archive powered by MHonArc 2.6.18.

Top of page