Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Konrad Dybcio <konradybcio@kernel.org>
To: Maximilian Luz <luzmaximilian@gmail.com>,
	Guenter Roeck <linux@roeck-us.net>
Cc: Jean Delvare <jdelvare@suse.com>,
	Hans de Goede <hdegoede@redhat.com>,
	Ivor Wanders <ivor@iwanders.net>,
	linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org
Subject: Re: [PATCH v2] hwmon: Add thermal sensor driver for Surface Aggregator Module
Date: Sat, 10 Aug 2024 01:35:20 +0200	[thread overview]
Message-ID: <6027d9db-b1a8-4eb0-a0b7-451f1524834c@kernel.org> (raw)
In-Reply-To: <20240804230832.247852-1-luzmaximilian@gmail.com>

On 5.08.2024 1:08 AM, Maximilian Luz wrote:
> Some of the newer Microsoft Surface devices (such as the Surface Book
> 3 and Pro 9) have thermal sensors connected via the Surface Aggregator
> Module (the embedded controller on those devices). Add a basic driver
> to read out the temperature values of those sensors.
> 
> The EC can have up to 16 thermal sensors connected via a single
> sub-device, each providing temperature readings and a label string.
> 
> Link: https://github.com/linux-surface/surface-aggregator-module/issues/59
> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
> Co-developed-by: Ivor Wanders <ivor@iwanders.net>
> Signed-off-by: Ivor Wanders <ivor@iwanders.net>
> Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
> 
> ---

Gave it a shot on SL7, some names are repeated and one sensor is
totally busted

/sys/class/hwmon/hwmon66/name:surface_thermal
/sys/class/hwmon/hwmon66/temp10_input:32200
/sys/class/hwmon/hwmon66/temp10_label:I_RTS2
/sys/class/hwmon/hwmon66/temp11_input:31600
/sys/class/hwmon/hwmon66/temp11_label:I_RTS3
/sys/class/hwmon/hwmon66/temp12_input:38000
/sys/class/hwmon/hwmon66/temp12_label:I_RTS4
/sys/class/hwmon/hwmon66/temp1_input:43900
/sys/class/hwmon/hwmon66/temp1_label:I_RTS1
/sys/class/hwmon/hwmon66/temp2_input:44000
/sys/class/hwmon/hwmon66/temp2_label:I_RTS2
/sys/class/hwmon/hwmon66/temp3_input:47300
/sys/class/hwmon/hwmon66/temp3_label:I_RTS3
/sys/class/hwmon/hwmon66/temp4_input:-273100
/sys/class/hwmon/hwmon66/temp4_label:I_RTS4
/sys/class/hwmon/hwmon66/temp5_input:31300
/sys/class/hwmon/hwmon66/temp5_label:I_RTS5
/sys/class/hwmon/hwmon66/temp9_input:37100
/sys/class/hwmon/hwmon66/temp9_label:I_RTS1

Konrad

  parent reply	other threads:[~2024-08-09 23:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-04 23:08 [PATCH v2] hwmon: Add thermal sensor driver for Surface Aggregator Module Maximilian Luz
2024-08-06 19:41 ` kernel test robot
2024-08-07  0:32 ` Guenter Roeck
2024-08-07 19:25   ` Maximilian Luz
2024-08-07 19:50     ` Guenter Roeck
2024-08-07 20:11       ` Maximilian Luz
2024-08-07 20:37         ` Guenter Roeck
2024-08-10  1:19           ` Maximilian Luz
2024-08-09 23:35 ` Konrad Dybcio [this message]
2024-08-10  0:34   ` Ivor Wanders
2024-08-10  1:04   ` Maximilian Luz
2024-08-10  1:14     ` Konrad Dybcio
2024-08-19 10:26       ` Konrad Dybcio
2024-08-19 20:03         ` Maximilian Luz

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=6027d9db-b1a8-4eb0-a0b7-451f1524834c@kernel.org \
    --to=konradybcio@kernel.org \
    --cc=hdegoede@redhat.com \
    --cc=ivor@iwanders.net \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=luzmaximilian@gmail.com \
    /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