GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

71 versions of Linux.

ProgramAgeSizeByWWWSummary
Linux 4.13.2-r1 757  88794 Luca...
The Linux Kernel.
Linux 4.9.16-r3 928  100651 Luca...
The Linux Kernel.
Linux 4.9.4-r5 984  99374 Luca...
The Linux Kernel.
Linux 4.8.2-r2 1050  89394 Luca...
The Linux Kernel.
Linux 4.7.4-r1 1120  82767 Luca...
The Linux Kernel.
Linux 4.7.0-r4 1175  82585 Luca...
The Linux Kernel.
Linux 3.13.3-r1 2055  252629 Luca...
The Linux Kernel.
Linux 3.12.6-r1 2115  238949 Luca...
The Linux Kernel.
Linux 3.9.4-r2 2310  70048 Luca...
The Linux Kernel.
Linux 3.7.1-r2 2483  67579 Luca...
The Linux Kernel.
Linux 3.5.0-r1 2634  124391 Luca...
The Linux Kernel.
Linux 3.4.4-r1 2634  124348 Luca...
The Linux Kernel.
Linux 3.3.6-r1 2634  124410 Luca...
The Linux Kernel.
Linux 3.2.12-r2 2762  124345 Luca...
The Linux Kernel.
Linux 3.2.7-r1 2792  123550 Mich...
The Linux Kernel.
Linux 3.1.1-r1 2897  122907 Mich...
The Linux Kernel.
Linux 3.0.4-r4 2958  122754 Luca...
The Linux Kernel.
Linux 2.6.36.3-r1 3181  116087 Diog...
The Linux Kernel.
Linux 2.6.32.3-r1 3559  117990 Luca...
The Linux Kernel.
Linux 2.6.32-r1 3600  117751 Luca...
The Linux Kernel.
Linux 2.6.31.6-r3 3605  126499 Luca...
The Linux Kernel.
Linux 2.6.30.5-r1 3684  166102 Jona...
The Linux Kernel.
Linux 2.6.29.1-r1 3827  117500 Luca...
The Linux Kernel.
Linux 2.6.28.7-r1 3883  115518 Giam...
The Linux Kernel.
Linux 2.6.28.1-r1 3883  115487 Giam...
The Linux Kernel.
Linux 2.6.28-r1 3883  116681 Mich...
The Linux Kernel.
Linux 2.6.27.8-r1 3883  134160 Giam...
The Linux Kernel.
Linux 2.6.27.4-r3 3883  149529 Luca...
The Linux Kernel.
Linux 2.6.25.17-r1 3883  172834 Giam...
The Linux Kernel.
view entry at GitHub | download recipe.bz2 file
01-gobohide.patch
02-unionfs-2.4_for_2.6.25.12.patch
03-squashfs-3.3-cvs_20080310.patch
04-squashfs-3.3-cvs_20080310-fix.patch
05-thinkpad-acpi-0.19-20080321_v2.6.25-rc6.patch
06-vm_splice_fix.patch
07-applesmc_int.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-applesmc-remove-debugging-messages.patch
16-squashfs-2.6.25_port.patch
17-decrypt_failed_as_debug.patch
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
cell/01-ps3-backports.patch
cell/02-ps3vram.patch
cell/03-ps3-stable.patch
cell/04-copy4k-cell.patch
cell/05-memcpy-cell.patch
cell/06-usb-fix-hcd-interrupt-disabling.patch
cell/Recipe
cell/dot-config
i686/01-acpi-dsdt-initrd-v0.9a-2.6.25.patch
i686/Recipe
i686/dot-config
ppc/Recipe
ppc/dot-config
x86_64/Recipe
x86_64/dot-config
http://mactel-linux.svn.sourceforge.net/viewvc/mactel-linux/trunk/kernel/mactel-patches-2.6.24/
rev 153

