Problem with keyboard layout

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with keyboard layout

Stefan Wollny-2
Hi there!

I have reported this a few days ago on bugs but the issue seemed to be
solved with amd64/current as of Sunday morning but reappeared on Sunday
afternoons version (German time).

System is
OpenBSD 6.4-current (GENERIC.MP) #375: Sun Oct 21 09:29:13 MDT 2018
(full dmesg at the end)

$ cat .profile | grep LC
export LC_CTYPE="de_DE.UTF-8"

~ $ locale
LANG=de_DE.UTF-8
LC_COLLATE="de_DE.UTF-8"
LC_CTYPE=de_DE.UTF-8
LC_MONETARY="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_ALL=

$ 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

Trying to do
$ doas wsconsctl keyboard.encoding=de
drops the system into ddb without access to the keyboard (thus it is not
possible to type 'trace'... )

Is this s.th. known? How to proceed?

Best,
STEFAN


OpenBSD 6.4-current (GENERIC.MP) #375: Sun Oct 21 09:29:13 MDT 2018
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17079074816 (16287MB)
avail mem = 16552185856 (15785MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries)
bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014
bios0: Notebook W65_67SZ
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT
SSDT SSDT DMAR
acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4)
PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3)
EHC2(S3) XHC_(S3) HDEF(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.31 MHz, 06-3c-03
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.84 MHz, 06-3c-03
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 MHz, 06-3c-03
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.83 MHz, 06-3c-03
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP03)
acpiprt3 at acpi0: bus 4 (RP04)
acpiprt4 at acpi0: bus 1 (P0P2)
acpiprt5 at acpi0: bus -1 (P0PA)
acpiprt6 at acpi0: bus -1 (P0PB)
acpiprt7 at acpi0: bus 1 (PEG0)
acpiec0 at acpi0
acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 120 degC
acpicmos0 at acpi0
"PNPC000" at acpi0 not configured
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook"
"PNP0C14" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD0
cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200,
2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06
ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi
pci1 at ppb0 bus 1
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1920x1080, 32bpp
error: [drm:pid0:intel_dp_link_training_clock_recovery] *ERROR* too many
full retries, give up
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi,
xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x05: msi
azalia1: codecs: VIA/0x8446
audio0 at azalia1
ppb1 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi
pci3 at ppb2 bus 3
iwm0 at pci3 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev
0xbb, msi
ppb3 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: msi
pci4 at ppb3 bus 4
rtsx0 at pci4 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit, dma
re0 at pci4 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880),
msi, address 80:fa:5b:14:87:b4
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM86 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi,
AHCI 1.3
ahci0: port 0: 1.5Gb/s
ahci0: port 5: 6.0Gb/s
scsibus1 at ahci0: 32 targets
cd0 at scsibus1 targ 0 lun 0: <Optiarc, DVD RW AD-7740H, 1.00> ATAPI
5/cdrom removable
sd0 at scsibus1 targ 5 lun 0: <ATA, Samsung SSD 850, EXM0> SCSI3
0/direct fixed naa.500253887007d4c5
sd0: 976762MB, 512 bytes/sector, 2000409264 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic
2 int 18
iic0 at ichiic0
iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=c2 06=1b 07=0a 08=00
09=00 0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 words 00=007f 01=0000 02=0000
03=0000 04=0000 05=c2d0 06=1b09 07=0a01
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
sensor
spdmem1 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
sensor
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
uhidev0 at uhub0 port 1 configuration 1 interface 0 "Logitech USB
Receiver" rev 1.10/34.10 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 16 buttons, Z and W dir
wsmouse1 at ums0 mux 0
uhub0: device problem, disabling port 3
ugen0 at uhub0 port 7 "Intel product 0x07dc" rev 2.00/0.01 addr 3
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.05 addr 2
uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.05 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd1: 952148MB, 512 bytes/sector, 1949999472 sectors
root on sd1a (6df3d43d67fee5d4.a) swap on sd1b dump on sd1b
iwm0: hw rev 0x140, fw ver 16.242414.0, address 7c:5c:f8:3b:80:99

Reply | Threaded
Open this post in threaded view
|

Re: Problem with keyboard layout

Stefan Wollny-2
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 | Threaded
Open this post in threaded view
|

Re: Problem with keyboard layout

Stefan Wollny-2
Am 22.10.18 um 10:45 schrieb Stefan Wollny:

> 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.
>

Unfortunately the issue persists with the last published version of
amd64/current. New dmesg and Xorg.0.log below.

Anyone with a clue what might be cause of wsconsctl not using the
encoding as defined in the conf-file? unveil(2)-related?

Any other information I should provide?

TIA.

Best,
STEFAN


