Unsure if this is considered a bug or not, but does anyone know of a way
to get X to start without a keyboard device?

$ cat /var/log/Xorg.0.log.old
[    29.180] (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
[    29.180]    linear framebuffer access unavailable
[    29.186] (--) Using wscons driver on /dev/ttyC4
[    29.194] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    29.194] X Protocol Version 11, Revision 0
[    29.194] Build Operating System: OpenBSD 6.1 amd64 
[    29.194] Current Operating System: OpenBSD nuc-49-158.telebizz.co.uk 6.1 
GENERIC.MP#4 amd64
[    29.194] Build Date: 01 April 2017  02:00:27PM
[    29.194]  
[    29.194] Current version of pixman: 0.34.0
[    29.194]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    29.194] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    29.194] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 22 09:08:29 
2017
[    29.196] (==) Using system config directory 
"/usr/X11R6/share/X11/xorg.conf.d"
[    29.197] (==) No Layout section.  Using the first Screen section.
[    29.197] (==) No screen section available. Using defaults.
[    29.197] (**) |-->Screen "Default Screen Section" (0)
[    29.197] (**) |   |-->Monitor "<default monitor>"
[    29.197] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    29.198] (==) Disabling SIGIO handlers for input devices
[    29.198] (==) Automatically adding devices
[    29.198] (==) Automatically enabling devices
[    29.198] (==) Not automatically adding GPU devices
[    29.198] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    29.205] (==) 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/
[    29.205] (==) ModulePath set to "/usr/X11R6/lib/modules"
[    29.205] (II) The server relies on wscons to provide the list of input 
devices.
        If no devices become available, reconfigure wscons or disable 
AutoAddDevices.
[    29.206] (II) Loader magic: 0xd8342e33020
[    29.206] (II) Module ABI versions:
[    29.206]    X.Org ANSI C Emulation: 0.4
[    29.206]    X.Org Video Driver: 20.0
[    29.206]    X.Org XInput driver : 22.1
[    29.206]    X.Org Server Extension : 9.0
[    29.206] (--) PCI:*(0:0:2:0) 8086:0a16:8086:2054 rev 9, Mem @ 
0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
[    29.206] (II) LoadModule: "glx"
[    29.209] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[    29.218] (II) Module glx: vendor="X.Org Foundation"
[    29.218]    compiled for 1.18.4, module version = 1.0.0
[    29.218]    ABI class: X.Org Server Extension, version 9.0
[    29.219] (==) AIGLX enabled
[    29.219] (==) Matched intel as autoconfigured driver 0
[    29.219] (==) Matched vesa as autoconfigured driver 1
[    29.219] (==) Assigned the driver to the xf86ConfigLayout
[    29.219] (II) LoadModule: "intel"
[    29.219] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[    29.222] (II) Module intel: vendor="X.Org Foundation"
[    29.222]    compiled for 1.18.4, module version = 2.99.916
[    29.222]    Module class: X.Org Video Driver
[    29.222]    ABI class: X.Org Video Driver, version 20.0
[    29.222] (II) LoadModule: "vesa"
[    29.222] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
[    29.223] (II) Module vesa: vendor="X.Org Foundation"
[    29.223]    compiled for 1.18.4, module version = 2.3.4
[    29.223]    Module class: X.Org Video Driver
[    29.223]    ABI class: X.Org Video Driver, version 20.0
[    29.223] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    29.223] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    29.223] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    29.223] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, 
P6300
[    29.223] (II) VESA: driver for VESA chipsets: vesa
[    29.225] (II) intel(0): Using Kernel Mode Setting driver: i915, version 
1.6.0 20080730
[    29.226] (WW) Falling back to old probe method for vesa
[    29.227] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 
4400
[    29.227] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, 
avx, avx2
[    29.227] (II) intel(0): Creating default Display subsection in Screen 
section
        "Default Screen Section" for depth/fbbpp 24/32
[    29.227] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    29.227] (==) intel(0): RGB weight 888
[    29.227] (==) intel(0): Default visual is TrueColor
[    29.228] (II) intel(0): Output HDMI1 has no monitor section
[    29.228] (II) intel(0): Enabled output HDMI1
[    29.228] (II) intel(0): Output DP1 has no monitor section
[    29.228] (II) intel(0): Enabled output DP1
[    29.228] (II) intel(0): Output HDMI2 has no monitor section
[    29.228] (II) intel(0): Enabled output HDMI2
[    29.228] (--) intel(0): Using a maximum size of 64x64 for hardware cursors
[    29.228] (II) intel(0): Output VIRTUAL1 has no monitor section
[    29.228] (II) intel(0): Enabled output VIRTUAL1
[    29.228] (--) intel(0): Output HDMI1 using initial mode 1024x768 on pipe 0
[    29.229] (==) intel(0): TearFree disabled
[    29.229] (==) intel(0): DPI set to (96, 96)
[    29.229] (II) Loading sub module "dri2"
[    29.229] (II) LoadModule: "dri2"
[    29.229] (II) Module "dri2" already built-in
[    29.229] (II) Loading sub module "present"
[    29.229] (II) LoadModule: "present"
[    29.229] (II) Module "present" already built-in
[    29.229] (II) UnloadModule: "vesa"
[    29.229] (II) Unloading vesa
[    29.229] (==) Depth 24 pixmap format is 32 bpp
[    29.232] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[    29.232] (==) intel(0): Backing store enabled
[    29.232] (==) intel(0): Silken mouse disabled
[    29.232] (II) intel(0): HW Cursor enabled
[    29.232] (II) intel(0): RandR 1.2 enabled, ignore the following RandR 
disabled message.
[    29.234] (==) intel(0): DPMS enabled
[    29.234] (II) intel(0): [DRI2] Setup complete
[    29.234] (II) intel(0): [DRI2]   DRI driver: i965
[    29.234] (II) intel(0): [DRI2]   VDPAU driver: i965
[    29.234] (II) intel(0): direct rendering: DRI2 enabled
[    29.235] (II) intel(0): hardware support for Present enabled
[    29.235] (--) RandR disabled
[    29.296] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    29.296] (II) AIGLX: enabled GLX_ARB_create_context
[    29.296] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    29.296] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[    29.296] (II) AIGLX: enabled GLX_INTEL_swap_event
[    29.296] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    29.296] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    29.296] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    29.296] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[    29.296] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    29.296] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[    29.296] (II) AIGLX: Loaded and initialized i965
[    29.296] (II) GLX: Initialized DRI2 GL provider for screen 0
[    29.300] (II) intel(0): switch to mode [email protected] on HDMI1 using pipe 0, 
position (0, 0), rotation normal, reflection none
[    29.311] (II) intel(0): Setting screen physical size to 270 x 203
[    29.449] (II) config/wscons: checking input device /dev/wskbd
[    29.449] (II) LoadModule: "kbd"
[    29.451] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[    29.451] (II) Module kbd: vendor="X.Org Foundation"
[    29.451]    compiled for 1.18.4, module version = 1.9.0
[    29.451]    Module class: X.Org XInput Driver
[    29.451]    ABI class: X.Org XInput driver, version 22.1
[    29.451] (II) Using input driver 'kbd' for '/dev/wskbd'
[    29.451] (**) /dev/wskbd: always reports core events
[    29.451] (**) /dev/wskbd: always reports core events
[    29.451] (**) Option "Protocol" "standard"
[    29.451] (**) Option "XkbRules" "base"
[    29.451] (**) Option "XkbModel" "pc105"
[    29.451] (**) Option "XkbLayout" "us"
[    29.451] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: 
KEYBOARD, id 6)
[    29.452] (EE) 
Fatal server error:
[    29.452] (EE) can't switch keyboard to raw mode. Enable support for it in 
the kernel
or use for example:

Option "Protocol" "wskbd"
Option "Device" "/dev/wskbd0"

in your xorg.conf(5) file
[    29.452] (EE) 
[    29.452] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    29.452] (EE) Please also check the log file at "/var/log/Xorg.0.log" for 
additional information.
[    29.452] (EE) 
[    29.452] (II) AIGLX: Suspending AIGLX clients for VT switch
[    29.479] (EE) Server terminated with error (1). Closing log file.

$ dmesg
OpenBSD 6.1 (GENERIC.MP) #4: Sat May  6 09:33:37 CEST 2017
    
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4169592832 (3976MB)
avail mem = 4038545408 (3851MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec170 (83 entries)
bios0: vendor Intel Corp. version "WYLPT10H.86A.0040.2015.0612.1400" date 
06/12/2015
bios0: Intel Corporation D34010WYK
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SSDT SSDT MCFG HPET SSDT SSDT DMAR CSRT
acpi0: wakeup devices PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4) 
PXSX(S4) PXSX(S4) GLAN(S4) EHC1(S4) EHC2(S4) XHC_(S4) HDEF(S4) PEG0(S4) 
PEGP(S4) PWRB(S3)
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) i3-4010U CPU @ 1.70GHz, 1696.33 MHz
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,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 1696334760 Hz
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.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i3-4010U CPU @ 1.70GHz, 1696.08 MHz
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,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
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) i3-4010U CPU @ 1.70GHz, 1696.08 MHz
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,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
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) i3-4010U CPU @ 1.70GHz, 1696.08 MHz
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,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 40 pins
acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiec0 at acpi0: not present
acpicpu0 at acpi0: C2(500@67 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C2(500@67 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C2(500@67 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C2(500@67 mwait.1@0x10), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: FN00, resource for FAN0
acpipwrres1 at acpi0: FN01, resource for FAN1
acpipwrres2 at acpi0: FN02, resource for FAN2
acpipwrres3 at acpi0: FN03, resource for FAN3
acpipwrres4 at acpi0: FN04, resource for FAN4
acpitz0 at acpi0: critical temperature is 105 degC
acpitz1 at acpi0: critical temperature is 105 degC
"INT3F0D" at acpi0 not configured
"NTN0530" at acpi0 not configured
acpibtn0 at acpi0: PWRB
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: Enhanced SpeedStep 1696 MHz: speeds: 1701, 1700, 1600, 1500, 1400, 1300, 
1200, 1100, 1000, 900, 800, 782 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
inteldrm0: 1024x768, 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 0x09: msi
azalia0: No codecs found
xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi
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
em0 at pci0 dev 25 function 0 "Intel I218-V" rev 0x04: msi, address 
ec:a8:6b:ff:8d:be
azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi
azalia1: codecs: Realtek/0x0283
audio0 at azalia1
ehci0 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 8 int 23
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
pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3
ahci0: port 3: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 3 lun 0: <ATA, SanDisk SD6SF1M1, X231> SCSI3 0/direct 
fixed naa.5001b44e5c332fdc
sd0: 122104MB, 512 bytes/sector, 250069680 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 8 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x4e/2: NCT6776F rev 0x33
lm1 at wbsio0 port 0xa00/8: NCT6776F
vmm0 at mainbus0: VMX/EPT
uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 
2.00/0.04 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (195f4da0e67453f1.a) swap on sd0b dump on sd0b

Reply via email to