diff -Nurp linux-2.6.25/drivers/hwmon/applesmc.c linux-2.6.25-lucasvr/drivers/hwmon/applesmc.c
--- linux-2.6.25/drivers/hwmon/applesmc.c	2008-04-24 19:04:44.263939819 -0300
+++ linux-2.6.25-lucasvr/drivers/hwmon/applesmc.c	2008-04-24 19:06:35.110939911 -0300
@@ -133,6 +133,9 @@ static const char* fan_speed_keys[] = {
 #define INIT_TIMEOUT_MSECS	5000	/* wait up to 5s for device init ... */
 #define INIT_WAIT_MSECS		50	/* ... in 50ms increments */
 
+#define ACCESS_TIMEOUT_MSECS	500	/* wait up to 500ms when accessing a key */
+#define ACCESS_WAIT_MSECS	5	/* ... in 5ms increments */
+
 #define APPLESMC_POLL_INTERVAL	50	/* msecs */
 #define APPLESMC_INPUT_FUZZ	4	/* input event threshold */
 #define APPLESMC_INPUT_FLAT	4
@@ -207,12 +210,13 @@ static int __wait_status(u8 val)
 
 /*
  * applesmc_read_key - reads len bytes from a given key, and put them in buffer.
+ * Tries up to ACCESS_WAIT_MSECS to read the value.
  * Returns zero on success or a negative error on failure. Callers must
  * hold applesmc_lock.
  */
 static int applesmc_read_key(const char* key, u8* buffer, u8 len)
 {
-	int i;
+	int i, total, ret;
 
 	if (len > APPLESMC_MAX_DATA_LENGTH) {
 		printk(KERN_ERR	"applesmc_read_key: cannot read more than "
@@ -220,33 +224,54 @@ static int applesmc_read_key(const char*
 		return -EINVAL;
 	}
 
-	outb(APPLESMC_READ_CMD, APPLESMC_CMD_PORT);
-	if (__wait_status(0x0c))
-		return -EIO;
+	for (total = ACCESS_TIMEOUT_MSECS; total > 0;
+						total -= ACCESS_WAIT_MSECS) {
+		ret = 0;
+		outb(APPLESMC_READ_CMD, APPLESMC_CMD_PORT);
+		if (__wait_status(0x0c)) {
+			ret = -EIO;
+			goto wait_fail;
+		}
 
-	for (i = 0; i < 4; i++) {
-		outb(key[i], APPLESMC_DATA_PORT);
-		if (__wait_status(0x04))
-			return -EIO;
-	}
-	if (debug)
-		printk(KERN_DEBUG "<%s", key);
+		for (i = 0; i < 4; i++) {
+			outb(key[i], APPLESMC_DATA_PORT);
+			if (__wait_status(0x04)) {
+				ret = -EIO;
+				goto wait_fail;
+			}
+		}
+		if (debug)
+			printk(KERN_DEBUG "<%s", key);
 
-	outb(len, APPLESMC_DATA_PORT);
-	if (debug)
-		printk(KERN_DEBUG ">%x", len);
+		outb(len, APPLESMC_DATA_PORT);
+		if (debug)
+			printk(KERN_DEBUG ">%x", len);
 
-	for (i = 0; i < len; i++) {
-		if (__wait_status(0x05))
-			return -EIO;
-		buffer[i] = inb(APPLESMC_DATA_PORT);
+		for (i = 0; i < len; i++) {
+			if (__wait_status(0x05)) {
+				ret = -EIO;
+				goto wait_fail;
+			}
+			buffer[i] = inb(APPLESMC_DATA_PORT);
+			if (debug)
+				printk(KERN_DEBUG "<%x", buffer[i]);
+		}
 		if (debug)
-			printk(KERN_DEBUG "<%x", buffer[i]);
+			printk(KERN_DEBUG "\n");
+
+		break;
+
+wait_fail:
+		msleep(ACCESS_WAIT_MSECS);
+		continue;		
 	}
-	if (debug)
-		printk(KERN_DEBUG "\n");
 
-	return 0;
+	if (total != ACCESS_TIMEOUT_MSECS) {
+		printk(KERN_DEBUG "Read: Waited %d ms for the value\n",
+						ACCESS_TIMEOUT_MSECS-total);
+	}
+
+	return ret;
 }
 
 /*
Linux 2.6.25.16-r1 3883  166500 Giam...
The Linux Kernel.
Linux 2.6.25.10-r2 3883  165320 Giam...
The Linux Kernel.
Linux 2.6.25.7-r1 3883  157294 Giam...
The Linux Kernel.
Linux 2.6.25.4-r1 3883  133017 Hopp...
The Linux Kernel.
Linux 2.6.25-r1 3883  133216 Luca...
The Linux Kernel.
Linux 2.6.24.4-r5 3883  150733
The Linux Kernel.
Linux 2.6.24.3-r5 3883  150221 Luca...
The Linux Kernel.
Linux 2.6.24.2-r3 3883  146488 Giam...
The Linux Kernel.
Linux 2.6.24.1-r1 3883  146454 Giam...
The Linux Kernel.
Linux 2.6.24-r1 3883  146428 Luca...
The Linux Kernel.
Linux 2.6.23.8-r4 3883  155842 Luca...
The Linux Kernel.
Linux 2.6.22.7-r4 3883  114727 Luca...
The Linux Kernel.
Linux 2.6.22.1-r1 3883  121391 Luca...
The Linux Kernel.
Linux 2.6.21.1-r3 3883  118854 Luca...
The Linux Kernel.
Linux 2.6.20.7-r1 3883  117945 Luca...
The Linux Kernel.
Linux 2.6.20.4-r3 3883  151150 Luca...
The Linux Kernel.
Linux 2.6.20-r1 3883  106429 Luca...
The Linux Kernel.
Linux 2.6.18.3-r2 3883  111124 Luca...
The Linux Kernel.
Linux 2.6.17.11-r1 3883  164053 Luca...
The Linux Kernel.
Linux 2.6.17.3-r1 3883  165067 Luca...
The Linux Kernel.
Linux 2.6.16.20-r1 3883  133625 Luca...
The Linux Kernel.
Linux 2.6.16.14-r1 3883  168270 Luca...
The Linux Kernel.
Linux 2.6.15.5-r1 3883  224686 Jona...
The Linux Kernel.
Linux 2.6.15.2-r1 3883  177165 Carl...
The Linux Kernel.
Linux 2.6.15.1-r1 3883  149219 Jona...
The Linux Kernel.
Linux 2.6.15-r1 3883  149214 Luca...
The Linux Kernel.
Linux 2.6.14.4-r1 3883  150166 Jona...
The Linux Kernel.
Linux 2.6.14.3-r1 3883  150060 Jona...
The Linux Kernel.
Linux 2.6.14.2-r1 3883  149791 Carl...
The Linux Kernel.
Linux 2.6.13.4-r1 3883  149559 Luca...
The Linux Kernel.
Linux 2.6.13.2-r1 3883  56611 Jona...
The Linux Kernel.
Linux 2.6.13.1-r1 3883  56378 Luca...
The Linux Kernel.
Linux 2.6.12.2-r1 3883  50355 Luca...
The Linux Kernel.
Linux 2.6.11.9-r1 3883  98969 Luca...
The Linux Kernel.
Linux 2.6.11.8-r1 3883  109424 Jona...
The Linux Kernel.
Linux 2.6.11-r1 3883  99032 Luca...
The Linux Kernel.
Linux 2.6.10-r1 3883  65969 Luca...
The Linux Kernel.
Linux 2.6.9-r1 3883  278461 Luca...
The Linux Kernel.
Linux 2.6.8.1-r1 3883  35576 Luca...
The Linux Kernel.
Linux 2.6.7-r1 3883  22610 Luca...
The Linux Kernel.
Linux 2.6.6-r1 3883  21958 Luca...
The Linux Kernel.
Linux 2.4.26-r1 3883  22359 Luca...
The Linux Kernel.