From nobody Mon Dec 20 10:29:15 2021 X-Original-To: x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C40B918F37A2 for ; Mon, 20 Dec 2021 10:29:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JHbRb42B8z4SF8 for ; Mon, 20 Dec 2021 10:29:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6A92214960 for ; Mon, 20 Dec 2021 10:29:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BKATFmc099061 for ; Mon, 20 Dec 2021 10:29:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BKATFXj099060 for x11@FreeBSD.org; Mon, 20 Dec 2021 10:29:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 260565] x11-drivers/xorg-drivers: expand default selection by EVDEV Date: Mon, 20 Dec 2021 10:29:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bugzilla.freebsd@omnilan.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639996155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7SWshlqw7x0yaOaa2kl+UzKu/ULo8QVLTD17mFwMw6A=; b=QD7v331Bbwx3HAkoIEntE4WrdCoDy5ZEZZdUfTjm0Me64MWjk7sJwf1v/BrZmUPgwg1JVx h6+AXRezOWkMmhfl0mGV2axHC0Ku4lLry73Fddn2iX2fUgHdZpkrtGbxObqjlyCw6KwPY6 I7HK2jPoH2C6CX5u/1T8qlax8dB6YrbwcKtx1Y5dQDX4WfVmyXWwgG0o44NAyLjDPhNt6G XlBYIN9NnDjG1nvm6G28/orL0UrvmpyNlfXvwFjo4qjZkFKvnHLlVdc841LGoiq+/BgMUR 0QY6HD9exWG+VNm5Gtb/kNcjVqPRauuKeeiaP0w1tGfTsZs9vIc2x7bBGzEMUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639996155; a=rsa-sha256; cv=none; b=qlcRgu4r4yW1xmxq4N77j5ZGYMRz3DIt8ycd08mqPGdljqXLRpSqpMvw7we3ZkeROZF5Vr EKJqN9xU2lGLbpPGvIO1XF+62383jH2+QLOFeBB50zDw8ND7RXcZKuBS1Dlj8YM5VpzHkc gUCVhTsRGX06bRMn1yTdCzvs7Df3h3EhGjqfSAmgd65hcML3MJ/q0J2tM/CXtdmvme4i+C PtS0xd+NKUKfWe7EsspJTMXK0RBfsEmAWdDcbwwyudH+l5Qna+wIddgV4einYBOCygr2YW zPLNmSdNCz+3Ge7Kmi6O4J7+8qvPKwokcjTM903IfRn6Ws/YogoNIzOm/TTtDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260565 --- Comment #2 from Harald Schmalzbauer --- (In reply to Michael Gmelin from comment #1) I started with a stable/13 setup on SkyLake (amd64, no extra graphics). Copmpiled my own x11-meta port, which includes x11-drivers/xorg-drivers (wh= ich doesn't select xf86-input-evdev currently). Based on the nature of this hardware, I installed kmod-drm and xf86-video-i= ntel in addition. Since I was aware that evdev[4] is available in all recent FreeBSD kernel versions, I deselected DEVD option for x11-servers/xorg-server, to avoid interfering with evdev[4] - my personal way of understanding things ;-) startx(1) brings up xorg with twm(1) as expected, but without mouse and keyboard supprt: [ 63985.828] (II) config/udev: Adding input device System keyboard multiple= xer (/dev/input/event0) [ 63985.828] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard" [ 63985.828] (II) No input driver specified, ignoring this device. [ 63985.829] (II) This device may have been added with another device file. [ 63985.829] (II) config/udev: Adding input device System mouse (/dev/input/event1) [ 63985.829] (II) No input driver specified, ignoring this device. [ 63985.829] (II) This device may have been added with another device file. [ 63985.829] (II) config/udev: Adding input device Sleep Button (/dev/input/event2) [ 63985.829] (**) Sleep Button: Applying InputClass "Evdev keyboard" [ 63985.829] (II) No input driver specified, ignoring this device. [ 63985.829] (II) This device may have been added with another device file. [ 63985.829] (II) config/udev: Adding input device Power Button (/dev/input/event3) [ 63985.829] (**) Power Button: Applying InputClass "Evdev keyboard" [ 63985.829] (II) No input driver specified, ignoring this device. [ 63985.829] (II) This device may have been added with another device file. [ 63985.829] (II) config/udev: Adding input device AT keyboard (/dev/input/event4) [ 63985.829] (**) AT keyboard: Applying InputClass "Evdev keyboard" [ 63985.829] (II) No input driver specified, ignoring this device. [ 63985.829] (II) This device may have been added with another device file. Not much clue about evdev[4], I started searching for docs - hard trip, but besides some very vague (and most times outdated/wrong) advices to alter kern.evdev.rcpt_mask, I found somebody else reporting a similar issue, which was solved by adding xf86-input-evdev: https://forums.freebsd.org/threads/evdev_support-is-enabled-ignoring-device= s-no-keyboard-trackpad-mouse.77231/ Probably for people not deselecting DEVD option in x11-servers/xorg-server, everything woks out-of-box as intended. But in that case our newly introduced evdev[4] kernel support gets ignored/hidden. On the other hand, xf86-input-evdev depends on multimedia/webcamd. It doesn't bring more dependencies to the show, though. I have no idea why this is a decendency for xf86-input-evdev at all, but I'd vote for accpeting that extra dependency. I don't expect having xf86-input-evdev installed as default option resp. dependency for x11-drivers/xorg-drivers to cause any other troubles for peo= ple not deselecting DEVD option, but people intentionally turning DEVD support = off would come closer to what they expect with that action. Thanks, -harry --=20 You are receiving this mail because: You are the assignee for the bug.=