| CYAPA(4) | Device Drivers Manual | CYAPA(4) |
cyapa — Cypress
APA trackpad with I2C interface driver
To compile this driver into the kernel, place the following lines into the kernel configuration file:
device cyapa
device ig4
device iicbusAlternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
cyapa_load="YES" ig4_load="YES"
On many Chromebook models this driver can be automatically configured with the help of the chromebook_platform(4) driver. Alternatively, the
cyapa |
driver can be manually configured in
/boot/device.hints:
hint.cyapa.0.at="iicbus0"
hint.cyapa.0.addr="0xCE"
hint.cyapa.1.at="iicbus1"
hint.cyapa.1.addr="0xCE" |
The cyapa driver provides support for the
Cypress APA trackpad. It emulates the IntelliMouse PS/2 protocol. It
supports basic mouse ioctls, so that moused(8) is
supported properly.
2/3 1/3
+--------------------+------------+
| | Middle |
| | Button |
| Left | |
| Button +------------+
| | Right |
| | Button |
+--------------------+............|
| Thumb/Button Area | 15%
+---------------------------------+
On a system using device.hints(5), these values
are configurable for cyapa:
These sysctl(8) variables are available:
cyapa creates
/dev/cyapa0, which presents the mouse as an
IntelliMouse PS/2 device. It supports
moused(8) levels 0 through 2, level 1 is used by
default.
To use cyapa with
moused(8), add the following lines to the
rc.conf(5) file:
moused_enable="YES"moused_port="/dev/cyapa0"If vertical scrolling is not desired, add
moused_flags="-l0"to rc.conf(5).
Enable tap to click for the left and the right mouse button and disable the thumb area by adding these lines to the sysctl.conf(5) file:
debug.cyapa_thumbarea_percent=0debug.cyapa_enable_tapclick=2chromebook_platform(4), ig4(4), iicbus(4), sysmouse(4), moused(8)
The original cyapa driver was written for
DragonFly BSD by Matthew Dillon.
It has been ported, modified, and enhanced for FreeBSD by Michael Gmelin <freebsd@grem.de>.
This manual page was written by Michael Gmelin <freebsd@grem.de>.
The cyapa driver detects the device from
the I2C address. This might have unforeseen consequences if the
initialization sequence is sent to an unknown device at that address.
| December 18, 2018 | Debian |