* RE: i810, mergedfb and lid switch and acpi video
[not found] <414cba4e0701150039j27d5ffcaw78e31e4119779872@mail.gmail.com>
@ 2007-01-17 4:20 ` Yu, Luming
2007-01-17 14:23 ` Peter Clifton
0 siblings, 1 reply; 5+ messages in thread
From: Yu, Luming @ 2007-01-17 4:20 UTC (permalink / raw)
To: emisca; +Cc: xorg, linux-acpi
>Here are the dsdt decompiled, and the acpidump output.
>Could you see also the section related to brightness control? I can
Yes, I found :
Method (_L02,..)
If (LEqual (Local0, 0x03))
{
Notify (\_SB.C002.C080.C13F, 0x87)
}
If (LEqual (Local0, 0x02))
{
Notify (\_SB.C002.C080.C13F, 0x86)
}
And:
_BCL, _BCM under C13F.
But there is NO _BQC. Instead of _BQC, there do have a _BCQ in DSDT.
Is this a bug of BIOS? Acpi video drvier needs _BQC to get the
current brightness level, and to get the next level to set on receiving
notification of 0x86 (Increase Brightness) , 0x87 (decrease Brightness).
Could you just try to replace _BQC with _BCQ in acpi/video.c?
Thanks,
Luming
^ permalink raw reply [flat|nested] 5+ messages in thread* RE: i810, mergedfb and lid switch and acpi video
2007-01-17 4:20 ` i810, mergedfb and lid switch and acpi video Yu, Luming
@ 2007-01-17 14:23 ` Peter Clifton
2007-01-17 15:08 ` emisca
0 siblings, 1 reply; 5+ messages in thread
From: Peter Clifton @ 2007-01-17 14:23 UTC (permalink / raw)
To: emisca; +Cc: xorg, linux-acpi
SORRY - sent back to Luming by mistake - meant to send to all.
On Wed, 2007-01-17 at 12:20 +0800, Yu, Luming wrote:
> But there is NO _BQC. Instead of _BQC, there do have a _BCQ in DSDT.
> Is this a bug of BIOS? Acpi video drvier needs _BQC to get the
> current brightness level, and to get the next level to set on
receiving
> notification of 0x86 (Increase Brightness) , 0x87 (decrease
Brightness).
I can ACK that my HP had a similar typo / feature with its intel based
video:
00:02.0 VGA compatible controller: Intel Corporation Mobile
945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
The _BQC is absent, but a strange _BCQ is there - which looks to give
the correct functionality.
The ONLY place I can find any reference to _BCQ is in a couple of
Windows Vista design documents about making display brightness work with
Vista.
Thank you Microsoft, for that typo - presuming thats what it is!
Peter Clifton
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: i810, mergedfb and lid switch and acpi video
2007-01-17 14:23 ` Peter Clifton
@ 2007-01-17 15:08 ` emisca
0 siblings, 0 replies; 5+ messages in thread
From: emisca @ 2007-01-17 15:08 UTC (permalink / raw)
Cc: xorg, linux-acpi
I've also seen that windows vista document... perhaps it's a
requirement to pass vista certification to have the _BCQ method.
In addition when I compile the dsdt with iasl it complains about _BCQ
as unknown............ Microsoft decided to change that name and hp
followed them?
Yesterday I've seen that there is a new bios for my machine, version
F0A. Does anyone experimented with it? I will try it on the weekend...
For now I'll try to change the DSDT file, I use the patch to replace
DSDT on linux and I'll report if it works.
Regarding the lid switch, is there something I could try?
Bye
2007/1/17, Peter Clifton <pcjc2@cam.ac.uk>:
> SORRY - sent back to Luming by mistake - meant to send to all.
>
> On Wed, 2007-01-17 at 12:20 +0800, Yu, Luming wrote:
>
> > But there is NO _BQC. Instead of _BQC, there do have a _BCQ in DSDT.
> > Is this a bug of BIOS? Acpi video drvier needs _BQC to get the
> > current brightness level, and to get the next level to set on
> receiving
> > notification of 0x86 (Increase Brightness) , 0x87 (decrease
> Brightness).
>
> I can ACK that my HP had a similar typo / feature with its intel based
> video:
>
> 00:02.0 VGA compatible controller: Intel Corporation Mobile
> 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
>
> The _BQC is absent, but a strange _BCQ is there - which looks to give
> the correct functionality.
>
> The ONLY place I can find any reference to _BCQ is in a couple of
> Windows Vista design documents about making display brightness work with
> Vista.
>
> Thank you Microsoft, for that typo - presuming thats what it is!
>
> Peter Clifton
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <200701120312.53809.lenb@kernel.org>]
* RE: i810, mergedfb and lid switch and acpi video
[not found] <200701120312.53809.lenb@kernel.org>
@ 2007-01-15 6:01 ` Yu, Luming
0 siblings, 0 replies; 5+ messages in thread
From: Yu, Luming @ 2007-01-15 6:01 UTC (permalink / raw)
To: emisca; +Cc: xorg, linux-acpi, Len Brown
>
>I have an hp nx7400 notebook with intel 945gma. The lid switch
>normally toggles (using acpi video module) internal display and
>external display.
>It works like a charm, unless using mergedfb. I have not tried with
>dual screen or dual screen + xinerama because I was affected by the
>bug fixed (probably, I've not tested it) by 1.7.4 version of the
>driver.
>Using mergedfb, if I press the lid switch or close the screen, the
>display gets corrupted and I have to reinit the card switching to a
>virtual console and returning back to X.
>
>Is there a way to disable the switching behaviour of the acpi code? I
>was able to disable completely the switch unloading the acpi video
>module, but it's not the right way....
>
Please send me acpidump output , let me check how does acpi video
extension get
supported on hp nx7400.
If it support _DOS, please just try " echo 0 > /proc/acpi/video/*/DOS "
Thanks,
Luming
^ permalink raw reply [flat|nested] 5+ messages in thread
* i810, mergedfb and lid switch and acpi video
@ 2007-01-11 20:07 emisca
0 siblings, 0 replies; 5+ messages in thread
From: emisca @ 2007-01-11 20:07 UTC (permalink / raw)
To: xorg, linux-acpi
I have an hp nx7400 notebook with intel 945gma. The lid switch
normally toggles (using acpi video module) internal display and
external display.
It works like a charm, unless using mergedfb. I have not tried with
dual screen or dual screen + xinerama because I was affected by the
bug fixed (probably, I've not tested it) by 1.7.4 version of the
driver.
Using mergedfb, if I press the lid switch or close the screen, the
display gets corrupted and I have to reinit the card switching to a
virtual console and returning back to X.
Is there a way to disable the switching behaviour of the acpi code? I
was able to disable completely the switch unloading the acpi video
module, but it's not the right way....
Bye
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-01-17 15:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <414cba4e0701150039j27d5ffcaw78e31e4119779872@mail.gmail.com>
2007-01-17 4:20 ` i810, mergedfb and lid switch and acpi video Yu, Luming
2007-01-17 14:23 ` Peter Clifton
2007-01-17 15:08 ` emisca
[not found] <200701120312.53809.lenb@kernel.org>
2007-01-15 6:01 ` Yu, Luming
2007-01-11 20:07 emisca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox