Skip to content

Commit

Permalink
driver for EFN LED modules by Tilman Glötzner
Browse files Browse the repository at this point in the history
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1137 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
  • Loading branch information
michael committed Jan 2, 2011
1 parent 475fdb4 commit 8dd087e
Show file tree
Hide file tree
Showing 9 changed files with 469 additions and 21 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ drv_Curses.c \
drv_Cwlinux.c \
drv_D4D.c \
drv_EA232graphic.c \
drv_EFN.c \
drv_FW8888.c \
drv_G15.c \
drv_GLCD2USB.c glcd2usb.h \
Expand Down
2 changes: 2 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ drv_Curses.c \
drv_Cwlinux.c \
drv_D4D.c \
drv_EA232graphic.c \
drv_EFN.c \
drv_FW8888.c \
drv_G15.c \
drv_GLCD2USB.c glcd2usb.h \
Expand Down Expand Up @@ -531,6 +532,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drv_Cwlinux.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drv_D4D.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drv_EA232graphic.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drv_EFN.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drv_FW8888.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drv_G15.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/drv_GLCD2USB.Po@am__quote@
Expand Down
4 changes: 2 additions & 2 deletions aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -9448,7 +9448,7 @@ $$1_PKG_ERRORS
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
_PKG_TEXT])dnl
_PKG_TEXT])[]dnl
])
elif test $pkg_failed = untried; then
AC_MSG_RESULT([no])
Expand All @@ -9459,7 +9459,7 @@ path to pkg-config.
_PKG_TEXT
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
])
else
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
Expand Down
3 changes: 3 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,9 @@
/* Electronic Assembly RS232 graphic driver */
#undef WITH_EA232graphic

/* Driver for EFN LED modules and EUG 100 ethernet to serial converter */
#undef WITH_EFN

/* Allnet FW8888 driver */
#undef WITH_FW8888

Expand Down
45 changes: 29 additions & 16 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1569,8 +1569,8 @@ Optional Packages:
(try 'all,\!<driver>' if your shell complains...)
possible drivers are:
ASTUSB, BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D,
EA232Graphic, FW8888, G15, GLCD2USB, HD44780, HD44780-I2C, IRLCD,
LCD2USB, LCDLinux, LEDMatrix, LCDTerm, LPH7508, LUIse,
EA232Graphic, EFN, FW8888, G15, GLCD2USB, HD44780, HD44780-I2C,
IRLCD, LCD2USB, LCDLinux, LEDMatrix, LCDTerm, LPH7508, LUIse,
LW_ABP, M50530, MatrixOrbital, MatrixOrbitalGX,
MilfordInstruments, Noritake, NULL, Pertelian, PHAnderson,
PICGraphic, picoLCD, picoLCDGraphic, PNG, PPM, RouterBoard,
Expand Down Expand Up @@ -6357,6 +6357,7 @@ for driver in $drivers; do
CWLINUX="yes"
D4D="yes"
EA232graphic="yes"
EFN="yes"
FW8888="yes"
G15="yes"
GLCD2USB="yes"
Expand Down Expand Up @@ -6422,6 +6423,9 @@ for driver in $drivers; do
EA232graphic)
EA232graphic=$val
;;
EFN)
EFN=$val
;;
FW8888)
FW8888=$val
;;
Expand Down Expand Up @@ -6665,6 +6669,15 @@ $as_echo "#define WITH_EA232graphic 1" >>confdefs.h

fi

if test "$EFN" = "yes"; then
TEXT="yes"
DRIVERS="$DRIVERS drv_EFN.o"

$as_echo "#define WITH_EFN 1" >>confdefs.h

fi


