From nobody Tue Nov 08 09:12:57 2022 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N62Sc0XQ7z4h84f for ; Tue, 8 Nov 2022 09:13:04 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N62Sb2PZhz45mc for ; Tue, 8 Nov 2022 09:13:03 +0000 (UTC) (envelope-from ml@netfence.it) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=netfence.it header.s=202210 header.b=GPwAmXs9; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it; dmarc=pass (policy=none) header.from=netfence.it Received: from [10.1.2.18] (mailserver.netfence.it [78.134.96.152]) (authenticated bits=0) by soth.netfence.it (8.17.1/8.17.1) with ESMTPSA id 2A89CvBW047632 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Tue, 8 Nov 2022 10:12:57 +0100 (CET) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=202210; t=1667898781; bh=jTYQ8vDYQoD28Pv8Hk4J6LVG1oPwDmCKFcO/Q0DkGfg=; h=Date:To:From:Subject; b=GPwAmXs9cvZ52gj76dDTsSztCZrNyE6DBE1l0JKXbocGd2e8lxkr+RCnpsvNdzn+s U3wPTL6qKA2yCoMpd+cSmIVWgFX1GzcU3FjOCK3CeKrFIpl2V8KINTp/sDeS4gcm66 ndi5WvPOOeOhSYauVH0p3hCGNdznLEsQkrS98TFk= X-Authentication-Warning: soth.netfence.it: Host mailserver.netfence.it [78.134.96.152] claimed to be [10.1.2.18] Message-ID: <76d6c9ae-0619-1c1e-292a-c20ef31be8c4@netfence.it> Date: Tue, 8 Nov 2022 10:12:57 +0100 List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 To: x11@FreeBSD.org Content-Language: en-US From: Andrea Venturoli Subject: Touchpad Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; R_DKIM_ALLOW(-0.20)[netfence.it:s=202210]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[x11@FreeBSD.org]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; DKIM_TRACE(0.00)[netfence.it:+]; RCPT_COUNT_ONE(0.00)[1]; HAS_XAW(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[x11@freebsd.org]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4N62Sb2PZhz45mc X-ThisMailContainsUnwantedMimeParts: N Hello. I'm almost there with my new laptop: one of the last missing thing is touchpad properly working. ATM it doesn't work in terminal (but I can live with that), and it partially works in X: movement is ok, two finger vertical scrolling works, tapping works, but no right button or double clicking. Actually I'm finding contrasting info on how to try and configure this; also it's hard to tell if info is fresh or stale. I tried: _ hw.psm.synaptics_support="1" + moused_enable="YES" + xorg config, as suggested on https://wiki.freebsd.org/SynapticsTouchpad; _ no such changes, but using xf86-input-synaptics; _ none of the two, just xf86-input-evdev + xf86-input-libinput. All three seems to give same results. So before I start digging in more deeply: which is the way to go? > #dmesg > ... > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0. > psm0: model Generic PS/2 mouse, device ID 0 > ... > hmt0: on hidbus0 > hconf0: on hidbus0 > hmt0: Multitouch touchpad with 2 external buttons > hmt0: 5 contacts with [C] properties. Report range [0:0] - [1429:809] > ... > hms0: on hidbus0 > hms0: 2 buttons and [XYWH] coordinates ID=2 > devinfo -v > nexus0 > ... > acpi0 > pcib0 pnpinfo _HID=PNP0A08 _UID=0 _CID=PNP0A03 at handle=\_SB_.PCI0 > pci0 > ... > ig4iic1 pnpinfo vendor=0x8086 device=0x31ba subvendor=0x8086 subdevice=0x31ba class=0x118000 at slot=23 function=3 dbsf=pci0:0:23:3 handle=\_SB_.PCI0.I2C7 > iicbus1 > iichid0 pnpinfo _HID=STAR0001 _UID=1 _CID=PNP0C50 at addr=0x2c handle=\_SB_.PCI0.I2C7.H02C > hidbus0 > hms0 pnpinfo page=0x0001 usage=0x0002 bus=0x18 vendor=0x093a product=0x0255 version=0xb002 _HID=STAR0001 at index=0 > hmt0 pnpinfo page=0x000d usage=0x0005 bus=0x18 vendor=0x093a product=0x0255 version=0xb002 _HID=STAR0001 at index=1 > hconf0 pnpinfo page=0x000d usage=0x000e bus=0x18 vendor=0x093a product=0x0255 version=0xb002 _HID=STAR0001 at index=2 > unknown pnpinfo page=0xff00 usage=0x0001 bus=0x18 vendor=0x093a product=0x0255 version=0xb002 _HID=STAR0001 at index=3 > ... > psm0 > psmcpnp0 pnpinfo _HID=PNP0F13 _UID=0 _CID=PNP0F13 at handle=\_SB_.PCI0.PS2M > > libinput list-devices > Device: System mouse > Kernel: /dev/input/event0 > Group: 1 > Seat: seat0, default > Capabilities: pointer > Tap-to-click: n/a > Tap-and-drag: n/a > Tap drag lock: n/a > Left-handed: disabled > Nat.scrolling: disabled > Middle emulation: disabled > Calibration: n/a > Scroll methods: button > Click methods: none > Disable-w-typing: n/a > Accel profiles: flat *adaptive > Rotation: n/a > ... > Device: STAR0001:01 093A:0255 TouchPad > Kernel: /dev/input/event6 > Group: 7 > Seat: seat0, default > Size: 110x62mm > Capabilities: pointer gesture > Tap-to-click: disabled > Tap-and-drag: enabled > Tap drag lock: disabled > Left-handed: disabled > Nat.scrolling: disabled > Middle emulation: n/a > Calibration: n/a > Scroll methods: *two-finger edge > Click methods: none > Disable-w-typing: enabled > Accel profiles: flat *adaptive > Rotation: n/a > > Device: STAR0001:01 093A:0255 Mouse > Kernel: /dev/input/event7 > Group: 8 > Seat: seat0, default > Capabilities: pointer > Tap-to-click: n/a > Tap-and-drag: n/a > Tap drag lock: n/a > Left-handed: disabled > Nat.scrolling: disabled > Middle emulation: n/a > Calibration: n/a > Scroll methods: button > Click methods: none > Disable-w-typing: n/a > Accel profiles: flat *adaptive > Rotation: n/a > cat /var/log/Xorg.0.log > ... > [ 32.278] (II) config/udev: Adding input device System mouse (/dev/input/event0) > [ 32.278] (**) System mouse: Applying InputClass "evdev pointer catchall" > [ 32.278] (**) System mouse: Applying InputClass "libinput pointer catchall" > [ 32.278] (II) LoadModule: "libinput" > [ 32.278] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so > [ 32.282] (II) Module libinput: vendor="X.Org Foundation" > [ 32.282] compiled for 1.21.1.4, module version = 1.2.0 > [ 32.282] Module class: X.Org XInput Driver > [ 32.283] ABI class: X.Org XInput driver, version 24.4 > [ 32.283] (II) Using input driver 'libinput' for 'System mouse' > [ 32.283] (**) System mouse: always reports core events > [ 32.283] (**) Option "Device" "/dev/input/event0" > [ 32.283] (**) Option "_source" "server/udev" > [ 32.295] (II) event0 - System mouse: is tagged by udev as: Mouse > [ 32.296] (II) event0 - System mouse: device is a pointer > [ 32.297] (II) event0 - System mouse: device removed > [ 32.297] (**) Option "config_info" "udev:/dev/input/event0" > [ 32.297] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 6) > [ 32.297] (**) Option "AccelerationScheme" "none" > [ 32.297] (**) System mouse: (accel) selected scheme none/0 > [ 32.297] (**) System mouse: (accel) acceleration factor: 2.000 > [ 32.297] (**) System mouse: (accel) acceleration threshold: 4 > [ 32.299] (II) event0 - System mouse: is tagged by udev as: Mouse > [ 32.300] (II) event0 - System mouse: device is a pointer > ... > [ 32.387] (II) config/udev: Adding input device Generic PS/2 mouse (/dev/input/event4) > [ 32.387] (**) Generic PS/2 mouse: Applying InputClass "evdev pointer catchall" > [ 32.387] (**) Generic PS/2 mouse: Applying InputClass "libinput pointer catchall" > [ 32.387] (II) Using input driver 'libinput' for 'Generic PS/2 mouse' > [ 32.387] (**) Generic PS/2 mouse: always reports core events > [ 32.387] (**) Option "Device" "/dev/input/event4" > [ 32.387] (**) Option "_source" "server/udev" > [ 32.388] (II) event4 - Generic PS/2 mouse: is tagged by udev as: Mouse > [ 32.389] (II) event4 - Generic PS/2 mouse: device is a pointer > [ 32.390] (II) event4 - Generic PS/2 mouse: device removed > [ 32.390] (**) Option "config_info" "udev:/dev/input/event4" > [ 32.390] (II) XINPUT: Adding extended input device "Generic PS/2 mouse" (type: MOUSE, id 10) > [ 32.390] (**) Option "AccelerationScheme" "none" > [ 32.390] (**) Generic PS/2 mouse: (accel) selected scheme none/0 > [ 32.391] (**) Generic PS/2 mouse: (accel) acceleration factor: 2.000 > [ 32.391] (**) Generic PS/2 mouse: (accel) acceleration threshold: 4 > [ 32.392] (II) event4 - Generic PS/2 mouse: is tagged by udev as: Mouse > [ 32.393] (II) event4 - Generic PS/2 mouse: device is a pointer > [ 32.394] (II) config/udev: Adding input device Control Method Lid Switch (/dev/input/event5) > [ 32.394] (II) No input driver specified, ignoring this device. > [ 32.394] (II) This device may have been added with another device file. > [ 32.394] (II) config/udev: Adding input device STAR0001:01 093A:0255 TouchPad (/dev/input/event6) > [ 32.394] (**) STAR0001:01 093A:0255 TouchPad: Applying InputClass "evdev pointer catchall" > [ 32.394] (**) STAR0001:01 093A:0255 TouchPad: Applying InputClass "evdev touchpad catchall" > [ 32.394] (**) STAR0001:01 093A:0255 TouchPad: Applying InputClass "libinput pointer catchall" > [ 32.394] (**) STAR0001:01 093A:0255 TouchPad: Applying InputClass "libinput touchpad catchall" > [ 32.394] (II) Using input driver 'libinput' for 'STAR0001:01 093A:0255 TouchPad' > [ 32.394] (**) STAR0001:01 093A:0255 TouchPad: always reports core events > [ 32.394] (**) Option "Device" "/dev/input/event6" > [ 32.394] (**) Option "_source" "server/udev" > [ 32.396] (II) event6 - STAR0001:01 093A:0255 TouchPad: is tagged by udev as: Mouse Touchpad > [ 32.402] (II) event6 - STAR0001:01 093A:0255 TouchPad: device is a touchpad > [ 32.403] (II) event6 - STAR0001:01 093A:0255 TouchPad: device removed > [ 32.405] (**) Option "config_info" "udev:/dev/input/event6" > [ 32.405] (II) XINPUT: Adding extended input device "STAR0001:01 093A:0255 TouchPad" (type: TOUCHPAD, id 11) > [ 32.408] (**) Option "AccelerationScheme" "none" > [ 32.408] (**) STAR0001:01 093A:0255 TouchPad: (accel) selected scheme none/0 > [ 32.408] (**) STAR0001:01 093A:0255 TouchPad: (accel) acceleration factor: 2.000 > [ 32.408] (**) STAR0001:01 093A:0255 TouchPad: (accel) acceleration threshold: 4 > [ 32.409] (II) event6 - STAR0001:01 093A:0255 TouchPad: is tagged by udev as: Mouse Touchpad > [ 32.415] (II) event6 - STAR0001:01 093A:0255 TouchPad: device is a touchpad > [ 32.417] (II) config/udev: Adding input device STAR0001:01 093A:0255 Mouse (/dev/input/event7) > [ 32.417] (**) STAR0001:01 093A:0255 Mouse: Applying InputClass "evdev pointer catchall" > [ 32.417] (**) STAR0001:01 093A:0255 Mouse: Applying InputClass "libinput pointer catchall" > [ 32.417] (II) Using input driver 'libinput' for 'STAR0001:01 093A:0255 Mouse' > [ 32.417] (**) STAR0001:01 093A:0255 Mouse: always reports core events > [ 32.417] (**) Option "Device" "/dev/input/event7" > [ 32.417] (**) Option "_source" "server/udev" > [ 32.418] (II) event7 - STAR0001:01 093A:0255 Mouse: is tagged by udev as: Mouse > [ 32.419] (II) event7 - STAR0001:01 093A:0255 Mouse: device is a pointer > [ 32.421] (II) event7 - STAR0001:01 093A:0255 Mouse: device removed > [ 32.421] (**) Option "config_info" "udev:/dev/input/event7" > [ 32.421] (II) XINPUT: Adding extended input device "STAR0001:01 093A:0255 Mouse" (type: MOUSE, id 12) > [ 32.421] (**) Option "AccelerationScheme" "none" > [ 32.421] (**) STAR0001:01 093A:0255 Mouse: (accel) selected scheme none/0 > [ 32.421] (**) STAR0001:01 093A:0255 Mouse: (accel) acceleration factor: 2.000 > [ 32.421] (**) STAR0001:01 093A:0255 Mouse: (accel) acceleration threshold: 4 > [ 32.422] (II) event7 - STAR0001:01 093A:0255 Mouse: is tagged by udev as: Mouse > [ 32.423] (II) event7 - STAR0001:01 093A:0255 Mouse: device is a pointer > [ 66.908] (II) event0 - System mouse: device removed > ... > [ 66.908] (II) event4 - Generic PS/2 mouse: device removed > [ 66.908] (II) event6 - STAR0001:01 093A:0255 TouchPad: device removed > [ 66.909] (II) event7 - STAR0001:01 093A:0255 Mouse: device removed bye & Thanks av.