Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 2026 18:05:12 +0000
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b5fe1bc5c6e4 - main - rc.d/bthidd: Correct load_kld invocations
Message-ID:  <6a6ce3d8.3e473.7c81203b@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=b5fe1bc5c6e4b483aacadddd8bdf37aa12c89982

commit b5fe1bc5c6e4b483aacadddd8bdf37aa12c89982
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2026-07-31 18:05:03 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2026-07-31 18:05:03 +0000

    rc.d/bthidd: Correct load_kld invocations
    
    Pass a single module name to load_kld for kbdmux and vkbd, allowing
    bthidd_prestart to load both modules successfully.
    
    Fixes:          cfe1962a1925 (rc: Fix improper use of load_kld)
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 libexec/rc/rc.d/bthidd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libexec/rc/rc.d/bthidd b/libexec/rc/rc.d/bthidd
index 275106a53d1e..6767391e1191 100755
--- a/libexec/rc/rc.d/bthidd
+++ b/libexec/rc/rc.d/bthidd
@@ -35,8 +35,8 @@ bthidd_prestart()
 	if evdev_enabled; then
 		load_kld -m uinput uinput
 	fi
-	load_kld kbdmux kbdmux
-	load_kld vkbd vkbd
+	load_kld kbdmux
+	load_kld vkbd
 	load_kld ng_btsocket
 	return 0
 }


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a6ce3d8.3e473.7c81203b>