turning off the touchpad [solved]

DTD doug at safeport.com
Fri Sep 23 17:35:32 UTC 2016


On Fri, 23 Sep 2016, Aleksander Alekseev wrote:

>> This turns out to be easy. I got pointed to the answer from the freebsd-x11
>> list. Use 'xinput list' to get the id of the psm device and then
>>
>>     xinput set-prop 8 "Device Enabled" 0
>>
>> will disable it. I suppose that means adding an InputDevice section to
>> /usr/local/etc/X11/xorg.conf.d/ should also work. I could not figure out the
>> options from the man page however.
>
> Note that this can turn off not only touchpad but all mouse devices in
> your system. I personally turn off touchpad this way:
>
> ```
> sysctl hw.psm.synaptics.touchpad_off=1
> ```
> This will not work unless you have:
>
> ```
> hw.psm.synaptics_support="1"
> ```
>
> ... in your /boot/loader.conf
>
> -- 
> Best regards,
> Aleksander Alekseev

Thanks I will try that. But typing

   hermes:/home/doug# sysctl hw.psm.synaptics_support="1"
   sysctl: unknown oid 'hw.psm.synaptics_support'

I assumed I would get the same result from loader.conf. I can try loading the 
synaptics driver, but in the meantime what I did works

Note xinput list gets:

  Virtual core pointer                id=2    [master pointer  (3)]
     Virtual core XTEST pointer       id=4    [slave  pointer  (2)]
     sysmouse                         id=7    [slave  pointer  (2)]
     Mouse                            id=8    [slave  pointer  (2)]
  Virtual core keyboard               id=3    [master keyboard (2)]
      Virtual core XTEST keyboard     id=5    [slave  keyboard (3)]
      kbdmux                          id=6    [slave  keyboard (3)]

I have moused_port="/dev/ums0" in rc.conf. In any case id=7 is my usb mouse 
(working fine) and I can type because id=8 (the touchpad) is off. Also fine :) 
Between the physical dimensions of my laptop and the way I hold my hands, 
typing was impossible.


_____
Douglas Denault
http://www.safeport.com
doug at safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277


More information about the freebsd-questions mailing list