GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

71 versions of Linux.

ProgramAgeSizeByWWWSummary
Linux 4.13.2-r1 879  88794 Luca...
The Linux Kernel.
Linux 4.9.16-r3 1050  100651 Luca...
The Linux Kernel.
Linux 4.9.4-r5 1106  99374 Luca...
The Linux Kernel.
Linux 4.8.2-r2 1172  89394 Luca...
The Linux Kernel.
Linux 4.7.4-r1 1242  82767 Luca...
The Linux Kernel.
Linux 4.7.0-r4 1297  82585 Luca...
The Linux Kernel.
Linux 3.13.3-r1 2177  252629 Luca...
The Linux Kernel.
Linux 3.12.6-r1 2237  238949 Luca...
The Linux Kernel.
Linux 3.9.4-r2 2432  70048 Luca...
The Linux Kernel.
Linux 3.7.1-r2 2605  67579 Luca...
The Linux Kernel.
Linux 3.5.0-r1 2756  124391 Luca...
The Linux Kernel.
Linux 3.4.4-r1 2756  124348 Luca...
The Linux Kernel.
Linux 3.3.6-r1 2756  124410 Luca...
The Linux Kernel.
Linux 3.2.12-r2 2884  124345 Luca...
The Linux Kernel.
Linux 3.2.7-r1 2914  123550 Mich...
The Linux Kernel.
Linux 3.1.1-r1 3019  122907 Mich...
The Linux Kernel.
Linux 3.0.4-r4 3080  122754 Luca...
The Linux Kernel.
Linux 2.6.36.3-r1 3303  116087 Diog...
The Linux Kernel.
Linux 2.6.32.3-r1 3681  117990 Luca...
The Linux Kernel.
Linux 2.6.32-r1 3722  117751 Luca...
The Linux Kernel.
Linux 2.6.31.6-r3 3727  126499 Luca...
The Linux Kernel.
Linux 2.6.30.5-r1 3806  166102 Jona...
The Linux Kernel.
Linux 2.6.29.1-r1 3949  117500 Luca...
The Linux Kernel.
view entry at GitHub | download recipe.bz2 file
01-gobohide.patch
02-unionfs-2.5.1_for_2.6.29-rc2.patch
03-applesmc-accel-create-check.patch
04-appletouch.patch
05-decrypt_failed_as_debug.patch
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
cell/02-memcpy-cell.patch
cell/Recipe
cell/dot-config
i686/01-acpi-dsdt-initrd-v0.9c-2.6.28.patch
i686/Recipe
i686/dot-config
ppc/Recipe
ppc/dot-config
x86_64/Recipe
x86_64/dot-config
--- linux-2.6.29.1.orig/drivers/hwmon/applesmc.c	2009-04-02 17:55:27.000000000 -0300
+++ linux-2.6.29.1/drivers/hwmon/applesmc.c	2009-04-26 13:08:33.449440992 -0300
@@ -515,11 +515,20 @@ static struct platform_driver applesmc_d
  * applesmc_calibrate - Set our "resting" values.  Callers must
  * hold applesmc_lock.
  */
-static void applesmc_calibrate(void)
+static int applesmc_calibrate(void)
 {
-	applesmc_read_motion_sensor(SENSOR_X, &rest_x);
-	applesmc_read_motion_sensor(SENSOR_Y, &rest_y);
+	int ret;
+
+	ret = applesmc_read_motion_sensor(SENSOR_X, &rest_x);
+	if (ret)
+		return ret;
+
+	ret = applesmc_read_motion_sensor(SENSOR_Y, &rest_y);
+	if (ret)
+		return ret;
+
 	rest_x = -rest_x;
+	return 0;
 }
 
 static void applesmc_idev_poll(struct input_polled_dev *dev)
@@ -1248,6 +1257,13 @@ static int applesmc_create_accelerometer
 	struct input_dev *idev;
 	int ret;
 
+	/* initial calibrate for the input device */
+	ret = applesmc_calibrate();
+	if (ret) {
+		printk(KERN_ERR "applesmc: Cannot calibrate the accelerometer.\n");
+		return ret;
+	}
+
 	ret = sysfs_create_group(&pdev->dev.kobj,
 					&accelerometer_attributes_group);
 	if (ret)
@@ -1262,9 +1278,6 @@ static int applesmc_create_accelerometer
 	applesmc_idev->poll = applesmc_idev_poll;
 	applesmc_idev->poll_interval = APPLESMC_POLL_INTERVAL;
 
-	/* initial calibrate for the input device */
-	applesmc_calibrate();
-
 	/* initialize the input device */
 	idev = applesmc_idev->input;
 	idev->name = "applesmc";
@@ -1513,9 +1526,12 @@ static int __init applesmc_init(void)
 	}
 
 	if (applesmc_accelerometer) {
+		/* Try to initialize the accelerometer, not being able to do so
+		 * is not a fatal error. */
+
 		ret = applesmc_create_accelerometer();
 		if (ret)
-			goto out_temperature;
+			applesmc_accelerometer = 0;
 	}
 
 	if (applesmc_light) {
Linux 2.6.28.7-r1 4005  115518 Giam...
The Linux Kernel.
Linux 2.6.28.1-r1 4005  115487 Giam...
The Linux Kernel.
Linux 2.6.28-r1 4005  116681 Mich...
The Linux Kernel.
Linux 2.6.27.8-r1 4005  134160 Giam...
The Linux Kernel.
Linux 2.6.27.4-r3 4005  149529 Luca...
The Linux Kernel.
Linux 2.6.25.17-r1 4005  172834 Giam...
The Linux Kernel.
Linux 2.6.25.16-r1 4005  166500 Giam...
The Linux Kernel.
Linux 2.6.25.10-r2 4005  165320 Giam...
The Linux Kernel.
Linux 2.6.25.7-r1 4005  157294 Giam...
The Linux Kernel.
Linux 2.6.25.4-r1 4005  133017 Hopp...
The Linux Kernel.
Linux 2.6.25-r1 4005  133216 Luca...
The Linux Kernel.
Linux 2.6.24.4-r5 4005  150733
The Linux Kernel.
Linux 2.6.24.3-r5 4005  150221 Luca...
The Linux Kernel.
Linux 2.6.24.2-r3 4005  146488 Giam...
The Linux Kernel.
Linux 2.6.24.1-r1 4005  146454 Giam...
The Linux Kernel.
Linux 2.6.24-r1 4005  146428 Luca...
The Linux Kernel.
Linux 2.6.23.8-r4 4005  155842 Luca...
The Linux Kernel.
Linux 2.6.22.7-r4 4005  114727 Luca...
The Linux Kernel.
Linux 2.6.22.1-r1 4005  121391 Luca...
The Linux Kernel.
Linux 2.6.21.1-r3 4005  118854 Luca...
The Linux Kernel.
Linux 2.6.20.7-r1 4005  117945 Luca...
The Linux Kernel.
Linux 2.6.20.4-r3 4005  151150 Luca...
The Linux Kernel.
Linux 2.6.20-r1 4005  106429 Luca...
The Linux Kernel.
Linux 2.6.18.3-r2 4005  111124 Luca...
The Linux Kernel.
Linux 2.6.17.11-r1 4005  164053 Luca...
The Linux Kernel.
Linux 2.6.17.3-r1 4005  165067 Luca...
The Linux Kernel.
Linux 2.6.16.20-r1 4005  133625 Luca...
The Linux Kernel.
Linux 2.6.16.14-r1 4005  168270 Luca...
The Linux Kernel.
Linux 2.6.15.5-r1 4005  224686 Jona...
The Linux Kernel.
Linux 2.6.15.2-r1 4005  177165 Carl...
The Linux Kernel.
Linux 2.6.15.1-r1 4005  149219 Jona...
The Linux Kernel.
Linux 2.6.15-r1 4005  149214 Luca...
The Linux Kernel.
Linux 2.6.14.4-r1 4005  150166 Jona...
The Linux Kernel.
Linux 2.6.14.3-r1 4005  150060 Jona...
The Linux Kernel.
Linux 2.6.14.2-r1 4005  149791 Carl...
The Linux Kernel.
Linux 2.6.13.4-r1 4005  149559 Luca...
The Linux Kernel.
Linux 2.6.13.2-r1 4005  56611 Jona...
The Linux Kernel.
Linux 2.6.13.1-r1 4005  56378 Luca...
The Linux Kernel.
Linux 2.6.12.2-r1 4005  50355 Luca...
The Linux Kernel.
Linux 2.6.11.9-r1 4005  98969 Luca...
The Linux Kernel.
Linux 2.6.11.8-r1 4005  109424 Jona...
The Linux Kernel.
Linux 2.6.11-r1 4005  99032 Luca...
The Linux Kernel.
Linux 2.6.10-r1 4005  65969 Luca...
The Linux Kernel.
Linux 2.6.9-r1 4005  278461 Luca...
The Linux Kernel.
Linux 2.6.8.1-r1 4005  35576 Luca...
The Linux Kernel.
Linux 2.6.7-r1 4005  22610 Luca...
The Linux Kernel.
Linux 2.6.6-r1 4005  21958 Luca...
The Linux Kernel.
Linux 2.4.26-r1 4005  22359 Luca...
The Linux Kernel.