Modified Files:
acconfig.h acinclude.m4 server/Makefile.am server/drivers/Makefile.am server/drivers/lcd.c Added Files: README.lirc server/drivers/lircin.c server/drivers/lircin.h
This commit is contained in:
+70
@@ -0,0 +1,70 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA1
|
||||
|
||||
*******************************************************
|
||||
LCDd lirc driver README - Harald Klein, linux@chello.at
|
||||
*******************************************************
|
||||
|
||||
This is the first release of lirc driver for LCDd.
|
||||
To use it simply enable it with configure
|
||||
|
||||
eg. (Matrix Orbital Display and lirc):
|
||||
$ ./configure --enable-drivers=mtxorb,lircin
|
||||
|
||||
This driver parses the .lircrc file. remote and mode are
|
||||
also supported. You can define a LCDd key with
|
||||
|
||||
- --- snip .lircrc ---
|
||||
begin
|
||||
prog = lcdd
|
||||
button = 2
|
||||
config = A
|
||||
end
|
||||
|
||||
begin
|
||||
prog = lcdd
|
||||
button = 4
|
||||
config = B
|
||||
end
|
||||
|
||||
begin
|
||||
prog = lcdd
|
||||
button = 6
|
||||
config = C
|
||||
end
|
||||
|
||||
begin
|
||||
prog = lcdd
|
||||
button = 8
|
||||
config = D
|
||||
end
|
||||
- --- snip ---
|
||||
|
||||
|
||||
Any suggestions? Feel free to write a mail...
|
||||
|
||||
Have fun!
|
||||
|
||||
PS.:
|
||||
You don't have an infrared receiver?
|
||||
|
||||
1.) visit the Lirc homepage and get lirc. http://fsinfo.cs.uni-sb.de/~columbus/lirc/
|
||||
2.) decide for device (irman, animax, home brew receiver, universal remote ...)
|
||||
If you want to build the serial receiver i suggest to ask Infineon for test samples
|
||||
(sfh5110-36, eg, be sure to get correct freq, i use 36 khz, fits for all my remotes)
|
||||
and USE THE 7805 TO REGULATE THE VOLTAGE !! its cheap, and the circuits with transistors
|
||||
mostly wont work.
|
||||
3.) Install lirc
|
||||
|
||||
PPS.: Yes, this also works with IRMAN.
|
||||
|
||||
Greets to all open source developers out there!!!
|
||||
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.0.1 (GNU/Linux)
|
||||
Comment: For info see http://www.gnupg.org
|
||||
|
||||
iD8DBQE4gmBNQ8ap3H8sEzkRAqaYAJ93s0joSyPZVeeGKkVn+FqGte5XDgCaAjpA
|
||||
drqseag4vCi3Omg5NND7+dw=
|
||||
=DJkG
|
||||
-----END PGP SIGNATURE-----
|
||||
@@ -15,6 +15,8 @@
|
||||
Leave the following blank line there!! Autoheader needs it. */
|
||||
|
||||
|
||||
#undef LIRCIN_DRV
|
||||
|
||||
#undef CFONTZ_DRV
|
||||
|
||||
#undef CURSES_DRV
|
||||
|
||||
+8
-1
@@ -9,7 +9,7 @@ AC_ARG_ENABLE(drivers,
|
||||
drivers=[mtxorb,cfontz,curses,text])
|
||||
|
||||
if test "$drivers" = "all"; then
|
||||
drivers=[mtxorb,cfontz,curses,text,hd44780,joy,irman]
|
||||
drivers=[mtxorb,cfontz,curses,text,hd44780,joy,irman,lircin]
|
||||
AC_MSG_RESULT(all)
|
||||
else
|
||||
drivers=`echo $drivers | sed 's/,/ /g'`
|
||||
@@ -54,6 +54,12 @@ else
|
||||
DRIVERS="$DRIVERS irmanin.o"
|
||||
AC_DEFINE(IRMANIN_DRV)
|
||||
;;
|
||||
lircin)
|
||||
AC_CHECK_LIB(lirc_client, main, LIBLIRC_CLIENT="-llirc_client",
|
||||
AC_MSG_ERROR([The lirc driver needs the lirc client library]))
|
||||
DRIVERS="$DRIVERS lircin.o"
|
||||
AC_DEFINE(LIRCIN_DRV)
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([Uknown driver $driver])
|
||||
;;
|
||||
@@ -62,6 +68,7 @@ else
|
||||
fi
|
||||
AC_SUBST(LIBCURSES)
|
||||
AC_SUBST(LIBIRMAN)
|
||||
AC_SUBST(LIBLIRC_CLIENT)
|
||||
AC_SUBST(DRIVERS)
|
||||
])
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
SUBDIRS=drivers
|
||||
sbin_PROGRAMS=LCDd
|
||||
LCDd_SOURCES= client_data.c client_data.h client_functions.c client_functions.h client_menu.h clients.c clients.h input.c input.h main.c main.h menu.c menu.h menus.c menus.h parse.c parse.h render.c render.h screen.c screen.h screenlist.c screenlist.h serverscreens.c serverscreens.h sock.c sock.h widget.c widget.h
|
||||
LCDd_LDADD = drivers/libLCDdrivers.a ../shared/libLCDstuff.a @LIBCURSES@ @LIBIRMAN@
|
||||
LCDd_LDADD = drivers/libLCDdrivers.a ../shared/libLCDstuff.a @LIBCURSES@ @LIBIRMAN@ @LIBLIRC_CLIENT@
|
||||
|
||||
Reference in New Issue
Block a user