Bug 244430 - Upgrading to xorg-server-1.20.7,1 : keyboard functionality got lost
Summary: Upgrading to xorg-server-1.20.7,1 : keyboard functionality got lost
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-26 11:48 UTC by x11max1@unitybox.de
Modified: 2020-02-27 12:17 UTC (History)
1 user (show)

See Also:


Attachments
Xorg Log startup if using startx (58.66 KB, text/plain)
2020-02-27 09:52 UTC, x11max1@unitybox.de
no flags Details
startx commandline output (2.05 KB, text/plain)
2020-02-27 09:53 UTC, x11max1@unitybox.de
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description x11max1@unitybox.de 2020-02-26 11:48:35 UTC
My keyboard (Logitech K750-mac Wireless) is not working anymore after upgrading xorg-server from xorg-server-1.18.4_12,1 to xorg-server-1.20.7,1 and xorg-drivers
-7.7_5 to xorg-drivers-7.7_6 based on pkg-manager version 1.13.2.

Currently the system shows the following X keyboard setting: 
freebsd% setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/base...
Trying to load rules file /usr/local/share/X11/xkb/rules/base...
Success.
Applied rules from base:
rules:      base
model:      applealu_iso
layout:     de
Trying to build keymap using the following components:
keycodes:   macintosh(alukbd)+aliases(qwertz)
types:      complete+numpad(mac)
compat:     complete
symbols:    macintosh_vndr/apple(alukbd)+macintosh_vndr/de+inet(apple)
geometry:   macintosh(applealu_iso)
xkb_keymap {
	xkb_keycodes  { include "macintosh(alukbd)+aliases(qwertz)"	};
	xkb_types     { include "complete+numpad(mac)"	};
	xkb_compat    { include "complete"	};
	xkb_symbols   { include "macintosh_vndr/apple(alukbd)+macintosh_vndr/de+inet(apple)"	};
	xkb_geometry  { include "macintosh(applealu_iso)"	};
};

The following packages are installed before upgrading and all was fine.

xorg-7.7_3                     X.Org complete distribution metaport
xorg-apps-7.7_4                X.org apps meta-port
xorg-docs-1.7.1,1              X.org documentation files
xorg-drivers-7.7_5             X.org drivers meta-port
xorg-fonts-7.7_1               X.org fonts meta-port
xorg-fonts-100dpi-7.7          X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-7.7           X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.7        X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.7     X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
xorg-fonts-type1-7.7           X.Org Type1 fonts
xorg-libraries-7.7_4           X.org libraries meta-port
xorg-macros-1.19.2             X.Org development aclocal macros
xorg-server-1.18.4_12,1        X.Org X server and related programs
xorgproto-2019.2               xorg protocol headers

xf86-input-egalax-0.3_4        eGalax touch screen input driver for X.Org
xf86-input-elographics-1.4.2   X.Org elographics input driver
xf86-input-evdev-2.10.6_4      X.Org event device input driver
xf86-input-joystick-1.6.3_2    X.Org joystick input driver
xf86-input-keyboard-1.9.0_3    X.Org keyboard input driver
xf86-input-libinput-0.28.2     X.Org libinput input driver
xf86-input-mouse-1.9.3_2       X.Org mouse input driver
xf86-input-synaptics-1.9.1_4   X.Org synaptics input driver
xf86-input-vmmouse-13.1.0_3    X.Org vmmouse input driver
xf86-input-void-1.4.1_3        X.Org void input driver
xf86-input-wacom-0.38.0        X.Org Wacom tablet driver
xf86-video-amdgpu-19.0.1       X.Org amdgpu display driver
xf86-video-apm-1.3.0           X.Org apm display driver
xf86-video-ark-0.7.5_9         X.Org ark display driver
xf86-video-ast-1.1.5_2         X.Org ASPEED display driver
xf86-video-ati-19.0.1,1        X.Org ati display driver
xf86-video-chips-1.4.0         X.Org chips display driver
xf86-video-cirrus-1.5.3_3      X.Org cirrus display driver
xf86-video-dummy-0.3.8_2       X.Org dummy display driver
xf86-video-glint-1.2.9_4       X.Org glint display driver
xf86-video-i128-1.4.0          X.Org i128 display driver
xf86-video-i740-1.4.0          X.Org i740 display driver
xf86-video-intel-2.99.917.20181203 Driver for Intel integrated graphics chipsets
xf86-video-mach64-6.9.6_2      X.Org mach64 display driver
xf86-video-mga-2.0.0,3         X.Org mga display driver
xf86-video-neomagic-1.3.0      X.Org neomagic display driver
xf86-video-nv-2.1.21_3         X.Org nv display driver
xf86-video-openchrome-0.6.0_3  X.Org openChrome display driver
xf86-video-qxl-0.1.5_3         X.Org X server -- QXL display driver
xf86-video-r128-6.12.0         X.Org r128 display driver
xf86-video-rendition-4.2.7_2   X.Org rendition display driver
xf86-video-s3-0.7.0            X.Org s3 display driver
xf86-video-s3virge-1.11.0      X.Org s3virge display driver
xf86-video-savage-2.3.9_4      X.Org savage display driver
xf86-video-scfb-0.0.4_7        X.Org syscons display driver
xf86-video-siliconmotion-1.7.9_3 X.Org siliconmotion display driver
xf86-video-sis-0.11.0          X.Org sis display driver
xf86-video-tdfx-1.5.0          X.Org tdfx display driver
xf86-video-trident-1.3.8_3     X.Org trident display driver
xf86-video-tseng-1.2.5_10      X.Org tseng display driver
xf86-video-vesa-2.4.0_2        X.Org vesa display driver
xf86-video-vmware-13.3.0_5     X.Org vmware display driver
xf86-video-voodoo-1.2.5_10     X.Org voodoo display driver
xf86dga-1.0.3_1                Test program for the XFree86-DGA extension

After upgrading, i cannot use slim as the display manager anymore. The keyboard has no function or is not recognized.

xorg-7.7_3                     X.Org complete distribution metaport
xorg-apps-7.7_4                X.org apps meta-port
xorg-cf-files-1.0.6            X.org cf files for use with imake builds
xorg-dmx-1.20.7,1              Distributed Multihead X from X.Org
xorg-docs-1.7.1,1              X.org documentation files
xorg-drivers-7.7_6             X.org drivers meta-port
xorg-fonts-7.7_1               X.org fonts meta-port
xorg-fonts-100dpi-7.7          X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-7.7           X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-7.7        X.Org Cyrillic bitmap fonts
xorg-fonts-miscbitmaps-7.7     X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
xorg-fonts-type1-7.7           X.Org Type1 fonts
xorg-libraries-7.7_4           X.org libraries meta-port
xorg-macros-1.19.2             X.Org development aclocal macros
xorg-minimal-7.5.2_2           X.Org minimal distribution metaport
xorg-nestserver-1.20.7,2       Nesting X server from X.Org
xorg-server-1.20.7,1           X.Org X server and related programs
xorg-sgml-doctools-1.11        Stylesheets and entities for X.Org documentation
xorg-vfbserver-1.20.7,1        X virtual framebuffer server from X.Org
xorgproto-2019.2               xorg protocol headers
xorgramana-0.0.8_10            Logic word puzzle game set inside a series of mazes
xorgxrdp-0.2.12_1              X.Org driver enabling use through an RDP session with xrdp

xf86-input-egalax-0.3_5        eGalax touch screen input driver for X.Org
xf86-input-elographics-1.4.2_1 X.Org elographics input driver
xf86-input-evdev-2.10.6_5      X.Org event device input driver
xf86-input-joystick-1.6.3_3    X.Org joystick input driver
xf86-input-keyboard-1.9.0_4    X.Org keyboard input driver
xf86-input-libinput-0.28.2_1   X.Org libinput input driver
xf86-input-mouse-1.9.3_3       X.Org mouse input driver
xf86-input-synaptics-1.9.1_5   X.Org synaptics input driver
xf86-input-vmmouse-13.1.0_4    X.Org vmmouse input driver
xf86-input-void-1.4.1_4        X.Org void input driver
xf86-input-wacom-0.39.0_1      X.Org Wacom tablet driver
xf86-video-amdgpu-19.1.0_1     X.Org amdgpu display driver
xf86-video-apm-1.3.0_1         X.Org apm display driver
xf86-video-ark-0.7.5_10        X.Org ark display driver
xf86-video-ast-1.1.5_3         X.Org ASPEED display driver
xf86-video-ati-19.1.0_1,1      X.Org ati display driver
xf86-video-chips-1.4.0_1       X.Org chips display driver
xf86-video-cirrus-1.5.3_4      X.Org cirrus display driver
xf86-video-dummy-0.3.8_3       X.Org dummy display driver
xf86-video-glint-1.2.9_5       X.Org glint display driver
xf86-video-i128-1.4.0_1        X.Org i128 display driver
xf86-video-i740-1.4.0_1        X.Org i740 display driver
xf86-video-intel-2.99.917.20181203_1 Driver for Intel integrated graphics chipsets
xf86-video-mach64-6.9.6_3      X.Org mach64 display driver
xf86-video-mga-2.0.0_1,3       X.Org mga display driver
xf86-video-neomagic-1.3.0_1    X.Org neomagic display driver
xf86-video-nv-2.1.21_4         X.Org nv display driver
xf86-video-openchrome-0.6.0_4  X.Org openChrome display driver
xf86-video-r128-6.12.0_1       X.Org r128 display driver
xf86-video-rendition-4.2.7_3   X.Org rendition display driver
xf86-video-s3-0.7.0_1          X.Org s3 display driver
xf86-video-scfb-0.0.5_1        X.Org syscons display driver
xf86-video-siliconmotion-1.7.9_4 X.Org siliconmotion display driver
xf86-video-sis-0.12.0_1        X.Org sis display driver
xf86-video-tdfx-1.5.0_1        X.Org tdfx display driver
xf86-video-trident-1.3.8_4     X.Org trident display driver
xf86-video-vesa-2.4.0_3        X.Org vesa display driver
xf86-video-vmware-13.3.0_6     X.Org vmware display driver
xf86-video-voodoo-1.2.5_11     X.Org voodoo display driver
xf86dga-1.0.3_1                Test program for the XFree86-DGA extension
Comment 1 Jens Grassel 2020-02-26 16:35:28 UTC
There is related discussion over there: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678

I also ran into input device trouble after upgrading.
Comment 2 x11max1@unitybox.de 2020-02-27 09:52:46 UTC
Created attachment 211987 [details]
Xorg Log startup if using startx

Xorg Log startup if using startx
Comment 3 x11max1@unitybox.de 2020-02-27 09:53:17 UTC
Created attachment 211988 [details]
startx commandline output

startx commandline output
Comment 4 x11max1@unitybox.de 2020-02-27 12:17:31 UTC
I changed the following things to make xorg-server-1.20.7,1 running including attached devices like keyboard, wacom and so on.

/boot/device.hints
# keyboard problem updating xorg-server xorg-server: 1.18.4_12,1 -> 1.20.7,1
hint.kbdmux.0.disabled="1"

/etc/sysctl.conf
# fuer evdev devices ; pads , keyboard, etc
kern.evdev.rcpt_mask=12
sysctl kern.geom.debugflags=16

# added new conf file regarding devices
/usr/local/etc/X11/xorg.conf.d/99-evdev-new.conf
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

    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

~/.xinitrc
# SLIM Session Manager
#
#setxkbmap de
# setxkbmap de -variant nodeadkeys -model pc105
setxkbmap -v -layout de -model macintosh
xset fp+ /usr/local/share/fonts/urwfonts
xset fp rehash
xset fp+ /usr/local/share/fonts/TrueType
xset fp rehash