Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2024 11:55:12 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
Cc:        freebsd-current@freebsd.org, Gary Jennejohn <garyj@gmx.de>, cperciva@freebsd.org
Subject:   Re: usb mouse not work on boot
Message-ID:  <86ttivwikf.fsf@ltc.des.dev>
In-Reply-To: <af05317d-8d64-4a25-b13d-785848c0d326@shurik.kiev.ua> (Oleksandr Kryvulia's message of "Sat, 18 May 2024 11:23:36 %2B0300")
References:  <ae973e80-7f06-432c-ab66-b1a2ab337eaa@shurik.kiev.ua> <20240518092649.6430ad53@ernst.home> <af05317d-8d64-4a25-b13d-785848c0d326@shurik.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Oleksandr Kryvulia <shuriku@shurik.kiev.ua> writes:
> Gary Jennejohn <garyj@gmx.de> writes:
> > Try adding uhid_load=3D"YES" to your /boot/loader.conf.  With that
> > added the module should be automatically loaded during the kernel
> > boot.
> As workaround I already have kld_list+=3D"uhid" in /etc/rc.conf.

I hope you don't mean that literally, because /etc/rc.conf is a shell
script and +=3D is not valid shell syntax.  On the other hand, something
like

kld_list=3D"${kld_list} uhid"

should work, and is preferable to Gary's suggestion since loading
modules pre-boot is significantly slower and should only be done for
modules which are required to boot or mount the root filesystem, such as
zfs.

> But IMHO it some regression.

I agree, and 6437872c1d66 should be reverted until devmatch is capable
of loading uhid.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ttivwikf.fsf>