kern/186587: Temperature Support for AMD Motherboard Family 16h (Kabini)

David Rufino david.rufino at gmail.com
Sun Feb 9 13:00:01 UTC 2014


>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:


More information about the freebsd-bugs mailing list