summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/thinkpad-sources/thinkpad-sources-2.6.24-r1.ebuild')
-rw-r--r--sys-kernel/thinkpad-sources/thinkpad-sources-2.6.24-r1.ebuild78
1 files changed, 0 insertions, 78 deletions
diff --git a/sys-kernel/thinkpad-sources/thinkpad-sources-2.6.24-r1.ebuild b/sys-kernel/thinkpad-sources/thinkpad-sources-2.6.24-r1.ebuild
deleted file mode 100644
index c3c520c..0000000
--- a/sys-kernel/thinkpad-sources/thinkpad-sources-2.6.24-r1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# 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-r1.ebuild 2008 02 05
-
-ETYPE="sources"
-K_WANT_GENPATCHES="base extras"
-K_GENPATCHES_VER="1"
-
-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"
-}