Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2016 13:35:21 -0400 (EDT)
From:      DTD <doug@safeport.com>
To:        Aleksander Alekseev <afiskon@devzen.ru>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: turning off the touchpad [solved]
Message-ID:  <alpine.BSF.2.00.1609231306010.72744@bucksport.safeport.com>
In-Reply-To: <20160923070444.GA2611@e733>
References:  <alpine.BSF.2.20.1609091250140.34497@fledge.watson.org> <alpine.BSF.2.20.1609230218420.62049@fledge.watson.org> <20160923070444.GA2611@e733>

next in thread | previous in thread | raw e-mail | index | archive | help
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@safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1609231306010.72744>