Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to access temperature sensor of Intel X550-T2 PCIE card?

Featured Replies

Hi,
 
I have an Intel X550-T2 PCIE card and I'm trying to acces the onboard temperature sensor.
I can see from the ixgbe driver that this is supported: https://github.com/majek/ixgbe/blob/master/src/ixgbe_sysfs.c

 

/**
 * ixgbe_add_hwmon_attr - Create hwmon attr table for a hwmon sysfs file.
 * @adapter: pointer to the adapter structure
 * @offset: offset in the eeprom sensor data table
 * @type: type of sensor data to display
 *
 * For each file we want in hwmon's sysfs interface we need a device_attribute
 * This is included in our hwmon_attr struct that contains the references to
 * the data structures we need to get the data to display.
 */
static int ixgbe_add_hwmon_attr(struct ixgbe_adapter *adapter,
				unsigned int offset, int type) {

...
...

 

However, I've read in this post that the ixgbe drivers aren't included in 6.10 because they were causing problems.

Instead, only the in-tree driver is included.

Quote

 

 

 

@limetech what are the chances that I can access the temperature sensors with the in-tree driver?

If I run sensors-detect I don't find any hwmon that is related to the network card.

 

Is there a way for me to test the ixgbe driver on unraid 6.10?

 

Thanks

Andrea

  • 3 weeks later...
  • Author

Actually, I was checking the in-tree Intel drivers that are included in the Linux kernel 5.15.46 and the logic to export the die temperature via hwmon is already there:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c?h=v5.15.46

 

I can see that it is enabled at compile time via the CONFIG_IXGBE_HWMON parameter (whose default value is TRUE)

#ifdef CONFIG_IXGBE_HWMON
	if (ixgbe_sysfs_init(adapter))
		e_err(probe, "failed to allocate sysfs resources\n");
#endif /* CONFIG_IXGBE_HWMON */

 

Is it kept at its default value when the unraid kernel is compiled or it is disabled?

 

@limetech do you have any suggestion on how to debug the fact that I can't access the temperature sensor of my Intel X550 card?

 

Thanks

Andrea

Edited by Andrea3000

  • 1 year later...

Any update on this? Can sensors show the temperature of X550-T2 cards?

  • Author
On 8/7/2023 at 5:25 PM, mikeyosm said:

Any update on this? Can sensors show the temperature of X550-T2 cards?

I have found out that even the official Intel drivers don’t expose the temperature sensor for X540 and X550 cards. I raised a feature request last year but nothing has been done.

I was told by an Intel developer that the temperature sensor in those cards isn’t accurate and has never been calibrated. It is there just to detect major over temp events.

 

Long story short, there still isn’t a solution I know of to access the temperature sensor

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.