public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Michel Alexandre Salim <salimma@fedoraproject.org>
To: Marco Chiappero <marco@absence.it>
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: Mon, 04 Jul 2011 21:00:41 +0200	[thread overview]
Message-ID: <4E120DD9.9070506@fedoraproject.org> (raw)
In-Reply-To: <4E119CED.1060109@absence.it>

Hi Marco,

On 07/04/2011 12:58 PM, Marco Chiappero wrote:
> Il 04/07/2011 10:46, Michel Alexandre Salim ha scritto:
> Hi Michel,
> 
>> Let me know if you need anything else. Once we can at least pinpoint the
>> problem to the right subsystem, I'll add these attachments to the
>> correct bug report.
> 
> Both this behavior and the ASL is confusing, so it's not easy to say
> where is the problem exactly, but BNEN, BNCM, BNDM, BNVE are set to 0.
> This affects for sure the SBRT/GBRT methods used by sony-laptop (that's
> why they do not work), I can't say about _BCM/_BQC methods used by the
> acpi video driver (which is preferable). However, since _BCM calls no
> GFX methods and only acts on the EC, it might start to work after
> setting those bits to 1. The real question is why those bits are low, is
> there any issue during the EC initialization? That said, the issue
> doesn't seem to belong to sony-laptop and video drivers. You can try to
> temporarily fix the problem setting to 1 those bits (but it is not a
> solution), just compile and run the attached program. Please report back
> if it works, and if it works for both backlight controls.
> 
Unfortunately, the results are, again, rather confusing. With
sony-laptop.ko, after running backlight_fix once, actual_brightness has
a nonsensical value -- 55. I tried setting it to 5, and something
actually happens this time - actual_brightness now reads 5 rather than
-1, and the screen brightness actually changes -- but, alas, too much
(if the brightness range is from 0 to 7, 5 should be rather bright,
instead it looked more like a 2 to me).

Further attempts to adjust brightness produced no result --
actual_brightness now tallies with brightness, like the video.ko's
behavior, but the screen remained dim. Repeatedly running backlight_fix
does not resolve matter either.

With the video.ko driver, backlight_fix appears to have no effect.

Anything else I can try? I've not tried Rui's solution yet, as I haven't
found a kernel tree where the patches would apply *and* build cleanly yet.

Thanks,

-- 
Michel Alexandre Salim

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

  reply	other threads:[~2011-07-04 19:00 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
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 [this message]
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=4E120DD9.9070506@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=malattia@linux.it \
    --cc=marco@absence.it \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox