linux4media l4m132c
usb colour display module

disclaimer / info:

DISCLAIMER:
THIS IS EXPERIMENTAL SOFTWARE AND HARDWARE. USE AT YOUR OWN RISK. THE MAINTAINER(S) OF THESE PAGES AND THE DEVELOPER(S) OF SOFTWARE AND HARDWARE PRESENTED ON THESE PAGES CAN NOT BE HELD LIABLE UNDER ANY CIRCUMSTANCES FOR DAMAGE TO HARDWARE OR SOFTWARE, LOST DATA, OR OTHER DIRECT OR INDIRECT DAMAGE RESULTING FROM THE USE OF THIS SOFTWARE OR HARDWARE. IF YOU DO NOT AGREE TO THESE CONDITIONS, YOU ARE NOT PERMITTED TO USE OR FURTHER DISTRIBUTE THIS SOFTWARE OR TO USE ANY TEMPLATES FOR BUILDING HARDWARE PRESENTED HERE.

linux4media l4m132c usb colour display module:

old hardware page

this page is for serdisplib versions <= 1.97.8.
serdisplib versions >= 1.97.9 contain changes and additions for this display module.

description

l4m132c usb display modules are developed by www.digitaldevices.de.
[l4m132c overview] the package that was sent to me contained the following items:
  • display module (132x65, 64k colours) with USB module
  • RTC (real-time clock) on board
  • IR sensor + RUWIDO keyboard+mouse remote control

the USB module can be extended to support the following features:

  • input and output ports, both analogue or digital
  • pin-head to connect a PSoC programmer for firmware upgrading

the USB module registers with three USB interfaces when connected to a UNIX system:

  • two interfaces receive keyboard and mouse HID-sequences
  • the remaining interface is used for controlling the display (through ioctl-calls or libusb)
both mouse and keyboard functionality, in combination with the RUWIDO remote control, worked just fine out of the box without the need of additional configuration (tested on linux-systems).

 
[l4m132c ruwido + ir sendsor + display module]
L4M132C display module, IR sensor, RUWIDO remote control

specifications
resolution 132x65
colours 64k
controller display: unknown + Cypress CY8C24894 USB microcontroller
adjustable contrast yes
dimensions module size: 69 x 45 mm, display area: 60 x 31 mm (measured)
extra features IR-sensor; USB chip interfaces as USB keyboard and mouse (if an applicable remote-control is used); input and output ports (configurable)
name in serdisplib "L4M132C"       (example: serdisp_init(sdcd, "L4M132C", ""); )

some images

[l4m132c testserdisp] [l4m132 rgb testpattern]
test image generated by testserdisp rgb test-pattern
[l4m132c testpattern w/ coloured numbers] [l4m132c animated testpattern]
coloured test-pattern with numbers test-pattern with animated bar
top ^

connecting an L4M132C USB display module:

intro

the L4M132C is a multifunctional USB device and may be driven either using the HID support provided by the operating system (linux only) or by using libusb.

libusb-support for this module is de-activated because of too many problems with the current implementation (there seem to be severe problems when using libusb together with cypress-chips on linux).
on linux, accessing the module using HID support is the better choice anyways.

ioctl HID (provided by the linux kernel)

nota bene
on some distributions, /dev/usb/hiddev0 is used instead of /dev/hiddev0
'HID:' can be omitted if the devicename starts with /dev/hiddev or /dev/usb/hiddev.
examples
configuration in lcd4linux
 Display SerDispLib {
   Driver 'serdisplib'
   Port 'HID:/dev/hiddev0'
   Model 'L4M132C'
 } 
configuration in graphlcd
 [serdisp]
 Driver=serdisp
 Device=HID:/dev/hiddev0
 Controller=l4m132c
calling test program testserdisp
 testserdisp -n l4m132c -p '/dev/hiddev0'
top ^

passing options through serdisp_init():

intro

using the third parameter of serdisp_init(), driver specific options and custom wiring can be set.
common information about passing options and customisable wiring can be found in a separate document.
    examples:
    
      serdisp_init(sdcd, "L4M132C", "INVERT=YES");
      serdisp_init(sdcd, "L4M132C", "ROTATE=90");
    

options

identifiershortremarkdefault
ROTATEROTrotate display (1 == 180 degrees)0
INVERTINVinvert display0
CONTRAST set display contrast5
POSTOFFMODEPOSTOFFaction after switching off library
  0 .. no action
  1 .. enable date/time display provided by the firmware 1)
0
1) built-in RTC (real-time clock) is synchronised by the library before quitting.
 

ranges, aliases

identifierrangealiases
ROTATE0, 1, 90, 180, 270YES=180, NO=0, TRUE=180, FALSE=0
INVERT0, 1YES=1, NO=0, TRUE=1, FALSE=0
CONTRAST[0, 10] 
POSTOFFMODE[0, 1]CLOCK=1
top ^

links:

datasheets, product infos
digitaldevices.de home page of the creator of the module (german) http://www.digitaldevices.de
top ^

thanks:

special thanks go to
donating a display  *  www.digitaldevices.de
top ^

history:

2010-10-17 added link to updated page for serdisplib v. >= 1.97.9
2008-07-31 first release
top ^

design by wolfgang astleitner, (C) 1998 - 2010