Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2024 10:40:15 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Oleksandr Kryvulia <shuriku@shurik.kiev.ua>
Cc:        freebsd-current@freebsd.org, garyj@gmx.de
Subject:   Re: usb mouse not work on boot
Message-ID:  <CAFDf7UJ8QFzaw2eg721qRW19mU7Vr4mcck_NtcS6ipuL36UY_Q@mail.gmail.com>
In-Reply-To: <af05317d-8d64-4a25-b13d-785848c0d326@shurik.kiev.ua>
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
--00000000000007e58c0618b7424e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello,

To fix my setup with usb mouse and audio dac on both amd64 (laptop) and
rpi4:

/boot/loader.conf.local:
snd_uaudio_load=3D"YES"
ums_load=3D"YES"

This restores previous behaviour as it detects mouse before login prompt
and audio dac that it is processed correctly by sysctl.

Cheers,

Oleksandr Kryvulia <shuriku@shurik.kiev.ua> escreveu (s=C3=A1bado, 18/05/20=
24
=C3=A0(s) 09:24):

> 18.05.24 10:26, Gary Jennejohn:
> > On Sat, 18 May 2024 09:20:24 +0300
> > Oleksandr Kryvulia <shuriku@shurik.kiev.ua> wrote:
> >
> >> After 6437872c1d665c2605f54e8ff040b0ba41edad07 my usb mouse no longer
> >> works on boot because uhid(4) is not autoloaded. To make it work I nee=
d
> >> manualy load uhid or replug my usb mouse.
> >>
> > Try adding uhid_load=3D"YES" to your /boot/loader.conf.  With that adde=
d
> > the module should be automatically loaded during the kernel boot.
>
> As workaround I already have kld_list+=3D"uhid" in /etc/rc.conf. But IMHO
> it some regression.
>
>
>

--=20
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org

--00000000000007e58c0618b7424e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello,</div><div><br></div><div>To fix my setup with =
usb mouse and audio dac on both amd64 (laptop) and rpi4:</div><div><br></di=
v><div>/boot/loader.conf.local:</div><div>snd_uaudio_load=3D&quot;YES&quot;=
<br>ums_load=3D&quot;YES&quot;</div><div><br></div><div>This restores previ=
ous behaviour as it detects mouse before login prompt and audio dac that it=
 is processed correctly by sysctl.</div><div><br></div><div>Cheers,<br></di=
v></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr=
">Oleksandr Kryvulia &lt;<a href=3D"mailto:shuriku@shurik.kiev.ua">shuriku@=
shurik.kiev.ua</a>&gt; escreveu (s=C3=A1bado, 18/05/2024 =C3=A0(s) 09:24):<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex">18.05.24 10:26, =
Gary Jennejohn:<br>
&gt; On Sat, 18 May 2024 09:20:24 +0300<br>
&gt; Oleksandr Kryvulia &lt;<a href=3D"mailto:shuriku@shurik.kiev.ua" targe=
t=3D"_blank">shuriku@shurik.kiev.ua</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; After 6437872c1d665c2605f54e8ff040b0ba41edad07 my usb mouse no lon=
ger<br>
&gt;&gt; works on boot because uhid(4) is not autoloaded. To make it work I=
 need<br>
&gt;&gt; manualy load uhid or replug my usb mouse.<br>
&gt;&gt;<br>
&gt; Try adding uhid_load=3D&quot;YES&quot; to your /boot/loader.conf.=C2=
=A0 With that added<br>
&gt; the module should be automatically loaded during the kernel boot.<br>
<br>
As workaround I already have kld_list+=3D&quot;uhid&quot; in /etc/rc.conf. =
But IMHO <br>
it some regression.<br>
<br>
<br>
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l=
tr"><div><font color=3D"#888888">Nuno Teixeira</font></div><div><div><font =
color=3D"#888888">
FreeBSD UNIX:=C2=A0 &lt;eduardo@FreeBSD.org&gt;=C2=A0 =C2=A0Web:=C2=A0 <a h=
ref=3D"https://FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">https://Fr=
eeBSD.org</a><br></font></div></div></div></div>

--00000000000007e58c0618b7424e--



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