[CFT] acpi_ibm event handler

matt sendtomatt at gmail.com
Wed Jul 4 05:29:03 UTC 2012


On 06/17/12 11:07, Mitsuru IWASAKI wrote:
> Hi,
>
>> Brightness can be adjusted using "acpi_call -p '\VBRC' -i n" (where n
>> is 0-15). acpi_call must be installed from ports. But this command
>> sets absolute brightness, so it can't raise or lower the brightness
>> unless you have the current value and I don't know how to get that.
>> This is the case on my T520.
> X61 has the same problem.  There are 2 video device object in ACPI
> namespace, \_SB.PCI0.VID (vgapci attached but brightness control
> doesn't work) and \_SB.PCI0.AGP.VID (has VBRC method but no driver
> attached because of wrong _ADR).
>
> The custom DSDT with the following patches and acpi_video(4) now
> can adjust brightness level :)
>
> http://people.freebsd.org/~iwasaki/acpi/tpx61.asl.diff
>
> If you want to make the custom DSDT, I can help you.
>
> Thanks!
> _______________________________________________
> freebsd-acpi at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe at freebsd.org"
>
Would you be interested in seeing the X220 DSDT? It does sound similar, 
and you sound like you can make sense of the Lenovo/IBM ACPI 
branches...I think X220 has hooks for Nvidia optimus that are getting in 
the way, or some trapdoor function needs to be called to tell ACPI we're 
using the onboard intel (There is no Nvidia X220, but it looks like ACPI 
thinks there is).

Matt



More information about the freebsd-acpi mailing list