OpenBSD 6.4-current (GENERIC.MP) #380: Mon Oct 22 20:06:50 MDT 2018
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 17079074816 (16287MB)
avail mem = 16552185856 (15785MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb500 (35 entries)
bios0: vendor American Megatrends Inc. version "1.03.06" date 06/25/2014
bios0: Notebook W65_67SZ
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT ASF! SSDT SSDT SSDT MCFG HPET SSDT
SSDT SSDT DMAR
acpi0: wakeup devices PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) RP03(S4)
PXSX(S4) RP04(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S3)
EHC2(S3) XHC_(S3) HDEF(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3093.33 MHz, 06-3c-03
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.85 MHz, 06-3c-03
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.85 MHz, 06-3c-03
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz, 3092.85 MHz, 06-3c-03
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (RP01)
acpiprt2 at acpi0: bus 3 (RP03)
acpiprt3 at acpi0: bus 4 (RP04)
acpiprt4 at acpi0: bus 1 (P0P2)
acpiprt5 at acpi0: bus -1 (P0PA)
acpiprt6 at acpi0: bus -1 (P0PB)
acpiprt7 at acpi0: bus 1 (PEG0)
acpiec0 at acpi0
acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpitz0 at acpi0: critical temperature is 120 degC
acpicmos0 at acpi0
"PNPC000" at acpi0 not configured
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpibtn2 at acpi0: LID0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "BAT" serial 0001 type LION oem "Notebook"
"PNP0C14" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD0
cpu0: Enhanced SpeedStep 3093 MHz: speeds: 2601, 2600, 2500, 2300, 2200,
2100, 2000, 1800, 1700, 1600, 1400, 1300, 1200, 1100, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06
ppb0 at pci0 dev 1 function 0 "Intel Core 4G PCIE" rev 0x06: msi
pci1 at ppb0 bus 1
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x05: msi,
xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
"Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 16
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x05: msi
azalia1: codecs: VIA/0x8446
audio0 at azalia1
ppb1 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd5
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 2 "Intel 8 Series PCIE" rev 0xd5: msi
pci3 at ppb2 bus 3
iwm0 at pci3 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev
0xbb, msi
ppb3 at pci0 dev 28 function 3 "Intel 8 Series PCIE" rev 0xd5: msi
pci4 at ppb3 bus 4
rtsx0 at pci4 dev 0 function 0 "Realtek RTL8411 Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit, dma
re0 at pci4 dev 0 function 2 "Realtek 8168" rev 0x0a: RTL8411 (0x4880),
msi, address 80:fa:5b:14:87:b4
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x05: apic 2 int 23
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel HM86 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x05: msi,
AHCI 1.3
ahci0: port 0: 1.5Gb/s
ahci0: port 5: 6.0Gb/s
scsibus1 at ahci0: 32 targets
cd0 at scsibus1 targ 0 lun 0: <Optiarc, DVD RW AD-7740H, 1.00> ATAPI
5/cdrom removable
sd0 at scsibus1 targ 5 lun 0: <ATA, Samsung SSD 850, EXM0> SCSI3
0/direct fixed naa.500253887007d4c5
sd0: 976762MB, 512 bytes/sector, 2000409264 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x05: apic
2 int 18
iic0 at ichiic0
iic0: addr 0x1a 00=00 01=00 02=00 03=00 04=00 05=c1 06=1b 07=0a 08=00
09=00 0a=00 0b=00 0c=00 0d=00 0e=00 0f=00 words 00=007f 01=0000 02=0000
03=0000 04=0000 05=c176 06=1b09 07=0a01
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
sensor
spdmem1 at iic0 addr 0x52: 8GB DDR3 SDRAM PC3-14200 SO-DIMM with thermal
sensor
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
uhub0: device problem, disabling port 6
ugen0 at uhub0 port 7 "Intel product 0x07dc" rev 2.00/0.01 addr 2
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.05 addr 2
uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.05 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
sd1: 952148MB, 512 bytes/sector, 1949999472 sectors
softraid0: volume sd1 is roaming, it used to be sd2, updating metadata
root on sd1a (6df3d43d67fee5d4.a) swap on sd1b dump on sd1b
iwm0: hw rev 0x140, fw ver 16.242414.0, address 7c:5c:f8:3b:80:99
uhidev0 at uhub0 port 1 configuration 1 interface 0 "Logitech USB
Receiver" rev 1.10/34.10 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 16 buttons, Z and W dir
wsmouse1 at ums0 mux 0




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



Reply | Threaded
Open this post in threaded view
|

Re: Problem with keyboard layout

Matthieu Herrb-5
On Tue, Oct 23, 2018 at 01:19:18PM +0200, Stefan Wollny wrote:

> Am 22.10.18 um 10:45 schrieb Stefan Wollny:
> > 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

This probably means that you have some other wsconsctl commands that
modify the layout after the initial switch to the 'de' layout.

> >>
> > [ ... ]
> > 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 :/ *

If the X server can't recognize the layout returned by wscons, and
there is no explicit configuration in /etc/X11/xorg.conf, the default
is what you see below.

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

Reply | Threaded
Open this post in threaded view
|

Re: Problem with keyboard layout

Stefan Wollny-2
Am 24.10.18 um 07:40 schrieb Matthieu Herrb:

> On Tue, Oct 23, 2018 at 01:19:18PM +0200, Stefan Wollny wrote:
>> Am 22.10.18 um 10:45 schrieb Stefan Wollny:
>>> 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
>
> This probably means that you have some other wsconsctl commands that
> modify the layout after the initial switch to the 'de' layout.
>

Hi Matthieu,

thanks for caring.

For the time being I found an intermediate solution: Instead using
Fluxbox as window manager I use LXQt and within changed all
localisations to 'Germany' which survived a reboot.

What puzzled me is the fact that I did not (knowingly) changed any
settings which might explain this behaviour. The first line in the
'.xsession'-file used to be
export LANG=de_DE.UTF-8
and with this I had German keyboard layout when entering the password
(luckily right now no special characters different to English layout).
At present (due to my experimental changes) I have
export LC_CTYPE="en_US.UTF-8"
and thus English is expected when entering username & password.

Which other process / program might influence wscons?

Best,
STEFAN

Reply | Threaded
Open this post in threaded view
|

Re: Problem with keyboard layout

Matthieu Herrb-5
On Wed, Oct 24, 2018 at 08:41:41AM +0200, Stefan Wollny wrote:

> Am 24.10.18 um 07:40 schrieb Matthieu Herrb:
> > On Tue, Oct 23, 2018 at 01:19:18PM +0200, Stefan Wollny wrote:
> >> Am 22.10.18 um 10:45 schrieb Stefan Wollny:
> >>> 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
> >
> > This probably means that you have some other wsconsctl commands that
> > modify the layout after the initial switch to the 'de' layout.
> >
>
> Hi Matthieu,
>
> thanks for caring.
>
> For the time being I found an intermediate solution: Instead using
> Fluxbox as window manager I use LXQt and within changed all
> localisations to 'Germany' which survived a reboot.

That's probably because LXQt saves the xkb settings in your session
and restores them.

>
> What puzzled me is the fact that I did not (knowingly) changed any
> settings which might explain this behaviour. The first line in the
> '.xsession'-file used to be
> export LANG=de_DE.UTF-8
> and with this I had German keyboard layout when entering the password
> (luckily right now no special characters different to English layout).
> At present (due to my experimental changes) I have
> export LC_CTYPE="en_US.UTF-8"
> and thus English is expected when entering username & password.

The locale settings (LC_CTYPE / LANG) don't change the keyboard
layout, unless you have something in your .profile, .xsession or
similar files that change it.

> Which other process / program might influence wscons?

I don't know. But as long as on X startup you have
keyboard.encoding=unknown_0 you will get the us layout by default.

If you haven't added anything to /etc/rc.local or any package that
installs a custom rc.d script fiddling with wsconsctl, I've no idea
why your machines ends up with the unknown_0 layout (which means
KB_USER internally).

--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: Problem with keyboard layout

Stefan Wollny-2
PROBLEM SOLVED! :-)

