[Bug 196678] x11-servers/xorg-server: Update to 1.20.7 + make config/devd recognize /dev/input/eventX from multimedia/webcamd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 4 13:13:22 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678

--- Comment #174 from Michael Gmelin <grembo at FreeBSD.org> ---
(In reply to Chris Hutchinson from comment #171)

Move /etc/X11/xorg.conf out of the way in case you have any.

For your mouse: Try setting sysctl kern.evdev.rcpt_mask=12
For your keyboard: Add
setxkbmap -model pc105 -layout de

to your ~/.xinitrc .

(change layout to whatever is required in your country, e.g. US
would be setxkbmap -model pc104 -layout us - at least I think so).

If you're on a laptop with (U)EFI, try using xf86-video-scfb instead of
the nvidia driver (I used this on an old MacBook successfully):

pkg install xf86-video-scfb
cat >/usr/local/etc/X11/xorg.conf.d/driver-scfb.conf<<EOF
Section "Device"
    Identifier     "Device0"
    Driver         "scfb"
    Option         "NoAccel" "On"
EndSection
EOF

Once you tested all of these, you can debug our configuration
using a script I wrote (https://github.com/grembo/xorg-udev-setup-check).
Note that you shouldn't follow it blindly, but it can be helpful.

You can fetch it directly:

fetch
https://raw.githubusercontent.com/grembo/xorg-udev-setup-check/master/xorg-udev-setup-check.sh

In your case (nvidia), the procedure would be

- Run (as an unprivileged user):

  ./xorg-udev-setup-check.sh -d


  ("-d" skips DRM checks) 
- Correct all errors it reports, consider its recommendations.

If it still doesn't work afterwards, please run

  ./xorg-udev-setup-check.sh -des

  ("-e" collects evidence, "-s" uses sudo to run
  libinput list-devices - not necessary if you
  run it as root)

to collect (hopefully) all relevant information on your
setup and share it here. In case your machine still hangs,
but X is running, please ssh into the machine, set DISPLAY
and run the script from there, e.g.:

  DISPLAY=:0 ./xorg-udev-setup-check.sh -des

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list