if test "$FW8888" = "yes"; then
TEXT="yes"
SERIAL="yes"
Expand Down Expand Up @@ -12634,13 +12647,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
else
lt_cv_nm_interface="BSD nm"
echo "int some_variable = 0;" > conftest.$ac_ext
(eval echo "\"\$as_me:12637: $ac_compile\"" >&5)
(eval echo "\"\$as_me:12650: $ac_compile\"" >&5)
(eval "$ac_compile" 2>conftest.err)
cat conftest.err >&5
(eval echo "\"\$as_me:12640: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval echo "\"\$as_me:12653: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
cat conftest.err >&5
(eval echo "\"\$as_me:12643: output\"" >&5)
(eval echo "\"\$as_me:12656: output\"" >&5)
cat conftest.out >&5
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
lt_cv_nm_interface="MS dumpbin"
Expand Down Expand Up @@ -13834,7 +13847,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 13837 "configure"' > conftest.$ac_ext
echo '#line 13850 "configure"' > conftest.$ac_ext
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
(eval $ac_compile) 2>&5
ac_status=$?
Expand Down Expand Up @@ -15092,11 +15105,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15095: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15108: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:15099: \$? = $ac_status" >&5
echo "$as_me:15112: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
Expand Down Expand Up @@ -15431,11 +15444,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15434: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15447: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:15438: \$? = $ac_status" >&5
echo "$as_me:15451: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
Expand Down Expand Up @@ -15536,11 +15549,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15539: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15552: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:15543: \$? = $ac_status" >&5
echo "$as_me:15556: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
Expand Down Expand Up @@ -15591,11 +15604,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:15594: $lt_compile\"" >&5)
(eval echo "\"\$as_me:15607: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:15598: \$? = $ac_status" >&5
echo "$as_me:15611: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
Expand Down Expand Up @@ -17975,7 +17988,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 17978 "configure"
#line 17991 "configure"
#include "confdefs.h"

#if HAVE_DLFCN_H
Expand Down Expand Up @@ -18071,7 +18084,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 18074 "configure"
#line 18087 "configure"
#include "confdefs.h"

#if HAVE_DLFCN_H
Expand Down
15 changes: 13 additions & 2 deletions drivers.m4
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ AC_ARG_WITH(
[ (try 'all,\!<driver>' if your shell complains...)]
[ possible drivers are:]
[ ASTUSB, BeckmannEgle, BWCT, CrystalFontz, Curses, Cwlinux, D4D,]
[ EA232Graphic, FW8888, G15, GLCD2USB, HD44780, HD44780-I2C, IRLCD,]
[ LCD2USB, LCDLinux, LEDMatrix, LCDTerm, LPH7508, LUIse,]
[ EA232Graphic, EFN, FW8888, G15, GLCD2USB, HD44780, HD44780-I2C,]
[ IRLCD, LCD2USB, LCDLinux, LEDMatrix, LCDTerm, LPH7508, LUIse,]
[ LW_ABP, M50530, MatrixOrbital, MatrixOrbitalGX,]
[ MilfordInstruments, Noritake, NULL, Pertelian, PHAnderson,]
[ PICGraphic, picoLCD, picoLCDGraphic, PNG, PPM, RouterBoard,]
Expand Down Expand Up @@ -68,6 +68,7 @@ for driver in $drivers; do
CWLINUX="yes"
D4D="yes"
EA232graphic="yes"
EFN="yes"
FW8888="yes"
G15="yes"
GLCD2USB="yes"
Expand Down Expand Up @@ -133,6 +134,9 @@ for driver in $drivers; do
EA232graphic)
EA232graphic=$val
;;
EFN)
EFN=$val
;;
FW8888)
FW8888=$val
;;
Expand Down Expand Up @@ -356,6 +360,13 @@ if test "$EA232graphic" = "yes"; then
AC_DEFINE(WITH_EA232graphic,1,[Electronic Assembly RS232 graphic driver])
fi

if test "$EFN" = "yes"; then
TEXT="yes"
DRIVERS="$DRIVERS drv_EFN.o"
AC_DEFINE(WITH_EFN,1,[Driver for EFN LED modules and EUG 100 ethernet to serial converter])
fi


if test "$FW8888" = "yes"; then
TEXT="yes"
SERIAL="yes"
Expand Down
4 changes: 4 additions & 0 deletions drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ extern DRIVER drv_Curses;
extern DRIVER drv_Cwlinux;
extern DRIVER drv_D4D;
extern DRIVER drv_EA232graphic;
extern DRIVER drv_EFN;
extern DRIVER drv_FW8888;
extern DRIVER drv_G15;
extern DRIVER drv_GLCD2USB;
Expand Down Expand Up @@ -127,6 +128,9 @@ DRIVER *Driver[] = {
#ifdef WITH_EA232graphic
&drv_EA232graphic,
#endif
#ifdef WITH_EFN
&drv_EFN,
#endif
#ifdef WITH_FW8888
&drv_FW8888,
#endif
Expand Down
Loading

0 comments on commit 8dd087e

Please sign in to comment.