All of lore.kernel.org
 help / color / mirror / Atom feed
From: joeyli <jlee@suse.com>
To: Artur Flinta <aflinta@gmail.com>
Cc: linux-acpi@vger.kernel.org, platform-driver-x86@vger.kernel.org
Subject: Re: Fwd: [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w)
Date: Mon, 23 Jan 2012 07:55:02 +0800	[thread overview]
Message-ID: <1327276502.15960.150.camel@linux-s257.site> (raw)
In-Reply-To: <CAEPe-GKff7y1g4qc5gSz4vuhz5P0XpGgPTO570YzkjO6AZNV4A@mail.gmail.com>

於 日,2012-01-22 於 14:17 +0100,Artur Flinta 提到:
> Hi Joey!
> 
> > #define KEY_BRIGHTNESSDOWN      224
> > #define KEY_BRIGHTNESSUP        225
> >
> > Suggest you can try to run the following command before run X-windows:
> >
> > setkeycodes e054 224
> > setkeycodes e04c 225
> 
> I've run above commands (setkeycodes), and started X-window, then
> pressed several times brightness keys... and noticed something like
> this in dmesg:
> 
> [107404.053624] pkexec[11999]: aflinta: Executing command [USER=root]
> [TTY=unknown] [CWD=/home/aflinta]
> [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 5]
> [107405.449578] pkexec[12003]: pam_systemd(polkit-1:session): Failed
> to create session: Invalid argument
> [107405.450971] pkexec[12003]: aflinta: Executing command [USER=root]
> [TTY=unknown] [CWD=/home/aflinta]
> [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 6]
> [107405.923167] pkexec[12011]: pam_systemd(polkit-1:session): Failed
> to create session: Invalid argument
> [107405.924625] pkexec[12011]: aflinta: Executing command [USER=root]
> [TTY=unknown] [CWD=/home/aflinta]
> [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 4]
> [107406.197956] pkexec[12019]: pam_unix(polkit-1:session): session
> opened for user root by (uid=1000)
> [107406.199010] pkexec[12019]: aflinta: Executing command [USER=root]
> [TTY=unknown] [CWD=/home/aflinta]
> [COMMAND=/usr/libexec/gsd-backlight-helper --set-brightness 2]
> 
> But brightness haven't changed. I think that this is quite similar to
> my first tries to directly write brightness value to

Yes, you are right. At least we fix the hotkey event problem.

> /sys/class/backlight/acpi_video0/brightness (as described in my first
> post) - but without any success.
> 

Yes! we still need fix the problem with backlight control. Please kindly
give me the result after add the following debug parameter:
	acpi.debug_level=0xF acpi.debug_layer=0xFFFFFFFF log_buf_len=5M

And, 
Did you try the following kernel parameter?
	acpi_backlight=vendor

Please try it!
There has a write brightness command 0x06 in WHCM method, WHCM call by
WMAA.
I think might need implement 0x06 command support in hp-wmi.c,
currently, I didn't see it.

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-01-22 23:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23 20:34 [Bugreport] Screen backllight issues on FirePro M5950 (HP EliteBook 8560w) Artur Flinta
     [not found] ` <CAGB3EUR750VpHdvrZ25mn9bcS-4ZT+BSJ_zD4-sRncyYNT=0Zg@mail.gmail.com>
2011-12-09 14:54   ` Fwd: " joeyli
     [not found]     ` <CAEPe-G+iooX_BOD=5m1nMgn+t63XGsLR+4JCfvHKOyTx98qydg@mail.gmail.com>
2011-12-21  4:55       ` joeyli
2011-12-21  9:42         ` Artur Flinta
2012-01-20  3:35           ` joeyli
     [not found]             ` <CAEPe-G+H6CDDzg9-fXZK4MJbKw_-MJFSMheCL9=yN4Gt=fmaTQ@mail.gmail.com>
2012-01-22  1:45               ` joeyli
     [not found]                 ` <CAEPe-GKff7y1g4qc5gSz4vuhz5P0XpGgPTO570YzkjO6AZNV4A@mail.gmail.com>
2012-01-22 23:55                   ` joeyli [this message]
     [not found]                     ` <CAEPe-G+jNsa5VScrk-Nii2e=0U5bVWtcCT5apOy0BAJrjKri4Q@mail.gmail.com>
2012-01-24  0:58                       ` joeyli
     [not found]                         ` <CAEPe-GLe9d7V9YLq+gGpb8N+a-9ELzeuvLbr=gKFbWU4JJxV-Q@mail.gmail.com>
2012-01-25  1:52                           ` joeyli
2012-01-26  6:43                             ` Artur Flinta
2012-01-26 16:40                               ` joeyli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1327276502.15960.150.camel@linux-s257.site \
    --to=jlee@suse.com \
    --cc=aflinta@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.