Skip to content
Browse files

psm: add support for evdev protocol

Both relative and absolute multitouch modes are supported.
To enable psm(4) evdev support one should:
1. Add `device evdev` and `options EVDEV_SUPPORT` to kernel config file
2. Add hw.psm.elantech_support=1 or hw.psm.synaptics_support=1 to
   /boot/loader.conf for activation of absolute mode on touchpads
3. Add kern.evdev.rcpt_mask=12 to /etc/sysctl.conf to enable psm event
   sourcing and disable sysmouse

Reviewed by:	gonzo
Approved by:	gonzo (mentor)
MFC after:	2 weeks
Differential Revision:
Tested by:	wulf, Jan Kokemueller (Lenovo devs)
  • Loading branch information
wulf7 committed May 29, 2017
1 parent a2592e4 commit bc8448b7c73bbbcaf15b375eb9648e963bcc8334
Showing with 582 additions and 24 deletions.
  1. +582 −24 sys/dev/atkbdc/psm.c

0 comments on commit bc8448b

Please sign in to comment.
You can’t perform that action at this time.