Am 24.10.18 um 09:49 schrieb Matthieu Herrb:

> On Wed, Oct 24, 2018 at 08:41:41AM +0200, Stefan Wollny wrote:
>> Am 24.10.18 um 07:40 schrieb Matthieu Herrb:
>>> On Tue, Oct 23, 2018 at 01:19:18PM +0200, Stefan Wollny wrote:
>>>> Am 22.10.18 um 10:45 schrieb Stefan Wollny:
>>>>> 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
>>>
>>> This probably means that you have some other wsconsctl commands that
>>> modify the layout after the initial switch to the 'de' layout.
>>>
>>
>> Hi Matthieu,
>>
>> thanks for caring.
>>
>> For the time being I found an intermediate solution: Instead using
>> Fluxbox as window manager I use LXQt and within changed all
>> localisations to 'Germany' which survived a reboot.
>
> That's probably because LXQt saves the xkb settings in your session
> and restores them.
>>
>> What puzzled me is the fact that I did not (knowingly) changed any
>> settings which might explain this behaviour. The first line in the
>> '.xsession'-file used to be
>> export LANG=de_DE.UTF-8
>> and with this I had German keyboard layout when entering the password
>> (luckily right now no special characters different to English layout).
>> At present (due to my experimental changes) I have
>> export LC_CTYPE="en_US.UTF-8"
>> and thus English is expected when entering username & password.
>
> The locale settings (LC_CTYPE / LANG) don't change the keyboard
> layout, unless you have something in your .profile, .xsession or
> similar files that change it.
>
>> Which other process / program might influence wscons?
>
> I don't know. But as long as on X startup you have
> keyboard.encoding=unknown_0 you will get the us layout by default.
>
> If you haven't added anything to /etc/rc.local or any package that
> installs a custom rc.d script fiddling with wsconsctl, I've no idea
> why your machines ends up with the unknown_0 layout (which means
> KB_USER internally).
>
Hi Matthieu,

thank you very much for guiding me! With your explanation I took special
care at the messages on the screen at startup, searching for any hints
what might influence the keyboard settings.

Obviously I must have accidentially deleted within "/etc/sysctl.conf"
the '#' in front of the line
machdep.forceukbd=1
which I once had added as a reminder. Recommenting the line solved the
issue.

As noone else had this problem it must have been me.

Thanks again and sorry for the noise!

Best,
STEFAN