From: Andrew Morton <akpm@linux-foundation.org>
To: linux-acpi@vger.kernel.org
Cc: bugme-daemon@bugzilla.kernel.org, khashayar.lists@gmail.com,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Zhang Rui <rui.zhang@intel.com>
Subject: Re: [Bugme-new] [Bug 12235] New: /sys/devices/virtual/backlight/acpi_video0/brightness has it backwards
Date: Tue, 16 Dec 2008 10:00:23 -0800 [thread overview]
Message-ID: <20081216100023.2e437c8c.akpm@linux-foundation.org> (raw)
In-Reply-To: <bug-12235-10286@http.bugzilla.kernel.org/>
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
On Tue, 16 Dec 2008 03:36:11 -0800 (PST) bugme-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=12235
>
> Summary: /sys/devices/virtual/backlight/acpi_video0/brightness
> has it backwards
> Product: ACPI
> Version: 2.5
> KernelVersion: 2.6.28-rc8
> Platform: All
> OS/Version: Linux
> Tree: Mainline
> Status: NEW
> Severity: normal
> Priority: P1
> Component: Power-Video
> AssignedTo: acpi_power-video@kernel-bugs.osdl.org
> ReportedBy: khashayar.lists@gmail.com
>
>
> Latest working kernel version:
> 2.6.27
>
> Earliest failing kernel version:
> probably 2.6.28-rc1, but could be later in the release candidates.
>
> Distribution:
> Ubuntu 8.10
>
> Hardware Environment:
> Asus, N20A, all intel.
>
> Problem Description:
> If the laptop loads the video module at boot time,
> /sys/devices/virtual/backlight/acpi_video0/brightness is created. However, it's
> all backwards, confusing applications like gnome-power-manager and the likes
> (well, that basically means hal). Echoing 0 to 'brightness' raises the
> backlight of this laptop to maximum. Echoing 13 to it, takes the backlight to a
> minimum.
> actual_brightness' seems to stay at 0 at all times.
>
> If I disalllow the video module to be loaded at boot time, there's no backlight
> interface in /sys/class/backlight/*. But, nevertheless, the xbacklight utility
> and hal seem to be able to control the backlight just fine. In this latter
> case, withouth the video module loaded, xbacklight & hal handle the backlight
> correctly, i.e. less means lower backlight, and more means brighter backlight.
>
> I just confirmed this problem exists with the latest git from Linus' tree, as
> well as the rc8 patch.
>
> If I remember correctly, the 2.6.27-series created an interface under
> /sys/devices/platform/asus-laptop/ for controlling backlight which worked just
> fine.
>
> Please let me know what additional information to post. I'd love to have this
> fixed before the 2.6.28 release.
OK, that's weird. I have a suspicion that we're about to find out that
this is intentional, but I don't know what the fix is..
next parent reply other threads:[~2008-12-16 18:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-12235-10286@http.bugzilla.kernel.org/>
2008-12-16 18:00 ` Andrew Morton [this message]
2008-12-16 20:55 ` [Bugme-new] [Bug 12235] New: /sys/devices/virtual/backlight/acpi_video0/brightness has it backwards Matthew Garrett
2008-12-17 0:57 ` Zhang Rui
2008-12-17 9:44 ` Khashayar Naderehvandi
2008-12-17 19:56 ` Khashayar Naderehvandi
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=20081216100023.2e437c8c.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=bugme-daemon@bugzilla.kernel.org \
--cc=khashayar.lists@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=rui.zhang@intel.com \
/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