Commit Graph
203 Commits
Author SHA1 Message Date
mmdolze 869559f1fe Fix missed keystrokes (imported patch from Debian). 2011-10-23 08:23:47 +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 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 eafd63d2ed Fix spinning of disc icon (by E. Pooch). 2011-06-26 13:19:54 +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 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 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 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 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 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 a99c51aa29 Add note about changes to picoLCD driver. 2011-01-23 13:32:34 +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 f021cc8327 Add an option to start LCDd with screen rotation disabled. 2011-01-19 19:08:37 +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 96525e30b7 Refactor ubiquitous CGmode enum into lcd.h and convert remaining drivers
to use it.
2011-01-06 10:59:19 +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 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
mmdolze dacb2beb73 Add MDM166A driver for Futaba/Targa USB VFD (Christoph Rasim). 2010-11-26 21:43:57 +00:00
mmdolze 24846beac5 SureElec: Fix stall on startup. 2010-11-25 07:11:41 +00:00
mmdolze 85c5e8c45a hd44780: Added 'usbtiny' connection type (by Siarhei Herasimchuk). 2010-11-22 20:01:10 +00:00
mmdolze 932cc63d94 Use module output function to control key LEDs (Martin Jones) 2010-11-16 21:24:46 +00:00
mmdolze 6efd439901 CFontzPacket: Report cell size according to display type (used to calculate
hBar width). Use block charcter (31d) on displays which have it instead of
the custom icon. On seamless displays do not fill the last line to avoid the
character banging together.
2010-05-11 21:11:09 +00:00
mmdolze 90107086ea Remove native win32 support. We have no report that LCDproc can be natively
compiled and used with recent Windows systems (Windows Vista/7). Except for
serial drivers (and those using USB->serial adapters) drivers are not expected
to work with those systems.
2010-04-10 18:07:18 +00:00
mmdolze 9ead06df4e CFontzPacket updates:
- Add a structure describing known models, their features and default settings.
- Use partial screen updates for newer CFA633 versions.
- For CFA533/633 use the same character mapping as for HD44780.
- Fixed a few typos.
- Use C-style comments only.
- Add a warning about the driver being deprecated to CFontz633. Users should
  use CFontzPacket with Model=633 instead.
2010-02-13 16:43:15 +00:00
mmdolze 948035d860 shuttleVFD: Add support for devices with USB VID 0x1308 again. This was lost
when support for newer devices was added.
2010-02-04 22:02:37 +00:00
mmdolze 88aabdccc1 HD44780: Add a charmap which makes input in KOI8-R appear correctly on
displays using hd44780 controller with european charset.
2010-01-28 19:25:17 +00:00
mmdolze c9623a72da Add a flush method to the hardware depended functions. It is called whenever
a sequence of characters or commands have to be terminated (common_init,
position, flush).  Modify the lcd2usb subdriver to implement a small command
buffer and implement flush().
2010-01-23 17:48:00 +00:00
mmdolze 287b933e79 Introduce a ring buffer implementation for server's network input. As a
result, clients are not disconnected due to sending large messages.
2010-01-19 22:49:51 +00:00
mmdolze 59f3cbdb45 * Automatically exclude the pin for switchable backlight from keypad scanning
in the 4bit and 8bit wiring. This fixes problems with flickering backlight if
  a slow parallel port is used. IMPORTANT: This may require a hardware change!
* In code comments use the same line names as in the user's guide (Y1/X1
  instead of Y0/X0).
* Add documentation about hd44780-ftdi's 4bit mode.
2010-01-18 22:24:59 +00:00
mmdolze 97a2b20b0d Map 'n with tilde' characters to 'n with bar'. 2010-01-06 18:22:31 +00:00