Backlight on Dell Laptop not adjusting brightness

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

Backlight on Dell Laptop not adjusting brightness

Paul Swanson
Hello,

I've installed OpenBSD 6.4 on my Dell Latitude 7470 laptop, however I'm
having no luck in adjust the brightness of the internal display's backlight.

I've basically run into a dead diagnosing this issue and I'm hoping that I
might be able to get some assistance and where to look next. Needless to say,
I'm really keen to get this one sorted as it's putting quite the dint in my
laptop's battery life.

Here's what I've tried so far with NO impact on the backlight brightness ...

$ xbacklight -display :0 -set 5

$ xbacklight -display :0 -get
5.000000

$ wsconsctl display.brightness=5
display.brightness -> 5.00%

This laptop is essentially all Intel Skylake under the hood some I'm wondering
why it's not playing nice like on the Lenovo / ThinkPads.

Below is my dmesg and also Xorg.0.log.

I'd really appreciate any advice on what I can try next, it's my first time
running OpenBSD as my main system and I'm really enjoying it so far.

Thanks in advance,

Paul Swanson

*** dmesg ***

OpenBSD 6.4 (GENERIC.MP) #3: Thu Dec 20 19:19:32 CET 2018
    [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8460333056 (8068MB)
avail mem = 8194650112 (7815MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.0 @ 0xeb460 (106 entries)
bios0: vendor Dell Inc. version "1.20.3" date 08/20/2018
bios0: Dell Inc. Latitude E7470
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG HPET SSDT LPIT SSDT SSDT SSDT DBGP DBG2 SSDT UEFI SSDT SSDT SLIC TCPA DMAR ASF! BGRT
acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) PXSX(S4) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) PXSX(S4) RP12(S4) PXSX(S4) RP13(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-6300U CPU @ 2.40GHz, 2095.64 MHz, 06-4e-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,SMX,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,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,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 23MHz
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) i5-6300U CPU @ 2.40GHz, 2095.10 MHz, 06-4e-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,SMX,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,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xf0000000, bus 0-127
acpihpet0 at acpi0: 23999999 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus -1 (RP09)
acpiprt5 at acpi0: bus -1 (RP10)
acpiprt6 at acpi0: bus 2 (RP11)
acpiprt7 at acpi0: bus -1 (RP12)
acpiprt8 at acpi0: bus -1 (RP13)
acpiprt9 at acpi0: bus -1 (RP01)
acpiprt10 at acpi0: bus -1 (RP02)
acpiprt11 at acpi0: bus -1 (RP03)
acpiprt12 at acpi0: bus -1 (RP04)
acpiprt13 at acpi0: bus 1 (RP05)
acpiprt14 at acpi0: bus -1 (RP06)
acpiprt15 at acpi0: bus -1 (RP07)
acpiprt16 at acpi0: bus -1 (RP08)
acpiprt17 at acpi0: bus -1 (RP17)
acpiprt18 at acpi0: bus -1 (RP18)
acpiprt19 at acpi0: bus -1 (RP19)
acpiprt20 at acpi0: bus -1 (RP20)
acpiprt21 at acpi0: bus -1 (RP14)
acpiprt22 at acpi0: bus -1 (RP15)
acpiprt23 at acpi0: bus -1 (RP16)
acpiec0 at acpi0
acpiec at acpi0 not configured
acpicpu0 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@1034 mwait.1@0x60), C2(200@151 mwait.1@0x33), C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PG00, resource for PEG0
acpipwrres1 at acpi0: PG01, resource for PEG1
acpipwrres2 at acpi0: PG02, resource for PEG2
acpipwrres3 at acpi0: WRST
acpipwrres4 at acpi0: WRST
acpipwrres5 at acpi0: WRST
acpipwrres6 at acpi0: WRST
acpipwrres7 at acpi0: WRST
acpipwrres8 at acpi0: WRST
acpipwrres9 at acpi0: WRST
acpipwrres10 at acpi0: WRST
acpipwrres11 at acpi0: WRST
acpipwrres12 at acpi0: WRST
acpipwrres13 at acpi0: WRST
acpipwrres14 at acpi0: WRST
acpipwrres15 at acpi0: WRST
acpipwrres16 at acpi0: WRST
acpipwrres17 at acpi0: WRST
acpipwrres18 at acpi0: WRST
acpipwrres19 at acpi0: WRST
acpitz0 at acpi0: critical temperature is 107 degC
acpicmos0 at acpi0
"INT3403" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT3403" at acpi0 not configured
"INT33A1" at acpi0 not configured
tpm0 at acpi0: TPM_ addr 0xfed40000/0x5000: WEC WPCT200 rev 0x2
"PNP0C14" at acpi0 not configured
acpibtn0 at acpi0: LID0
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit offline
acpibat0 at acpi0: BAT0 model "DELL 1W2Y26C" serial 10950 type LiP oem "Samsung SDI"
"DELLABC6" at acpi0 not configured
"DELLABCE" at acpi0 not configured
"INT3400" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCD_
cpu0: Enhanced SpeedStep 2095 MHz: speeds: 2501, 2500, 2200, 2100, 2000, 1900, 1700, 1600, 1400, 1300, 1100, 1000, 800, 700, 500, 400 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 6G Host" rev 0x08
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 520" rev 0x07
drm0 at inteldrm0
inteldrm0: msi
error: [drm:pid0:i915_firmware_load_error_print] *ERROR* failed to load firmware i915/skl_dmc_ver1.bin (-22)
error: [drm:pid0:i915_gem_init_hw] *ERROR* Failed to initialize GuC, error -8 (ignored)
inteldrm0: 1920x1080, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel Core 6G Thermal" rev 0x08 at pci0 dev 4 function 0 not configured
xhci0 at pci0 dev 20 function 0 "Intel 100 Series xHCI" rev 0x21: 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
pchtemp0 at pci0 dev 20 function 2 "Intel 100 Series Thermal" rev 0x21
"Intel 100 Series MEI" rev 0x21 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 100 Series KT" rev 0x21: ports: 16 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
ahci0 at pci0 dev 23 function 0 "Intel 100 Series AHCI" rev 0x21: msi, AHCI 1.3.1
ahci0: PHY offline on port 0
ahci0: port 2: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 2 lun 0: <ATA, LITEON CV8-8E256, C281> SCSI3 0/direct fixed naa.50023031100eb9f2
sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
ppb0 at pci0 dev 28 function 0 "Intel 100 Series PCIE" rev 0xf1: msi
pci1 at ppb0 bus 1
iwm0 at pci1 dev 0 function 0 "Intel Dual Band Wireless AC 8260" rev 0x3a, msi
ppb1 at pci0 dev 29 function 0 "Intel 100 Series PCIE" rev 0xf1: msi
pci2 at ppb1 bus 2
rtsx0 at pci2 dev 0 function 0 "Realtek RTS525A Card Reader" rev 0x01: msi
sdmmc0 at rtsx0: 4-bit, dma
pcib0 at pci0 dev 31 function 0 "Intel 100 Series LPC" rev 0x21
"Intel 100 Series PMC" rev 0x21 at pci0 dev 31 function 2 not configured
azalia0 at pci0 dev 31 function 3 "Intel 100 Series HD Audio" rev 0x21: msi
azalia0: codecs: Realtek/0x0293, Intel/0x2809, using Realtek/0x0293
audio0 at azalia0
ichiic0 at pci0 dev 31 function 4 "Intel 100 Series SMBus" rev 0x21: apic 2 int 16
iic0 at ichiic0
em0 at pci0 dev 31 function 6 "Intel I219-LM" rev 0x21: msi, address 18:db:f2:16:fa:96
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
efifb at mainbus0 not configured
uvideo0 at uhub0 port 2 configuration 1 interface 0 "CNFEH53M531090000502 Integrated_Webcam_HD" rev 2.00/57.29 addr 2
video0 at uvideo0
ugen0 at uhub0 port 8 "Intel Bluetooth" rev 2.00/0.01 addr 3
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (85c97a66f701dfb7.a) swap on sd0b dump on sd0b
iwm0: hw rev 0x200, fw ver 16.242414.0, address 28:16:ad:12:62:59


