All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali.rohar@gmail.com>
To: joeyli <jlee@suse.com>
Cc: linux-acpi@vger.kernel.org, platform-driver-x86@vger.kernel.org
Subject: Re: Fwd: Brightness on HP EliteBook 8460p
Date: Tue, 20 Dec 2011 14:20:43 +0100	[thread overview]
Message-ID: <1700296.GfeBjppFVA@pali-elitebook> (raw)
In-Reply-To: <1324368819.10394.335.camel@linux-s257.site>

[-- Attachment #1: Type: text/plain, Size: 3857 bytes --]

On Tuesday 20 December 2011 16:13:39 joeyli wrote:
> 於 日,2011-12-18 於 23:47 +0800,joeyli 提到:
> 
> > Hi Pali,
> > 
> > 於 日,2011-12-18 於 11:59 +0100,Pali Rohár 提到:
> > 
> > > On Friday 09 December 2011 16:46:29 Pali Rohár wrote:
> > > > On Friday 09 December 2011 22:49:09 joeyli wrote:
> > > > > Hi Pali,
> > > > > 
> > > > > 於 五,2011-12-09 於 22:36 +0800,Li Joey 提到:
> > > > > 
> > > > > > ---------- Forwarded message ----------
> > > > > > From: Pali Rohár <pali.rohar@gmail.com>
> > > > > > Date: 2011/7/15
> > > > > > Subject: Brightness on HP EliteBook 8460p
> > > > > > To: linux-acpi@vger.kernel.org
> > > > > > 
> > > > > > 
> > > > > > Hello,
> > > > > > 
> > > > > > on my HP EliteBook 8460p is not possible to set display
> > > > > > brightness when ACPI
> > > > > > is enabled in kernel. Entries in sysfs is properly
> > > > > > created without errors. But
> > > > > > when I try write any value
> > > > > > to /sys/class/backlight/acpi_video0/brightness
> > > > > > nothing happened (and no error is in dmesg). When I
> > > > > > press Fn key for chaining
> > > > > > display brightness kernel send correct key event (tested
> > > > > > with xev) but
> > > > > > nothing
> > > > > > happened too.
> > > > > > 
> > > > > > When I disabled ACPI (acpi=off in kernel command line)
> > > > > > all Fn keys are
> > > > > > broken
> > > > > > and not working (no events in xev). But brightness keys
> > > > > > working (I think on HW
> > > > > > level, because xev does not see it) - increase and
> > > > > > decrease display brightness.
> > > > > > 
> > > > > > So what can I do with my notebook? I think that there is
> > > > > > error/bug in
> > > > > > BIOS or
> > > > > > ACPI because with disabled ACPI brightness working. But
> > > > > > with
> > > > > > disabled
> > > > > > ACPI is
> > > > > > notebook unuseable (no battery info, no Fn keys, no WIFI
> > > > > > rfkill,
> > > > > > ...).
> > > > > > Can
> > > > > > somebody help me with this problem?
> > > > > > 
> > > > > > --
> > > > > > Pali Rohár
> > > > > > pali.rohar@gmail.com
> > > > > 
> > > > > You can try to put kernel parameter:
> > > > > 	acpi_osi="!Windows 2009"
> > > > > 
> > > > > to /boot/grub/menu.lst, then reboot look at maybe better.
> > > > > 
> > > > > And,
> > > > > could you please kindly share DSDT and dmidecode to me?
> > > > > 
> > > > > Plesae login by root then:
> > > > > 	% acpidump > acpidump.dat
> > > > > 	% dmidecode > dmidecode.log
> > > > > 
> > > > > Thanks a lot!
> > > > > Joey Lee
> > > > 
> > > > Hello,
> > > > 
> > > > adding any acpi_osi values did not changed anything (also tried
> > > > other osi strings from decompiled DSDT table). Brightness
> > > > problem is in both BIOS and UEFI boot mode.
> > > > 
> > > > I attached acpidump and dmidecode output from bios and uefi mode
> > > > too.
> > > 
> > > Did you find way how to control display brightness?
> > 
> > I am really sorry for I am sticking on another tough issue.
> > I will look at your DSDT tomorrow.
> > 
> > 
> > Thanks
> > Joey Lee
> 
> I just look at the DSDT of HP EliteBook, this machine check _OS name
> string, it's essentially obsolete.
> 
> Please add the following kernel parameter to /boot/grub/menu.lst:
> 	acpi_os_name="Windows 2009"
> 
> Let's by-pass the _OS name check first, hope it fix this issue.
> 
> 
> Thanks
> Joey Lee

Hello,

I tried to add one of these acpi_os_name into grub kernel command line:

acpi_os_name="Windows 2009"
acpi_os_name="Windows 2006"
acpi_os_name="Windows 2001"
acpi_os_name="Windows 2001 SP1"
acpi_os_name="Windows 2001 SP2"

but brightness control (via /sys/class/backlight/acpi_video0/brightness) did 
not worked.

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-12-20 13:20 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-15 12:15 Brightness on HP EliteBook 8460p Pali Rohár
     [not found] ` <CAGB3EUSiZ+DqTwVQ4CMhT=LNAAWhj-VriiArmoibm0t+x5jLXw@mail.gmail.com>
2011-12-09 14:49   ` Fwd: " joeyli
     [not found]     ` <3404497.1txogKB5v8@pali-elitebook>
2011-12-18 10:59       ` Pali Rohár
2011-12-18 15:47         ` joeyli
2011-12-20  8:13           ` joeyli
2011-12-20 13:20             ` Pali Rohár [this message]
2011-12-21  2:16               ` joeyli
2011-12-21  4:05                 ` joeyli
     [not found]                   ` <9136713.SR1vWBOW6T@pali-elitebook>
2012-01-17 18:10                     ` Pali Rohár
2012-01-20  3:12                       ` joeyli
2012-01-20  3:28                         ` joeyli
     [not found]                           ` <2085914.rvJjIXUC3h@pali>
2012-02-03 15:24                             ` Pali Rohár
  -- strict thread matches above, loose matches on Subject: below --
2012-02-05  1:43 Joey Lee
2012-02-05  3:19 Joey Lee
2012-03-20 22:03 ` Pali Rohár
2012-03-21  4:16   ` joeyli
2012-07-28 14:47     ` Pali Rohár
2012-07-30  8:17       ` Artur Flinta
2012-07-30  9:28         ` joeyli
2012-07-31 10:29       ` Luca Tettamanti
     [not found] ` <1539163.XtGOYjTjgt@pali>
     [not found]   ` <CAKPcRGp+1DBjP7ZTnVUphtY2acdU64gGBi9VO5WG7+83revV9g@mail.gmail.com>
     [not found]     ` <3502295.b9B3oqyYO6@pali>
2012-07-31 15:49       ` Luca Tettamanti
2012-07-31 15:56         ` Alex Deucher
2012-07-31 16:03         ` Pali Rohár
2012-07-31 16:17           ` Alex Deucher
2012-08-01  7:38             ` Pali Rohár
2012-02-05 13:51 Joey Lee
2012-02-05 17:49 ` Artur Flinta

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=1700296.GfeBjppFVA@pali-elitebook \
    --to=pali.rohar@gmail.com \
    --cc=jlee@suse.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.