Re: acpi_video doesn't works?

From: Jun Su <junsu_at_delphij.net>
Date: Sun, 9 May 2004 01:04:03 +0800
----- Original Message ----- 
From: "Toxa" <postfix_at_sendmail.ru>
To: <current_at_freebsd.org>
Sent: Saturday, May 08, 2004 7:04 PM
Subject: acpi_video doesn't works?


> According to 'man acpi_video', acpi_video.ko provides those variables:
>
> hw.acpi.video.<device>.active
> hw.acpi.video.<device>.levels
> hw.acpi.video.<device>.brightness
> hw.acpi.video.<device>.fullpower
> hw.acpi.video.<device>.economy
>
> This is on my laptop:
>
> [(14:58)(91.42%):/home/toxa ] kldunload acpi_video.ko
> [(14:58)(91.42%):/home/toxa ] sysctl -a|grep video
> hw.acpi.reset_video: 0
> [(14:58)(91.42%):/home/toxa ] kldload acpi_video.ko
> [(14:59)(91.42%):/home/toxa ] sysctl -a|grep video
> hw.acpi.reset_video: 0
>
> There is absolutely no any kernel messages on console when
> loading/unloading acoi_video.ko.
> Does my vaio laptop lacks any acpi video features?
>
> Thanks for advance
>
I also owned a vaio laptop. There are several issues to make acpi_video to 
work in vaio.
1. The LFP's adr is 0x400 instead of 0x110.
2. Lack of _BCL and _BCM method for the LFP output. I think we can write the 
methods based on the driver sonypi. Hope some guru can help.

I paste the related asl code here for the reference.
                Device (LFP)
                {
                    Name (_ADR, 0x0400)
                    Method (_DCS, 0, NotSerialized)
                    {
                        Return (GDCS (0x08))
                    }

                    Method (_DGS, 0, NotSerialized)
                    {
                        Store (GDGS (0x08), Local0)
                        Store (" LFP _DGS return value ", Debug)
                        Store (Local0, Debug)
                        Return (Local0)
                    }

                    Method (_DSS, 1, NotSerialized)
                    {
                        GDSS (Arg0, 0x08)
                    }
                }

-jun 
Received on Sat May 08 2004 - 08:04:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:53 UTC