*** Xorg.0.log ***


[    22.855] (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
[    22.855]    linear framebuffer access unavailable
[    22.877] (--) Using wscons driver on /dev/ttyC4
[    22.893]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[    22.893] X Protocol Version 11, Revision 0
[    22.893] Build Operating System: OpenBSD 6.4 amd64
[    22.893] Current Operating System: OpenBSD latitude.lan 6.4 GENERIC.MP#3 amd64
[    22.893] Build Date: 25 October 2018  11:39:05PM
[    22.893]
[    22.893] Current version of pixman: 0.34.0
[    22.893]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    22.894] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    22.894] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan  9 21:13:20 2019
[    22.895] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[    22.896] (==) No Layout section.  Using the first Screen section.
[    22.896] (==) No screen section available. Using defaults.
[    22.896] (**) |-->Screen "Default Screen Section" (0)
[    22.896] (**) |   |-->Monitor "<default monitor>"
[    22.896] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    22.897] (==) Automatically adding devices
[    22.897] (==) Automatically enabling devices
[    22.897] (==) Not automatically adding GPU devices
[    22.897] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    22.903] (==) 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/
[    22.903] (==) ModulePath set to "/usr/X11R6/lib/modules"
[    22.903] (II) The server relies on wscons to provide the list of input devices.
        If no devices become available, reconfigure wscons or disable AutoAddDevices.
[    22.903] (II) Loader magic: 0x71f23571000
[    22.903] (II) Module ABI versions:
[    22.903]    X.Org ANSI C Emulation: 0.4
[    22.903]    X.Org Video Driver: 23.0
[    22.903]    X.Org XInput driver : 24.1
[    22.903]    X.Org Server Extension : 10.0
[    22.904] (--) PCI:*(0:0:2:0) 8086:1916:1028:06dc rev 7, Mem @ 0xe0000000/16777216, 0xd0000000/268435456, I/O @ 0x0000f000/64
[    22.904] (II) LoadModule: "glx"
[    22.906] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[    22.918] (II) Module glx: vendor="X.Org Foundation"
[    22.918]    compiled for 1.19.6, module version = 1.0.0
[    22.918]    ABI class: X.Org Server Extension, version 10.0
[    22.918] (==) Matched modesetting as autoconfigured driver 0
[    22.918] (==) Assigned the driver to the xf86ConfigLayout
[    22.918] (II) LoadModule: "modesetting"
[    22.919] (II) Loading /usr/X11R6/lib/modules/drivers/modesetting_drv.so
[    22.920] (II) Module modesetting: vendor="X.Org Foundation"
[    22.920]    compiled for 1.19.6, module version = 1.19.6
[    22.920]    Module class: X.Org Video Driver
[    22.920]    ABI class: X.Org Video Driver, version 23.0
[    22.920] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    22.920] (**) modeset(0): claimed PCI slot 0@0:2:0
[    22.920] (II) modeset(0): using default device
[    22.921] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    22.921] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    22.921] (==) modeset(0): RGB weight 888
[    22.921] (==) modeset(0): Default visual is TrueColor
[    22.921] (II) Loading sub module "glamoregl"
[    22.921] (II) LoadModule: "glamoregl"
[    22.923] (II) Loading /usr/X11R6/lib/modules/libglamoregl.so
[    22.940] (II) Module glamoregl: vendor="X.Org Foundation"
[    22.940]    compiled for 1.19.6, module version = 1.0.0
[    22.940]    ABI class: X.Org ANSI C Emulation, version 0.4
[    22.940] (II) glamor: OpenGL accelerated X.org driver based.
[    22.982] (II) glamor: EGL version 1.4 (DRI2):
[    22.998] (II) modeset(0): glamor initialized
[    23.000] (II) modeset(0): Output eDP-1 has no monitor section
[    23.000] (II) modeset(0): Output HDMI-1 has no monitor section
[    23.000] (II) modeset(0): Output DP-1 has no monitor section
[    23.001] (II) modeset(0): Output HDMI-2 has no monitor section
[    23.003] (II) modeset(0): EDID for output eDP-1
[    23.003] (II) modeset(0): Manufacturer: AUO  Model: 133d  Serial#: 0
[    23.003] (II) modeset(0): Year: 2014  Week: 0
[    23.003] (II) modeset(0): EDID Version: 1.4
[    23.003] (II) modeset(0): Digital Display Input
[    23.003] (II) modeset(0): 6 bits per channel
[    23.003] (II) modeset(0): Digital interface is DisplayPort
[    23.003] (II) modeset(0): Max Image Size [cm]: horiz.: 31  vert.: 17
[    23.003] (II) modeset(0): Gamma: 2.20
[    23.003] (II) modeset(0): No DPMS capabilities specified
[    23.003] (II) modeset(0): Supported color encodings: RGB 4:4:4
[    23.003] (II) modeset(0): First detailed timing is preferred mode
[    23.003] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[    23.003] (II) modeset(0): redX: 0.643 redY: 0.336   greenX: 0.313 greenY: 0.625
[    23.003] (II) modeset(0): blueX: 0.151 blueY: 0.053   whiteX: 0.313 whiteY: 0.329
[    23.003] (II) modeset(0): Manufacturer's mask: 0
[    23.003] (II) modeset(0): Supported detailed timing:
[    23.003] (II) modeset(0): clock: 141.0 MHz   Image Size:  309 x 173 mm
[    23.003] (II) modeset(0): h_active: 1920  h_sync: 1936  h_sync_end 1952 h_blank_end 2104 h_border: 0
[    23.003] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end 1097 v_blanking: 1116 v_border: 0
[    23.003] (II) modeset(0): Supported detailed timing:
[    23.003] (II) modeset(0): clock: 112.8 MHz   Image Size:  309 x 173 mm
[    23.003] (II) modeset(0): h_active: 1920  h_sync: 1936  h_sync_end 1952 h_blank_end 2104 h_border: 0
[    23.003] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end 1097 v_blanking: 1116 v_border: 0
[    23.003] (II) modeset(0):  MNP4W<80>B140HAN
[    23.003] (II) modeset(0): Unknown vendor-specific block 0
[    23.003] (II) modeset(0): EDID (in hex):
[    23.003] (II) modeset(0):   00ffffffffffff0006af3d1300000000
[    23.003] (II) modeset(0):   00180104951f11780284e5a45650a026
[    23.003] (II) modeset(0):   0d505400000001010101010101010101
[    23.003] (II) modeset(0):   010101010101143780b8703824401010
[    23.003] (II) modeset(0):   3e0035ad1000001a102c80b870382440
[    23.003] (II) modeset(0):   10103e0035ad1000001a000000fe004d
[    23.003] (II) modeset(0):   4e503457804231343048414e00000000
[    23.003] (II) modeset(0):   0000412196011100000a010a20200087
[    23.004] (II) modeset(0): Printing probed modes for output eDP-1
[    23.004] (II) modeset(0): Modeline "1920x1080"x60.0  141.00  1920 1936 1952 2104
1080 1083 1097 1116 +hsync -vsync (67.0 kHz eP)
[    23.004] (II) modeset(0): Modeline "1920x1080"x48.0  112.80  1920 1936 1952 2104
1080 1083 1097 1116 +hsync -vsync (53.6 kHz e)
[    23.004] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880
1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[    23.004] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688
1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[    23.004] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[    23.004] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400
768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[    23.004] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[    23.004] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[    23.004] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[    23.004] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[    23.004] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600
600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[    23.004] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[    23.004] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[    23.004] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[    23.004] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[    23.004] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[    23.004] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[    23.004] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[    23.004] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[    23.004] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[    23.004] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[    23.004] (II) modeset(0): EDID for output HDMI-1
[    23.004] (II) modeset(0): EDID for output DP-1
[    23.005] (II) modeset(0): EDID for output HDMI-2
[    23.005] (II) modeset(0): Output eDP-1 connected
[    23.005] (II) modeset(0): Output HDMI-1 disconnected
[    23.005] (II) modeset(0): Output DP-1 disconnected
[    23.005] (II) modeset(0): Output HDMI-2 disconnected
[    23.005] (II) modeset(0): Using exact sizes for initial modes
[    23.005] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[    23.005] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    23.005] (==) modeset(0): DPI set to (96, 96)
[    23.005] (II) Loading sub module "fb"
[    23.005] (II) LoadModule: "fb"
[    23.006] (II) Loading /usr/X11R6/lib/modules/libfb.so
[    23.008] (II) Module fb: vendor="X.Org Foundation"
[    23.008]    compiled for 1.19.6, module version = 1.0.0
[    23.008]    ABI class: X.Org ANSI C Emulation, version 0.4
[    23.008] (==) Depth 24 pixmap format is 32 bpp
[    23.231] (==) modeset(0): Backing store enabled
[    23.232] (==) modeset(0): Silken mouse enabled
[    23.232] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    23.274] (II) modeset(0): Initializing kms color map
[    23.274] (==) modeset(0): DPMS enabled
[    23.275] (II) modeset(0): [DRI2] Setup complete
[    23.275] (II) modeset(0): [DRI2]   DRI driver: i965
[    23.275] (II) modeset(0): [DRI2]   VDPAU driver: i965
[    23.275] (--) RandR disabled
[    23.300] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    23.300] (II) AIGLX: enabled GLX_ARB_create_context
[    23.300] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    23.300] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[    23.300] (II) AIGLX: enabled GLX_INTEL_swap_event
[    23.300] (II) AIGLX: enabled GLX_SGI_swap_control
[    23.300] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    23.300] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    23.300] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[    23.300] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    23.300] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[    23.301] (II) AIGLX: Loaded and initialized i965
[    23.301] (II) GLX: Initialized DRI2 GL provider for screen 0
[    23.309] (II) modeset(0): Damage tracking initialized
[    23.309] (II) modeset(0): Setting screen physical size to 508 x 285
[    23.480] (II) config/wscons: checking input device /dev/wskbd
[    23.480] (II) wskbd: using layout us
[    23.480] (II) LoadModule: "kbd"
[    23.481] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[    23.482] (II) Module kbd: vendor="X.Org Foundation"
[    23.482]    compiled for 1.19.6, module version = 1.9.0
[    23.482]    Module class: X.Org XInput Driver
[    23.482]    ABI class: X.Org XInput driver, version 24.1
[    23.482] (II) Using input driver 'kbd' for '/dev/wskbd'
[    23.482] (**) /dev/wskbd: always reports core events
[    23.482] (**) Option "Protocol" "standard"
[    23.482] (**) Option "XkbRules" "base"
[    23.482] (**) Option "XkbModel" "pc105"
[    23.482] (**) Option "XkbLayout" "us"
[    23.482] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
[    23.917] (II) config/wscons: checking input device /dev/wsmouse
[    23.917] (II) LoadModule: "ws"
[    23.918] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[    23.919] (II) Module ws: vendor="X.Org Foundation"
[    23.919]    compiled for 1.19.6, module version = 1.3.0
[    23.919]    Module class: X.Org XInput Driver
[    23.919]    ABI class: X.Org XInput driver, version 24.1
[    23.919] (II) Using input driver 'ws' for '/dev/wsmouse'
[    23.919] (**) /dev/wsmouse: always reports core events
[    23.919] (II) ws: /dev/wsmouse: debuglevel 0
[    23.919] (**) Option "Device" "/dev/wsmouse"
[    23.919] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[    23.919] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[    23.919] (**) ws: /dev/wsmouse: associated screen: 0
[    24.344] (II) ws: /dev/wsmouse: minimum x position: 0
[    24.344] (II) ws: /dev/wsmouse: maximum x position: 1919
[    24.344] (II) ws: /dev/wsmouse: minimum y position: 0
[    24.344] (II) ws: /dev/wsmouse: maximum y position: 1079
[    24.344] (==) ws: /dev/wsmouse: Buttons: 7
[    24.350] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[    24.350] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 7)
[    24.777] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[    24.777] (**) /dev/wsmouse: (accel) acceleration profile 0
[    24.777] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[    24.777] (**) /dev/wsmouse: (accel) acceleration threshold: 4

