All of lore.kernel.org
 help / color / mirror / Atom feed
From: Soeren Sonnenburg <sonne@debian.org>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: nicolas@boichat.ch, felipe_alfaro@linuxmail.org,
	Julien BLACHE <jb@jblache.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Brightness control for MacBook Pro - Nvidia 9400
Date: Fri, 12 Feb 2010 00:13:32 +0100	[thread overview]
Message-ID: <1265930012.3485.1.camel@no> (raw)
In-Reply-To: <20100211204441.GA5956@srcf.ucam.org>

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

On Thu, 2010-02-11 at 20:44 +0000, Matthew Garrett wrote:
> On Thu, Feb 11, 2010 at 09:38:45PM +0100, Soeren Sonnenburg wrote:
> > Dear all,

Hi Matthew,

thanks for the quick answer.

> > I am booting a MacBookPro5,3 using elilo and efifb. Now I'd like to use
> > pommed to control display brightness (which won't work). Digging around
> > in mbp_nvidia_bl.c I figured out that tries to control the geforce 9600M
> > instead of the currently active geforece 9400m
> 
> So, first of all, use nouveau instead. But moving on...

Unfortunately nouveau (from kernel 2.6.33-rc7) just hangs after loading
firmware and initialising fifo 1...

> > 02:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9600M GT] (rev a1)
> > 03:00.0 VGA compatible controller: nVidia Corporation C79 [GeForce 9400M] (rev b1)
> > 
> > Does anyone have an idea which bytes to tweak to change brightness
> > levels for the 9400? Seems like 0x52f does not work - at least
> > setpci -s 03:00.0 0x52f.B=10 fails...
> 
> Those are mmio registers, not PCI config ones. You won't be able to 
> change them with setpci.

I see...

Soeren
-- 
For the one fact about the future of which we can be certain is that it
will be utterly fantastic. -- Arthur C. Clarke, 1962

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2010-02-11 23:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-11 20:38 Brightness control for MacBook Pro - Nvidia 9400 Soeren Sonnenburg
2010-02-11 20:44 ` Matthew Garrett
2010-02-11 23:13   ` Soeren Sonnenburg [this message]
2010-02-12 11:18 ` Julien BLACHE
2010-02-12 14:14   ` Matthew Garrett
2010-02-12 16:25     ` Julien BLACHE
2010-02-12 16:28       ` Matthew Garrett
2010-02-12 16:42         ` Soeren Sonnenburg
2010-02-12 16:44           ` Matthew Garrett
2010-02-12 16:55             ` Soeren Sonnenburg

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=1265930012.3485.1.camel@no \
    --to=sonne@debian.org \
    --cc=felipe_alfaro@linuxmail.org \
    --cc=jb@jblache.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=nicolas@boichat.ch \
    /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.