Am 10/22/18 um 9:57 AM schrieb Stefan Wollny:
[ ... ]
> 
> $ cat /etc/wsconsctl.conf | grep encoding
> keyboard.encoding=de            # use different keyboard encoding
> 
> Yet this setting seems not to be recognized:
> $ doas wsconsctl | grep encoding
> keyboard.encoding=unknown_0
> 
[ ... ]
Additional information:
This issue seems to be related to the X server. Initially I noticed this
behaviour when starting with xenodm. Switching to a console outside of X
gives me the expected German keyboard layout. The same if I disable
xenodm in /etc/rc.conf.local and start OpenBSD into a console: Initially
I have the German keyboard layout but once I start X via 'startx' I get
the US layout.
*At least I know now where to find the symbols blindly :/ *

Thus here is the Xorg.0.log which has the line
        Option "XkbLayout" "us"
close to the end.



[   536.726] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
        (Operation not permitted)
        Check that you have set 'machdep.allowaperture=1'
        in /etc/sysctl.conf and reboot your machine
        refer to xf86(4) for details
[   536.726]    linear framebuffer access unavailable
[   536.740] (--) Using wscons driver on /dev/ttyC4
[   536.748]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[   536.748] X Protocol Version 11, Revision 0
[   536.748] Build Operating System: OpenBSD 6.4 amd64
[   536.748] Current Operating System: OpenBSD asterix.heim.netz 6.4
GENERIC.MP#376 amd64
[   536.748] Build Date: 21 October 2018  11:05:48PM
[   536.748]
[   536.748] Current version of pixman: 0.34.0
[   536.749]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   536.749] Markers: (--) probed, (**) from config file, (==) default
setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   536.749] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 22
10:32:24 2018
[   536.749] (==) Using system config directory
"/usr/X11R6/share/X11/xorg.conf.d"
[   536.749] (==) No Layout section.  Using the first Screen section.
[   536.749] (==) No screen section available. Using defaults.
[   536.749] (**) |-->Screen "Default Screen Section" (0)
[   536.749] (**) |   |-->Monitor "<default monitor>"
[   536.749] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   536.749] (==) Automatically adding devices
[   536.749] (==) Automatically enabling devices
[   536.749] (==) Not automatically adding GPU devices
[   536.749] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   536.749] (==) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF/,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
[   536.749] (==) ModulePath set to "/usr/X11R6/lib/modules"
[   536.749] (II) The server relies on wscons to provide the list of
input devices.
        If no devices become available, reconfigure wscons or disable
AutoAddDevices.
[   536.749] (II) Loader magic: 0x1c454c971000
[   536.749] (II) Module ABI versions:
[   536.749]    X.Org ANSI C Emulation: 0.4
[   536.749]    X.Org Video Driver: 23.0
[   536.749]    X.Org XInput driver : 24.1
[   536.749]    X.Org Server Extension : 10.0
[   536.749] (--) PCI:*(0:0:2:0) 8086:0416:1558:0655 rev 6, Mem @
0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
[   536.749] (II) LoadModule: "glx"
[   536.750] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[   536.752] (II) Module glx: vendor="X.Org Foundation"
[   536.752]    compiled for 1.19.6, module version = 1.0.0
[   536.752]    ABI class: X.Org Server Extension, version 10.0
[   536.752] (==) Matched modesetting as autoconfigured driver 0
[   536.752] (==) Assigned the driver to the xf86ConfigLayout
[   536.752] (II) LoadModule: "modesetting"
[   536.752] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so
[   536.752] (II) Module modesetting: vendor="X.Org Foundation"
[   536.752]    compiled for 1.19.6, module version = 1.19.6
[   536.752]    Module class: X.Org Video Driver
[   536.752]    ABI class: X.Org Video Driver, version 23.0
[   536.752] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   536.753] (**) modeset(0): claimed PCI slot 0@0:2:0
[   536.753] (II) modeset(0): using default device
[   536.753] (II) modeset(0): Creating default Display subsection in
Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[   536.753] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   536.753] (==) modeset(0): RGB weight 888
[   536.753] (==) modeset(0): Default visual is TrueColor
[   536.753] (II) Loading sub module "glamoregl"
[   536.753] (II) LoadModule: "glamoregl"
[   536.754] (II) Loading /usr/X11R6/lib/modules/libglamoregl.so
[   536.761] (II) Module glamoregl: vendor="X.Org Foundation"
[   536.761]    compiled for 1.19.6, module version = 1.0.0
[   536.761]    ABI class: X.Org ANSI C Emulation, version 0.4
[   536.761] (II) glamor: OpenGL accelerated X.org driver based.
[   536.773] (II) glamor: EGL version 1.4 (DRI2):
[   536.776] (II) modeset(0): glamor initialized
[   536.778] (II) modeset(0): Output eDP-1 has no monitor section
[   536.780] (II) modeset(0): Output VGA-1 has no monitor section
[   536.781] (II) modeset(0): Output HDMI-1 has no monitor section
[   536.782] (II) modeset(0): EDID for output eDP-1
[   536.782] (II) modeset(0): Manufacturer: LGD  Model: 46f  Serial#: 0
[   536.782] (II) modeset(0): Year: 2014  Week: 0
[   536.782] (II) modeset(0): EDID Version: 1.4
[   536.782] (II) modeset(0): Digital Display Input
[   536.782] (II) modeset(0): 6 bits per channel
[   536.782] (II) modeset(0): Digital interface is DisplayPort
[   536.782] (II) modeset(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[   536.782] (II) modeset(0): Gamma: 2.20
[   536.782] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[   536.782] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb
4:4:4
[   536.782] (II) modeset(0): First detailed timing is preferred mode
[   536.782] (II) modeset(0): Preferred mode is native pixel format and
refresh rate
[   536.782] (II) modeset(0): redX: 0.640 redY: 0.345   greenX: 0.335
greenY: 0.625
[   536.782] (II) modeset(0): blueX: 0.150 blueY: 0.052   whiteX: 0.313
whiteY: 0.329
[   536.782] (II) modeset(0): Manufacturer's mask: 0
[   536.782] (II) modeset(0): Supported detailed timing:
[   536.782] (II) modeset(0): clock: 138.7 MHz   Image Size:  344 x 194 mm
[   536.782] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end
2000 h_blank_end 2080 h_border: 0
[   536.782] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end
1088 v_blanking: 1111 v_border: 0
[   536.782] (II) modeset(0): Supported detailed timing:
[   536.782] (II) modeset(0): clock: 110.9 MHz   Image Size:  344 x 194 mm
[   536.782] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end
2000 h_blank_end 2080 h_border: 0
[   536.782] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end
1088 v_blanking: 1111 v_border: 0
[   536.782] (II) modeset(0):  3874Y€156WF6
[   536.782] (II) modeset(0): Unknown vendor-specific block 0
[   536.782] (II) modeset(0): EDID (in hex):
[   536.782] (II) modeset(0):   00ffffffffffff0030e46f0400000000
[   536.782] (II) modeset(0):   0018010495221378eadc95a35855a026
[   536.782] (II) modeset(0):   0d505400000001010101010101010101
[   536.782] (II) modeset(0):   0101010101012e3680a070381f403020
[   536.782] (II) modeset(0):   350058c21000001a522b80a070381f40
[   536.782] (II) modeset(0):   3020350058c21000001a000000fe0033
[   536.782] (II) modeset(0):   38373459803135365746360a00000000
[   536.782] (II) modeset(0):   000041319e001000000a010a20200092
[   536.782] (II) modeset(0): Printing probed modes for output eDP-1
[   536.782] (II) modeset(0): Modeline "1920x1080"x60.0  138.70  1920
1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.7 kHz eP)
[   536.782] (II) modeset(0): Modeline "1920x1080"x48.0  110.90  1920
1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (53.3 kHz e)
[   536.782] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400
1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[   536.782] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280
1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[   536.782] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280
1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[   536.782] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024
1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   536.782] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024
1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   536.782] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024
1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   536.782] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976
1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   536.782] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960
1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   536.782] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832
928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   536.782] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840
968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   536.782] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824
896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   536.782] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744
820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   536.782] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664
720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   536.782] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688
744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   536.782] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656
752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   536.782] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524
592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   536.782] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420
484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   536.782] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412
448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   536.782] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328
376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   536.785] (II) modeset(0): EDID for output VGA-1
[   536.785] (II) modeset(0): EDID for output HDMI-1
[   536.785] (II) modeset(0): Output eDP-1 connected
[   536.785] (II) modeset(0): Output VGA-1 disconnected
[   536.785] (II) modeset(0): Output HDMI-1 disconnected
[   536.785] (II) modeset(0): Using exact sizes for initial modes
[   536.785] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[   536.785] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   536.785] (==) modeset(0): DPI set to (96, 96)
[   536.785] (II) Loading sub module "fb"
[   536.785] (II) LoadModule: "fb"
[   536.786] (II) Loading /usr/X11R6/lib/modules/libfb.so
[   536.786] (II) Module fb: vendor="X.Org Foundation"
[   536.786]    compiled for 1.19.6, module version = 1.0.0
[   536.786]    ABI class: X.Org ANSI C Emulation, version 0.4
[   536.786] (==) Depth 24 pixmap format is 32 bpp
[   536.910] (==) modeset(0): Backing store enabled
[   536.910] (==) modeset(0): Silken mouse enabled
[   536.910] (II) modeset(0): RandR 1.2 enabled, ignore the following
RandR disabled message.
[   536.911] (II) modeset(0): Initializing kms color map
[   536.911] (==) modeset(0): DPMS enabled
[   536.911] (II) modeset(0): [DRI2] Setup complete
[   536.911] (II) modeset(0): [DRI2]   DRI driver: i965
[   536.911] (II) modeset(0): [DRI2]   VDPAU driver: i965
[   536.911] (--) RandR disabled
[   536.926] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   536.926] (II) AIGLX: enabled GLX_ARB_create_context
[   536.926] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   536.926] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[   536.926] (II) AIGLX: enabled GLX_INTEL_swap_event
[   536.926] (II) AIGLX: enabled GLX_SGI_swap_control
[   536.926] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   536.926] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   536.926] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[   536.926] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer
objects
[   536.926] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[   536.926] (II) AIGLX: Loaded and initialized i965
[   536.926] (II) GLX: Initialized DRI2 GL provider for screen 0
[   536.928] (II) modeset(0): Damage tracking initialized
[   536.928] (II) modeset(0): Setting screen physical size to 508 x 285
[   537.009] (II) config/wscons: checking input device /dev/wskbd
[   537.009] (II) LoadModule: "kbd"
[   537.010] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[   537.010] (II) Module kbd: vendor="X.Org Foundation"
[   537.010]    compiled for 1.19.6, module version = 1.9.0
[   537.010]    Module class: X.Org XInput Driver
[   537.010]    ABI class: X.Org XInput driver, version 24.1
[   537.010] (II) Using input driver 'kbd' for '/dev/wskbd'
[   537.010] (**) /dev/wskbd: always reports core events
[   537.010] (**) /dev/wskbd: always reports core events
[   537.010] (**) Option "Protocol" "standard"
[   537.010] (**) Option "XkbRules" "base"
[   537.010] (**) Option "XkbModel" "pc105"
[   537.010] (**) Option "XkbLayout" "us"
[   537.010] (II) XINPUT: Adding extended input device "/dev/wskbd"
(type: KEYBOARD, id 6)
[   537.425] (II) config/wscons: checking input device /dev/wsmouse
[   537.425] (II) LoadModule: "ws"
[   537.426] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[   537.426] (II) Module ws: vendor="X.Org Foundation"
[   537.426]    compiled for 1.19.6, module version = 1.3.0
[   537.426]    Module class: X.Org XInput Driver
[   537.426]    ABI class: X.Org XInput driver, version 24.1
[   537.426] (II) Using input driver 'ws' for '/dev/wsmouse'
[   537.426] (**) /dev/wsmouse: always reports core events
[   537.426] (II) ws: /dev/wsmouse: debuglevel 0
[   537.426] (**) Option "Device" "/dev/wsmouse"
[   537.426] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[   537.426] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[   537.426] (**) ws: /dev/wsmouse: associated screen: 0
[   537.834] (II) ws: /dev/wsmouse: minimum x position: 0
[   537.834] (II) ws: /dev/wsmouse: maximum x position: 1919
[   537.834] (II) ws: /dev/wsmouse: minimum y position: 0
[   537.834] (II) ws: /dev/wsmouse: maximum y position: 1079
[   537.834] (==) ws: /dev/wsmouse: Buttons: 7
[   537.838] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[   537.838] (II) XINPUT: Adding extended input device "/dev/wsmouse"
(type: MOUSE, id 7)
[   538.249] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[   538.249] (**) /dev/wsmouse: (accel) acceleration profile 0
[   538.249] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[   538.249] (**) /dev/wsmouse: (accel) acceleration threshold: 4

Reply via email to