Date: Sun, 1 Mar 2020 11:47:14 -0500 From: "Vlad D. Markov" <dvoich@aim.com> To: Polytropon <freebsd@edvax.de> Cc: "Vlad D. Markov via freebsd-questions" <freebsd-questions@freebsd.org>, Schmitt <acupuncture@cgocable.ca> Subject: Re: No mouse or keyboard with Xorg Message-ID: <20200301114714.71a3affddc6c4c3845d3d0fb@aim.com> In-Reply-To: <20200301062853.f39f161f.freebsd@edvax.de> References: <20200227200432.rv36sjofrljlx7z5.ref@grumpy.dwarf7.net> <20200227200432.rv36sjofrljlx7z5@grumpy.dwarf7.net> <f80767e3-b966-7ce7-50e0-dbfa5ec6273b@cgocable.ca> <20200228100000.0ac3267858f249f2982cb533@aim.com> <20200301062853.f39f161f.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 1 Mar 2020 06:28:53 +0100 Polytropon <freebsd@edvax.de> wrote: > On Fri, 28 Feb 2020 10:00:00 -0500, Vlad D. Markov via freebsd-questions = wrote: > > On Thu, 27 Feb 2020 14:57:13 -0500 > > Schmitt <acupuncture@cgocable.ca> wrote: > >=20 > > >=20 > > >=20 > > > Le 27/02/2020 =E0 15:04, Vlad D.Markov via freebsd-questions a =E9cri= t=A0: > > > > I use startx to start Xorg. The window manager (fluxbox) comes up a= nd > > > > looks good BUT I have no mouse. The cursor is stuck in the middle o= f the > > > > screen. > > > >=20 > > > > This started happening immediately after I updated xorg-server. Bef= ore 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 d= evice > > > > 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 = "Evdev > > > > keyboa > > > > rd" > > > > [ 186.068] (II) No input driver specified, ignoring this device. > > > > [ 186.068] (II) This device may have been added with another devi= ce file. > > > > [ 186.068] (EE) config/devd: error 1 adding device /dev/input/eve= nt0 > > > > [ 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 devi= ce file. > > > > [ 186.069] (EE) config/devd: error 1 adding device /dev/input/eve= nt1 > > > > [ 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 devi= ce file. > > > > [ 186.069] (EE) config/devd: error 1 adding device /dev/input/eve= nt2 > > > > [ 186.069] (II) config/devd: detected event input: Generic PS/2 m= ouse, > > > > 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 devi= ce file. > > > > [ 186.069] (EE) config/devd: error 1 adding device /dev/input/eve= nt3 > > > > [ 186.069] (II) config/devd: EVDEV_SUPPORT is enabled, ignoring d= evice > > > > kbdmux0 > > > > [ 186.069] (II) config/devd: EVDEV_SUPPORT is enabled, ignoring d= evice psm0 > > > > [ 186.069] (II) config/devd: EVDEV_SUPPORT is enabled, ignoring d= evice > > > > 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 1= 328 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 f= ile. > > > >=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@fre= ebsd.org" > > > >=20 > > >=20 > > > Have you checked this? > > >=20 > > > https://forums.freebsd.org/threads/new-xorg-switch-from-devd-to-udev.= 74144/#post-453355 > >=20 > > That URL had the answers to fix my problem. All is well now. >=20 > 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). ;-) >=20 > 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. >=20 > =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 >=20 > 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. >=20 > 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. >=20 > Please correct and advise if I didn't understand it correctly! >=20 > 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 >=20 >=20 > --=20 I followed theses instructions which led to success: I had the same problems on my T430. What I did to make input devices work a= gain: reinstall x11-servers/xorg-server with UDEV option ON, (re)installed = x11/libinput and x11-drivers/xf86-input-libinput and then created a file: /usr/local/etc/X11/xorg.conf.d/99-myinput.conf Code: Section "InputClass" Identifier "libinput keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "XkbRules" "evdev" EndSection Section "InputClass" Identifier "libinput touchpad catchall" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Driver "libinput" Option "MiddleEmulation" "on" Option "DisableWhileTyping" "off" EndSection Also I added in /etc/sysctl.conf the following line: kern.evdev.rcpt_mask= =3D12. Now everything it's working again. =20 Vlad
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200301114714.71a3affddc6c4c3845d3d0fb>