GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

71 versions of Linux.

ProgramAgeSizeByWWWSummary
Linux 4.13.2-r1 790  88794 Luca...
The Linux Kernel.
Linux 4.9.16-r3 961  100651 Luca...
The Linux Kernel.
Linux 4.9.4-r5 1017  99374 Luca...
The Linux Kernel.
Linux 4.8.2-r2 1083  89394 Luca...
The Linux Kernel.
Linux 4.7.4-r1 1153  82767 Luca...
The Linux Kernel.
Linux 4.7.0-r4 1208  82585 Luca...
The Linux Kernel.
Linux 3.13.3-r1 2088  252629 Luca...
The Linux Kernel.
Linux 3.12.6-r1 2148  238949 Luca...
The Linux Kernel.
Linux 3.9.4-r2 2343  70048 Luca...
The Linux Kernel.
Linux 3.7.1-r2 2516  67579 Luca...
The Linux Kernel.
Linux 3.5.0-r1 2667  124391 Luca...
The Linux Kernel.
Linux 3.4.4-r1 2667  124348 Luca...
The Linux Kernel.
Linux 3.3.6-r1 2667  124410 Luca...
The Linux Kernel.
Linux 3.2.12-r2 2795  124345 Luca...
The Linux Kernel.
Linux 3.2.7-r1 2825  123550 Mich...
The Linux Kernel.
Linux 3.1.1-r1 2930  122907 Mich...
The Linux Kernel.
Linux 3.0.4-r4 2991  122754 Luca...
The Linux Kernel.
Linux 2.6.36.3-r1 3214  116087 Diog...
The Linux Kernel.
Linux 2.6.32.3-r1 3592  117990 Luca...
The Linux Kernel.
Linux 2.6.32-r1 3633  117751 Luca...
The Linux Kernel.
Linux 2.6.31.6-r3 3638  126499 Luca...
The Linux Kernel.
Linux 2.6.30.5-r1 3717  166102 Jona...
The Linux Kernel.
Linux 2.6.29.1-r1 3860  117500 Luca...
The Linux Kernel.
Linux 2.6.28.7-r1 3916  115518 Giam...
The Linux Kernel.
Linux 2.6.28.1-r1 3916  115487 Giam...
The Linux Kernel.
Linux 2.6.28-r1 3916  116681 Mich...
The Linux Kernel.
Linux 2.6.27.8-r1 3916  134160 Giam...
The Linux Kernel.
Linux 2.6.27.4-r3 3916  149529 Luca...
The Linux Kernel.
Linux 2.6.25.17-r1 3916  172834 Giam...
The Linux Kernel.
Linux 2.6.25.16-r1 3916  166500 Giam...
The Linux Kernel.
Linux 2.6.25.10-r2 3916  165320 Giam...
The Linux Kernel.
Linux 2.6.25.7-r1 3916  157294 Giam...
The Linux Kernel.
Linux 2.6.25.4-r1 3916  133017 Hopp...
The Linux Kernel.
Linux 2.6.25-r1 3916  133216 Luca...
The Linux Kernel.
Linux 2.6.24.4-r5 3916  150733
The Linux Kernel.
view entry at GitHub | download recipe.bz2 file
01-gobohide.patch
02-unionfs-2.3.2_for_2.6.24.4.patch
03-squashfs-3.3-cvs_20080310.patch
04-squashfs-3.3-cvs_20080310-fix.patch
04-thinkpad-acpi-0.19-20080107_v2.6.24.patch
05-applesmc-case-led.patch
06-applesmc_int.patch
07-applesmc-macbook2.patch
08-applesmc-retry-when-accessing-keys.patch
09-appletouch-add-macbook3-trackpad.patch
10-appletouch.patch
11-appletouch-new.patch
12-sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch
13-sigmatel_audio_fix_macbook_v2.patch
14-appletouch-2.6.24_rc8.patch
15-macbook3rd-2.6.24_rc8.patch
16-usbhid-macbook3_1-quirks.patch
17-applesmc_led_unregister.patch
18-vm_splice_fix.patch
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
Resources/NewDependencies
i686/Recipe
i686/dot-config
ppc/Recipe
ppc/dot-config
Add sensors set for MacBook2, from register dump on a mid-2007 MacBook2.

