NetBSD Problem Report #57825

From www@netbsd.org  Sat Jan  6 19:54:47 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C72B61A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  6 Jan 2024 19:54:47 +0000 (UTC)
Message-Id: <20240106195444.7E20B1A923A@mollari.NetBSD.org>
Date: Sat,  6 Jan 2024 19:54:44 +0000 (UTC)
From: rwhitlock22@gmail.com
Reply-To: rwhitlock22@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Malfunctioning screen brightness keys and sysctl
X-Send-Pr-Version: www-1.0

>Number:         57825
>Category:       kern
>Synopsis:       Malfunctioning screen brightness keys and sysctl
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 06 19:55:00 +0000 2024
>Originator:     Robert Whitlock
>Release:        10.0_RC2
>Organization:
>Environment:
NetBSD thinkpad 10.0_RC2 NetBSD 10.0_RC2 (GENERIC) #0: Mon Jan  1 14:04:52 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
On this Lenovo Thinkpad T450 laptop, the brightness keys don't work correctly. The "increase screen brightness" key does not work at all, and the "decrease screen brightness" key always sets the screen brightness to the minimum or a near-minimum value.

The screen brightness is correctly adjusted by the command

sysctl -w hw.acpi.acpiout0.brightness=N

where N is anywhere from 0 to 100, however a subsequent

sysctl hw.acpi.acpiout0.brightness

command to read the value back always reports a value of 100. When N is 0, the display is not turned off, but I do not know whether this is the expected behavior. It would be nice if setting the brightness to zero turned off the backlight.

The screen brightness keys on the keyboard similarly do not affect the value of the brightness reported by sysctl.

Additionally, the screen brightness is reset to 100% whenever I plug in or remove the AC power cord. I am not sure whether this is a bug, but I would like to disable that behavior either way.

Below is a copy of the _BCM, _BCL and _BQC methods from the output of acpidump -dt. I found two instances of each, so I am including them both. Below that is a copy of the output of dmesg.

