From nobody Thu Jul 31 23:16:59 2025 X-Original-To: current@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 4btQ2v5m13z639y4 for ; Thu, 31 Jul 2025 23:17:11 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4btQ2v1T2Dz49Yc; Thu, 31 Jul 2025 23:17:10 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (124-18-43-114.area1c.commufa.jp [124.18.43.114]) (authenticated bits=0) by www121.sakura.ne.jp (8.18.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 56VNGxUP029626; Fri, 1 Aug 2025 08:17:01 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1754003821; bh=403OL0Ayp9zZt2SP8R8iPAwpJNJopYOdRSYK/GJZoRk=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=VLhNjXHMIBf2V8sPAlyAWWb0u005aTJsZ2fiiGVp/QdnqvozdpovvHBzYW04FNvJm P4YLQLY3cakTDe2kDglIa7wsSC19Bta72AwWbF/A0e2T7h7IqtSar6kKEJkyOYZR5p axwQu1wSpO/dIxrExoTI/QNrZCs3fKkDzjNJnydM= Date: Fri, 1 Aug 2025 08:16:59 +0900 From: Tomoaki AOKI To: Ed Maste Cc: Vladimir Kondratyev , current@freebsd.org Subject: Re: CFT: evdev-awared moused Message-Id: <20250801081659.196ba03b2609b0c66bceb0b9@dec.sakura.ne.jp> In-Reply-To: References: Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.3) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4btQ2v1T2Dz49Yc X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP] On Thu, 31 Jul 2025 18:57:43 -0400 Ed Maste wrote: > On Wed, 30 Jul 2025 at 04:34, Vladimir Kondratyev wrote: > > > > Hi all, > > > > With some non-zero probability FreeBSD15 will have usbhid(4) enabled by default. > > See e.g. https://reviews.freebsd.org/D45659. That results in USB mices stop to > > work in virtual terminals as ums(4) replacement called hms(4) is not compatible > > with current moused(8) due to lack of legacy protocols support. > > > > To fix that I reworked our old good moused(8): https://github.com/wulf7/moused > > I've given it a basic smoke test on my laptop and things work fine, > thanks for this. It's nice to have a working trackpad on the console > now. > > > - Other aged protocols like COM, raw PS/2 and X10 are dropped with only > > exception of sysmouse. For those who still use them there is an utility called > > msconvd. > > I'm interested to hear if anyone's still using mice with these interfaces. At least TrackPoints on some of ThinkPads are recognized via PS/2 internally. (For my P52, via Elantech Touchpad interface) In dmesg: atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 15.0. psm0: model Elantech Touchpad, device ID 0 In /var/log/Xorg.0.log: [ 187.172] (II) Using input driver 'libinput' for 'Touchpad' [ 187.172] (**) Touchpad: always reports core events [ 187.172] (**) Option "Device" "/dev/input/event6" [ 187.179] (II) event6 - ETPS/2 Elantech TrackPoint: is tagged by udev as: Mouse [ 187.185] (II) event6 - ETPS/2 Elantech TrackPoint: device is a pointer [ 187.189] (II) event6 - ETPS/2 Elantech TrackPoint: device removed [ 187.189] (II) libinput: Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used. [ 187.189] (II) libinput: Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used. [ 187.189] (II) libinput: Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used. [ 187.189] (II) XINPUT: Adding extended input device "Touchpad" (type: MOUSE, id 6) [ 187.189] (**) Option "AccelerationScheme" "none" [ 187.189] (**) Touchpad: (accel) selected scheme none/0 [ 187.189] (**) Touchpad: (accel) acceleration factor: 2.000 [ 187.189] (**) Touchpad: (accel) acceleration threshold: 4 [ 187.194] (II) event6 - ETPS/2 Elantech TrackPoint: is tagged by udev as: Mouse [ 187.201] (II) event6 - ETPS/2 Elantech TrackPoint: device is a pointer -- Tomoaki AOKI