Bug 244820

Summary: Examples 5.7 and 5.9 in Xorg configuration section of handbook don't use libinput as keyboard driver name
Product: Documentation Reporter: Pau Amma <pauamma>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me CC: allanjude, zirias
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
See Also: https://reviews.freebsd.org/D25641

Description Pau Amma 2020-03-15 04:38:16 UTC
Following the switch to libinput in Xorg server 1.20, examples 5.7 and 5.9 need to use "libinput" instead of "keyboard" as the driver name.

(Note: this may be applicable to 12.x and 13 only, in which case the examples would need to be split, not just changed.)
Comment 1 Felix Palmen freebsd_committer freebsd_triage 2020-03-20 12:33:56 UTC
Just omitting "Driver" entirely works as well, at least with the newer (udev) version, didn't test the older one.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-08-11 18:31:11 UTC
A commit references this bug:

Author: carlavilla
Date: Tue Aug 11 18:31:09 UTC 2020
New revision: 54421
URL: https://svnweb.freebsd.org/changeset/doc/54421

Log:
  Track switch to libinput in xorg-server 1.20.8

  Remove the Driver line from examples 5.7 and 5.9, thus making them
  valid for both variant configurations of X (with or without libinput).

  For 12.1 and xorg-server 1.20.8, add "Set kern.evdev.rcpt_mask=6 in
  /etc/sysctl.conf if not using moused" important paragraph to section
  "5.4.7.2. Mice and Pointing Devices".

  PR:		244820
  Submitted by:	pauamma
  Reviewed by:	zeising@
  Approved by:	bcr@
  Differential Revision:	https://reviews.freebsd.org/D25641

Changes:
  head/en_US.ISO8859-1/books/handbook/x11/chapter.xml