From owner-freebsd-x11@freebsd.org Thu Sep 22 19:28:08 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E50C6BE595F for ; Thu, 22 Sep 2016 19:28:08 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3EFFC37 for ; Thu, 22 Sep 2016 19:28:08 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id u8MJS6pZ041504; Thu, 22 Sep 2016 15:28:06 -0400 (EDT) (envelope-from doug@safeport.com) Date: Thu, 22 Sep 2016 15:28:06 -0400 (EDT) From: DTD To: Kevin Oberman cc: "freebsd-x11@freebsd.org" Subject: Re: How to disable touchpad in FreeBSD 10.3 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Thu, 22 Sep 2016 15:28:06 -0400 (EDT) Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2016 19:28:09 -0000 On Thu, 22 Sep 2016, Kevin Oberman wrote: > On Thu, Sep 22, 2016 at 11:18 AM, doug wrote: > In FreeBSD 10.1 the touchpad on my laptop could be disabled by: > >    moused_enable="YES" >    moused_port="/dev/ums0" > > resulting in starting moused with: > >    /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid > > With Xorg 7.7_2 and FreeBSD 10.1 this worked. E.g., /dev/psm0 was not > available to Xorg. With FreeBSD 10.3 and Xorg 7.7_2 as you can see > from the marked lines [**] in 10.3 this starts /dev/psm0 also. > > I would like to disable psm0 without compiling a custom kernal. > Options would seem to be a custom driver or input section in > /usr/local/etc/X11/xorg.conf.d but the man files show no options to > do this. sysctl for dev.psm.0 does not have any options I can see > would do this available values: > >    hw.psm.tap_timeout: 125000 >    hw.psm.tap_threshold: 25 >    hw.psm.tap_enabled: 0 >    dev.psm.0.%parent: atkbdc0 >    dev.psm.0.%pnpinfo: >    dev.psm.0.%location: >    dev.psm.0.%driver: psm >    dev.psm.0.%desc: PS/2 Mouse >    dev.psm.%parent: >    dev.psmcpnp.0.%parent: acpi0 >    dev.psmcpnp.0.%pnpinfo: _HID=SYN1E4B _UID=0 >    dev.psmcpnp.0.%location: handle=\_SB_.PCI0.LPC0.PS2M >    dev.psmcpnp.0.%driver: psmcpnp >    dev.psmcpnp.0.%desc: PS/2 mouse port >    dev.psmcpnp.%parent: > > man xinput has an operand that would seem to do it: > >    xinput --disable device >      device can be the device name as a string or the XID of the > device. > > What do I use for the device. On my system xinput shows: > >     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 think I want id=8  [slave  pointer  (2)], but how to specify that? > > Xorg.0.log > -------------------------------------------- >    [517.130] (II) LoadModule: "mouse" >    [517.131] (II) Loading > /usr/local/lib/xorg/modules/input/mouse_drv.so >    [517.132] (II) Module mouse: vendor="X.Org Foundation" >    [517.132]    compiled for 1.17.4, module version = 1.9.1 >    [517.132]    Module class: X.Org XInput Driver >    [517.132]    ABI class: X.Org XInput driver, version 21.0 >    [517.132] (II) Using input driver 'mouse' for 'sysmouse' >    [517.132] (**) sysmouse: always reports core events >    [517.132] (**) Option "Device" "/dev/sysmouse" >    [517.132] (==) sysmouse: Protocol: "Auto" >    [517.133] (**) sysmouse: always reports core events >    [517.133] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50 >    [517.133] (**) sysmouse: ZAxisMapping: buttons 4 and 5 >    [517.133] (**) sysmouse: Buttons: 5 >    [517.133] (**) Option "config_info" "devd:sysmouse" >    [517.133] (II) XINPUT: Adding extended input device "sysmouse" > (type: MOUSE, id 7) >    [517.134] (**) sysmouse: (accel) keeping acceleration scheme 1 >    [517.134] (**) sysmouse: (accel) acceleration profile 0 >    [517.134] (**) sysmouse: (accel) acceleration factor: 2.000 >    [517.134] (**) sysmouse: (accel) acceleration threshold: 4 >    [517.134] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0 >    [517.134] (II) sysmouse: SetupAuto: protocol is SysMouse >    [517.134] (II) config/devd: device /dev/ums0 already opened >    [517.197] (II) config/devd: adding input device Mouse (/dev/psm0) >    [517.197] (II) Using input driver 'mouse' for 'Mouse' >    [517.197] (**) Mouse: always reports core events > ** [517.197] (**) Option "Device" "/dev/psm0" >    [517.198] (==) Mouse: Protocol: "Auto" >    [517.198] (**) Mouse: always reports core events >    [517.258] (==) Mouse: Emulate3Buttons, Emulate3Timeout: 50 >    [517.258] (**) Mouse: ZAxisMapping: buttons 4 and 5 >    [517.258] (**) Mouse: Buttons: 5 > ** [517.258] (**) Option "config_info" "devd:psm0" >    [517.258] (II) XINPUT: Adding extended input device "Mouse" (type: > MOUSE, id 8) >    [517.259] (**) Mouse: (accel) keeping acceleration scheme 1 >    [517.259] (**) Mouse: (accel) acceleration profile 0 >    [517.259] (**) Mouse: (accel) acceleration factor: 2.000 >    [517.259] (**) Mouse: (accel) acceleration threshold: 4 >    [517.279] (II) Mouse: SetupAuto: hw.iftype is 3, hw.model is 0 > ** [517.279] (II) Mouse: SetupAuto: protocol is PS/2 >    [517.722] (II) Mouse: ps2EnableDataReporting: succeeded > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to > "freebsd-x11-unsubscribe@freebsd.org" > > > Assuming that it's using the Synaptics driver, "sysctl > hw.psm.synaptics.touchpad_off=1" > > You might also check out /etc/devd.conf as it now handles most device discovery > for X. > -- Keith I did not see the devd.conf. I can not see a way to do it using that but in googling to find your suggestion I found: xinput set-prop 8 "Device Enabled" 0 Well not exactly but it showed the proper syntax and this works. Thank without pointing me to something I did not know I would have never found it. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-x11@freebsd.org Thu Sep 22 19:37:15 2016 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BF4BBE5F96 for ; Thu, 22 Sep 2016 19:37:15 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3A95C128A for ; Thu, 22 Sep 2016 19:37:14 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id u8MJGpfD041158; Thu, 22 Sep 2016 15:16:51 -0400 (EDT) (envelope-from doug@safeport.com) Date: Thu, 22 Sep 2016 15:16:51 -0400 (EDT) From: DTD To: Kevin Oberman cc: "freebsd-x11@freebsd.org" Subject: Re: How to disable touchpad in FreeBSD 10.3 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Thu, 22 Sep 2016 15:16:51 -0400 (EDT) Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2016 19:37:15 -0000 On Thu, 22 Sep 2016, Kevin Oberman wrote: > On Thu, Sep 22, 2016 at 11:18 AM, doug wrote: > In FreeBSD 10.1 the touchpad on my laptop could be disabled by: > >    moused_enable="YES" >    moused_port="/dev/ums0" > > resulting in starting moused with: > >    /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid > > With Xorg 7.7_2 and FreeBSD 10.1 this worked. E.g., /dev/psm0 was not > available to Xorg. With FreeBSD 10.3 and Xorg 7.7_2 as you can see > from the marked lines [**] in 10.3 this starts /dev/psm0 also. > > I would like to disable psm0 without compiling a custom kernal. > Options would seem to be a custom driver or input section in > /usr/local/etc/X11/xorg.conf.d but the man files show no options to > do this. sysctl for dev.psm.0 does not have any options I can see > would do this available values: > >    hw.psm.tap_timeout: 125000 >    hw.psm.tap_threshold: 25 >    hw.psm.tap_enabled: 0 >    dev.psm.0.%parent: atkbdc0 >    dev.psm.0.%pnpinfo: >    dev.psm.0.%location: >    dev.psm.0.%driver: psm >    dev.psm.0.%desc: PS/2 Mouse >    dev.psm.%parent: >    dev.psmcpnp.0.%parent: acpi0 >    dev.psmcpnp.0.%pnpinfo: _HID=SYN1E4B _UID=0 >    dev.psmcpnp.0.%location: handle=\_SB_.PCI0.LPC0.PS2M >    dev.psmcpnp.0.%driver: psmcpnp >    dev.psmcpnp.0.%desc: PS/2 mouse port >    dev.psmcpnp.%parent: > > man xinput has an operand that would seem to do it: > >    xinput --disable device >      device can be the device name as a string or the XID of the > device. > > What do I use for the device. On my system xinput shows: > >     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 think I want id=8  [slave  pointer  (2)], but how to specify that? > > Xorg.0.log > -------------------------------------------- >    [517.130] (II) LoadModule: "mouse" >    [517.131] (II) Loading > /usr/local/lib/xorg/modules/input/mouse_drv.so >    [517.132] (II) Module mouse: vendor="X.Org Foundation" >    [517.132]    compiled for 1.17.4, module version = 1.9.1 >    [517.132]    Module class: X.Org XInput Driver >    [517.132]    ABI class: X.Org XInput driver, version 21.0 >    [517.132] (II) Using input driver 'mouse' for 'sysmouse' >    [517.132] (**) sysmouse: always reports core events >    [517.132] (**) Option "Device" "/dev/sysmouse" >    [517.132] (==) sysmouse: Protocol: "Auto" >    [517.133] (**) sysmouse: always reports core events >    [517.133] (==) sysmouse: Emulate3Buttons, Emulate3Timeout: 50 >    [517.133] (**) sysmouse: ZAxisMapping: buttons 4 and 5 >    [517.133] (**) sysmouse: Buttons: 5 >    [517.133] (**) Option "config_info" "devd:sysmouse" >    [517.133] (II) XINPUT: Adding extended input device "sysmouse" > (type: MOUSE, id 7) >    [517.134] (**) sysmouse: (accel) keeping acceleration scheme 1 >    [517.134] (**) sysmouse: (accel) acceleration profile 0 >    [517.134] (**) sysmouse: (accel) acceleration factor: 2.000 >    [517.134] (**) sysmouse: (accel) acceleration threshold: 4 >    [517.134] (II) sysmouse: SetupAuto: hw.iftype is 4, hw.model is 0 >    [517.134] (II) sysmouse: SetupAuto: protocol is SysMouse >    [517.134] (II) config/devd: device /dev/ums0 already opened >    [517.197] (II) config/devd: adding input device Mouse (/dev/psm0) >    [517.197] (II) Using input driver 'mouse' for 'Mouse' >    [517.197] (**) Mouse: always reports core events > ** [517.197] (**) Option "Device" "/dev/psm0" >    [517.198] (==) Mouse: Protocol: "Auto" >    [517.198] (**) Mouse: always reports core events >    [517.258] (==) Mouse: Emulate3Buttons, Emulate3Timeout: 50 >    [517.258] (**) Mouse: ZAxisMapping: buttons 4 and 5 >    [517.258] (**) Mouse: Buttons: 5 > ** [517.258] (**) Option "config_info" "devd:psm0" >    [517.258] (II) XINPUT: Adding extended input device "Mouse" (type: > MOUSE, id 8) >    [517.259] (**) Mouse: (accel) keeping acceleration scheme 1 >    [517.259] (**) Mouse: (accel) acceleration profile 0 >    [517.259] (**) Mouse: (accel) acceleration factor: 2.000 >    [517.259] (**) Mouse: (accel) acceleration threshold: 4 >    [517.279] (II) Mouse: SetupAuto: hw.iftype is 3, hw.model is 0 > ** [517.279] (II) Mouse: SetupAuto: protocol is PS/2 >    [517.722] (II) Mouse: ps2EnableDataReporting: succeeded > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to > "freebsd-x11-unsubscribe@freebsd.org" > > > Assuming that it's using the Synaptics driver, "sysctl > hw.psm.synaptics.touchpad_off=1" > > You might also check out /etc/devd.conf as it now handles most device discovery > for X. No luck there, I guess I should have said the list sysctl values are the only ones available. Thank you for the thought. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277