...
    Scope (\_SB.PCI0.VID.LCD0)
    {
        Method (_BCL, 0, NotSerialized)  // _BCL: Brightness Control Levels
        {
            If (\WVIS)
            {
                \NBCF = 0x01
            }

            Local0 = \_SB.PCI0.LPC.EC.BFRQ ()
            If ((\_SB.PCI0.VID.PFMB != Local0))
            {
                \_SB.PCI0.VID.AINT (0x03, Local0)
            }

            If (\WIN8)
            {
                Return (Package (0x67)
                {
                    0x64, 
                    0x64, 
                    0x00, 
                    0x01, 
                    0x02, 
                    0x03, 
                    0x04, 
                    0x05, 
                    0x06, 
                    0x07, 
                    0x08, 
                    0x09, 
                    0x0A, 
                    0x0B, 
                    0x0C, 
                    0x0D, 
                    0x0E, 
                    0x0F, 
                    0x10, 
                    0x11, 
                    0x12,
                    0x13, 
                    0x14, 
                    0x15, 
                    0x16, 
                    0x17, 
                    0x18, 
                    0x19, 
                    0x1A, 
                    0x1B, 
                    0x1C, 
                    0x1D, 
                    0x1E, 
                    0x1F, 
                    0x20, 
                    0x21, 
                    0x22, 
                    0x23, 
                    0x24, 
                    0x25, 
                    0x26, 
                    0x27, 
                    0x28, 
                    0x29, 
                    0x2A, 
                    0x2B, 
                    0x2C, 
                    0x2D, 
                    0x2E, 
                    0x2F, 
                    0x30, 
                    0x31, 
                    0x32, 
                    0x33, 
                    0x34, 
                    0x35, 
                    0x36, 
                    0x37, 
                    0x38, 
                    0x39, 
                    0x3A, 
                    0x3B,
                    0x3C, 
                    0x3D, 
                    0x3E, 
                    0x3F, 
                    0x40, 
                    0x41, 
                    0x42, 
                    0x43, 
                    0x44, 
                    0x45, 
                    0x46, 
                    0x47, 
                    0x48, 
                    0x49, 
                    0x4A, 
                    0x4B, 
                    0x4C, 
                    0x4D, 
                    0x4E, 
                    0x4F, 
                    0x50, 
                    0x51, 
                    0x52, 
                    0x53, 
                    0x54, 
                    0x55, 
                    0x56, 
                    0x57, 
                    0x58, 
                    0x59, 
                    0x5A, 
                    0x5B, 
                    0x5C, 
                    0x5D, 
                    0x5E, 
                    0x5F, 
                    0x60, 
                    0x61, 
                    0x62, 
                    0x63, 
                    0x64
                })
            }

            Return (\_SB.PCI0.LPC.EC.BRTW)
        }

        Method (_BCM, 1, NotSerialized)  // _BCM: Brightness Control Method
        {
            If (\WIN8)
            {
                \_SB.PCI0.VID.AINT (0x01, \_SB.PCI0.LPC.EC.BRCD (Arg0))
            }
            Else
            {
                Local0 = Match (\_SB.PCI0.LPC.EC.BRTW, MEQ, Arg0, MTR, 0x00, 0x02)
                If ((Local0 != Ones))
                {
                    Local1 = (Local0 - 0x02)
                    \BRLV = Local1
                    \_SB.PCI0.LPC.EC.BRNS ()
                    \UCMS (0x16)
                }
            }
        }

        Method (_BQC, 0, NotSerialized)  // _BQC: Brightness Query Current
        {
            Local0 = \BRLV
            Local1 = (Local0 + 0x02)
            If ((Local1 <= 0x11))
            {
                Return (DerefOf (\_SB.PCI0.LPC.EC.BRTW [Local1]))
            }
            Else
            {
                Return (Zero)
            }
        }
    }

    Scope (\_SB.PCI0.PEG.VID.LCD0)
    {
        Method (_BCL, 0, NotSerialized)  // _BCL: Brightness Control Levels
        {
            If (\WVIS)
            {
                \NBCF = 0x01
            }

            If (\WIN8)
            {
                Return (Package (0x67)
                {
                    0x64, 
                    0x64, 
                    0x00, 
                    0x01, 
                    0x02, 
                    0x03, 
                    0x04, 
                    0x05, 
                    0x06, 
                    0x07, 
                    0x08, 
                    0x09, 
                    0x0A, 
                    0x0B, 
                    0x0C, 
                    0x0D, 
                    0x0E, 
                    0x0F, 
                    0x10, 
                    0x11, 
                    0x12, 
                    0x13, 
                    0x14, 
                    0x15, 
                    0x16, 
                    0x17, 
                    0x18, 
                    0x19, 
                    0x1A,
                    0x1B, 
                    0x1C, 
                    0x1D, 
                    0x1E, 
                    0x1F, 
                    0x20, 
                    0x21, 
                    0x22, 
                    0x23, 
                    0x24, 
                    0x25, 
                    0x26, 
                    0x27, 
                    0x28, 
                    0x29, 
                    0x2A, 
                    0x2B, 
                    0x2C, 
                    0x2D, 
                    0x2E, 
                    0x2F, 
                    0x30, 
                    0x31, 
                    0x32, 
                    0x33, 
                    0x34, 
                    0x35, 
                    0x36, 
                    0x37, 
                    0x38, 
                    0x39, 
                    0x3A, 
                    0x3B, 
                    0x3C, 
                    0x3D, 
                    0x3E, 
                    0x3F, 
                    0x40, 
                    0x41, 
                    0x42, 
                    0x43, 
                    0x44, 
                    0x45, 
                    0x46, 
                    0x47, 
                    0x48, 
                    0x49, 
                    0x4A, 
                    0x4B, 
                    0x4C, 
                    0x4D, 
                    0x4E, 
                    0x4F, 
                    0x50, 
                    0x51, 
                    0x52, 
                    0x53, 
                    0x54, 
                    0x55, 
                    0x56, 
                    0x57, 
                    0x58, 
                    0x59, 
                    0x5A, 
                    0x5B, 
                    0x5C, 
                    0x5D, 
                    0x5E, 
                    0x5F, 
                    0x60, 
                    0x61, 
                    0x62, 
                    0x63, 
                    0x64
                })
            }

            Return (\_SB.PCI0.LPC.EC.BRTW)
        }

        Method (_BCM, 1, NotSerialized)  // _BCM: Brightness Control Method
        {
            If (((\WIN7 != 0x00) && \_SB.PCI0.PEG.VID.ISOP ()))
            {
                \_SB.PCI0.VID.LCD0._BCM (Arg0)
            }
            ElseIf (\NBCF)
            {
                Local0 = Match (\_SB.PCI0.LPC.EC.BRTW, MEQ, Arg0, MTR, 0x00, 0x02)
                If ((Local0 != Ones))
                {
                    Local1 = (Local0 - 0x02)
                    \VBRC (Local1)
                    \BRLV = Local1
                }
            }
        }

        Method (_BQC, 0, NotSerialized)  // _BQC: Brightness Query Current
        {
            If (((\WIN7 != 0x00) && \_SB.PCI0.PEG.VID.ISOP ()))
            {
                Return (\_SB.PCI0.VID.LCD0._BQC ())
            }
            Else
            {
                Local0 = \BRLV
                Local1 = (Local0 + 0x02)
                If ((Local1 <= 0x11))
                {
                    Return (DerefOf (\_SB.PCI0.LPC.EC.BRTW [Local1]))
                }
                Else
                {
                    Return (Zero)
                }
            }
        }
    }

