https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288968

--- Comment #11 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

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

commit 1685192ea1faac28f2d4feede53e70b6a380500f
Author:     ShengYi Hung <aokbl...@freebsd.org>
AuthorDate: 2025-08-21 17:59:15 +0000
Commit:     ShengYi Hung <aokbl...@freebsd.org>
CommitDate: 2025-08-23 04:50:09 +0000

    hkbd: remove erorr detection in KDSKBSTATE ioctl

    The KDSKBSTATE ioctl brings the LED up. However, some keyboards (like qemu
    keyboard) may not have LED or failed to set the LED due to unexpected
reason.
    Therefore, removing the error check as ukbd(4) does allow the keyboard
works
    correctly with kbdcontrol(4).

    Also move hw.hid.hkbd.no_leds sysctl out of HID_BUG thus users can
    disable setting LEDs

    PR:             288968
    Reviewed by:    wulf
    Tested by:      trash...@ellael.org, marklmi26-f...@yahoo.com,
trkell...@gmail.coom
    Approved by:    lwsu (mentor), markj (mentor)
    MFC after       1 week
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D52101

    mvalsmva

 sys/dev/hid/hkbd.c | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to