← Back to team overview

mactel-support team mailing list archive

Re: LCD panel brightness control for MacBookPro6, 2

 

Hi,

Am 05.05.2010 20:16, schrieb Henrik Rydberg:
> They are both, see here:
> http://www.everymac.com/systems/by_capability/mac-specs-by-machine-model-machine-id.html

thanks for the pointer. i've been looking for a complete list of models
for a while.

Am 05.05.2010 22:02, schrieb Bernhard Froemel:
On 05/05/2010 07:42 PM, Mario Schwalbe wrote:
2. does the backlight adjustment work? i mean:
.driver_data = (void *)&intel_chipset_data,
i thought the new generation incorporates Nvidia chipsets.
Yes it does. I assume on the new models with both, an Intel and a Nvidia
graphics adapater, backlight is always controlled by the Intel
mechanism: "only" the graphics adapter itself is switched.

the terms "intel_chipset_data" and "nvidia_chipset_data" refer to the
mainboard chipset. not the graphics adapter at all.
but if it works, i'll add it.

3. did you run:
echo <value> | sudo tee /sys/class/backlight/mbp_backlight/brightness
So, what do you mean by that? :-) But to check on it anyway: it is truly
your mbp_nvidia_bl module responsible for the working backlight control.

that's what i wanted to confirm.

First, I tried to control backlight with the Nvidia mechanism - it does
not work (no reaction).

so we have:
    (1) mbp_nvidia_bl + intel_chipset_data:  confirmed positive
    (2) mbp_nvidia_bl + nvidia_chipset_data: confirmed negative
    (3) nvidia_bl: unconfirmed. does it work?

By the way: how did you find out about the i/o ports - did you extract
this information from the OSX driver? 0xb2 / 0xb3 seems to be an
interface for SMI calls... but I couldn't find anything about 0x52e or
0x52f.

this is an Apple specific interface. to find that you'll have to
disassemble Apple's Bootcap drivers, in particular the file MacHALDriver.sys.

I mean are they at all Intel/Nvidia specific? or did Apple just use one
method for all their Intel only models and the other for all their
Nvidia/Intel models?

as far as i know, all machines incorporating Intel mainboard chipsets
(i.e., MacBook 1-4, MacBookAir 1, MacBook Pro 1-4) use the intel mechanism,
although the MacBook Pro 4 (my machine) has an Nvidia graphics adapter.
later machines (MacBook 5-6, MacBook Air 2, MacBook Pro 5) use the Nvidia method.
all of them incorporate an Nvidia mainboard chipset.

thanks & ciao,
Mario

--
 Wo das Chaos auf die Ordnung trifft, gewinnt meist das Chaos,
 weil es besser organisiert ist.
     - Friedrich Nietzsche -

--
    _____    ________
   /     \  /   ____/  Mario Schwalbe
  /  \ /  \ \____  \
 /    Y    \/       \  eMail: schwalbe@xxxxxxxxxxxxxxxxx,
 \____|__  /______  /         s4700588@xxxxxxxxxxxxxxxxx
         \/       \/

          key ID: 7DA9 DAFF
 key fingerprint: 2979 AA20 4A93 B527 90CC 45E5 4B28 511A 7DA9 DAFF



References