New version of imonlcd released. v0.2 now supports
full client/server handshaking according to LCDproc protocol: fixes
"Broken pipe" errors issued by LCDd trying to get
imonlcds attention. Added -v command
line option for verbose output. Revised code to update ISDN
status infos from /dev/isdninfo. All required
sources are now include in the imonlcd distribution.
imonlcd is a LCDproc
client program for Linux that displays the
current line status of ISDN4Linux
devices.
You need a working LCDproc server and suitable LCD Module (eg. Matrix Orbital LK204-25). If you've never heard of LCDproc find out more here before you read any further.
LCDproc ver0.4-pre6 and imonlcd were compiled and tested
on Linux 2.0.36 and the isdn4linux subsystem that comes with the kernel
source tree, Rev: 1.44.2.9/1.41.2.11/1.48.2.27/1.28.2.2/1.8.2.2.
Since imonlcd derived from imontty the same
restrictions apply.
To put it another way: if imontty works for you imonlcd
should as well. ;)
Unpack the imonlcd distribution. Run make and
install the imonlcd binary wherever you want.
Makefile options: PRIORITY defines the screen
priority for imonlcd if a ISDN channel is busy, see LCDproc
docs for details. Defining DEBUG will produce detailed output
on STDERR about the actual messages received from and send
to LCDproc by imonlcd.
Be sure you have a running LCDd and start imonlcd.
You can set a different server (default localhost) and port (default 13666)
using -s <server> and -p <port> on
the command line. Verbose output can be turned on using -v.
Eventually you'll see the imonlcd 'idle' screen on your LCD:
An ISDN call to your provider will set the screen to:
If somebody calls you and the remote party sends a caller ID, you'll see the following before you pick up the phone:
PLEASE NOTE: imonlcd is limited to display only
outgoing calls initiated by ISDN hardware managed by an
isdn4linux driver in your PC. Like imontty
it uses /dev/isdninfo to gather information about
the current status of your ISDN devices. Outgoing calls from analog
phones/modems (connected to your local ISDN S0-Bus using somekind of
A/D-ISDN unit) or other native ISDN equipment (telephones, fax
machines) will not show up on the imonlcd screen.
For a detailed discussion see isdn4linux/isdnlog/README,
section 2: "Was kann isdnlog nicht?".
imonlcd was developped by a
not-that-well-trained C-programmer... I'm more familiar
with Perl and Java. ;)
isdn4linux/isdnlog (protocol?)
Broken
pipe errors issued by LCDproc trying to get
imonlcds attention.
select() to monitor changes in
/dev/isdninfo
-v
DEBUG in Makefile)
sockets.c, sockets.h and debug.h
WWW:
http://www.bytebox.org/imonlcd
E-Mail: imonlcd@bytebox.org
Copyright (c) 1999 Lars Wessels, Karlsruhe, GERMANY
(includes code stolen from isdn4linux/imontty.c by Volker Götz)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.