From: Henrik Rydberg <rydberg@euromail.se>
To: gimli <gimli@dark-green.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/6] MacBookAir3,1(3,2) applesmc support
Date: Wed, 03 Nov 2010 11:21:35 +0100 [thread overview]
Message-ID: <4CD137AF.30206@euromail.se> (raw)
In-Reply-To: <16daf2365a63093624c93857a0011008@mognix.dark-green.com>
On 11/03/2010 10:39 AM, gimli wrote:
> On Tue, 02 Nov 2010 17:43:28 +0100, Henrik Rydberg <rydberg@euromail.se>
> wrote:
>> On 11/02/2010 08:17 AM, gimli wrote:
>>
>>> This patch add support for the MacBookAir3,1 and MacBookAir3,2 to the
>>> applesmc driver.
>>>
>>> Signed-off-by: Edgar (gimli) Hucek <gimli@dark-green.com>
>>
>>
>> Thanks for this information. The patch is conflicting with a makeover
>> currently
>> on review, but it is a candidate for inclusion in 2.6.37 and stable.
>>
>>> /* List of keys used to read/write fan speeds */
>>> @@ -1524,11 +1528,21 @@
>>> { .accelerometer = 1, .light = 1, .temperature_set = 21 },
>>> /* MacBook Pro 7,1: accelerometer, backlight and temperature set 22 */
>>> { .accelerometer = 1, .light = 1, .temperature_set = 22 },
>>> +/* MacBook Air 3,1: accelerometer, backlight and temperature set 15 */
>>> + { .accelerometer = 0, .light = 0, .temperature_set = 23 },
>>> };
>>
>> Comment "temperature set 15" is confusing.
>>
>
> This is a copy and paste error. Should be :
>
> +/* MacBook Air 3,1(2): temperature set 23 */
>
>
>
>>> /* Note that DMI_MATCH(...,"MacBook") will match "MacBookPro1,1".
>>> * So we need to put "Apple MacBook Pro" before "Apple MacBook". */
>>> static __initdata struct dmi_system_id applesmc_whitelist[] = {
>>> + { applesmc_dmi_match, "Apple MacBook Air 3", {
>>> + DMI_MATCH(DMI_BOARD_VENDOR, "Apple"),
>>> + DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir3,2") },
>>> + &applesmc_dmi_data[23]},
>>> + { applesmc_dmi_match, "Apple MacBook Air 3", {
>>> + DMI_MATCH(DMI_BOARD_VENDOR, "Apple"),
>>> + DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir3,1") },
>>> + &applesmc_dmi_data[23]},
>>
>> What is the different between models 3,1 and 3,2? If there is no
>> difference, a
>> single entry will suffice.
>
> They are both the same.
Great - would you care to resend the patch with the changes incorporated?
Thanks,
Henrik
next prev parent reply other threads:[~2010-11-03 10:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-02 7:17 [PATCH 1/6] MacBookAir3,1(3,2) applesmc support gimli
2010-11-02 16:43 ` Henrik Rydberg
2010-11-03 9:39 ` gimli
2010-11-03 10:21 ` Henrik Rydberg [this message]
2010-11-03 10:41 ` Resend: " gimli
2010-11-03 11:28 ` Henrik Rydberg
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=4CD137AF.30206@euromail.se \
--to=rydberg@euromail.se \
--cc=gimli@dark-green.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox