terasic_mtl4freebsd
Driver for the terasic/cambridge multi-touch lcd device
Usage
device terasic_mtl
In /boot/device.hints: hint.terasic_mtl.0.at="nexus0" hint.terasic_mtl.0.reg_maddr=0x70400000 hint.terasic_mtl.0.reg_msize=0x1000 hint.terasic_mtl.0.pixel_maddr=0x70000000 hint.terasic_mtl.0.pixel_msize=0x177000 hint.terasic_mtl.0.text_maddr=0x70177000 hint.terasic_mtl.0.text_msize=0x2000
Overview
The terasic_mtl device driver provides support for the Terasic Multi-Touch LCD combined as controlled by a University of Cambridge's IP Core. Three device nodes are instantiated, representing various services supported by the device:
- terasic_regX
-
Memory-mapped register interface, including touch screen input.
- terasic_pixelX
-
Memory-mapped pixel-oriented frame buffer.
- terasic_textX
-
Memory-mapped text-oriented frame buffer.
terasic_mtl devices are also attached to the syscons(4) framework, which implements a VT-compatible terminal connected to the tty(4) framework. ttyvX device nodes may be added to ttys(5) in order to launch login(1) sessions at boot.
Register, text, and pixel devices may be accessed using read(2) and write(2) system calls, and also memory mapped using mmap(2).
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.