From: Mattia Dongili <malattia@linux.it>
To: Karol Babioch <karol@babioch.de>
Cc: platform-driver-x86@vger.kernel.org,
ACPI Devel Mailing List <linux-acpi@vger.kernel.org>
Subject: Re: no brightness with acpi video since 3.3 [was Re: Issues with the sony-platform module]
Date: Tue, 19 Jun 2012 07:19:06 +0900 [thread overview]
Message-ID: <20120618221905.GA20324@kamineko.org> (raw)
In-Reply-To: <4FDDB67F.7090704@babioch.de>
On Sun, Jun 17, 2012 at 12:50:39PM +0200, Karol Babioch wrote:
> Hi,
>
> Am 17.06.2012 01:16, schrieb Mattia Dongili:
> > I'm a bit lost at this point. Are you saying that you cannot get a
> > working backlight control with the old set-up you had?
> Yeah, I can't get it working. Tried nearly every kernel from 3.0
> onwards. Don't know what is going on here :(. Any idea what could have
> caused this?
>
> > If so what else did you change in your set up?
> Well, I'm on Arch Linux, which is a rolling release distribution. So
> there is probably a lot of stuff, which has changed during the course of
> the last two to three months :(.
>
> > Also, any chance you could try to inspect/poke the acpi_video0 or
> > sony-laptop backlight directories without loading the nouveau driver?
> Yeah, sure. In both cases the brightness won't change. Here you have
> some excerpts in the case of "acpi_backlight=vendor" again:
>
> [root@vpcs ~]# grep . /sys/class/backlight/sony/*/*
> /sys/class/backlight/sony/actual_brightness:-13
> /sys/class/backlight/sony/bl_power:0
> /sys/class/backlight/sony/brightness:-13
> /sys/class/backlight/sony/max_brightness:242
> /sys/class/backlight/sony/type:platform
>
> I then echoed 100 to /sys/class/backlight/sony/brightness and dmesg
> reported the following:
>
> [ 89.631235] sony_laptop: found handle 0x0137 (offset: 0x0b)
> [ 89.753455] sony_laptop: __call_snc_method: [SN07:0x000000000000020b]
> [ 89.753457] sony_laptop: called SN07 with 0x020b (result: 0x0000)
>
> Not sure what this means, but probably nouveau is not the culprit here.
the reason I'm asking is because from the DSDT the only reason why the
calls to setting backlight would not work are due to
If (LEqual (^IGPU.PBCC, One))
{
and PBCC is defined in PCI_Config space (should be set by the video
driver or something like that?)
Device (IGPU)
{
Name (_ADR, Zero)
OperationRegion (GPPB, PCI_Config, 0xB4, 0x14)
Field (GPPB, ByteAcc, NoLock, Preserve)
{
PBCI, 8,
PBNP, 8,
PBLS, 8,
PBCC, 8,
PBCM, 32,
PBDI, 32,
PBDO, 32,
PBMX, 32
}
Can you also switch to the second video card (do you have one) and try
if brightness regulation works?
Thanks
--
mattia
:wq!
next prev parent reply other threads:[~2012-06-18 22:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-14 17:33 Issues with the sony-platform module Karol Babioch
2012-06-14 20:39 ` no brightness with acpi video since 3.3 [was Re: Issues with the sony-platform module] Mattia Dongili
2012-06-15 7:45 ` Karol Babioch
2012-06-15 11:36 ` Mattia Dongili
2012-06-15 12:08 ` Karol Babioch
2012-06-15 15:17 ` Karol Babioch
2012-06-15 22:37 ` Mattia Dongili
2012-06-15 23:13 ` Karol Babioch
2012-06-16 2:52 ` Mattia Dongili
2012-06-16 11:24 ` Karol Babioch
2012-06-16 13:07 ` Mattia Dongili
2012-06-16 18:07 ` Karol Babioch
2012-06-16 23:16 ` Mattia Dongili
2012-06-17 10:50 ` Karol Babioch
2012-06-18 22:19 ` Mattia Dongili [this message]
2012-06-19 10:48 ` Karol Babioch
2012-06-19 0:59 ` Zhang Rui
2012-06-19 13:57 ` Karol Babioch
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=20120618221905.GA20324@kamineko.org \
--to=malattia@linux.it \
--cc=karol@babioch.de \
--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.