GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

71 versions of Linux.

ProgramAgeSizeByWWWSummary
Linux 4.13.2-r1 920  88794 Luca...
The Linux Kernel.
Linux 4.9.16-r3 1091  100651 Luca...
The Linux Kernel.
Linux 4.9.4-r5 1147  99374 Luca...
The Linux Kernel.
Linux 4.8.2-r2 1213  89394 Luca...
The Linux Kernel.
Linux 4.7.4-r1 1283  82767 Luca...
The Linux Kernel.
Linux 4.7.0-r4 1338  82585 Luca...
The Linux Kernel.
Linux 3.13.3-r1 2218  252629 Luca...
The Linux Kernel.
Linux 3.12.6-r1 2278  238949 Luca...
The Linux Kernel.
Linux 3.9.4-r2 2473  70048 Luca...
The Linux Kernel.
Linux 3.7.1-r2 2646  67579 Luca...
The Linux Kernel.
Linux 3.5.0-r1 2797  124391 Luca...
The Linux Kernel.
Linux 3.4.4-r1 2797  124348 Luca...
The Linux Kernel.
Linux 3.3.6-r1 2797  124410 Luca...
The Linux Kernel.
Linux 3.2.12-r2 2925  124345 Luca...
The Linux Kernel.
Linux 3.2.7-r1 2955  123550 Mich...
The Linux Kernel.
Linux 3.1.1-r1 3060  122907 Mich...
The Linux Kernel.
Linux 3.0.4-r4 3121  122754 Luca...
The Linux Kernel.
Linux 2.6.36.3-r1 3344  116087 Diog...
The Linux Kernel.
Linux 2.6.32.3-r1 3722  117990 Luca...
The Linux Kernel.
Linux 2.6.32-r1 3763  117751 Luca...
The Linux Kernel.
Linux 2.6.31.6-r3 3768  126499 Luca...
The Linux Kernel.
Linux 2.6.30.5-r1 3847  166102 Jona...
The Linux Kernel.
Linux 2.6.29.1-r1 3990  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 4046  115518 Giam...
The Linux Kernel.
Linux 2.6.28.1-r1 4046  115487 Giam...
The Linux Kernel.
Linux 2.6.28-r1 4046  116681 Mich...
The Linux Kernel.
Linux 2.6.27.8-r1 4046  134160 Giam...
The Linux Kernel.
Linux 2.6.27.4-r3 4046  149529 Luca...
The Linux Kernel.
Linux 2.6.25.17-r1 4046  172834 Giam...
The Linux Kernel.
Linux 2.6.25.16-r1 4046  166500 Giam...
The Linux Kernel.
Linux 2.6.25.10-r2 4046  165320 Giam...
The Linux Kernel.
Linux 2.6.25.7-r1 4046  157294 Giam...
The Linux Kernel.
Linux 2.6.25.4-r1 4046  133017 Hopp...
The Linux Kernel.
Linux 2.6.25-r1 4046  133216 Luca...
The Linux Kernel.
Linux 2.6.24.4-r5 4046  150733
The Linux Kernel.
Linux 2.6.24.3-r5 4046  150221 Luca...
The Linux Kernel.
Linux 2.6.24.2-r3 4046  146488 Giam...
The Linux Kernel.
Linux 2.6.24.1-r1 4046  146454 Giam...
The Linux Kernel.
Linux 2.6.24-r1 4046  146428 Luca...
The Linux Kernel.
Linux 2.6.23.8-r4 4046  155842 Luca...
The Linux Kernel.
Linux 2.6.22.7-r4 4046  114727 Luca...
The Linux Kernel.
Linux 2.6.22.1-r1 4046  121391 Luca...
The Linux Kernel.
Linux 2.6.21.1-r3 4046  118854 Luca...
The Linux Kernel.
Linux 2.6.20.7-r1 4046  117945 Luca...
The Linux Kernel.
Linux 2.6.20.4-r3 4046  151150 Luca...
The Linux Kernel.
Linux 2.6.20-r1 4046  106429 Luca...
The Linux Kernel.
Linux 2.6.18.3-r2 4046  111124 Luca...
The Linux Kernel.
Linux 2.6.17.11-r1 4046  164053 Luca...
The Linux Kernel.
Linux 2.6.17.3-r1 4046  165067 Luca...
The Linux Kernel.
Linux 2.6.16.20-r1 4046  133625 Luca...
The Linux Kernel.
Linux 2.6.16.14-r1 4046  168270 Luca...
The Linux Kernel.
Linux 2.6.15.5-r1 4046  224686 Jona...
The Linux Kernel.
Linux 2.6.15.2-r1 4046  177165 Carl...
The Linux Kernel.
Linux 2.6.15.1-r1 4046  149219 Jona...
The Linux Kernel.
Linux 2.6.15-r1 4046  149214 Luca...
The Linux Kernel.
Linux 2.6.14.4-r1 4046  150166 Jona...
The Linux Kernel.
Linux 2.6.14.3-r1 4046  150060 Jona...
The Linux Kernel.
Linux 2.6.14.2-r1 4046  149791 Carl...
The Linux Kernel.
Linux 2.6.13.4-r1 4046  149559 Luca...
The Linux Kernel.
Linux 2.6.13.2-r1 4046  56611 Jona...
The Linux Kernel.
Linux 2.6.13.1-r1 4046  56378 Luca...
The Linux Kernel.
Linux 2.6.12.2-r1 4046  50355 Luca...
The Linux Kernel.
Linux 2.6.11.9-r1 4046  98969 Luca...
The Linux Kernel.
Linux 2.6.11.8-r1 4046  109424 Jona...
The Linux Kernel.
Linux 2.6.11-r1 4046  99032 Luca...
The Linux Kernel.
Linux 2.6.10-r1 4046  65969 Luca...
The Linux Kernel.
Linux 2.6.9-r1 4046  278461 Luca...
The Linux Kernel.
Linux 2.6.8.1-r1 4046  35576 Luca...
The Linux Kernel.
Linux 2.6.7-r1 4046  22610 Luca...
The Linux Kernel.
Linux 2.6.6-r1 4046  21958 Luca...
The Linux Kernel.
Linux 2.4.26-r1 4046  22359 Luca...
The Linux Kernel.