All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Dreschner <david@dreschner.net>
To: ibm-acpi-devel@lists.sourceforge.net
Cc: platform-driver-x86@vger.kernel.org
Subject: [PATCH] Update whitelisted ThinkPad models with dual fan support in thinkpad_acpi
Date: Tue, 4 Jan 2022 04:41:45 +0100	[thread overview]
Message-ID: <ec04aa1e-1ac3-edbc-ac08-eec15ec5c952@dreschner.net> (raw)

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

Hey guys,

the attached patch updates the list of whitelisted ThinkPad models with 
dual fan support.

The changes were tested on my ThinkPad T15g Gen 2. According to Lenovo, 
the BIOS version is the same for the P15 Gen 2 and the P17 Gen 2 ( 
https://pcsupport.lenovo.com/us/en/downloads/ds551321-bios-update-utility-bootable-cd-for-windows-10-64-bit-thinkpad-p15-gen-2-p17-gen-2-t15g-gen-2 
).

I also added the P15v Gen 2 and T15p Gen 2 to the whitelist based on the 
BIOS version listed on the Lenovo homepage ( 
https://pcsupport.lenovo.com/us/en/downloads/ds551356-bios-update-utility-bootable-cd-for-windows-10-64-bit-thinkpad-p15v-gen-2-t15p-gen-2 
). The first generation had two fans and where covered by the whitelist 
entry for the P15 Gen 2. As the second generation has two fans, too, I 
made that change for completeness.

To apply the changes before it's merged in the mainline linux kernel, I 
made a little dkms patch: 
https://github.com/dreschner/thinkpad_acpi-dual-fan-patch

Best reguards,
David

[-- Attachment #2: update_whitelisted_thinkpad_models.patch --]
[-- Type: text/x-patch, Size: 374 bytes --]

8845c8845
< 	TPACPI_Q_LNV3('N', '3', '0', TPACPI_FAN_2CTL),	/* P15 (1st gen) / P15v (1st gen) */
---
> 	TPACPI_Q_LNV3('N', '3', '0', TPACPI_FAN_2CTL),	/* P15 / P17 / T15g / T15p / P15v (1st gen) */
8846a8847,8848
> 	TPACPI_Q_LNV3('N', '3', '7', TPACPI_FAN_2CTL),	/* P15 / P17 / T15g (2nd gen) */
> 	TPACPI_Q_LNV3('N', '3', '8', TPACPI_FAN_2CTL),	/* P15v / T15p (2nd gen) */

             reply	other threads:[~2022-01-04  3:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-04  3:41 David Dreschner [this message]
2022-01-11 11:09 ` [PATCH] Update whitelisted ThinkPad models with dual fan support in thinkpad_acpi Hans de Goede
2022-01-11 19:34   ` [External] " Mark Pearson
2022-01-17  9:55   ` Hans de Goede
2022-02-01 14:17     ` Hans de Goede
2022-01-17  9:55   ` Hans de Goede

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=ec04aa1e-1ac3-edbc-ac08-eec15ec5c952@dreschner.net \
    --to=david@dreschner.net \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=platform-driver-x86@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 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.