From owner-freebsd-questions@freebsd.org Sun Mar 1 05:29:08 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 672E4272FA4 for ; Sun, 1 Mar 2020 05:29:08 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48VWzQ4Lc0z4CW2 for ; Sun, 1 Mar 2020 05:29:06 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.16.254]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MvKTJ-1jPfcK3Q5x-00rKNf; Sun, 01 Mar 2020 06:28:54 +0100 Date: Sun, 1 Mar 2020 06:28:53 +0100 From: Polytropon To: "Vlad D. Markov" Cc: "Vlad D. Markov via freebsd-questions" , Schmitt Subject: Re: No mouse or keyboard with Xorg Message-Id: <20200301062853.f39f161f.freebsd@edvax.de> In-Reply-To: <20200228100000.0ac3267858f249f2982cb533@aim.com> References: <20200227200432.rv36sjofrljlx7z5.ref@grumpy.dwarf7.net> <20200227200432.rv36sjofrljlx7z5@grumpy.dwarf7.net> <20200228100000.0ac3267858f249f2982cb533@aim.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:3CJvL9AKaJhdujosDvWpdutSNJxO9MiBKyI1hMB/DK8yLwKeugT IScNQJ5JEkEhna4X95KTwOswXXWwSk4iR4Iz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H+4R3QHTnboi7dWpFZxTUsEHDbMduj4rCW7gx4dq5Ug0VL/bpduv+60TFCGuQ X-Rspamd-Queue-Id: 48VWzQ4Lc0z4CW2 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.134) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_TO(0.00)[aim.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[254.16.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.91)[0.912,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[134.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.50)[ip: (1.51), ipnet: 212.227.0.0/16(-1.14), asn: 8560(2.17), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2020 05:29:08 -0000 On Fri, 28 Feb 2020 10:00:00 -0500, Vlad D. Markov via freebsd-questions wr= ote: > On Thu, 27 Feb 2020 14:57:13 -0500 > Schmitt wrote: >=20 > >=20 > >=20 > > Le 27/02/2020 =E0 15:04, Vlad D.Markov via freebsd-questions a =E9crit= =A0: > > > I use startx to start Xorg. The window manager (fluxbox) comes up and > > > looks good BUT I have no mouse. The cursor is stuck in the middle of = the > > > screen. > > >=20 > > > This started happening immediately after I updated xorg-server. Befor= e the > > > update I had no issues. > > >=20 > > > uname: > > > FreeBSD happy 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64 > > >=20 > > > Xorg Version: > > > X.Org X Server 1.20.7 > > > X Protocol Version 11, Revision 0 > > > Build Operating System: FreeBSD 12.1-RELEASE-p2 amd64=20 > > > Current Operating System: FreeBSD happy 12.1-RELEASE-p2 FreeBSD > > > 12.1-RELEASE-p2 GENERIC amd64 > > > Build Date: 21 February 2020 05:05:56PM > > > =20 > > > Current version of pixman: 0.38.4 > > > Before reporting problems, check http://wiki.x.org > > > to make sure that you have the latest version. > > >=20 > > > The log where the problem is reported: > > >=20 > > > [ 186.068] (II) config/devd: probing input devices... > > > [ 186.068] (II) config/devd: EVDEV_SUPPORT is enabled, ignoring dev= ice > > > atkbd0 > > > [ 186.068] (II) config/devd: detected event input: System keyboard > > > multiplexer > > > , bustype=3D0006, vendor=3D0000, product=3D0000, version=3D0000 > > > [ 186.068] (II) config/devd: adding input device /dev/input/event0 > > > [ 186.068] (**) System keyboard multiplexer: Applying InputClass "E= vdev > > > keyboa > > > rd" > > > [ 186.068] (II) No input driver specified, ignoring this device. > > > [ 186.068] (II) This device may have been added with another device= file. > > > [ 186.068] (EE) config/devd: error 1 adding device /dev/input/event0 > > > [ 186.068] (II) config/devd: detected event input: System mouse, > > > bustype=3D0006, > > > vendor=3D0000, product=3D0000, version=3D0000 > > > [ 186.068] (II) config/devd: adding input device /dev/input/event1 > > > [ 186.069] (II) No input driver specified, ignoring this device. > > > [ 186.069] (II) This device may have been added with another device= file. > > > [ 186.069] (EE) config/devd: error 1 adding device /dev/input/event1 > > > [ 186.069] (II) config/devd: detected event input: AT keyboard, > > > bustype=3D0011, vendor=3D0001, product=3D0001, version=3D0000 > > > [ 186.069] (II) config/devd: adding input device /dev/input/event2 > > > [ 186.069] (**) AT keyboard: Applying InputClass "Evdev keyboard" > > > [ 186.069] (II) No input driver specified, ignoring this device. > > > [ 186.069] (II) This device may have been added with another device= file. > > > [ 186.069] (EE) config/devd: error 1 adding device /dev/input/event2 > > > [ 186.069] (II) config/devd: detected event input: Generic PS/2 mou= se, > > > bustype=3D0011, vendor=3D0002, product=3D0001, version=3D0000 > > > [ 186.069] (II) config/devd: adding input device /dev/input/event3 > > > [ 186.069] (II) No input driver specified, ignoring this device. > > > [ 186.069] (II) This device may have been added with another device= file. > > > [ 186.069] (EE) config/devd: error 1 adding device /dev/input/event3 > > > [ 186.069] (II) config/devd: EVDEV_SUPPORT is enabled, ignoring dev= ice > > > kbdmux0 > > > [ 186.069] (II) config/devd: EVDEV_SUPPORT is enabled, ignoring dev= ice psm0 > > > [ 186.069] (II) config/devd: EVDEV_SUPPORT is enabled, ignoring dev= ice > > > sysmouse > > > [ 187.528] (II) intel(0): EDID vendor "LPL", prod id 307 > > > [ 187.528] (II) intel(0): Printing DDC gathered Modelines: > > > [ 187.528] (II) intel(0): Modeline "1280x800"x0.0 69.30 1280 132= 8 1360 > > > 1405 800 803 809 822 -hsync -vsync (49.3 kHz eP) > > > [ 251.161] (II) config/devd: terminating backend... > > > [ 251.692] (II) Server terminated successfully (0). Closing log fil= e. > > >=20 > > > Thanks, > > >=20 > > > Vlad > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb= sd.org" > > >=20 > >=20 > > Have you checked this? > >=20 > > https://forums.freebsd.org/threads/new-xorg-switch-from-devd-to-udev.74= 144/#post-453355 >=20 > That URL had the answers to fix my problem. All is well now. It would be nice to summarize the reason of the problem and the currently working solution for further reference in the mailing list (instead of just referencing external sources that might disappear). ;-) X.org as of February 2020 now requires UDEV (as known from Linux) to discover input devices, this is the default now; FreeBSD's devd can still be selected when building from source. =3D=3D=3D=3D> Backend to use for input device configuration: you can only select none or one of them DEVD=3Doff: Use devd for autoconfiguration of input devices UDEV=3Don: Use udev via libudev-devd for autoconfiguration of input devices Involved parts to be updated or (re-)installed are xorg-server, libinput, xf86-input-libinput, and libudev-devd. =20 Further information can be found in xorg-server's pkg-message. Especially the new pitfalls for dealing with PS/2 keyboards and mice, or stuff that you might need as a partial configuration file into /usr/local/etc/X11/xorg.conf.d/, or possible additions to /etc/sysctl.conf (values explained in /sys/dev/evdev/evdev.h), or yet another way to set your keyboard layout, and a few other Linuxisms are discussed in the forum thread mentioned above. Please correct and advise if I didn't understand it correctly! Vlad: As there seem to be more than one solution and suggestions, which one worked _for you_? It's always nice to see a _verified_ solution on the mailing list where a real person can confirm that a specific (!) set of actions solved the problem. :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...