← Back to team overview

mactel-support team mailing list archive

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

 

Hey,
On 06/20/2010 08:24 PM, Panard wrote:
> 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,
>          },
>
>    
Please try
> .driver_data    = (void *)&intel_chipset_data,
instead of
> .driver_data = (void *)&nvidia_chipset_data,

and report back.

Cheers,
  Bernhard

-- 
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