public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Aaron Lu <aaron.lu@intel.com>
To: Josep Lladonosa <jlladono@gmail.com>
Cc: Borislav Petkov <bp@alien8.de>, "Rafael J. Wysocki" <rjw@sisk.pl>,
	intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	lkml <linux-kernel@vger.kernel.org>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>
Subject: Re: i915 backlight
Date: Fri, 02 Aug 2013 14:36:35 +0800	[thread overview]
Message-ID: <51FB5373.9040307@intel.com> (raw)
In-Reply-To: <CAPBO7TaPxa_13FBDE5Z=Aoa+ePPfLRH0+oWSQyEmO00xSfGqYg@mail.gmail.com>

On 08/02/2013 02:25 PM, Josep Lladonosa wrote:
> Hello,
> 
> I am using a Lenovo Edge E530 and, with kernel 3.11.0-rc3, I had to
> change to this parameter to the kernel boot:
> 
> 
> GRUB_CMDLINE_LINUX="acpi_osi=\"!Windows 2012\""

What if you remove the above from kernel command line, and add
video.brightness_switch_enabled=0 to kernel command line, then set the
following in xorg.conf:
$ cat /etc/X11/xorg.conf
Section "Device"
        Option     "Backlight"	"intel_backlight"
	Identifier  "Card0"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

Does everything work?

If not, please test if manually change brightness level through sysfs
works:
# cd /sys/calss/backlight/intel_backlight
# echo xxx > brightness

And also test if hotkey event is sent out or not by running acpi_listen
and then press the hotkey.

Thanks,
Aaron

> 
> 
> instead of previous
> 
> GRUB_CMDLINE_LINUX="acpi_osi=Linux acpi_backlight=vendor"
> 
> to be able to change brightness. In some kernel versions before, it
> worked, but with 15 levels, but in graphical system brightness bar was
> not moving.
> 
> 
> Now I have, though, 8 possible values for brightness and brightness
> bar shows its correct position.
> 
> Josep
> 
> On 2 August 2013 08:00, Aaron Lu <aaron.lu@intel.com> wrote:
>> On 08/01/2013 04:07 PM, Borislav Petkov wrote:
>>> On Wed, Jul 31, 2013 at 11:16:52PM +0200, Rafael J. Wysocki wrote:
>>>> Does reverting efaa14c help?
>>>
>>> Nope.
>>>
>>> But see my other reply to Aaron.
>>
>> Assume you have specified to use intel_backlight in xorg.conf, does
>> booting with video.brightness_switch_enabled=0 help?
>>
>> Thanks,
>> Aaron
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 
> 


  reply	other threads:[~2013-08-02  6:35 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130731162252.GC4724@pd.tnic>
     [not found] ` <20130731163623.GD4724@pd.tnic>
2013-07-31 21:16   ` i915 backlight Rafael J. Wysocki
2013-08-01  8:07     ` Borislav Petkov
2013-08-02  6:00       ` Aaron Lu
2013-08-02  6:25         ` Josep Lladonosa
2013-08-02  6:36           ` Aaron Lu [this message]
2013-08-02  7:25             ` Josep Lladonosa
2013-08-02  6:48           ` Felipe Contreras
2013-08-02 14:03             ` Rafael J. Wysocki
2013-08-02 18:58               ` Felipe Contreras
2013-08-02 20:03                 ` Josep Lladonosa
2013-08-02 20:08                   ` Felipe Contreras
2013-08-02 20:11                     ` Josep Lladonosa
2013-08-02 20:19                       ` Borislav Petkov
2013-08-02 21:25                       ` Felipe Contreras
2013-08-02 22:23                         ` Josep Lladonosa
2013-08-02 23:35                 ` Rafael J. Wysocki
2013-08-03  1:01                   ` Felipe Contreras
2013-08-02  8:16         ` Borislav Petkov
     [not found]   ` <51F9B63F.7060509@intel.com>
     [not found]     ` <20130801081215.GB3448@nazgul.tnic>
     [not found]       ` <51FA2537.5040208@intel.com>
2013-08-02  1:16         ` Aaron Lu
2013-08-02  8:34           ` Borislav Petkov
2013-08-05  7:34           ` Daniel Vetter

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=51FB5373.9040307@intel.com \
    --to=aaron.lu@intel.com \
    --cc=bp@alien8.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jlladono@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox