Thorsten Zöller

Back to Articles

OpenBSD on the Medion AKOYA E4253

2019-11-18

A little less than I year ago, I have finally installed OpenBSD for the first time, and I am really happy with it.[1] Having used Arch Linux for several years — which was my favorite Linux distribution — I finally feel “at home” with OpenBSD.

This article is about running OpenBSD on a Medion AKOYA E4253 laptop. Since I don’t care that much about hardware and I won’t talk about my setup here, this is going to be a rather short article.

Wireless Networking

The Intel Wireless-AC 9462 internal WiFi adapter contained in the Medion AKOYA E4253 is not supported by the iwm driver and therefore not working. This is obviously a somewhat serious issue. Since the laptop does not have an Ethernet port (a very unfortunate development in modern laptop design, in my opinion) and USB Ethernet adapters seem to be somewhat problematic with OpenBSD, I am forced to using a USB WiFi adapter. I have tried two different ones so far: The EDIMAX EW-7811Un, and the D-Link DWA-131 Nano. Both are supported by the urtwn driver (the D-Link adapter only since OpenBSD 6.5) and work, but have a very restricted signal reception in my experience. Also, the internet connection somehow seems to be not very stable, and I often experience rather severe packet loss rates. I have tried hard to figure out the cause, but was not able to change anything for the better yet. My hope is that the iwm driver will at some point be able to support the Wireless-AC 9462 adapter as well.

Graphics

The Intel UHD Graphics 605 integrated graphics chipset on the Pentium Silver N5000 processor running in the Medion AKOYA E4253 is not supported by the intel driver, and wsfb is used as a fallback. Since I don’t do anything with the laptop which is very graphics intensive, this is not a major issue, although the graphics sometimes does seem to be somewhat slow nevertheless.

Trackpad

The trackpad is not recognized by OpenBSD and therefore not working. Most of the time, I don’t really care about it, for two reasons: I only use the keyboard for most things anyway; and if that is not possible (for instance when browsing the web), I prefer to use a mouse. There are a few situations, however, where it would be nice to have a working trackpad so that I don’t need to plug in a mouse first. Still a rather minor issue.

Printing

Somewhat surprisingly, network printing on a HP Officejet Pro 8615 printer worked pretty much out-of-the-box. I just had to install cups and hplip, after which CUPS was able to detect the printer over the network.

###

As you can see, I have pretty low requirements for my hardware; I mostly use my computer for writing text (including code) and browsing the internet.

That some things don’t work with OpenBSD was to be expected, in particular since the laptop is a fairly new model. This does not affect my love for OpenBSD, however, and I am happy that it is running at all without any real show-stoppers.

Finally, here is my dmesg:

OpenBSD 6.5 (GENERIC.MP) #0: Wed Apr 24 23:38:54 CEST 2019
    root@syspatch-65-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8387981312 (7999MB)
