Commit Graph
100 Commits
Author SHA1 Message Date
mmdolze e907d73588 Link LCDd itself with pthread library if available. This should fix lockups
on the lis and xosd drivers.
2011-11-16 21:06:50 +00:00
mmdolze 77bf952dd2 Change icon handling and charmaps:
* The full block icon now has index 0 and the heart has index 7. This makes
  the full block work if vBar custom chars are loaded (which use index 1-7).
* Prevent (hbar, vbar, bignum) modes from overwriting custom chars (except
  full block).
* Prevent the heartbeat from overwriting custom chars in vbar and bignum mode.
* Make the driver point to 0x1A and 0x1B characters for right/left arrow
  characters (those are the codes from HD44780 A02) and make all charmaps
  pointing to the correct characters.
* It is now possible to map the tilde character.
* Update other drivers that use hd44780-charmap.h (IOWarrior and ula200).
* Replace characters using charmaps on input instead of output!
* Remove some unnecessary comments.
2011-11-15 21:40:23 +00:00
mmdolze 438788e157 Remove commented out custom char definitions for which characters from CGROM
are used. Support the selector at left/right icons with newer firmware.
2011-11-15 19:30:39 +00:00
mmdolze fdbfd335ac Fix mapping of the interpunct. 2011-11-15 19:29:18 +00:00
mmdolze 37b931cef6 Fix prototypes. 2011-11-15 19:28:22 +00:00
mmdolze d864da83f0 Include config.h to make debug() work correctly. 2011-11-15 19:27:38 +00:00
mmdolze ea54f33f90 Document the limitations of the frame widget. 2011-11-15 19:26:46 +00:00
mmdolze e969faa34b More fix for Config::Model. 2011-11-09 21:30:39 +00:00
mmdolze 0bdbc5f0cd Cfontz: Fix display of bars and output a warning on startup if driver was
not compiles with SEAMLESS_HBARS (hbars will not display correctly then). Also
update User's Guide.
2011-11-07 20:26:17 +00:00
mmdolze 5b82c82b25 Update the AX_CFLAGS_GCC_OPTION macro to the latest GPL2 version. Increase
minimum required autoconf version to 2.61. While there correct AM_INIT_AUTOMAKE.
2011-11-07 06:55:00 +00:00
mmdolze 641d1f0931 Change some descriptions so Config::Model can parse them more reliable (D. Dumont). 2011-11-07 06:49:07 +00:00
mmdolze eaa3f83515 Fix spelling. 2011-11-05 10:19:37 +00:00
mmdolze 196b79ce39 Replace FT2_* flags on our own. If FreeType is not installed, its AC macro
is not available which does it even if Freetype is disabled.
2011-11-05 07:53:33 +00:00
mmdolze b7c9fae8b7 Forgot to remove the CFontz633.docbook from the Makefile when removing
the file itself.
2011-11-04 19:18:43 +00:00
mmdolze 2e2bb53af8 Add PNG connection type and Freetype 2 font rendering to glcd driver. The PNG
image writer is for debugging only. The Freetype font renderer still misses
some features (e.g. big numbers, character encoding, non-standard cell size).
2011-11-03 22:09:24 +00:00
mmdolze b1e8fa9fb8 Make glcd_icon5x8() not calling back drvthis->chr() as this the call-back
function is not configurable and interferes with the Freetype renderer.
2011-11-03 21:58:17 +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 760ea0a21a Add the specification for pictogram extension as Docbook article. 2011-10-24 20:27:06 +00:00
mmdolze 57c0645621 New driver: vlsys_m428 driver for Moneual MonCaso 320 (W. Hauck). 2011-10-23 12:08:55 +00:00
mmdolze b8646d2db3 Fix Doxygen comments for glcd_drv. 2011-10-23 11:40:08 +00:00
mmdolze 54755c80af Fix the curses_get_info() function which was incorrectly named. 2011-10-23 11:04:24 +00:00
mmdolze 842a3195ef Correct the order of tokens returned in response to 'hello' command. 2011-10-23 11:03:27 +00:00
mmdolze 5be8d42265 Fix bars not correctly being set after output(0x0). 2011-10-23 09:35:07 +00:00
mmdolze 4438d51ab0 Correct spelling in LCDd.conf (patch by D. Dumont and myself). 2011-10-23 08:49:52 +00:00
mmdolze 869559f1fe Fix missed keystrokes (imported patch from Debian). 2011-10-23 08:23:47 +00:00
mmdolze 72dff35234 Correct settings example for hd44780/ftdi in 4bit mode (by L. Colangiuli) 2011-10-06 20:29:29 +00:00
mmdolze 377aa5d9f8 Step 2: Add glcd unified graphic display driver. See glcd_drv.c for details. 2011-09-09 18:45:55 +00:00
mmdolze 9dcabf8ce5 Step 1 to introduce the glcd driver: Refactor T6963 command set and low-level
I/O routines into a separate file.
2011-09-09 18:41:15 +00:00
mmdolze 30822231ad Remove deprecated CFontz633 driver. Use CFontzPacket with Model=633 instead! 2011-08-17 20:48:26 +00:00
mmdolze 648aeaf925 Change port initialization (SF #3212891). 2011-06-26 13:23:56 +00:00
mmdolze 3a2612fc3b Fix a URL. 2011-06-26 13:20:27 +00:00
mmdolze eafd63d2ed Fix spinning of disc icon (by E. Pooch). 2011-06-26 13:19:54 +00:00
mmdolze fa07c1ebc1 Fix deprecation message by migrating to to ftdi_set_bitmode(). Fix style. 2011-04-06 19:04:03 +00:00
mmdolze 55d4668ff9 Fix Doxygen comment. 2011-04-06 19:02:00 +00:00
mmdolze 60658ddee2 Build system: --enable-extra-charmaps option to add language specific charmaps
(currently mappings for input in Russian) and some rarely used controllers.
2011-04-03 19:25:08 +00:00
mmdolze 6712d6fe51 Note the change about size configuration of t6963. 2011-04-03 18:20:51 +00:00
mmdolze 3bb27d1611 New common 5x8 font for t6963, sed1520, mdm166a and i2500vfd. It resembles
the original font of the HD44780 with European character set, but includes
only characters from ISO 8859-1 and has been extended with bar graph and icons.

The t6963 driver now has its size to be configured in pixels! The size in
characters is automatically calculated based on the cell size. This makes
internal calculations more easy.
2011-04-03 18:07:15 +00:00
mmdolze 788ef58b99 check for correct device response; add timeouts for socket (fixes LCDd hang up
e.g. when device disappear) (all by M. Bialonczyk)
2011-03-30 06:35:22 +00:00
mmdolze 5fbc384be5 Imon driver: Add bignum support (Y. Scheglyuk) 2011-03-28 19:09:58 +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 be5c6d014b Correct spelling for messages and comments. Replace occurances of <space(s)>
followed by <tab> with a single <tab>.
2011-03-24 04:20:36 +00:00
mmdolze 5b90f21c2e Spell checking fixes for man pages (by N. Leverton, D. Dumont, any myself). 2011-03-24 03:56:19 +00:00
mmdolze c6f04179fe Add description of charmap support to imon driver doc. Update koi8-r charmap
to not cover symbols (Y. Scheglyuk).
2011-03-23 07:04:04 +00:00
mmdolze edcab9553f Don't use ac_check_headers with the action to add driver to the list if
checking more than one header. It makes the driver appear several times in
the list of drivers to build. The driver will be built but fails to install
then (reported by D. Dumont). Use a nested way to check for headers instead.
2011-03-12 22:36:48 +00:00
mmdolze d06d06cba7 Register some ToDos. 2011-02-27 15:38:57 +00:00
mmdolze 9771e6ba30 Move the key events from CFontzPacket.c into CFontz633io.h replacing the
unused ones there. Note that CFontz633 driver uses its own key event definitions,
too. Don't update this driver as it is scheduled for removal anyway.
2011-02-27 14:56:34 +00:00
mmdolze b96b60b50d Convert custom characters to 8 byte bitmap.
Remove comments from the code that are already part of docbook documentation.
Pass through indent.
Remove unused prototypes.
2011-02-27 14:02:58 +00:00
mmdolze 739fee1ec8 Convert i2500vfd and mdm166a driver to use 8 byte bitmap custom character and
but the character definitions for heartbeat into the font.
2011-02-27 12:46:44 +00:00
mmdolze d4615059ce Convert font of t6963 driver to 8 byte bitmap. 2011-02-27 12:23:47 +00:00
mmdolze 374281e215 Use cellwidth = 5 on CFA-631 and CFA-635, too. This makes hBars not seamless,
but plays more nicely with the full block character used for ICON_BLOCK_FILLED.
Other changes:
- Use a full block with the last line cleared on 631/635.
- Remove unused icon definitions.
- Correct report level on some debug calls.
- Don't clear last line for big numbers.
- Remove the driver history - we have a SCM for this!
2011-02-27 11:42:22 +00:00
mmdolze 471fbc593e Fix select() not being used even if its available. config.h has to be included
before any HAVE_### macros may be used! Cleanup comments and group related
function descriptions.
2011-02-27 11:36:44 +00:00
mmdolze 2d57d0c7f3 Cleanup the hello message expiration code and add more doxygen comments. 2011-02-27 11:33:07 +00:00
mmdolze 7a7d6e9f73 Pass through indent and add more doxygen comments. 2011-02-27 11:31:42 +00:00
mmdolze 2b28c02449 Convert set_char of drivers bayrad, lb216, lcterm, mtc_s16209x, wirz-sli.
lb216: Convert lb216_hbar and vbar to 0.5 API.
lcterm: Replace bignum implementation with the one from bignum library.
2011-02-13 21:19:43 +00:00
mmdolze 4d73e6660c Pyramid driver:
- Convert set_char to 8 byte bitmap.
- Reset ccmode on clear. Add a custom character cache to avoid unnecessary
  updates of custom characters because of the reset.
- Add support for bignum.
- Remove the FB_modified flag, it did never work. Instead add a backing store
  buffer to compare against. Remove the 40ms block of updates, this was a
  no-op as well. However, pause 40ms after sending a complete screen update.
  The display I have requires this to recognize the following cursor updates.
- Do not treat frame buffer as string. Always use memcpy, memcmp, and memset.
- Remove the changelog. This should be read from SCM.
- Remove contact info as T. Riewe has left Pyramid.
- Pass through indent, preserving 4 space indention.
2011-02-13 17:50:29 +00:00
mmdolze dfd486c55b Add charmap for NEC uPD16314 (ROM code 002). Add a small charmap search
function and update hd44780 to use it. Make charmap selectable in imon driver.
2011-02-10 23:07:04 +00:00
mmdolze eaf74128c6 Re-worked sed1520 driver:
- Add 68-familiy style interface support and make it configurable.
- Make delay configurable.
- Correct swapped display halves.
- Resurrect vBar / hBar functions.
- Fix icon definitions and modify set_char for common data format.
2011-02-10 23:03:04 +00:00
mmdolze 03e679a496 Note that TODO list is deprecated. Use Doxygen generated todo list and
IdeaTorrent instead.
2011-02-10 22:58:42 +00:00
mmdolze b36789fe10 Add note that alternate 'play icons' use two characters. 2011-02-10 22:57:47 +00:00
mmdolze baae2e1958 Unsigned variables should be used for right-shifting bitmasks if the have
their MSB bit set.
2011-02-10 22:55:45 +00:00
mmdolze 2b925d21d6 Update pyramid:
- Cache status of LEDs and only send on update, reduces communication
- Add prototypes for all and Doxygen comments to internal functions
- remove unused read_ACK()
2011-02-10 22:53:15 +00:00
mmdolze 565a861d91 Port remaining drivers to 0.5 API (icon, hbar, vbar). 2011-02-10 22:48:57 +00:00
mmdolze 361fcb2a51 Sync functions in driver .c and prototypes in .h files. 2011-02-10 22:45:35 +00:00
mmdolze 59a9c82617 Make the iface screen more readable on 2x16 displays by using ^v shortcuts
for Up and Down. Note: Using arrow-up and arrow-down icons would be even
better, but that requires a complete rewrite of that function.
2011-02-10 22:41:36 +00:00
mmdolze 27c473fdc5 imonlcd: Fix possible lockup in output (by E. Pooch). Pyramid: Fix buffer
overflow in set_leds, correct escaping and icons.
2011-02-10 22:06:09 +00:00
mmdolze d2d466cf8a Fix parameter types on Linux. 2011-01-25 19:25:53 +00:00
mmdolze 004c5d7869 Better check for screen bounds. 2011-01-24 19:46:32 +00:00
mmdolze 95512f591d Add note about necessary review of render_string (don't have the time right now). 2011-01-24 19:46:06 +00:00
mmdolze 224eca976a Fix a single dot appearing on line 5 of the D screen. The screen moves
strings err1 and err2 off-screen to (30,5). In LCDd, render_string
moved the string to (width,5). On displays with less than 5 line the dot
was not drawn, but on those with 5 or more lines. Moving the start of string
to (0,0) makes render_string ignoring it completely.
2011-01-24 19:45:28 +00:00
mmdolze b0a8da6079 Document missing or new settings for picoLCD driver. 2011-01-23 14:07:41 +00:00
mmdolze a99c51aa29 Add note about changes to picoLCD driver. 2011-01-23 13:32:34 +00:00
mmdolze dbc2eb7cfc Clean-up includes and move all defaults to header file.
Fix heartbeat and bignum by mapping character 0 to 8.
Fix backlight and contrast handling (by M. T. Jones).
Add more icons (by M. T. Jones).
Add OffBrightness for 20x4 (idea by S. Crane).
Add range checking for config settings.
2011-01-23 13:28:16 +00:00
mmdolze de7a132fbb Rewrote the t6963 driver:
- Limit the maximum size to 40x16 (240x128 pixel) and change the RAM locations
to make use of 8 KB only. (If one's display is larger and has more memory this
may have to be changed.)
- Drive control lines using defines from lpt-port.h without using a function.
- Use timing.h for delays (which are now optional).
- Remove any use of the graphic area and mode settings, except for optionally
clearing of graphic memory on start-up.
- Remove any cursor related stuff.
- Handle displays correctly which width (in pixels) is not a multiple of the
cellwidth (e.g. 128x64).
- Remove double buffering (display updates are already really fast).
- Update text and font memory using AUTO WRITE function.
- Remove the bignum stub. Now at least something is displayed.
- Fix character offset for bar graphs.
- Make local functions static and inline the most commonly used read / write
functions.
2011-01-21 06:59:37 +00:00
mmdolze c64646b4de Move line address in extended mode to other hardware constants (although
is it configurable).
2011-01-19 21:44:36 +00:00
mmdolze ebf9565f17 Do not configure scheduler twice. Try to read from 0x3BD (3rd LPT port) if
DELAY_IOCALLS is configured. DELAY_IOCALLS is never selected automatically
but has to be configured by the user anyway. Did not use writes to 0x80 as
readings make me think this tries to delay by 1ms where we want 1us.
2011-01-19 21:33:18 +00:00
mmdolze f021cc8327 Add an option to start LCDd with screen rotation disabled. 2011-01-19 19:08:37 +00:00
mmdolze 561744a3cc Check for xmlto using configure and use that when creating the user and
developer guides. Add some convenience targets to help creating documentation
releases.
2011-01-19 19:04:54 +00:00
mmdolze fc545022f8 Spell check Docbook guides. Hint: Installing a spell checker in you IDE is
a good idea!
2011-01-17 23:16:03 +00:00
mmdolze e30ebae6a5 Send bigfont.h to attic. It is not used anywhere. 2011-01-15 20:33:57 +00:00
mmdolze e6f5d78506 Correct some typos. Add IDs to headings. Add some hints about commenting. 2011-01-15 20:22:00 +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 d0def6df67 Declare prototypes. This allows them to be documented with doxygen. 2011-01-15 19:33:35 +00:00
mmdolze 8ddd9aad5b Add some notes about typical buffering mechanisms. 2011-01-15 19:32:58 +00:00
mmdolze 8bdfdaaaa1 - Convert function comments to Doxygen.
- Remove instructions that have been transfered to the User's Guide.
- Remove the unused line drawing function.
- Pass through indent.
- Add more comments to the initialization code.
- In the user guide remove table with wiring scheme by LCD pin but add a new
  one for bitshaker wiring.
2011-01-15 19:32:01 +00:00
mmdolze 4a111252e1 Write down the steps during rendering. 2011-01-10 21:30:54 +00:00
mmdolze 6e0b7bca91 Implement missing optional functions (except heartbeat). Add a note to
each functions if it's required. Intention is to make this driver a template
for new drivers.
2011-01-10 21:30:10 +00:00
mmdolze 86fd724744 Implement our own check for xosd. It's not more bad than xsod's macro but
works if xosd it not installed.
2011-01-10 06:47:44 +00:00
mmdolze 7ba38b2af8 Add notes about known bugs in lis and xosd driver and timing.h. 2011-01-09 23:26:42 +00:00
mmdolze a3441d977e Fix heartbeat icon messing up with vBar. 2011-01-09 23:11:38 +00:00
mmdolze 03e5169ac8 New screen update algorithm. This algorithm will be faster on connection
types using the transmit buffer. Others should see little difference.
2011-01-06 16:07:30 +00:00
mmdolze e36cafd6c9 Convert comments according to style guide. Pass through indent but preserve
the 4 spaces indent.
2011-01-06 15:20:52 +00:00
mmdolze 96525e30b7 Refactor ubiquitous CGmode enum into lcd.h and convert remaining drivers
to use it.
2011-01-06 10:59:19 +00:00
mmdolze 46c45a87e5 Remove users from the SF team which are no longer members of the project and
remove duplicate entry for Bjoern.
2011-01-06 08:45:34 +00:00
mmdolze 50ff73d7c1 Fix handling of custom characters. ccmode was not reset on screen clear().
Remove unused ccmode from serialPOS.
2011-01-05 19:54:54 +00:00
mmdolze c4326258e6 Change configure to use autoconf macros installed by xosd to check for
its presence.
2011-01-05 14:53:38 +00:00
mmdolze d86e2a369c Fix backlight and contrast handling (M. T. Jones). 2011-01-04 21:37:02 +00:00
mmdolze 4f5f3fa331 Fix previous commit 2011-01-04 16:31:12 +00:00
mmdolze 680891761e Analyze and document the t6963 driver:
* Add Doxygen comments (also for internal functions, shortened for API).
* Document initialization.
* Remove some unused variables and defines.
* Pass through indent.
* Remove references to LCD pins from documentation and add some warning.
2011-01-03 10:51:50 +00:00
mmdolze a0e30b34b5 sed1330 driver: Add support for HG25504 (L. Lagendijk) 2011-01-03 10:46:07 +00:00
mmdolze e7c4240e58 Update version numbers after 0.5.4 branched 2011-01-03 10:21:49 +00:00