From: Marco Chiappero <marco@absence.it>
To: Michel Alexandre Salim <salimma@fedoraproject.org>
Cc: linux-acpi@vger.kernel.org,
platform-driver-x86 <platform-driver-x86@vger.kernel.org>,
Mattia Dongili <malattia@linux.it>
Subject: Re: Need help debugging Sony Vaio VPCY2 backlight control problem
Date: Sat, 02 Jul 2011 00:12:07 +0200 [thread overview]
Message-ID: <4E0E4637.7000902@absence.it> (raw)
In-Reply-To: <4E0E2155.4070508@fedoraproject.org>
Il 01/07/2011 21:34, Michel Alexandre Salim ha scritto:
> Dear all,
Hello Michel,
I'm not neither experienced nor the maintainer but I'll give my two cents.
> I have a Sony Vaio VPCY2 with a backlight control problem -- both with
> acpi_backlight=video and acpi_backlight=vendor.
>
> With the former, setting the backlight (with Fn-F5/6) gave the
> appearance, as far as
> /sys/class/backlight/acpi_video0/{actual_,}brightness is concerned, that
> the change took place, however, the screen brightness remained
> unchanged.
Here there is something I don't understand, since the _BCM method stores
the brightness level into an EC register (apparently which one depends
whether the notebook is on battery or not, if BNCM is enabled), but no
GFX related methods are then called. The fact that _BQC returns an
updated value proves that it works, but looking at your DSDT I'd say
that no change is indeed applied. Are you experiencing the same issue
under Windows?
> Kernel bug report here: https://bugzilla.kernel.org/show_bug.cgi?id=38342
>
> Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=689962
>
> Is the Vaio Y's backlight supposed to be controlled by sony-laptop
> instead of by video.ko?
Not necessarily.
> Right now with sony-laptop, actual_brightness
> always reads -1 no matter what value is written to brightness.
In your laptop SBRT/GBRT methods use zero based values, so -1 is a
reasonable value. But why are you always getting -1 (especially if the
LCD brightness is maximized)? Maybe the if statement "If (^^EC0.BNEN)"
is false, but why?
> If there's any information not currently attached to those bug reports
> that is needed, please let me know.
Using the sony-laptop provided backlight device, try to dump the EC
registers before and after changing the brightness value. You can use
"ectool" or sysfs (depending on your kernel configuration).
Regards
next prev parent reply other threads:[~2011-07-01 22:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-01 19:34 Need help debugging Sony Vaio VPCY2 backlight control problem Michel Alexandre Salim
2011-07-01 22:12 ` Marco Chiappero [this message]
2011-07-04 8:46 ` Michel Alexandre Salim
2011-07-04 8:48 ` Michel Alexandre Salim
2011-07-04 8:57 ` Zhang Rui
2011-07-04 11:31 ` Michel Alexandre Salim
2011-07-04 13:34 ` Michel Alexandre Salim
2011-07-13 12:51 ` Michel Alexandre Salim
2011-07-04 10:58 ` Marco Chiappero
2011-07-04 19:00 ` Michel Alexandre Salim
2011-07-04 19:51 ` Marco Chiappero
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=4E0E4637.7000902@absence.it \
--to=marco@absence.it \
--cc=linux-acpi@vger.kernel.org \
--cc=malattia@linux.it \
--cc=platform-driver-x86@vger.kernel.org \
--cc=salimma@fedoraproject.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox