Date: Sun, 9 May 2004 01:04:03 +0800 From: "Jun Su" <junsu@delphij.net> To: "Toxa" <postfix@sendmail.ru>, <current@freebsd.org> Subject: Re: acpi_video doesn't works? Message-ID: <001f01c4351e$7d301290$6902a8c0@shasujunmv> References: <3110388150.20040508150456@sendmail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Toxa" <postfix@sendmail.ru>
To: <current@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001f01c4351e$7d301290$6902a8c0>
