[Bug 190186] [patch] i915 driver: enable opregion handling

bz-noreply at freebsd.org bz-noreply at freebsd.org
Sat Jun 7 01:11:45 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190186

--- Comment #6 from Henry Hu <henry.hu.sh at 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.


More information about the freebsd-bugs mailing list