[Bug 284522] lib/libdevinfo: On some hardware Xorg (via libudev) fails to detect keyboard and mouse

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 02 Feb 2025 08:35:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284522

            Bug ID: 284522
           Summary: lib/libdevinfo: On some hardware Xorg (via libudev)
                    fails to detect keyboard and mouse
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: madpilot@FreeBSD.org
                CC: jhb@FreeBSD.org

Hi

I've recently updated head and am having a strange issue with Xorg not
detecting mouse and keyboard if they are connected at boot time. It does detect
them correctly if I disconnect and reconnect their USB plugs once the system is
booted (with lightDM running).

I tracked this down to commit [1], "libdevinfo: Avoid false positives for the
root0 sentinel value"

Also this is happening on my desktop PC, my laptop is working fine with the
integrated keyboard, touchpad and also an USB mouse, so I suspect this depends
on system BIOS mapping of devices in some way.

CCing jhb since he is the author of the commit and could have some useful
insight.

At present I can cope with this by doing the connect/reconnect gymnastics after
each boot, but it's not optimal and I think the issue (if not strictly local to
my system, should be fixed soon.

If some further information on the hardware involved is needed please ask!

Thanks in advance!



[1]
https://cgit.FreeBSD.org/src/commit/?id=7554746c43c50d99d15bb63ff43c90e561a9792e

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