From: Riki Oktarianto <rkoktarianto@gmail.com>


---

 drivers/hwmon/applesmc.c |   29 +++++++++++++++++++----------
 1 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index 377c96d..4dca4cd 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -86,12 +86,15 @@ static const char* temperature_sensors_sets[][36] = {
 /* Set 0: Macbook Pro */
 	{ "TA0P", "TB0T", "TC0D", "TC0P", "TG0H", "TG0P", "TG0T", "Th0H",
 	  "Th1H", "Tm0P", "Ts0P", "Ts1P", NULL },
-/* Set 1: Macbook set */
+/* Set 1: Macbook2 set */
+	{ "TB0T", "TC0D", "TC0P", "TM0P", "TN0P", "TN1P", "TTF0", "Th0H",
+	  "Th0S", "Th1H", NULL },
+/* Set 2: Macbook set */
 	{ "TB0T", "TC0D", "TC0P", "TM0P", "TN0P", "TN1P", "Th0H", "Th0S",
 	  "Th1H", "Ts0P", NULL },
-/* Set 2: Macmini set */
+/* Set 3: Macmini set */
 	{ "TC0D", "TC0P", NULL },
-/* Set 3: Mac Pro (2 x Quad-Core) */
+/* Set 4: Mac Pro (2 x Quad-Core) */
 	{ "TA0P", "TCAG", "TCAH", "TCBG", "TCBH", "TC0C", "TC0D", "TC0P",
 	  "TC1C", "TC1D", "TC2C", "TC2D", "TC3C", "TC3D", "THTG", "TH0P",
 	  "TH1P", "TH2P", "TH3P", "TMAP", "TMAS", "TMBS", "TM0P", "TM0S",
@@ -1247,12 +1250,14 @@ static void applesmc_release_accelerometer(void)
 static __initdata struct dmi_match_data applesmc_dmi_data[] = {
 /* MacBook Pro: accelerometer, backlight and temperature set 0 */
 	{ .accelerometer = 1, .light = 1, .temperature_set = 0 },
-/* MacBook: accelerometer and temperature set 1 */
+/* MacBook2: accelerometer and temperature set 1 */
 	{ .accelerometer = 1, .light = 0, .temperature_set = 1 },
-/* MacMini: temperature set 2 */
-	{ .accelerometer = 0, .light = 0, .temperature_set = 2 },
-/* MacPro: temperature set 3 */
+/* MacBook: accelerometer and temperature set 2 */
+	{ .accelerometer = 1, .light = 0, .temperature_set = 2 },
+/* MacMini: temperature set 3 */
 	{ .accelerometer = 0, .light = 0, .temperature_set = 3 },
+/* MacPro: temperature set 4 */
+	{ .accelerometer = 0, .light = 0, .temperature_set = 4 },
 };
 
 /* Note that DMI_MATCH(...,"MacBook") will match "MacBookPro1,1".
@@ -1264,16 +1269,20 @@ static __initdata struct dmi_system_id applesmc_whitelist[] \
= {
 		(void*)&applesmc_dmi_data[0]},
 	{ applesmc_dmi_match, "Apple MacBook", {
 	  DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
-	  DMI_MATCH(DMI_PRODUCT_NAME,"MacBook") },
+	  DMI_MATCH(DMI_PRODUCT_NAME,"MacBook2") },
 		(void*)&applesmc_dmi_data[1]},
+	{ applesmc_dmi_match, "Apple MacBook", {
+	  DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
+	  DMI_MATCH(DMI_PRODUCT_NAME,"MacBook") },
+		(void*)&applesmc_dmi_data[2]},
 	{ applesmc_dmi_match, "Apple Macmini", {
 	  DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
 	  DMI_MATCH(DMI_PRODUCT_NAME,"Macmini") },
-		(void*)&applesmc_dmi_data[2]},
+		(void*)&applesmc_dmi_data[3]},
 	{ applesmc_dmi_match, "Apple MacPro2", {
 	  DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
 	  DMI_MATCH(DMI_PRODUCT_NAME,"MacPro2") },
-		(void*)&applesmc_dmi_data[3]},
+		(void*)&applesmc_dmi_data[4]},
 	{ .ident = NULL }
 };
 
Linux 2.6.24.3-r5 3916  150221 Luca...
The Linux Kernel.
Linux 2.6.24.2-r3 3916  146488 Giam...
The Linux Kernel.
Linux 2.6.24.1-r1 3916  146454 Giam...
The Linux Kernel.
Linux 2.6.24-r1 3916  146428 Luca...
The Linux Kernel.
Linux 2.6.23.8-r4 3916  155842 Luca...
The Linux Kernel.
Linux 2.6.22.7-r4 3916  114727 Luca...
The Linux Kernel.
Linux 2.6.22.1-r1 3916  121391 Luca...
The Linux Kernel.
Linux 2.6.21.1-r3 3916  118854 Luca...
The Linux Kernel.
Linux 2.6.20.7-r1 3916  117945 Luca...
The Linux Kernel.
Linux 2.6.20.4-r3 3916  151150 Luca...
The Linux Kernel.
Linux 2.6.20-r1 3916  106429 Luca...
The Linux Kernel.
Linux 2.6.18.3-r2 3916  111124 Luca...
The Linux Kernel.
Linux 2.6.17.11-r1 3916  164053 Luca...
The Linux Kernel.
Linux 2.6.17.3-r1 3916  165067 Luca...
The Linux Kernel.
Linux 2.6.16.20-r1 3916  133625 Luca...
The Linux Kernel.
Linux 2.6.16.14-r1 3916  168270 Luca...
The Linux Kernel.
Linux 2.6.15.5-r1 3916  224686 Jona...
The Linux Kernel.
Linux 2.6.15.2-r1 3916  177165 Carl...
The Linux Kernel.
Linux 2.6.15.1-r1 3916  149219 Jona...
The Linux Kernel.
Linux 2.6.15-r1 3916  149214 Luca...
The Linux Kernel.
Linux 2.6.14.4-r1 3916  150166 Jona...
The Linux Kernel.
Linux 2.6.14.3-r1 3916  150060 Jona...
The Linux Kernel.
Linux 2.6.14.2-r1 3916  149791 Carl...
The Linux Kernel.
Linux 2.6.13.4-r1 3916  149559 Luca...
The Linux Kernel.
Linux 2.6.13.2-r1 3916  56611 Jona...
The Linux Kernel.
Linux 2.6.13.1-r1 3916  56378 Luca...
The Linux Kernel.
Linux 2.6.12.2-r1 3916  50355 Luca...
The Linux Kernel.
Linux 2.6.11.9-r1 3916  98969 Luca...
The Linux Kernel.
Linux 2.6.11.8-r1 3916  109424 Jona...
The Linux Kernel.
Linux 2.6.11-r1 3916  99032 Luca...
The Linux Kernel.
Linux 2.6.10-r1 3916  65969 Luca...
The Linux Kernel.
Linux 2.6.9-r1 3916  278461 Luca...
The Linux Kernel.
Linux 2.6.8.1-r1 3916  35576 Luca...
The Linux Kernel.
Linux 2.6.7-r1 3916  22610 Luca...
The Linux Kernel.
Linux 2.6.6-r1 3916  21958 Luca...
The Linux Kernel.
Linux 2.4.26-r1 3916  22359 Luca...
The Linux Kernel.