289e The FreeBSD Forums - View Single Post - [Solved] How to disable mousepad tapping ?
View Single Post
  #17  
Old September 6th, 2010, 16:56
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

I was poking around in the psm source and found something interesting. I was able to disable my touchpad's tap feature.

Add to /boot/loader.conf:
Code:
hw.psm.synaptics_support=1
Reboot and dmesg should show something like:

Code:
$ grep psm /var/run/dmesg.boot 
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Synaptics Touchpad, device ID 0
And you should have plenty of knobs in hw.psm to play with:
Code:
hw.psm.tap_timeout: 125000
hw.psm.tap_threshold: 25
hw.psm.synaptics.directional_scrolls: 1
hw.psm.synaptics.min_pressure: 16
hw.psm.synaptics.max_pressure: 220
hw.psm.synaptics.max_width: 10
hw.psm.synaptics.margin_top: 200
hw.psm.synaptics.margin_right: 200
hw.psm.synaptics.margin_bottom: 200
hw.psm.synaptics.margin_left: 200
hw.psm.synaptics.na_top: 1783
hw.psm.synaptics.na_right: 563
hw.psm.synaptics.na_bottom: 1408
hw.psm.synaptics.na_left: 1600
hw.psm.synaptics.window_min: 4
hw.psm.synaptics.window_max: 10
hw.psm.synaptics.multiplicator: 10000
hw.psm.synaptics.weight_current: 3
hw.psm.synaptics.weight_previous: 6
hw.psm.synaptics.weight_previous_na: 20
hw.psm.synaptics.weight_len_squared: 2000
hw.psm.synaptics.div_min: 9
hw.psm.synaptics.div_max: 17
hw.psm.synaptics.div_max_na: 30
hw.psm.synaptics.div_len: 100
hw.psm.synaptics.tap_max_delta: 80
hw.psm.synaptics.tap_min_queue: 2
hw.psm.synaptics.taphold_timeout: 125000
hw.psm.synaptics.vscroll_hor_area: 0
hw.psm.synaptics.vscroll_ver_area: -600
hw.psm.synaptics.vscroll_min_delta: 50
hw.psm.synaptics.vscroll_div_min: 100
hw.psm.synaptics.vscroll_div_max: 150
Try disable tapping:
# sysctl hw.psm.tap_timeout=0
or
# sysctl hw.psm.synaptics.tap_max_delta=0

The old adage rings true: use the source, luke.
Reply With Quote
The Following User Says Thank You to aragon For This Useful Post:
ohyes (September 6th, 2010)
 
0