avail mem = 8124129280 (7747MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0x79eb3000 (75 entries)
bios0: vendor American Megatrends Inc. version "GeminiLake_NS14G_V1.0.21" date 06/15/2018
bios0: MEDION E4253 MD61110
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP FPDT FIDT MCFG DBG2 DBGP HPET LPIT APIC NPKT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT SSDT UEFI TPM2 DMAR WDAT NHLT WSMT
acpi0: wakeup devices LID0(S3) HDAS(S3) XHC_(S4) XDCI(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 19200000 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Pentium(R) Silver N5000 CPU @ 1.10GHz, 4491.82 MHz, 06-7a-01
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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,SGX,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,UMIP,IBRS,IBPB,STIBP,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu0: 4MB 64b/line 16-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 78MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.2.4.2.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Pentium(R) Silver N5000 CPU @ 1.10GHz, 4491.57 MHz, 06-7a-01
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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,SGX,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,UMIP,IBRS,IBPB,STIBP,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu1: 4MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Pentium(R) Silver N5000 CPU @ 1.10GHz, 4493.40 MHz, 06-7a-01
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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,SGX,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,UMIP,IBRS,IBPB,STIBP,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu2: 4MB 64b/line 16-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Pentium(R) Silver N5000 CPU @ 1.10GHz, 4488.87 MHz, 06-7a-01
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,CX16,xTPR,PDCM,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,3DNOWP,PERF,ITSC,FSGSBASE,SGX,SMEP,ERMS,MPX,RDSEED,SMAP,CLFLUSHOPT,PT,SHA,UMIP,IBRS,IBPB,STIBP,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu3: 4MB 64b/line 16-way L2 cache
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 120 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (RP01)
acpiprt2 at acpi0: bus -1 (RP02)
acpiprt3 at acpi0: bus 1 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiprt5 at acpi0: bus -1 (RP05)
acpiprt6 at acpi0: bus -1 (RP06)
acpiec0 at acpi0
acpi0: GPE 0x26 already enabled
acpipwrres0 at acpi0: DRST
acpipwrres1 at acpi0: DRST
acpipwrres2 at acpi0: DRST
acpipwrres3 at acpi0: DRST
acpipwrres4 at acpi0: DRST
acpipwrres5 at acpi0: DRST
acpipwrres6 at acpi0: WRST
acpicpu0 at acpi0: C3(10@150 mwait.1@0x60), C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS
acpicpu1 at acpi0: C3(10@150 mwait.1@0x60), C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS
acpicpu2 at acpi0: C3(10@150 mwait.1@0x60), C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS
acpicpu3 at acpi0: C3(10@150 mwait.1@0x60), C2(10@50 mwait.1@0x21), C1(1000@1 mwait.1@0x1), PSS
acpipwrres7 at acpi0: FN00, resource for FAN0
acpitz0 at acpi0: critical temperature is 95 degC
"INT3453" at acpi0 not configured
"INT3453" at acpi0 not configured
"INT3453" at acpi0 not configured
acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "Li-ion Battery" serial 00 type Lion oem "Medion"
acpibtn0 at acpi0: LID0
"HTIX5288" at acpi0 not configured
"ELAN8D02" at acpi0 not configured
"ID9001" at acpi0 not configured
acpicmos0 at acpi0
"INT3453" at acpi0 not configured
"INT33A1" at acpi0 not configured
"MSFT0101" at acpi0 not configured
acpibtn1 at acpi0: PWRB
"INT33D5" at acpi0 not configured
"INT3400" at acpi0 not configured
"INT3403" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
cpu0: Enhanced SpeedStep 4491 MHz: speeds: 1101, 1100, 1000, 900, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor "Intel", unknown product 0x31f0 rev 0x03
vendor "Intel", unknown product 0x318c (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 0 function 1 not configured
"Intel UHD Graphics 605" rev 0x03 at pci0 dev 2 function 0 not configured
vendor "Intel", unknown product 0x31dc (class network subclass miscellaneous, rev 0x03) at pci0 dev 12 function 0 not configured
azalia0 at pci0 dev 14 function 0 vendor "Intel", unknown product 0x3198 rev 0x03: msi
azalia0: codecs: Realtek/0x0256, Intel/0x280d, using Realtek/0x0256
audio0 at azalia0
vendor "Intel", unknown product 0x319a (class communications subclass miscellaneous, rev 0x03) at pci0 dev 15 function 0 not configured
ahci0 at pci0 dev 18 function 0 vendor "Intel", unknown product 0x31e3 rev 0x03: msi, AHCI 1.3.1
ahci0: PHY offline on port 0
ahci0: port 1: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 1 lun 0: <ATA, HFS256G39TND-N21, 3000> SCSI3 0/direct fixed t10.ATA_HFS256G39TND-N210A_ES81N472110801D0L_
sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
ppb0 at pci0 dev 19 function 0 vendor "Intel", unknown product 0x31d8 rev 0xf3: msi
pci1 at ppb0 bus 1
xhci0 at pci0 dev 21 function 0 vendor "Intel", unknown product 0x31a8 rev 0x03: 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
vendor "Intel", unknown product 0x31ac (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 22 function 0 not configured
vendor "Intel", unknown product 0x31ae (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 22 function 1 not configured
vendor "Intel", unknown product 0x31b0 (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 22 function 2 not configured
vendor "Intel", unknown product 0x31b2 (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 22 function 3 not configured
vendor "Intel", unknown product 0x31b4 (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 23 function 0 not configured
vendor "Intel", unknown product 0x31b6 (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 23 function 1 not configured
vendor "Intel", unknown product 0x31b8 (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 23 function 2 not configured
vendor "Intel", unknown product 0x31ba (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 23 function 3 not configured
vendor "Intel", unknown product 0x31bc (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 24 function 0 not configured
vendor "Intel", unknown product 0x31be (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 24 function 1 not configured
vendor "Intel", unknown product 0x31c0 (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 24 function 2 not configured
vendor "Intel", unknown product 0x31ee (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 24 function 3 not configured
vendor "Intel", unknown product 0x31c2 (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 25 function 0 not configured
vendor "Intel", unknown product 0x31c4 (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 25 function 1 not configured
vendor "Intel", unknown product 0x31c6 (class DASP subclass miscellaneous, rev 0x03) at pci0 dev 25 function 2 not configured
sdhc0 at pci0 dev 28 function 0 vendor "Intel", unknown product 0x31cc rev 0x03: apic 1 int 39
sdhc0: SDHC 3.0, 200 MHz base clock
sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma
sdhc1 at pci0 dev 30 function 0 vendor "Intel", unknown product 0x31d0 rev 0x03: apic 1 int 42
sdhc1: SDHC 3.0, 200 MHz base clock
sdmmc1 at sdhc1: 4-bit, sd high-speed, mmc high-speed, dma
pcib0 at pci0 dev 31 function 0 vendor "Intel", unknown product 0x31e8 rev 0x03
vendor "Intel", unknown product 0x31d4 (class serial bus subclass SMBus, rev 0x03) at pci0 dev 31 function 1 not configured
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
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb0 at mainbus0: 1920x1080, 32bpp
wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
sdmmc1: can't enable card
sdmmc0: can't enable card
uhidev0 at uhub0 port 2 configuration 1 interface 0 "Logitech USB Optical Mouse" rev 2.00/72.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
ugen0 at uhub0 port 3 "Generic USB2.0-CRW" rev 2.00/39.60 addr 3
urtwn0 at uhub0 port 5 configuration 1 interface 0 "Realtek Wireless N Nano USB Adapter" rev 2.10/2.00 addr 4
urtwn0: MAC/BB RTL8192EU, RF 6052 2T2R, address 58:d5:6e:01:9d:bd
uvideo0 at uhub0 port 6 configuration 1 interface 0 "Alcor Micro USB 2.0 Camera" rev 2.00/6.00 addr 5
video0 at uvideo0
ugen1 at uhub0 port 9 "Intel product 0x0aaa" rev 2.00/0.02 addr 6
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (72c97fda8f31034e.a) swap on sd0b dump on sd0b
chrome[69748]: pledge "", syscall 289
chrome[62588]: pledge "", syscall 289
chrome[60316]: pledge "", syscall 289

1. For essentially the same reasons as stated in OpenBSD : why and how.