summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/thinkpad-sources/ChangeLog4
-rw-r--r--sys-kernel/thinkpad-sources/Manifest5
-rw-r--r--sys-kernel/thinkpad-sources/thinkpad-sources-2.6.24-r2.ebuild78
3 files changed, 86 insertions, 1 deletions
diff --git a/sys-kernel/thinkpad-sources/ChangeLog b/sys-kernel/thinkpad-sources/ChangeLog
index 638c72d..977349e 100644
--- a/sys-kernel/thinkpad-sources/ChangeLog
+++ b/sys-kernel/thinkpad-sources/ChangeLog
@@ -1,5 +1,9 @@
+ 12 Feb 2008; Florian Manschwetus <florianmanschwetus@gmx.de>
+ +thinkpad-sources-2.6.24-r2.ebuild:
+ Bump to 2.6.24-r2
+
05 Feb 2008; Florian Manschwetus <florianmanschwetus@gmx.de>
+files/configs/config-for-core-or-core2-2.6.24-r1,
+thinkpad-sources-2.6.24-r1.ebuild,
diff --git a/sys-kernel/thinkpad-sources/Manifest b/sys-kernel/thinkpad-sources/Manifest
index fee61f8..e005f3d 100644
--- a/sys-kernel/thinkpad-sources/Manifest
+++ b/sys-kernel/thinkpad-sources/Manifest
@@ -7,10 +7,13 @@ AUX configs/config-for-core-or-core2-2.6.24 49564 RMD160 86b3094cfd88db4c2015797
AUX configs/config-for-core-or-core2-2.6.24-r1 49929 RMD160 b7571a56e1d29656987ed7df51a737c4803b1ea7 SHA1 0752f74f11dea7979382ed30b1f0a69e77716c49 SHA256 b37494926a59b36d380cd8e7e8dcb6dc9aa8e0c0ef85b6326347cc801200073b
DIST genpatches-2.6.24-1.base.tar.bz2 960 RMD160 a7b9932bc33e8a56da4bfafbdf16749bf141db6c SHA1 19271490c3faf040b7cf580123690785e95c1c66 SHA256 3f7c948b72494aed970be1187a75c7c8573ad500e35c5bc9610b87ffa42bd54f
DIST genpatches-2.6.24-1.extras.tar.bz2 41902 RMD160 259b831110120518149bbccdacf9982330af5ef0 SHA1 48d85d6b6cf84369b34d6fbd169fbfdaf97fc83f SHA256 bc8723863cace59d8bcb6d84d678cc9c370a5e2144133f543396b45e4655b063
+DIST genpatches-2.6.24-3.base.tar.bz2 22714 RMD160 826ab844e3f4d96f94e09d8763a0131d01bdce94 SHA1 1c50a62af1265684b8039d936a4fb044b3eb72b8 SHA256 51e9a3b0ca3f7434b9b0e91072509e7f697998efbfc869b6528daa7811bc2bb3
+DIST genpatches-2.6.24-3.extras.tar.bz2 43587 RMD160 a41366bb7372c168d4ede2de420256e25560122c SHA1 3a048660019206344a065beaa8dbaadbfa0a7f3b SHA256 8cee70233f609bd01c1645e9cb90c4637ee6f989b4583d652ea2df57a8894296
DIST linux-2.6.24.tar.bz2 46737783 RMD160 0e5194c69c3d82c41ece689c4f84e638f8776d34 SHA1 351aebc784a5395fe4c92d1e514a89680482f7e2 SHA256 413c64fbbcf81244cb5571be4963644a1e81166a2b0f008a016528363b65c5d3
DIST thinkpad-acpi-0.19-20080107_v2.6.24-rc7.patch.gz 36028 RMD160 ff652f9416faf533f584950ce1a77fa4cde21703 SHA1 aacfcd3967ff6ca6749e8c9e8bfa5270c2c98986 SHA256 237c12599e6b19908c7a1d8b8347691d4e681de0385bb9f783d2d5b828fbed1c
DIST tuxonice-3.0-rc5-for-2.6.24-rc8-git4.patch.bz2 113258 RMD160 c1fde23de970b6347302ae2bff71bf3ab1bfbeb3 SHA1 bf559c8dead1d0372d3388e4f9d2c4d145862ec1 SHA256 0a3b502b89bebbcd0f701a0e89c072797257ce766b2ea2d2bda1f6762ca2ce9b
EBUILD thinkpad-sources-2.6.24-r1.ebuild 3393 RMD160 5ae7a51929d5df37cf28f0b4adaab61804072aa6 SHA1 9d1dcc2546733a5faf3354771e556be49ea68c46 SHA256 8e014bb58eab436cfd0021b290b274ac80ac728fa113eeb8afbc49009ab2a4de
+EBUILD thinkpad-sources-2.6.24-r2.ebuild 3393 RMD160 2f8f8b6aa124913bc68fe420d3dc7bc291742060 SHA1 dfd43b0af4662786ded4b8a47be0d4f2a7cb1488 SHA256 0881b36c7a65f85080c3f1c8a1c17182a72c89531e51b4a2213f4ade2011fa44
EBUILD thinkpad-sources-2.6.24.ebuild 2437 RMD160 36d0d67517f6ed70fe5d701d3e98c263d13de640 SHA1 7ecbd46cf4829428ac36e8e206761e21a94ec35e SHA256 065332432fdb9997a51664f7e554374a87ae46be646871740fb61ded15597860
-MISC ChangeLog 2590 RMD160 d69c9aabb359ac700b5503dfaffcd82a9182286e SHA1 dbcb42aed06da2009c7a446cc26925d420e74747 SHA256 2a7b0296a7fb6c5ad2354d5d10bff7571e4f36a6b1c4ba1ff621520ec56784bd
+MISC ChangeLog 2712 RMD160 d5111ac2544816a1d3d795171fe716391c69e0fd SHA1 52d781cfd1a3bff656742efa727c6b30ffbc0b56 SHA256 da999e6ab01a60f4461084b4cd607e46af673e4657c53dabc0eb71880920d869
MISC metadata.xml 284 RMD160 5062b08f804b7eaf9e1765c0d38b7fc95bc467e4 SHA1 687ba9103e597aad8a7231ff9a470d841f7121df SHA256 6ca83c8927bd3516baac49bc9ea82ddbeeddbe38a5a98b637d6eb1f1d436c84a
diff --git a/sys-kernel/thinkpad-sources/thinkpad-sources-2.6.24-r2.ebuild b/sys-kernel/thinkpad-sources/thinkpad-sources-2.6.24-r2.ebuild
new file mode 100644
index 0000000..193c9eb
--- /dev/null
+++ b/sys-kernel/thinkpad-sources/thinkpad-sources-2.6.24-r2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: sys-kernel/thinkpad-sources/thinkpad-sources-2.6.24-r2.ebuild 2008 02 10
+
+ETYPE="sources"
+K_WANT_GENPATCHES="base extras"
+K_GENPATCHES_VER="3"
+
+inherit kernel-2
+detect_version
+detect_arch
+
+DESCRIPTION="Software Suspend 2 + Gentoo patchset sources + SCO Flowcontrol + Latest THINKPAD-Acpi + IWLWIFI-LEDs + PCI-E ASPM + Colored Printk"
+HOMEPAGE="http://dev.gentoo.org/~dsd/genpatches http://www.tuxonice.net http://bluetooth-alsa.sourceforge.net/ http://ibm-acpi.sourceforge.net/"
+
+#IUSE="sco_flowcontrol"
+
+TUXONICE_VERSION="3.0-rc5"
+TUXONICE_TARGET="2.6.24-rc8-git4"
+TUXONICE_SRC="tuxonice-${TUXONICE_VERSION}-for-${TUXONICE_TARGET}"
+TUXONICE_URI="http://www.tuxonice.net/downloads/all/${TUXONICE_SRC}.patch.bz2"
+
+#SCO_FLOWCONTROL_VERSION="4.3"
+#SCO_FLOWCONTROL_SRC="sco-flowcontrol-v${SCO_FLOWCONTROL_VERSION}"
+#SCO_FLOWCONTROL_URI="http://bluetooth-alsa.cvs.sourceforge.net/*checkout*/bluetooth-alsa/plugz/patches/${SCO_FLOWCONTROL_SRC}.diff"
+
+THINKPAD_ACPI_VERSION="0.19-20080107"
+THINKPAD_ACPI_TARGET="2.6.24-rc7"
+THINKPAD_ACPI_SRC="thinkpad-acpi-${THINKPAD_ACPI_VERSION}_v${THINKPAD_ACPI_TARGET}.patch.gz"
+THINKPAD_ACPI_URI="mirror://sourceforge/ibm-acpi/${THINKPAD_ACPI_SRC}"
+
+
+UNIPATCH_LIST=""
+
+#if use sco_flowcontrol; then
+# UNIPATCH_LIST="${UNIPATCH_LIST} ${DISTDIR}/${SCO_FLOWCONTROL_SRC}.diff"
+#fi
+UNIPATCH_LIST="${UNIPATCH_LIST}
+ ${FILESDIR}/2.6.24-r1/colored-printk-output-2.6.24.patch
+ ${FILESDIR}/2.6.24/disk-protect-for-2.6.24.patch
+ ${DISTDIR}/${THINKPAD_ACPI_SRC}
+ ${FILESDIR}/2.6.24-r1/iwlwifi-leds-v2-2.6.24-rc4.diff
+ ${FILESDIR}/2.6.24/linux-phc-0.3.1-for-2.6.24-rc1.patch
+ ${DISTDIR}/${TUXONICE_SRC}.patch.bz2
+ ${FILESDIR}/2.6.24-r1/pci-e_aspm_v3.patch"
+
+
+UNIPATCH_STRICTORDER="yes"
+#SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI} ${THINKPAD_ACPI_URI} sco_flowcontrol? ( ${SCO_FLOWCONTROL_URI} ) ${IEEE80211_URI} ${HRT_URI}"
+SRC_URI="${KERNEL_URI} ${GENPATCHES_URI} ${ARCH_URI} ${TUXONICE_URI} ${THINKPAD_ACPI_URI} ${IEEE80211_URI} ${HRT_URI}"
+
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="${RDEPEND}
+ >=sys-apps/tuxonice-userui-0.7.2
+ >=sys-power/hibernate-script-1.97-r4"
+
+pkg_postinst() {
+ kernel-2_pkg_postinst
+ einfo "For more info on this patchset, and how to report problems, see:"
+ einfo "${HOMEPAGE}"
+ einfo "In files dir is an example config suitable for T60"
+ einfo "and hopefully all pci-express driven Thinkpads"
+ einfo "but at all you should try for all Thinkpads"
+ einfo "to NOT alter the given storage device controller configuration"
+ einfo "For rx led do:"
+ einfo "echo phy0rx >/sys/bus/pci/drivers/iwl3945/0000\:03\:00.0/leds/iwl-phy0\:asoc/trigger"
+ einfo "for powersaving i recommend to append these kernel options:"
+ einfo "usbcore.autosuspend=1 pcie_aspm.policy=powersave"
+ einfo "if system freezes occur remove pcie_aspm.policy, and report to ltp ml"
+ einfo "additional powertweaks possible (depending on your hardware):"
+ einfo "snd_hda_intel.power_save=1"
+ einfo "echo 7 > /sys/bus/pci/drivers/iwl3945/0000\:03\:00.0/power_level"
+ einfo "echo min_power > /sys/class/scsi_host/host0/link_power_management_policy"
+ einfo "echo 5 >/proc/sys/vm/laptop_mode"
+ einfo "echo 1500 >/proc/sys/vm/dirty_writeback_centisecs"
+ einfo "echo 1 >/sys/devices/system/cpu/sched_mc_power_savings"
+}