← Back to team overview

mactel-support team mailing list archive

[Bug 596641] Re: mbp-nvidia-bl: adding support for MacBook Pro 7, 1

 

@Mario
(1) s/MacBook/MacBookPro/ in my patch

(2-4) I found the max value of 44000 by using the method you suggested (by incrementing the level by step of 2000).
After 44000, I see no difference in the brightness of the screen.
However, 44000 is far from being a power of 2, I let you to decide to round up to the next power (2^16 - 1).

(5) I have no such hacks.

Cheers

-- 
mbp-nvidia-bl: adding support for MacBook Pro 7,1
https://bugs.launchpad.net/bugs/596641
You received this bug notification because you are a member of Mactel
Support, which is the registrant for Mactel Support.

Status in Mactel Support: New

Bug description:

MacBook Pro 7,1 has a nvidia chipset (MCP89 / graphics: Geforce 320 M)

I tried to add the following lines into mbp_nvidia_bl.c:

        {
                .callback       = mbp_dmi_match,
                .ident          = "MacBookPro 7,1",
                .matches        = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
                        DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro7,1"),
                },
                .driver_data    = (void *)&nvidia_chipset_data,
        },


At bootup, 
$ cat /sys/class/backlight/mbp_backlight/brightness
15

but,
$ echo 3 >  /sys/class/backlight/mbp_backlight/brightness 
does nothing on the brightness, except that
$ cat /sys/class/backlight/mbp_backlight/brightness
3

If you need some command line outputs, I can provide them.

Thanks





References