...

[     1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[     1.000000]     2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
[     1.000000]     2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[     1.000000]     2024
[     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[     1.000000]     The Regents of the University of California.  All rights reserved.

[     1.000000] NetBSD 10.0_RC2 (GENERIC) #0: Mon Jan  1 14:04:52 UTC 2024
[     1.000000]         mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC
[     1.000000] total memory = 8088 MB
[     1.000000] avail memory = 7796 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
[     1.000004] efi: systbl at pa cc27af18
[     1.000004] mainbus0 (root)
[     1.000004] ACPI: RSDP 0x00000000CCDFE014 000024 (v02 LENOVO)
[     1.000004] ACPI: XSDT 0x00000000CCDFE1C0 0000E4 (v01 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: FACP 0x00000000CCDF8000 00010C (v05 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: DSDT 0x00000000CCDE3000 010FA5 (v02 LENOVO TP-JB    00001370 INTL 20120711)
[     1.000004] ACPI: FACS 0x00000000CCD68000 000040
[     1.000004] ACPI: SLIC 0x00000000CCDFD000 000176 (v01 LENOVO TP-JB    00001370 PTEC 00000001)
[     1.000004] ACPI: ASF! 0x00000000CCDFC000 0000A5 (v32 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: HPET 0x00000000CCDFB000 000038 (v01 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: ECDT 0x00000000CCDFA000 000052 (v01 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: APIC 0x00000000CCDF7000 000098 (v01 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: MCFG 0x00000000CCDF6000 00003C (v01 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: SSDT 0x00000000CCDF5000 000033 (v01 LENOVO TP-SSDT1 00000100 INTL 20120711)
[     1.000004] ACPI: SSDT 0x00000000CCDF4000 000486 (v01 LENOVO TP-SSDT2 00000200 INTL 20120711)
[     1.000004] ACPI: SSDT 0x00000000CCDE2000 0009CB (v01 LENOVO SataAhci 00001000 INTL 20120711)
[     1.000004] ACPI: SSDT 0x00000000CCDE1000 000152 (v01 LENOVO Rmv_Batt 00001000 INTL 20120711)
[     1.000004] ACPI: SSDT 0x00000000CCDE0000 0006C9 (v01 LENOVO Cpu0Ist  00003000 INTL 20120711)
[     1.000004] ACPI: SSDT 0x00000000CCDDF000 000B74 (v02 LENOVO CpuSsdt  00003000 INTL 20120711)
[     1.000004] ACPI: SSDT 0x00000000CCDDE000 000369 (v02 LENOVO CtdpB    00001000 INTL 20120711)
[     1.000004] ACPI: SSDT 0x00000000CCDDC000 001475 (v01 LENOVO SaSsdt   00003000 INTL 20120711)
[     1.000004] ACPI: SSDT 0x00000000CCDDB000 000394 (v02 LENOVO CppcTabl 00001000 INTL 20120711)
[     1.000004] ACPI: PCCT 0x00000000CCDDA000 00006E (v05 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: SSDT 0x00000000CCDD9000 000AC4 (v02 LENOVO Cpc_Tabl 00001000 INTL 20120711)
[     1.000004] ACPI: UEFI 0x00000000CCDD8000 000042 (v01 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: MSDM 0x00000000CCD42000 000055 (v03 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: BATB 0x00000000CCDD7000 00004A (v02 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: FPDT 0x00000000CCDD6000 000064 (v01 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: UEFI 0x00000000CCDD5000 00031E (v01 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: DMAR 0x00000000CCDD4000 0000B0 (v01 LENOVO TP-JB    00001370 PTEC 00000002)
[     1.000004] ACPI: 11 ACPI AML tables successfully acquired and loaded
[     1.000004] ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 40 pins
[     1.000004] x2APIC available but disabled by DMAR table
[     1.000004] cpu0 at mainbus0 apid 0
[     1.000004] cpu0: Use lfence to serialize rdtsc
[     1.000004] cpu0: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, id 0x306d4
[     1.000004] cpu0: node 0, package 0, core 0, smt 0
[     1.000004] cpu1 at mainbus0 apid 1
[     1.000004] cpu1: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, id 0x306d4
[     1.000004] cpu1: node 0, package 0, core 0, smt 1
[     1.000004] cpu2 at mainbus0 apid 2
[     1.000004] cpu2: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, id 0x306d4
[     1.000004] cpu2: node 0, package 0, core 1, smt 0
[     1.000004] cpu3 at mainbus0 apid 3
[     1.000004] cpu3: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, id 0x306d4
[     1.000004] cpu3: node 0, package 0, core 1, smt 1
[     1.000004] acpi0 at mainbus0: Intel ACPICA 20221020
[     1.000004] acpi0: X/RSDT: OemId <LENOVO,TP-JB   ,00001370>, AslId <PTEC,00000002>
[     1.000004] acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
[     1.000004] acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f8000000
[     1.000004] ACPI Error: Needed type [Reference], found [Integer] 0xffffe0c47310f8c8 (20221020/exresop-111)
[     1.000004] ACPI Error: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20221020/dswexec-505)
[     1.000004] ACPI Error: Aborting method \_PR.CPU0._PDC due to previous error (AE_AML_OPERAND_TYPE) (20221020/psparse-580)
[     1.000004] ACPI: Dynamic OEM Table Load:
[     1.000004] ACPI: SSDT 0xFFFFE0C47313F008 0005AA (v01 PmRef  ApIst    00003000 INTL 20120711)
[     1.000004] ACPI: Dynamic OEM Table Load:
[     1.000004] ACPI: SSDT 0xFFFFE0C4730DC608 000119 (v02 PmRef  ApCst    00003000 INTL 20120711)
[     1.000004] acpi0: SCI interrupting at int 9
[     1.000004] acpi0: fixed power button present
[     1.000004] timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
[     1.046735] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
[     1.046735] timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
[     1.048786] acpiec0 at acpi0 (EC, PNP0C09-0): using acpiecdt0
[     1.048786] MEM (PNP0C01) at acpi0 not configured
[     1.048786] acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
[     1.048786] acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
[     1.048786] acpivga0 at acpi0 (VID): ACPI Display Adapter
[     1.048786] acpiout0 at acpivga0 (LCD0, 0x0400): ACPI Display Output Device
[     1.048786] acpiout0: brightness levels: [0-100]
[     1.048786] acpiout1 at acpivga0 (CRT0, 0x0100): ACPI Display Output Device
[     1.048786] acpiout2 at acpivga0 (DVI0, 0x0300): ACPI Display Output Device
[     1.048786] acpiout3 at acpivga0 (DVI1, 0x0301): ACPI Display Output Device
[     1.048786] acpiout4 at acpivga0 (DVI2, 0x0302): ACPI Display Output Device
[     1.048786] acpiout5 at acpivga0 (DVI3, 0x0303): ACPI Display Output Device
[     1.048786] acpiout6 at acpivga0 (DVI4, 0x0304): ACPI Display Output Device
[     1.048786] acpiout7 at acpivga0 (DVI5, 0x0305): ACPI Display Output Device
[     1.048786] acpivga0: connected output devices:
[     1.048786] acpivga0:   0x0400 (acpiout0): Unknown Output Device, head 0
[     1.048786] attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43 irq 0
[     1.048786] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
[     1.048786] spkr0 at pcppi1: PC Speaker
[     1.048786] wsbell at spkr0 not configured
[     1.048786] midi0 at pcppi1: PC speaker
[     1.048786] sysbeep0 at pcppi1
[     1.048786] pckbc1 at acpi0 (KBD, LEN0071) (kbd port): io 0x60,0x64 irq 1
[     1.048786] pckbc2 at acpi0 (MOU, LEN200E) (aux port): irq 12
[     1.048786] acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
[     1.048786] acpibat1 at acpi0 (BAT1, PNP0C0A-1): ACPI Battery
[     1.048786] acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter
[     1.048786] thinkpad0 at acpi0 (HKEY, LEN0068)
[     1.048786] thinkpad0: version 0100
[     1.048786] acpiwmi0 at acpi0 (WMI1, PNP0C14-1): ACPI WMI Interface
[     1.048786] acpiwmibus at acpiwmi0 not configured
[     1.048786] acpiwmi1 at acpi0 (WMI2, PNP0C14-2): ACPI WMI Interface
[     1.048786] acpiwmibus at acpiwmi1 not configured
[     1.048786] acpiwmi2 at acpi0 (WMI3, PNP0C14-3): ACPI WMI Interface
[     1.048786] acpiwmibus at acpiwmi2 not configured
[     1.048786] PCCD (INT340F) at acpi0 not configured
[     1.048786] acpitz0 at acpi0 (THM0)
[     1.048786] acpitz0: levels: critical 128.0 C, passive cooling
[     1.048786] ACPI: Enabled 4 GPEs in block 00 to 7F
[     1.048786] attimer1: attached to pcppi1
[     1.048786] pckbd0 at pckbc1 (kbd slot)
[     1.048786] pckbc1: using irq 1 for kbd slot
[     1.048786] wskbd0 at pckbd0: console keyboard
[     1.048786] pms0 at pckbc1 (aux slot)
[     1.048786] pms0: Synaptics touchpad version 8.1
[     1.048786] pms0: Extended W mode, Passthrough, Up/down buttons, Palm detect, One button click pad, Multi-finger Report, Multi-finger, Reports max, Reports min
[     1.048786] pms0: Probed max coordinates right: 5676, top: 4758
[     1.048786] pms0: Probed min coordinates left: 1266, bottom: 1096
[     1.048786] pckbc1: using irq 12 for aux slot
[     1.048786] wsmouse0 at pms0 mux 0
[     1.048786] pci0 at mainbus0 bus 0: configuration mode 1
[     1.048786] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
[     1.048786] pchb0 at pci0 dev 0 function 0: Intel Core 5G Host Bridge (rev. 0x09)
[     1.048786] i915drmkms0 at pci0 dev 2 function 0: Intel HD Graphics 5500 (rev. 0x09)
[     1.048786] hdaudio0 at pci0 dev 3 function 0: HD Audio Controller
[     1.048786] hdaudio0: interrupting at msi0 vec 0
[     1.048786] hdaudio0: HDA ver. 1.0, OSS 3, ISS 0, BSS 0, SDO 1, 64-bit
[     1.048786] hdafg0 at hdaudio0: Intel HDMI/DP
[     1.048786] hdafg0: DP00 8ch: Digital Out [Jack]
[     1.048786] hdafg0: 8ch/0ch 48000Hz PCM16*
[     1.048786] audio0 at hdafg0: playback
[     1.048786] audio0: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.048786] spkr1 at audio0: PC Speaker (synthesized)
[     1.048786] wsbell at spkr1 not configured
[     1.048786] xhci0 at pci0 dev 20 function 0: Intel Core 5G (mobile) USB xHCI (rev. 0x03)
[     1.048786] xhci0: 64-bit DMA
[     1.048786] xhci0: interrupting at msi1 vec 0
[     1.048786] xhci0: xHCI version 1.0
[     1.048786] usb0 at xhci0: USB revision 3.0
[     1.048786] usb1 at xhci0: USB revision 2.0
[     1.048786] Intel Core 5G (mobile) ME Interface (miscellaneous communications, revision 0x03) at pci0 dev 22 function 0 not configured
[     1.048786] wm0 at pci0 dev 25 function 0, 64-bit DMA: I218 LM Ethernet Connection (rev. 0x03)
[     1.048786] wm0: interrupting at msi2 vec 0
[     1.048786] wm0: PCI-Express bus
[     1.048786] wm0: 2048 words FLASH, version 0.2.3
[     1.048786] wm0: Ethernet address 68:f7:28:fe:8e:cd
[     1.048786] wm0: 0x6a4080<FLASH,PCIE,ASF_FIRM,AMT,WOL,EEE>
[     1.048786] ihphy0 at wm0 phy 2: i217 10/100/1000 media interface, rev. 5
[     1.048786] ihphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[     1.048786] hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
[     1.048786] hdaudio1: interrupting at msi3 vec 0
[     1.048786] hdaudio1: HDA ver. 1.0, OSS 4, ISS 4, BSS 0, SDO 1, 64-bit
[     1.048786] hdafg1 at hdaudio1: Realtek ALC292
[     1.048786] hdafg1: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
[     1.048786] hdafg1: ADC01 2ch: Mic In [Jack]
[     1.048786] hdafg1: ADC02 2ch: Mic In [Built-In]
[     1.048786] hdafg1: 2ch/2ch 32000Hz 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
[     1.048786] audio1 at hdafg1: playback, capture, full duplex, independent
[     1.048786] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for playback
[     1.048786] audio1: slinear_le:16 2ch 48000Hz, blk 1920 bytes (10ms) for recording
[     1.048786] spkr2 at audio1: PC Speaker (synthesized)
[     1.048786] wsbell at spkr2 not configured
[     1.048786] ppb0 at pci0 dev 28 function 0: Intel Core 5G (mobile) PCIe (rev. 0xe3)
[     1.048786] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
[     1.048786] ppb0: link is x1 @ 2.5GT/s
[     1.048786] pci1 at ppb0 bus 2
[     1.048786] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.048786] rtsx0 at pci1 dev 0 function 0: Realtek Semiconductor RTS5227 PCI-E Card Reader (rev. 0x01)
[     1.048786] rtsx0: interrupting at msi4 vec 0
[     1.048786] sdmmc0 at rtsx0
[     1.048786] ppb1 at pci0 dev 28 function 1: Intel Core 5G (mobile) PCIe (rev. 0xe3)
[     1.048786] ppb1: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x1 @ 5.0GT/s
[     1.048786] ppb1: link is x1 @ 2.5GT/s
[     1.048786] pci2 at ppb1 bus 3
[     1.048786] pci2: i/o space, memory space enabled, rd/line, wr/inv ok
[     1.048786] iwm0 at pci2 dev 0 function 0: Intel Dual Band Wireless AC 7265 (rev. 0x59)
[     1.048786] iwm0: interrupting at msi5 vec 0
[     1.048786] ehci0 at pci0 dev 29 function 0: Intel Core 5G (mobile) USB EHCI (rev. 0x03)
[     1.048786] ehci0: 64-bit DMA
[     1.048786] ehci0: interrupting at ioapic0 pin 23
[     1.048786] ehci0: EHCI version 1.0
[     1.048786] ehci0: Using DMA subregion for control data structures
[     1.048786] usb2 at ehci0: USB revision 2.0
[     1.048786] pcib0 at pci0 dev 31 function 0: Intel Core 5G (mobile) LPC (rev. 0x03)
[     1.048786] ahcisata0 at pci0 dev 31 function 2: Intel Core 5G (mobile) SATA Controller (AHCI) (rev. 0x03)
[     1.048786] ahcisata0: 64-bit DMA
[     1.048786] ahcisata0: AHCI revision 1.30, 3 ports, 32 slots, CAP 0xc734ff02<PSC,SSC,PMD,SAM,ISS=0x3=Gen3,SCLO,SAL,SALP,SNCQ,S64A>
[     1.048786] ahcisata0: interrupting at msi6 vec 0
[     1.048786] atabus0 at ahcisata0 channel 0
[     1.048786] ichsmb0 at pci0 dev 31 function 3: Intel Core 5G (mobile) SMBus (rev. 0x03)
[     1.048786] ichsmb0: interrupting at ioapic0 pin 18
[     1.048786] iic0 at ichsmb0: I2C bus
[     1.048786] Intel Core 5G (mobile) Thermal (miscellaneous DASP, revision 0x03) at pci0 dev 31 function 6 not configured
[     1.048786] isa0 at pcib0
[     1.048786] tpm0 at isa0 iomem 0xfed40000-0xfed40fff irq 7
[     1.048786] tpm0: device 0x0000104a rev 0x4e
[     1.048786] acpicpu0 at cpu0: ACPI CPU
[     1.048786] ACPI: Dynamic OEM Table Load:
[     1.048786] ACPI: SSDT 0xFFFFE0C4737E2808 000436 (v01 PmRef  Cpu0Cst  00003001 INTL 20120711)
[     1.048786] acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
[     1.048786] acpicpu0: C2: FFH, lat 148 us, pow   200 mW
[     1.048786] acpicpu0: C3: FFH, lat 233 us, pow   200 mW
[     1.048786] acpicpu0: P0: FFH, lat  10 us, pow 15000 mW, 2301 MHz, turbo boost
[     1.048786] acpicpu0: P1: FFH, lat  10 us, pow 15000 mW, 2300 MHz
[     1.048786] acpicpu0: P2: FFH, lat  10 us, pow 14088 mW, 2200 MHz
[     1.048786] acpicpu0: P3: FFH, lat  10 us, pow 12462 mW, 2000 MHz
[     1.048786] acpicpu0: P4: FFH, lat  10 us, pow 11745 mW, 1900 MHz
[     1.048786] acpicpu0: P5: FFH, lat  10 us, pow 11042 mW, 1800 MHz
[     1.048786] acpicpu0: P6: FFH, lat  10 us, pow 10215 mW, 1700 MHz
[     1.048786] acpicpu0: P7: FFH, lat  10 us, pow  8882 mW, 1500 MHz
[     1.048786] acpicpu0: P8: FFH, lat  10 us, pow  8101 mW, 1400 MHz
[     1.048786] acpicpu0: P9: FFH, lat  10 us, pow  7471 mW, 1300 MHz
[     1.048786] acpicpu0: P10: FFH, lat  10 us, pow  6121 mW, 1100 MHz
[     1.048786] acpicpu0: P11: FFH, lat  10 us, pow  5531 mW, 1000 MHz
[     1.048786] acpicpu0: P12: FFH, lat  10 us, pow  4955 mW,  900 MHz
[     1.048786] acpicpu0: P13: FFH, lat  10 us, pow  4267 mW,  800 MHz
[     1.048786] acpicpu0: P14: FFH, lat  10 us, pow  3182 mW,  600 MHz
[     1.048786] acpicpu0: P15: FFH, lat  10 us, pow  2538 mW,  500 MHz
[     1.048786] acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
[     1.048786] acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
[     1.048786] acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
[     1.048786] acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
[     1.048786] acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
[     1.048786] acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
[     1.048786] acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
[     1.048786] acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
[     1.048786] coretemp0 at cpu0: thermal sensor, 1 C resolution, Tjmax=105
[     1.048786] acpicpu1 at cpu1: ACPI CPU
[     1.048786] acpicpu2 at cpu2: ACPI CPU
[     1.048786] coretemp1 at cpu2: thermal sensor, 1 C resolution, Tjmax=105
[     1.048786] acpicpu3 at cpu3: ACPI CPU
[     1.048786] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1.733886] timecounter: Timecounter "TSC" frequency 2294691000 Hz quality 3000
[     1.735552] uhub0 at usb0: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 3.00/1.00, addr 0
[     1.833880] uhub0: 4 ports with 4 removable, self powered
[     1.833880] uhub1 at usb1: NetBSD (0x0000) xHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 0
[     1.933880] uhub1: 11 ports with 11 removable, self powered
[     1.933880] acpiacad0: AC adapter offline.
[     1.933880] acpibat1: SANYO LION rechargeable battery
[     1.933880] tpm0: acpibat1: granularity: low->warn 0.001 Wh, warn->full 0.001 Wh
[     2.034587] tpm is deactivated
[     2.063881] uhub2 at usb2tpm0: deactivating entropy source
[     2.093878] : NetBSD (0x0000) EHCI root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[     2.123878] uhub2: 3 ports with 3 removable, self powered
[     2.123878] IPsec: Initialized Security Association Processing.
[     2.173880] ahcisata0 port 0: device present, speed: 6.0Gb/s
[     3.163878] uhub3 at uhub2 port 1: vendor 8087 (0x8087) product 8001 (0x8001), class 9/0, rev 2.00/0.03, addr 2
[     3.203876] uhub3: single transaction translator
[     3.233875] uhub3: 8 ports with 8 removable, self powered
[     3.733877] wd0 at atabus0 drive 0
[     3.733877] wd0: <Samsung SSD 870 EVO 1TB>
[     3.733877] wd0: drive supports 1-sector PIO transfers, LBA48 addressing
[     3.733877] wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
[     3.733877] wd0: GPT GUID: 4ccf8740-31a2-481d-bb1e-1e55e801afd4
[     3.733877] dk0 at wd0: "b36e907e-d7c3-4359-a720-50f606917425", 262144 blocks at 2048, type: msdos
[     3.733877] dk1 at wd0: "7b586741-a1d1-402c-92b8-5c93aca17dc6", 1936695296 blocks at 264192, type: ffs
[     3.733877] dk2 at wd0: "45305b05-d211-41e9-8f91-4afc451bdf54", 16565647 blocks at 1936959488, type: swap
[     3.733877] wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags)
[     3.733877] wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags)
[     3.733877] swwdog0: software watchdog initialized
[     3.773875] boot device: wd0
[     3.803875] root on dk1 dumps on dk2
[     3.833875] root file system type: ffs
[     3.863875] kern.module.path=/stand/amd64/10.0/modules
[     3.903875] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     3.903875] [drm] Driver supports precise vblank timestamp query.
[     3.903875] i915drmkms0: interrupting at msi7 vec 0 (i915drmkms0)
[     3.933914] iwm0: hw rev 0x210, fw ver 22.361476.0, address 5c:e0:c5:a2:54:c7
[     4.003876] [drm] Initialized i915 1.6.0 20200114 for i915drmkms0 on minor 0
[     4.593873] intelfb0 at i915drmkms0
[     4.623873] [drm] DRM_I915_DEBUG enabled
[     4.653873] [drm] DRM_I915_DEBUG_GEM enabled
[     4.683873] intelfb0: framebuffer at 0xe0001000, size 1600x900, depth 32, stride 6400
[     6.233870] wsdisplay0 at intelfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
[     6.313870] wsmux1: connecting to wsdisplay0
[    32.123825] acpibat1: normal capacity on 'charge state'
[    94.373717] wsdisplay0: screen 1 added (default, vt100 emulation)
[    94.373717] wsdisplay0: screen 2 added (default, vt100 emulation)
[    94.373717] wsdisplay0: screen 3 added (default, vt100 emulation)
[    94.373717] wsdisplay0: screen 4 added (default, vt100 emulation)

>How-To-Repeat:
Press the "increase screen brightness" key and watch the screen brightness not change. Run sysctl hw.acpi.acpiout0.brightness and see that it reports a value of 100, even if the screen brightness is not physically at 100%.

Press the "decrease screen brightness" key and watch the screen brightness change to the minimum or a near-minimum value. Run sysctl hw.acpi.acpiout0.brightness to see that it reports a value of 100 even though the screen is not physically at 100%. Note that subsequently pressing the "increase screen brightness" key has no effect.

Run sysctl -w hw.acpi.acpiout0.brightness=N where N is any value from 0 to 100 and see that the screen brightness physically changes to the requested value, as intended, except that a value of N of 0 does not turn off the backlight. Run sysctl hw.acpi.acpiout0.brightness and observe that the reported value is 100, regardless of the physical screen brightness.

Unplug the AC power cord and watch the physical screen brightness change to 100%.

Plug in the AC power cord and watch the physical screen brightness change to 100%.
>Fix:
None.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.