Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 12:49:58 GMT
From:      David Rufino <david.rufino@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/186587: Temperature Support for AMD Motherboard Family 16h (Kabini)
Message-ID:  <201402091249.s19CnwfE059096@cgiserv.freebsd.org>
Resent-Message-ID: <201402091300.s19D00NA038147@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186587
>Category:       kern
>Synopsis:       Temperature Support for AMD Motherboard Family 16h (Kabini)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 09 13:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     David Rufino
>Release:        10.0-RELEASE
>Organization:
>Environment:
>Description:
temperature controls don't work on AMD Family 16h (Kabini) Mobos
>How-To-Repeat:
kldload amdtemp
sysctl dev.cpu.0.temperature
>Fix:
Apply the following patch to dev/amdtemp

Index: amdtemp.c
===================================================================
--- amdtemp.c	(revision 261316)
+++ amdtemp.c	(working copy)
@@ -79,7 +79,9 @@
 #define	DEVICEID_AMD_MISC12	0x1403
 #define	DEVICEID_AMD_MISC14	0x1703
 #define	DEVICEID_AMD_MISC15	0x1603
+#define	DEVICEID_AMD_MISC16	0x1533
 
+
 static struct amdtemp_product {
 	uint16_t	amdtemp_vendorid;
 	uint16_t	amdtemp_deviceid;
@@ -90,6 +92,7 @@
 	{ VENDORID_AMD,	DEVICEID_AMD_MISC12 },
 	{ VENDORID_AMD,	DEVICEID_AMD_MISC14 },
 	{ VENDORID_AMD,	DEVICEID_AMD_MISC15 },
+	{ VENDORID_AMD,	DEVICEID_AMD_MISC16 },
 	{ 0, 0 }
 };
 
@@ -204,6 +207,7 @@
 	case 0x12:
 	case 0x14:
 	case 0x15:
+	case 0x16:
 		break;
 	default:
 		return (ENXIO);
@@ -327,6 +331,7 @@
 	case 0x12:
 	case 0x14:
 	case 0x15:
+	case 0x16:
 		/*
 		 * There is only one sensor per package.
 		 */

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402091249.s19CnwfE059096>