Reply | Threaded
Open this post in threaded view
|

Re: Backlight on Dell Laptop not adjusting brightness

Ted Unangst-6
Paul Swanson wrote:
> This laptop is essentially all Intel Skylake under the hood some I'm wondering
> why it's not playing nice like on the Lenovo / ThinkPads.

There's no guarantee that the screen backlight is actually wired to the
graphics chip and not just some acpi buttons. :(

> I'd really appreciate any advice on what I can try next, it's my first time
> running OpenBSD as my main system and I'm really enjoying it so far.

Does it work at the bootloader, before the kernel runs?

Reply | Threaded
Open this post in threaded view
|

Re: Backlight on Dell Laptop not adjusting brightness

Paul Swanson
Hi Ted,

Thanks for your email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, January 10, 2019 10:09 AM, Ted Unangst <[hidden email]> wrote:

> Paul Swanson wrote:
>
> > This laptop is essentially all Intel Skylake under the hood some I'm wondering
> > why it's not playing nice like on the Lenovo / ThinkPads.
>
> There's no guarantee that the screen backlight is actually wired to the
> graphics chip and not just some acpi buttons. :(
>

That appears to be the case.

I've noticed that a number of the Fn buttons don't register keypresses with X,
such as the controls for screen and keypad backlights (whereas audio volume does).

> > I'd really appreciate any advice on what I can try next, it's my first time
> > running OpenBSD as my main system and I'm really enjoying it so far.
>
> Does it work at the bootloader, before the kernel runs?

It seems that in the Dell BIOS I can adjust screen brightness (backlight) and
that setting appears to continue to apply after OS boot; so I now have that as
a workaround.

I'd like to chase this up a bit further and see if there's anything I can do to
improve support on this model; Ubuntu has great support so I can perhaps look
for there for ideas and inspiration.

Ted, do you have any suggestions for what parts of OpenBSD I should be looking at
to improve support for these keys and functions?

Cheers,

Paul S.

Reply | Threaded
Open this post in threaded view
|

Re: Backlight on Dell Laptop not adjusting brightness

Ted Unangst-6
Paul Swanson wrote:
> I'd like to chase this up a bit further and see if there's anything I can do to
> improve support on this model; Ubuntu has great support so I can perhaps look
> for there for ideas and inspiration.
>
> Ted, do you have any suggestions for what parts of OpenBSD I should be looking at
> to improve support for these keys and functions?

If you look in src/sys/dev/acpi you will see acpithinkpad.c which has
functions for a bunch of getters and setters and buttons, etc. If you look in
linux, there's going to be a similar file somewhere, and next to it will be an
acpidell.c file which will have some magic numbers in it...

This is all pretty hands on stuff.

Reply | Threaded
Open this post in threaded view
|

Re: Backlight on Dell Laptop not adjusting brightness

Ted Unangst-6
In reply to this post by Paul Swanson
Paul Swanson wrote:

> $ wsconsctl display.brightness=5
> display.brightness -> 5.00%
>
> This laptop is essentially all Intel Skylake under the hood some I'm wondering
> why it's not playing nice like on the Lenovo / ThinkPads.
>
> Below is my dmesg and also Xorg.0.log.
> "DELLABC6" at acpi0 not configured
> "DELLABCE" at acpi0 not configured
> "INT3400" at acpi0 not configured
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: LCD_

I went back and reread this. In theory, acpivout should support backlight
control. That's another place to look and see what's really happening.

Reply | Threaded
Open this post in threaded view
|

Re: Backlight on Dell Laptop not adjusting brightness

Paul Swanson
Ted, thanks for those tips.

I'll get stuck into it and report back once I've made some progress.

Paul Swanson


Sent from ProtonMail, encrypted email based in Switzerland.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, January 11, 2019 7:28 PM, Ted Unangst <[hidden email]> wrote:

> Paul Swanson wrote:
>
> > $ wsconsctl display.brightness=5
> > display.brightness -> 5.00%
> > This laptop is essentially all Intel Skylake under the hood some I'm wondering
> > why it's not playing nice like on the Lenovo / ThinkPads.
> > Below is my dmesg and also Xorg.0.log.
> > "DELLABC6" at acpi0 not configured
> > "DELLABCE" at acpi0 not configured
> > "INT3400" at acpi0 not configured
> > acpivideo0 at acpi0: GFX0
> > acpivout0 at acpivideo0: LCD_
>
> I went back and reread this. In theory, acpivout should support backlight
> control. That's another place to look and see what's really happening.


Reply | Threaded
Open this post in threaded view
|

Re: Backlight on Dell Laptop not adjusting brightness

jes@posteo.de
Hi,

I use

https://github.com/jcs/intel_backlight_fbsd

to change the display brightness of my XPS.
Maybe have a look at that.

Cheers,
Jan


On 01/11, Paul Swanson wrote:

> Ted, thanks for those tips.
>
> I'll get stuck into it and report back once I've made some progress.
>
> Paul Swanson
>
>
> Sent from ProtonMail, encrypted email based in Switzerland.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Friday, January 11, 2019 7:28 PM, Ted Unangst <[hidden email]> wrote:
>
> > Paul Swanson wrote:
> >
> > > $ wsconsctl display.brightness=5
> > > display.brightness -> 5.00%
> > > This laptop is essentially all Intel Skylake under the hood some I'm wondering
> > > why it's not playing nice like on the Lenovo / ThinkPads.
> > > Below is my dmesg and also Xorg.0.log.
> > > "DELLABC6" at acpi0 not configured
> > > "DELLABCE" at acpi0 not configured
> > > "INT3400" at acpi0 not configured
> > > acpivideo0 at acpi0: GFX0
> > > acpivout0 at acpivideo0: LCD_
> >
> > I went back and reread this. In theory, acpivout should support backlight
> > control. That's another place to look and see what's really happening.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Backlight on Dell Laptop not adjusting brightness

Rajesh Murthy
Hello Paul,

On my new Dell Latitude Bios, there is an option to turn on/off (using Fn 7 keys) the backlight. It works well with stock install and fw_update.

Hope this is useful,
Good luck,
Rajesh


  Original Message  
From: [hidden email]
Sent: January 13, 2019 07:53
To: [hidden email]
Subject: Re: Backlight on Dell Laptop not adjusting brightness

Hi,

I use

https://github.com/jcs/intel_backlight_fbsd

to change the display brightness of my XPS.
Maybe have a look at that.

Cheers,
Jan


On 01/11, Paul Swanson wrote:

> Ted, thanks for those tips.
>
> I'll get stuck into it and report back once I've made some progress.
>
> Paul Swanson
>
>
> Sent from ProtonMail, encrypted email based in Switzerland.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Friday, January 11, 2019 7:28 PM, Ted Unangst <[hidden email]> wrote:
>
> > Paul Swanson wrote:
> >
> > > $ wsconsctl display.brightness=5
> > > display.brightness -> 5.00%
> > > This laptop is essentially all Intel Skylake under the hood some I'm wondering
> > > why it's not playing nice like on the Lenovo / ThinkPads.
> > > Below is my dmesg and also Xorg.0.log.
> > > "DELLABC6" at acpi0 not configured
> > > "DELLABCE" at acpi0 not configured
> > > "INT3400" at acpi0 not configured
> > > acpivideo0 at acpi0: GFX0
> > > acpivout0 at acpivideo0: LCD_
> >
> > I went back and reread this. In theory, acpivout should support backlight
> > control. That's another place to look and see what's really happening.
>
>