Commit Graph
27 Commits
Author SHA1 Message Date
mmdolze a8d9504a3c Fix several problems with data escape handling in hd44780-serial:
1. A bogus address calculation was done (spotted by G. Smith).
2. The displayID was added to the data escape character even if the connection
type does not support multiple displays (spotted by G. Smith).
3. When calculation if data escape is necessary, the character 0xff could not
be escaped. Changed an updates all connection types (M. Dolze).
2014-02-10 06:48:44 +00:00
mmdolze 9e4c082fd0 We used a deprecated style of GNU GCC's designated initializers. Change them
to correct C99 style to fix warnings when building with clang.
Fix some typos in hd44780-serial while being there.
2012-04-25 06:34:36 +00:00
mmdolze dc49e0a96e hd44780/serial: Add support for adjustable backlight. Solve some possible
problems that may arise by comparing signed and unsigned char values.
2012-03-11 07:32:38 +00:00
mmdolze 0fdc92e156 hd44780/serial: Fix handling of keys for LoS-Panel (by M. Kirchner) and change
backlight handling:

Previously if keypad=yes was configured in LCDd.conf a value for the
backlight was sent, regardless of the configuration in hd44780-serial.c.

Now it decides upon the backlight flag from that file (enabling it in
LCDd.conf is still required). If the backlight flag indicates the device
supports backlight, the backlight_on / backlight_off values are sent (even
if they are 0x00)!
2011-11-02 20:04:36 +00:00
mmdolze c9c3272eba Header fixes:
* Do not include system headers in shared files (stdlib.h).
* Don't include lcd.h only once in each driver.
* Remove some unnecessary headers from driver (e.g. syslog.h)
* Include <poll.h> instead of <sys/poll.h>
* Spelling fixes.
2011-03-28 18:17:58 +00:00
mmdolze f8df8dcf5c Convert some comments. Add more doxygen to hd44780-serial. Don't use a
typedef if not really necessary.
2011-01-15 19:36:16 +00:00
mmdolze 6fba5cef68 hd44780: Add keystring array boundary check. Have all subdrivers close
previously opened devices.
2010-01-10 17:07:48 +00:00
mmdolze 194e2a941e Fix supported for old compilers and make non-standard (termios.h) baud
rates optional (spotted by Tim Larson).
2009-05-30 11:44:46 +00:00
marschap b54a4e3706 Doxygen-ize 2008-12-21 14:58:51 +00:00
marschap 11cc2c1697 add paths to Doxygen file headers 2008-11-30 22:34:31 +00:00
marschap e6c4b71ff0 harmonize backingstroe name with other drivers; don't force connection type
drivers to define nop-like functions for features they don't support
2007-11-04 13:25:54 +00:00
marschap 743643052c hd44780-serial: adapt detection of ConnectionType to new infrastructure 2007-10-14 10:47:50 +00:00
marschap 6a6b44778c doxygenate a little more 2007-10-04 16:30:19 +00:00
marschap 884d6ae2c6 add braces to silence a warning; make explicit we return chars 2007-10-04 14:02:28 +00:00
marschap 63dec68eeb make bitrate mapping of B230400 depend on its defined'ness 2007-04-27 14:28:41 +00:00
marschap 0f0af0f381 - coding style harmonization
- check onsistency between Size & vSpan
2007-04-04 13:52:38 +00:00
marschap bbfe65da9f new ConnectionType pertelian in hd44780 driver (Matteo Pillon) 2007-03-18 15:28:32 +00:00
marschap f07c8ba7b5 fixes for the serial hd44780 subdrivers (Matteo Pillon) 2007-02-02 16:46:07 +00:00
marschap cc5115fe7f more flexible handling of Backlight/brightness 2007-01-29 20:49:42 +00:00
marschap 4e9ae831e9 fixes by Matteo Pillon 2007-01-29 20:37:50 +00:00
marschap c72f724cde use correct config_get_*() function 2007-01-19 15:21:34 +00:00
marschap d1f9493e22 add support vor vdr-wakeup 2007-01-19 12:00:16 +00:00
marschap cc2c84a7b8 declare constant function parameters const (as well as constant function return values) 2006-09-12 16:23:24 +00:00
marschap e234c49db9 cfmakeraw() on FreeBSD doesn't set CLOCAL (Matteo Pillon) 2006-09-09 13:31:49 +00:00
marschap 8e63d5ef4f OpenBSD and FreeBSD 4 do not seem to know about all termios speeds (M. Dolze) 2006-09-09 13:28:01 +00:00
marschap 4d85f1b412 make fast speeds conditional 2006-09-02 18:54:54 +00:00
marschap 4f5aa4e451 add the new files for the g15 driver and the unified serial hd44780 sub-driver 2006-08-13 15:55:47 +00:00