Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jun 2014 01:11:45 +0000
From:      bz-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 190186] [patch] i915 driver: enable opregion handling
Message-ID:  <bug-190186-8-5EYQ8A5JeP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190186-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-190186-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190186

--- Comment #6 from Henry Hu <henry.hu.sh@gmail.com> ---
(In reply to Adrian Chadd from comment #5)
> Absolutely!
> 
> http://people.freebsd.org/~adrian/laptop/lenovo_x230/
> 
> 
> -a

Have you tried 
acpi_call -p "\_SB.PCI0.VID.LCD0._BCM" -i <brightness>

And what's the value of
acpi_call -p "\VIGD"
acpi_call -p "\_SB.PCI0.VID.DRDY"

VBRC() calls SMI directly. I have no idea what it is doing inside SMI.

_SB.PCI0.VID.LCD0._BCM stores brightness in BRLV and calls
_SB.PCI0.LPC.EC.BRNS() and UCMS(0x16). UCMS() calls SMI directly so I have no
idea what it is doing. If _SB.PCI0.VID.DRDY is true, it calls
_SB.PCI0.VID.AINT(). AINT() triggers an ASLE interrupt to set the brightness
through the driver. I'm not sure what went wrong here.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190186-8-5EYQ8A5JeP>