NetBSD Problem Report #58402
From www@netbsd.org Fri Jul 5 09:29:04 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 98EE21A923A
for <gnats-bugs@gnats.NetBSD.org>; Fri, 5 Jul 2024 09:29:04 +0000 (UTC)
Message-Id: <20240705092833.519DE1A923C@mollari.NetBSD.org>
Date: Fri, 5 Jul 2024 09:28:33 +0000 (UTC)
From: alexander245@wp.pl
Reply-To: alexander245@wp.pl
To: gnats-bugs@NetBSD.org
Subject: Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled - no national characters. The system does not read keyboard and mouse settings from the xorg.conf file.
X-Send-Pr-Version: www-1.0
>Number: 58402
>Category: misc
>Synopsis: Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled - no national characters. The system does not read keyboard and mouse settings from the xorg.conf file.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 05 09:30:00 +0000 2024
>Last-Modified: Fri Jul 05 12:30:01 +0000 2024
>Originator: Alexander
>Release: 10
>Organization:
-
>Environment:
NetBSD 10.0_STABLE NetBSD 10.0_STABLE (GENERIC) #0: Mon Jul 1 19:58:14 UTC 2024 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
This issue concerns NetBSD 10. The system blocks devices using the 'kbd', 'mouse' or 'vmmouse' drivers set in the xorg.conf file.
As a result, messages appear in the /var/log/Xorg.0.log file:
[ 1488.628] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 1488.628] (WW) Disabling Mouse0
[ 1488.628] (WW) Disabling Keyboard0
Therefore, in the xorg.conf file you cannot set, for example XkbLayout to support national characters.
>How-To-Repeat:
Install NetBSD 10 and configure xorg.conf file with kbd or mouse drivers.
>Fix:
Adding to the file xorg.conf:
Section "ServerFlags"
Option "AutoAddDevices" "false"
EndSection
>Audit-Trail:
From: mlelstv@serpens.de (Michael van Elst)
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: misc/58402: Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled - no national characters. The system does not read keyboard and mouse settings from the xorg.conf file.
Date: Fri, 5 Jul 2024 12:29:20 -0000 (UTC)
alexander245@wp.pl writes:
>This issue concerns NetBSD 10. The system blocks devices using the 'kbd', 'mouse' or 'vmmouse' drivers set in the xorg.conf file.
>Therefore, in the xorg.conf file you cannot set, for example XkbLayout to support national characters.
Yes, that's how modern Xorg behaves and the Freedesktop people (Xorg upstream)
don't consider it a bug.
Instead you are supposed to run a desktop environment (aka GNOME) where
you configure such things at run-time.
Disabling Hotplug ("AutoAddDevices"), as you wrote, restores the previous
behaviour.
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.