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.
- this page deals with connecting a linux4media l4m132c usb colour display module to an usb port and drive it using
serdisplib
- i'm not responsible for the content of external web pages
- external web pages will generally open in separate browser windows or tabs
- english is not my native language. please keep that in mind (corrections of english grammar and formulations are very welcome!)
- email: mrwastl at users.sourceforge.net
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.
serdisplib versions >= 1.97.9 contain changes and additions for this display module.
description
l4m132c usb display modules are developed by www.digitaldevices.de.
the package that was sent to me contained the following items:
the USB module can be extended to support the following features:
the USB module registers with three USB interfaces when connected to a UNIX system:
|
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
test image generated by testserdisp |
rgb test-pattern |
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)
- the display-part of the USB module is assigned to the HID support of the operating system and can be controlled using ioctl-calls
- the device name that is assigned to the display interface is
/dev/hiddev
X or/dev/usb/hiddev
X. - using udev or hotplug, permissions can be assigned to the device to give access to non-root users
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 lcd4linuxDisplay SerDispLib { Driver 'serdisplib' Port 'HID:/dev/hiddev0' Model 'L4M132C' }configuration in graphlcd[serdisp] Driver=serdisp Device=HID:/dev/hiddev0 Controller=l4m132ccalling test program testserdisptestserdisp -n l4m132c -p '/dev/hiddev0'
top ^
passing options through serdisp_init():
intro
using the third parameter of
common information about passing options and customisable wiring can be found in a separate document.
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
identifier | short | remark | default |
---|---|---|---|
ROTATE | ROT | rotate display (1 == 180 degrees) | 0 |
INVERT | INV | invert display | 0 |
CONTRAST | set display contrast | 5 | |
POSTOFFMODE | POSTOFF | action after switching off library 0 .. no action 1 .. enable date/time display provided by the firmware 1) | 0 |
ranges, aliases
identifier | range | aliases |
---|---|---|
ROTATE | 0, 1, 90, 180, 270 | YES=180, NO=0, TRUE=180, FALSE=0 |
INVERT | 0, 1 | YES=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 ^
history:
2010-10-17 | added link to updated page for serdisplib v. >= 1.97.9 |
2008-07-31 | first release |
top ^