Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2025 01:05:30 +0300
From:      Vladimir Kondratyev <wulf@FreeBSD.org>
To:        Oleg Nauman <oleg.nauman@gmail.com>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: aef807876c30 - main - moused(8): Add support for evdev protocol
Message-ID:  <8b371756-9962-4b7a-9a9e-e8a11cee7c2b@FreeBSD.org>
In-Reply-To: <CAC5YPTsPusON_ETbDNr4Yeh=1jW5OxeQt5WnD8nBi0Wq50nSgw@mail.gmail.com>
References:  <202509042108.584L86Ro060944@gitrepo.freebsd.org> <CAC5YPTtgzSiQrUmAXBxper8apw=fnnLbmh-wFtRunvFO06BxOA@mail.gmail.com> <6ce0043d-2e1c-458f-9c8b-75605ee931b3@FreeBSD.org> <CAC5YPTsPusON_ETbDNr4Yeh=1jW5OxeQt5WnD8nBi0Wq50nSgw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/7/25 10:12, Oleg Nauman wrote:
> On Sun, Sep 7, 2025 at 9:55 AM Vladimir Kondratyev <wulf@freebsd.org> wrote:
>>
>> On 9/7/25 09:41, Oleg Nauman wrote:
>>> On Fri, Sep 5, 2025 at 12:08 AM Vladimir Kondratyev <wulf@freebsd.org> wrote:
>>>>
>>>> The branch main has been updated by wulf:
>>>>
>>>> URL: https://cgit.FreeBSD.org/src/commit/?id=aef807876c305587c60f73e2cd914115d22a53fd
>>>>
>>>> commit aef807876c305587c60f73e2cd914115d22a53fd
>>>> Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
>>>> AuthorDate: 2025-09-04 21:07:25 +0000
>>>> Commit:     Vladimir Kondratyev <wulf@FreeBSD.org>
>>>> CommitDate: 2025-09-04 21:07:25 +0000
>>>>
>>>>       moused(8): Add support for evdev protocol
>>>>
>>>>       The new daemon have following properties as compared with previous
>>>>       incarnation:
>>>>       - evdev protocol support for mices and touchpads. Additionally to
>>>>         relative PS/2 and USB devices it enables console support for I2C/USB
>>>>         touchpads and bluetooth mices.
>>>>       - 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(8).
>>>>       - single daemon per system where hotplug is processed via devd socket.
>>>>         Per device mode still supported too.
>>>>       - Configuration and quirks files in libinput-compatible format.
>>>>         Actually, the new moused config parser is taken from libinput.
>>>>
>>>>       The moused(8) can work in 2 modes:
>>>>       1. Evdev support mode. It enables all previously mentioned devices.
>>>>          It is enabled by deault.
>>>
>>>    I think it is require hms driver corresponding entries to be added to
>>> /etc/devd/moused.conf otherwise it breaks existing installations and
>>> require
>>> moused_enable="YES" to be set as workaround of this issue
>>
>>
>> hms is loaded with devmatch entry in devd.conf rather than with moused one.
>> moused entries are legacy and disabled by default with
>> moused_nondefault_enable="NO" in /etc/defaults/rc.conf
>> And moused_enable="YES" is not a workaround. It is how things supposed to be.
> 
>   Well, sorry I was not clear so I think it is some misunderstanding
> devmatch supposed to load mouse support driver ( hms or ums ) while
> devd entry supposed to unattended load moused if device supported by
> ums driver was  attached, so moused_enable="YES" was not required


See https://reviews.freebsd.org/D52430

Thanks for explanations on issues in buggy moused script


-- 
WBR
Vladimir Kondratyev



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8b371756-9962-4b7a-9a9e-e8a11cee7c2b>