Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2020 06:28:53 +0100
From:      Polytropon <freebsd@edvax.de>
To:        "Vlad D. Markov" <dvoich@aim.com>
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:  <20200301062853.f39f161f.freebsd@edvax.de>
In-Reply-To: <20200228100000.0ac3267858f249f2982cb533@aim.com>
References:  <20200227200432.rv36sjofrljlx7z5.ref@grumpy.dwarf7.net> <20200227200432.rv36sjofrljlx7z5@grumpy.dwarf7.net> <f80767e3-b966-7ce7-50e0-dbfa5ec6273b@cgocable.ca> <20200228100000.0ac3267858f249f2982cb533@aim.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <acupuncture@cgocable.ca> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200301062853.f39f161f.freebsd>