new connection type uss720 to hd44780 driver (Eric Pooch)

This commit is contained in:
marschap
2008-10-08 21:04:24 +00:00
parent e07f90a6bf
commit 7d319d7326
8 changed files with 66 additions and 7 deletions
+1
View File
@@ -209,6 +209,7 @@ John Sanders:
Eric Pooch:
- Mac OS X / Darwin support
- serialPOS driver
- uss720 connection type for hd44780 driver
Benjamin Wiedmann
- Added functionality for HITACHI SP14Q002 gLCD (320x240)
+1
View File
@@ -56,6 +56,7 @@ v.0.5dev (ongoing development)
+ hd44780 driver: new ConnectionType ethlcd (Mariusz Bialonczyk)
+ picolcd driver: support to send IR commands to LIRC (Jack Cleaver)
+ picolcd driver: support for 20x4 picoLCDs (Nicu Pavel)
+ hd44780 driver: new ConnectionType uss720 (Eric Pooch)
v.0.5.2
* fix switching on/off the Load screen in lcdproc client using the menu
+1 -1
View File
@@ -193,7 +193,7 @@ dnl else
HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-4bit.o hd44780-hd44780-ext8bit.o hd44780-lcd_sem.o hd44780-hd44780-winamp.o hd44780-hd44780-serialLpt.o"
fi
if test "$enable_libusb" = yes ; then
HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-bwct-usb.o hd44780-hd44780-lcd2usb.o"
HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-bwct-usb.o hd44780-hd44780-lcd2usb.o hd44780-hd44780-uss720.o"
fi
if test "$enable_libftdi" = yes ; then
HD44780_DRIVERS="$HD44780_DRIVERS hd44780-hd44780-ftdi.o"
+3
View File
@@ -161,6 +161,9 @@ USB-to-HD44780 converter by BWCT (http://www.bwct.de)
.B lcd2usb
Till Harbaum's open source/open hardware LCD2USB (http://www.harbaum.org/till/lcd2usb/)
.TP
.B uss720
USS-720 USB-to-IEEE 1284 Bridge (Belkin F5U002 USB Parallel Printer Adapters)
.TP
.B i2c
LCD in 4-bit mode driven by PCF8574(A) / PCA9554(A), connected via I2C bus
.TP
+56 -5
View File
@@ -18,7 +18,7 @@ one for each half of the display.
</para>
<para>
The HD44780 driver supports various ways of connecting HD44780 devices
The HD44780 driver supports various ways of connecting HD44780 devices
to your system.
Each of these different ways is called a <emphasis>connection type</emphasis>
of the driver.
@@ -104,6 +104,11 @@ more important. Here are the USB connection types the HD44780 driver supports:
Tim Harbaum's LCD2USB (<ulink url="http://www.harbaum.org/till/lcd2usb/"></ulink>)
</listitem>
<listitem>
<link linkend="hd44780-uss720">uss720</link>:
Display connected to USS-720 USB-to-IEEE 1284 Bridge (Belkin F5U002)
</listitem>
<listitem>
<link linkend="hd44780-lis2">lis2</link>:
LIS2 from VLSystem (<ulink url="http://www.vlsys.co.kr"></ulink>)
@@ -2259,6 +2264,46 @@ KeyDirect_3=Escape
</sect3>
<sect3 id="hd44780-uss720">
<title>USS-720 USB-to-IEEE 1284 Bridge (Belkin F5U002) "uss720"</title>
<para>
The USS-720 USB-to-IEEE 1284 Bridge is a fully featured USB to parallel chip that is used
in most (but not all) Belkin F5U002 USB Parallel Printer Adapters. Because these adapters are
inexpensive and readily available on the second-hand market, they provide an excellent solution
for users who want to experiment with a parallel port but only have USB ports on their computers.
</para>
<para>
Because the chip acts as a parallel port, the driver maintains the same features and wiring as
the 8-bit "winamp" driver. However, because most USB Parallel Printer Adapters use a centronics
printer connector, be sure to convert the pin numbering of the parallel port pins in the "winamp"
wiring to the pin numbering of the centronics port. Many tables are available on the internet
that illustrate how the pin numbering differs between the two.
</para>
<sect4 id="hd44780-uss720-config">
<title>Special configuration options</title>
<para>
Because several manufacturers used the USS720 chip in their USB Parallel Printer Adapters, the
<command>VendorID</command> and <command>ProductID</command> options are configurable in the
<filename>LCDd.conf</filename> file.
</para>
<note>
<para>
Not all Belkin F5U002 USB Parallel Printer Adapters used the USS720 chip. Look for the dark grey
adapters with the removable USB cable for best results.
</para>
</note>
</sect4>
</sect3>
<sect3 id="hd44780-i2c">
<title>I<superscript>2</superscript>C with Port-Expander</title>
@@ -2870,8 +2915,11 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
<arg choice="plain"><replaceable>VENDORID</replaceable></arg>
</term>
<listitem><para>
USB vendor ID to look for a FTDI chip with connection type <code>ftdi</code>.
Default: <literal>0x4003</literal>.
USB vendor ID to look for in certain USB connection types.
When using an FTDI chip with connection type <code>ftdi</code>, the default value is
<literal>0x4003</literal>.
When using a USS720 chip with connection type <code>uss720</code>, the default value is
<literal>0x1293</literal>.
</para></listitem>
</varlistentry>
@@ -2881,8 +2929,11 @@ This can be done by specifying <option>--enable-drivers=all</option> or by inclu
<arg choice="plain"><replaceable>PRODUCTID</replaceable></arg>
</term>
<listitem><para>
USB product ID to look for a FTDI chip with connection type <code>ftdi</code>.
Default: <literal>0x6001</literal>.
USB product ID to look for in certain USB connection types.
When using an FTDI chip with connection type <code>ftdi</code>, the default value is
<literal>0x6001</literal>.
When using a USS720 chip with connection type <code>uss720</code>, the default value is
<literal>0x0002</literal>.
</para></listitem>
</varlistentry>
+1 -1
View File
@@ -80,7 +80,7 @@ g15_SOURCES = lcd.h lcd_lib.h g15.h g15-num.c g15.c report.h
glcdlib_SOURCES = lcd.h lcd_lib.h glcdlib.h glcdlib.c report.h
glk_SOURCES = lcd.h glk.c glk.h glkproto.c glkproto.h report.h
hd44780_SOURCES = lcd.h lcd_lib.h hd44780.h hd44780.c hd44780-drivers.h hd44780-low.h hd44780-charmap.h report.h adv_bignum.h
EXTRA_hd44780_SOURCES = hd44780-4bit.c hd44780-4bit.h hd44780-ext8bit.c hd44780-ext8bit.h lcd_sem.c lcd_sem.h hd44780-serialLpt.c hd44780-serialLpt.h hd44780-serial.c hd44780-serial.h hd44780-winamp.c hd44780-winamp.h hd44780-bwct-usb.c hd44780-bwct-usb.h hd44780-lcd2usb.c hd44780-lcd2usb.h hd44780-lis2.c hd44780-lis2.h hd44780-i2c.c hd44780-i2c.h hd44780-ftdi.c hd44780-ftdi.h hd44780-ethlcd.c hd44780-ethlcd.h port.h lpt-port.h timing.h
EXTRA_hd44780_SOURCES = hd44780-4bit.c hd44780-4bit.h hd44780-ext8bit.c hd44780-ext8bit.h lcd_sem.c lcd_sem.h hd44780-serialLpt.c hd44780-serialLpt.h hd44780-serial.c hd44780-serial.h hd44780-winamp.c hd44780-winamp.h hd44780-bwct-usb.c hd44780-bwct-usb.h hd44780-lcd2usb.c hd44780-lcd2usb.h hd44780-lis2.c hd44780-lis2.h hd44780-i2c.c hd44780-i2c.h hd44780-ftdi.c hd44780-ftdi.h hd44780-ethlcd.c hd44780-ethlcd.h hd44780-uss720.c hd44780-uss720.h port.h lpt-port.h timing.h
icp_a106_SOURCES = lcd.h lcd_lib.h icp_a106.c icp_a106.h report.h
imon_SOURCES = lcd.h lcd_lib.h imon.h imon.c report.h
+2
View File
@@ -22,6 +22,7 @@
#ifdef HAVE_LIBUSB
# include "hd44780-bwct-usb.h"
# include "hd44780-lcd2usb.h"
# include "hd44780-uss720.h"
#endif
#ifdef HAVE_LIBFTDI
# include "hd44780-ftdi.h"
@@ -60,6 +61,7 @@ static const ConnectionMapping connectionMapping[] = {
#ifdef HAVE_LIBUSB
{ "bwctusb", HD44780_CT_BWCTUSB, IF_TYPE_USB, hd_init_bwct_usb },
{ "lcd2usb", HD44780_CT_I2C, IF_TYPE_USB, hd_init_lcd2usb },
{ "uss720", HD44780_CT_USS720, IF_TYPE_USB, hd_init_uss720 },
#endif
#ifdef HAVE_LIBFTDI
{ "ftdi", HD44780_CT_FTDI, IF_TYPE_USB, hd_init_ftdi },
+1
View File
@@ -48,6 +48,7 @@
#define HD44780_CT_FTDI 15
#define HD44780_CT_I2C 16
#define HD44780_CT_ETHLCD 17
#define HD44780_CT_USS720 18
// symbolic names for interface types
#define IF_TYPE_UNKNOWN 0