linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Input Brightness events on EeePc 1201HA
       [not found]                 ` <1272643738.26706.63.camel@plop>
@ 2010-05-02 12:31                   ` Corentin Chary
  2010-05-02 14:25                     ` Matthew Garrett
  0 siblings, 1 reply; 2+ messages in thread
From: Corentin Chary @ 2010-05-02 12:31 UTC (permalink / raw)
  To: Pascal Terjan, Zhang, Rui; +Cc: acpi4asus-user, linux acpi

CCing linux-acpi and Zhang Rui.

>> - Does brightness react to keypress (up and/or down) in grub ? windows
>> ? linux wihout X ?
>
> It does not work in GRUB for an unknown reason but I have "good" news
>
> It works in Linux, without using video (which can not manage this
> machine), until psb driver is loaded and creates a backlight device
> using PWM!

Looking at the dsdt:

                        Method (STBR, 0, Serialized)
                        {
                            If (And (^^^GFX0.TCHE, 0x02))
                            {
                                ISMI (0x7A)
                                ^^^GFX0.AINT (One, PAR0)
                            }
                            Else
                            {
                                ISMI (0x78)
                            }
                        }

ISMI (0x78) is the working path, so when psb load, And (^^^GFX0.TCHE,
0x02) become true,  Maybe in this case the psb driver should do
something that it doesn't.

A quick workaround would be to send input events in eeepc-laptop if
GFX0.TCHE & 0x2, but does not sound pretty.

> Unfortunately I can't think of a solution for machines using psb except
> disabling backlight handling there.
>
> It would either conflict (2 backlights device, on in psb, the other in
> eeepc-laptop/wmi) or have keys not handled (as both would not handle
> them if they do not handle backlight)



-- 
Corentin Chary
http://xf.iksaif.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Input Brightness events on EeePc 1201HA
  2010-05-02 12:31                   ` Input Brightness events on EeePc 1201HA Corentin Chary
@ 2010-05-02 14:25                     ` Matthew Garrett
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2010-05-02 14:25 UTC (permalink / raw)
  To: Corentin Chary; +Cc: Pascal Terjan, Zhang, Rui, acpi4asus-user, linux acpi

On Sun, May 02, 2010 at 02:31:19PM +0200, Corentin Chary wrote:
> > It works in Linux, without using video (which can not manage this
> > machine), until psb driver is loaded and creates a backlight device
> > using PWM!

The PSB driver needs to implement the Intel video device opregion spec. 
Unfortunately it's developed in a closed environment and we have no 
ability to contribute fixes to it.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-02 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1272383014.8403.12.camel@plop>
     [not found] ` <w2t71cd59b01004280220rbbff08cek497c98985e996748@mail.gmail.com>
     [not found]   ` <1272446724.12834.24.camel@plop>
     [not found]     ` <g2o71cd59b01004280508m99790717x9d9f10c71fd1145b@mail.gmail.com>
     [not found]       ` <1272457434.12834.29.camel@plop>
     [not found]         ` <q2z71cd59b01004280528scc775622lf85055f797cec79e@mail.gmail.com>
     [not found]           ` <1272461780.12834.93.camel@plop>
     [not found]             ` <1272462009.12834.95.camel@plop>
     [not found]               ` <t2g71cd59b01004292311sd797e259g6340d701bc52a93e@mail.gmail.com>
     [not found]                 ` <1272643738.26706.63.camel@plop>
2010-05-02 12:31                   ` Input Brightness events on EeePc 1201HA Corentin Chary
2010-05-02 14:25                     ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).