diff --git a/CREDITS b/CREDITS index 0f4405b..fe28cb8 100644 --- a/CREDITS +++ b/CREDITS @@ -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) diff --git a/ChangeLog b/ChangeLog index bfe1c91..1dfc008 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/acinclude.m4 b/acinclude.m4 index c674dfe..90171f7 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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" diff --git a/docs/LCDd.8.in b/docs/LCDd.8.in index d284c6c..cd6d021 100644 --- a/docs/LCDd.8.in +++ b/docs/LCDd.8.in @@ -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 diff --git a/docs/lcdproc-user/drivers/hd44780.docbook b/docs/lcdproc-user/drivers/hd44780.docbook index e30e10b..1e55f28 100644 --- a/docs/lcdproc-user/drivers/hd44780.docbook +++ b/docs/lcdproc-user/drivers/hd44780.docbook @@ -18,7 +18,7 @@ one for each half of the display. -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 connection type of the driver. @@ -104,6 +104,11 @@ more important. Here are the USB connection types the HD44780 driver supports: Tim Harbaum's LCD2USB () + + uss720: + Display connected to USS-720 USB-to-IEEE 1284 Bridge (Belkin F5U002) + + lis2: LIS2 from VLSystem () @@ -2259,6 +2264,46 @@ KeyDirect_3=Escape + + +USS-720 USB-to-IEEE 1284 Bridge (Belkin F5U002) "uss720" + + +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. + + + +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. + + + +Special configuration options + + +Because several manufacturers used the USS720 chip in their USB Parallel Printer Adapters, the +VendorID and ProductID options are configurable in the +LCDd.conf file. + + + + +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. + + + + + + + + I<superscript>2</superscript>C with Port-Expander @@ -2870,8 +2915,11 @@ This can be done by specifying or by inclu VENDORID - USB vendor ID to look for a FTDI chip with connection type ftdi. - Default: 0x4003. + USB vendor ID to look for in certain USB connection types. + When using an FTDI chip with connection type ftdi, the default value is + 0x4003. + When using a USS720 chip with connection type uss720, the default value is + 0x1293. @@ -2881,8 +2929,11 @@ This can be done by specifying or by inclu PRODUCTID - USB product ID to look for a FTDI chip with connection type ftdi. - Default: 0x6001. + USB product ID to look for in certain USB connection types. + When using an FTDI chip with connection type ftdi, the default value is + 0x6001. + When using a USS720 chip with connection type uss720, the default value is + 0x0002. diff --git a/server/drivers/Makefile.am b/server/drivers/Makefile.am index aba3b4f..8343e43 100644 --- a/server/drivers/Makefile.am +++ b/server/drivers/Makefile.am @@ -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 diff --git a/server/drivers/hd44780-drivers.h b/server/drivers/hd44780-drivers.h index a52f96c..8a19e1f 100644 --- a/server/drivers/hd44780-drivers.h +++ b/server/drivers/hd44780-drivers.h @@ -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 }, diff --git a/server/drivers/hd44780-low.h b/server/drivers/hd44780-low.h index f816755..f1d4fcb 100644 --- a/server/drivers/hd44780-low.h +++ b/server/drivers/hd44780-low.h @@ -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