diff --git a/kernel/drivers/module-bbswitch/actions.py b/kernel/drivers/module-bbswitch/actions.py new file mode 100644 index 00000000..e82fdced --- /dev/null +++ b/kernel/drivers/module-bbswitch/actions.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import kerneltools + +KDIR = kerneltools.getKernelVersion() + +def build(): + autotools.make("KDIR=/lib/modules/%s/build" % KDIR) + #autotools.make() + +def install(): + #autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.insinto("/lib/modules/%s/misc" % KDIR, "bbswitch.ko") + + pisitools.dodoc("NEWS", "README*") diff --git a/kernel/drivers/module-bbswitch/files/bbswitch.conf b/kernel/drivers/module-bbswitch/files/bbswitch.conf new file mode 100644 index 00000000..947a8c63 --- /dev/null +++ b/kernel/drivers/module-bbswitch/files/bbswitch.conf @@ -0,0 +1 @@ +options bbswitch load_state=0 unload_state=1 diff --git a/kernel/drivers/module-bbswitch/files/kmod-bbswitch.conf b/kernel/drivers/module-bbswitch/files/kmod-bbswitch.conf new file mode 100644 index 00000000..c7e68dc0 --- /dev/null +++ b/kernel/drivers/module-bbswitch/files/kmod-bbswitch.conf @@ -0,0 +1 @@ +override bbswitch * weak-updates/bbswitch diff --git a/kernel/drivers/module-bbswitch/pspec.xml b/kernel/drivers/module-bbswitch/pspec.xml new file mode 100644 index 00000000..8525abc7 --- /dev/null +++ b/kernel/drivers/module-bbswitch/pspec.xml @@ -0,0 +1,185 @@ + + + module-bbswitch + https://github.com/Bumblebee-Project/bbswitch + + Serdar Soytetir + kaptan@pisilinux.org + + GPL + app:gui + Kernel module allowing to switch dedicated graphics card on Optimus laptops + kernel module allowing to switch dedicated graphics card on Optimus laptops + + kernel-module-headers + + https://github.com/Bumblebee-Project/bbswitch/archive/v0.8.tar.gz + + + + + module-bbswitch + + kernel + + + /lib/modules + /etc + /usr/share/doc + + + bbswitch.conf + kmod-bbswitch.conf + + + + + + 2015-06-16 + 0.8 + Rebuild for new kernel + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-22 + 0.8 + Rebuild for kernel 3.19.8 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-05 + 0.8 + Rebuild for kernel 3.19.6 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-24 + 0.8 + Rebuild for kernel 3.19.5 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-16 + 0.8 + Rebuild for kernel 3.19.4 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-02 + 0.8 + Rebuild for kernel 3.19.3 + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-03-08 + 0.8 + Rebuild for kernel 3.19.1 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-03-01 + 0.8 + Rebuild for kernel 3.19.0 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-28 + 0.8 + Rebuild for kernel 3.18.3 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-09 + 0.8 + Rebuild for kernel 3.18.1 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-11-29 + 0.8 + Rebuild for kernel 3.17.4 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-10-18 + 0.8 + Rebuild for kernel 3.17.1 + Kamil Atlı + suvari@pisilinux.org + + + 2014-09-19 + 0.8 + Rebuild for kernel 3.16.3 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-09-03 + 0.8 + Rebuild for kernel 3.16.1 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-07-24 + 0.8 + Rebuild for kernel 3.15.6 + Vedat Demir + vedat@pisilinux.org + + + 2014-06-15 + 0.8 + Rebuild for kernel 3.15.0 + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-29 + 0.8 + Rebuild for kernel 3.14.4. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-02 + 0.8 + Rebuild for kernel 3.14.2. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-04-15 + 0.8 + Rebuild for kernel 3.13.10. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-29 + 0.8 + Rebuild for kernel 3.13.6. + Marcin Bojara + marcin@pisilinux.org + + + 2014-03-09 + 0.8 + First release. + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/kernel/drivers/module-bbswitch/translations.xml b/kernel/drivers/module-bbswitch/translations.xml new file mode 100644 index 00000000..155a09af --- /dev/null +++ b/kernel/drivers/module-bbswitch/translations.xml @@ -0,0 +1,8 @@ + + + + module-bbswitch + Optimus grafik kartlı bir dizüstü bilgisayarda grafik kartını seçmeye yarayan çekirdek modülüdür. + Eski ve yeni optimus teknolojisine sahip dizüstü bilgisyarlarda çalışabilmektedir. + + \ No newline at end of file diff --git a/kernel/tools/cpupowertools/actions.py b/kernel/tools/cpupowertools/actions.py new file mode 100644 index 00000000..245f284e --- /dev/null +++ b/kernel/tools/cpupowertools/actions.py @@ -0,0 +1,26 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +cpupower_arch = get.ARCH().replace("i686", "i386") + +def build(): + # Build cpupowertools + shelltools.cd("tools/power/cpupower") + autotools.make("CPUFREQ_BENCH=false") + autotools.make("-C debug/%s centrino-decode powernow-k8-decode" % cpupower_arch) + +def install(): + # Install cpupowertools stuff + shelltools.cd("tools/power/cpupower") + autotools.install("DESTDIR=%s libdir=/usr/lib mandir=/%s CPUFREQ_BENCH=false" % (get.installDIR(), get.manDIR())) + + pisitools.dobin("debug/%s/centrino-decode" % cpupower_arch) + pisitools.dobin("debug/%s/powernow-k8-decode" % cpupower_arch) \ No newline at end of file diff --git a/kernel/tools/cpupowertools/files/cpupower.conf.d b/kernel/tools/cpupowertools/files/cpupower.conf.d new file mode 100644 index 00000000..1e67ed04 --- /dev/null +++ b/kernel/tools/cpupowertools/files/cpupower.conf.d @@ -0,0 +1,36 @@ +# /etc/conf.d/cpupower: config file for /etc/init.d/cpupower + +# Options when starting cpufreq (given to the `cpupower` program) +# Possible options are: +# -g --governor (ie: ondemand, performance, or powersave) +# -d --min (ie: 1000MHz) +# -u --max (ie: 2000MHz) +# -f --freq (requires userspace governor, this *can not* be combined with +# with any other parameters). +# Frequencies can be passed in Hz, kHz (default), MHz, GHz, or THz by postfixing the +# value with the wanted unit name, without any space. +# (frequency in kHz =^ Hz * 0.001 =^ MHz * 1000 =^ GHz * 1000000). + +START_OPTS="--governor ondemand" + +# Options when stopping cpufreq (given to the `cpupower` program) +# This option can be used to change governer on stop. Leaving it empty will ensure +# the governer remains on the one provided above. +STOP_OPTS="" + +# Extra settings to write to sysfs cpufreq values. +# +# up_threshold: threshold for stepping up frequency, where the value represents +# the percentage of cpu load. +# +# down_threshold: threshold for stepping down frequency, where the value +# represents the percentage of cpu load. +# +# sampling_down_factor: determines how frequently the governor polls the cpu, a +# value greater than 1 improves performance by reducing the polling when the +# load is high. This tunable has no effect on behavior at lower CPU frequencies. +# +# ignore_nice_load: when set to '1' the processes that are run with a 'nice' +# value will not count in the usage calculation. + +#SYSFS_EXTRA="ondemand/ignore_nice_load=1 ondemand/up_threshold=75 ondemand/sampling_down_factor=10" diff --git a/kernel/tools/cpupowertools/files/patches/linux/patch-3.18.3.xz b/kernel/tools/cpupowertools/files/patches/linux/patch-3.18.3.xz new file mode 100644 index 00000000..f1c3bfc7 Binary files /dev/null and b/kernel/tools/cpupowertools/files/patches/linux/patch-3.18.3.xz differ diff --git a/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.1.xz b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.1.xz new file mode 100644 index 00000000..105dd15e Binary files /dev/null and b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.1.xz differ diff --git a/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.3.xz b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.3.xz new file mode 100644 index 00000000..2b27eb0f Binary files /dev/null and b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.3.xz differ diff --git a/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.4.xz b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.4.xz new file mode 100644 index 00000000..ec0a8590 Binary files /dev/null and b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.4.xz differ diff --git a/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.5.xz b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.5.xz new file mode 100644 index 00000000..f34c2516 Binary files /dev/null and b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.5.xz differ diff --git a/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.6.xz b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.6.xz new file mode 100644 index 00000000..f55c450a Binary files /dev/null and b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.6.xz differ diff --git a/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.8.xz b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.8.xz new file mode 100644 index 00000000..b160f834 Binary files /dev/null and b/kernel/tools/cpupowertools/files/patches/linux/patch-3.19.8.xz differ diff --git a/kernel/tools/cpupowertools/files/patches/linux/patch-4.0.5.xz b/kernel/tools/cpupowertools/files/patches/linux/patch-4.0.5.xz new file mode 100644 index 00000000..32856eae Binary files /dev/null and b/kernel/tools/cpupowertools/files/patches/linux/patch-4.0.5.xz differ diff --git a/kernel/tools/cpupowertools/pspec.xml b/kernel/tools/cpupowertools/pspec.xml new file mode 100644 index 00000000..2f0fd009 --- /dev/null +++ b/kernel/tools/cpupowertools/pspec.xml @@ -0,0 +1,584 @@ + + + + + cpupowertools + http://www.kernel.org + + Ertuğrul Erata + ertugrulerata@gmail.com + + GPLv2 + app:console + CPU power management tools + cpupowertools contains utilities to manage power management and frequency scaling policies of modern CPUs. + https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.0.tar.gz + + pciutils-devel + + + + patches/linux/patch-4.0.5.xz + + + + + cpupowertools + + pciutils + + + /etc/conf.d + /usr/bin/cpupower + /usr/bin/*-decode + /usr/lib/libcpupower* + /usr/include + /usr/share/man/man1/cpupower* + /usr/share/locale/*/*/cpupower.mo + + + cpupower.conf.d + + + + + + 2015-06-16 + 4.0.5 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-22 + 3.19.8 + Version bump to 3.19.8 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-05-05 + 3.19.6 + Version bump to 3.19.6 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-16 + 3.19.5 + Version bump to 3.19.3 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-16 + 3.19.4 + Version bump to 3.19.4 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-02 + 3.19.3 + Version bump to 3.19.3 + Hakan Yıldız + hknyldz93@gmail.com + + + 2015-03-08 + 3.19.1 + Version bump to 3.19.1 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-03-01 + 3.19.0 + Version bump + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-28 + 3.18.3 + Version bump + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-08 + 3.18.1 + Version bump to 3.18.1 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.1 + security + + systemRestart + + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-11-28 + 3.17.4 + Version bump to 3.17.4 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.4 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-10-18 + 3.17.1 + Version bump to 3.17.1 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.17.1 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-09-19 + 3.16.3 + Version bump to 3.16.3 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.16.3 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-09-03 + 3.16.1 + Version bump to 3.16.1 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.16.1 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-07-24 + 3.15.6 + Version bump to 3.15.6 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15.6 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-06-15 + 3.15.0 + Version bump to 3.15 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.15 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-27 + 3.14.4 + Version bump to 3.14.4 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.4 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-02 + 3.14.2 + Version bump to 3.14.2 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.14.2 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-04-15 + 3.13.10 + Version bump to 3.13.10 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.13.10 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-22 + 3.13.6 + Version bump to 3.13.6 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.13.6 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-01 + 3.12.13 + Version bump to 3.12.13 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.13 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-01-16 + 3.12.8 + Version bump to 3.12.8 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.8 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-12-17 + 3.12.5 + Add Maegia patch series and some cpu usage improvements. + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-12-12 + 3.12.5 + Version bump to 3.12.5 https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.12.5 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-23 + 3.10.20 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.20 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-11-05 + 3.10.18 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.18 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-10-07 + 3.10.15 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.15 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-09-27 + 3.10.13 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.13 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-09-15 + 3.10.12 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.12 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-29 + 3.10.10 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.10 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-20 + 3.10.9 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.9 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-12 + 3.10.6 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.6 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-11 + 3.10.5 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.5 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-08-01 + 3.10.4 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.4 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-07-17 + 3.10.2 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.2 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-07-17 + 3.10.1 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10.1 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-07-04 + 3.10.0 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.10 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-06-21 + 3.8.13 + Fix TSC calibration failure + security + + systemRestart + + Marcin Bojara + marcin@pisilinux.org + + + 2013-06-15 + 3.8.13 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.13 + security + + systemRestart + + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-04-18 + 3.8.8 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.8 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-03-31 + 3.8.5 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.5 + security + + systemRestart + + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-03-25 + 3.8.4 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.4 + security + + systemRestart + + Yoyo Fernández + admins@pisilinux.org + + + 2013-03-14 + 3.8.3 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.3 + security + + systemRestart + + Richard de Bruin + admins@pisilinux.org + + + 2013-03-06 + 3.8.2 + https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.8.2 + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-03-03 + 3.8.1 + update to current line + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-02-22 + 3.8.0 + update to final line with patch + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-02-17 + 3.8.0 + obsoletemans wifi fixing + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-02-12 + 3.8.0 + bump to -rc7 + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-02-06 + 3.7.6 + http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.7.6 + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-01-28 + 3.7.5 + http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.7.5 + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-01-18 + 3.7.4 + http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.7.4 + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + 2013-01-15 + 3.7.2 + First release + security + + systemRestart + + Erdinç Gültekin + admins@pisilinux.org + + + diff --git a/kernel/tools/cpupowertools/translations.xml b/kernel/tools/cpupowertools/translations.xml new file mode 100644 index 00000000..56382270 --- /dev/null +++ b/kernel/tools/cpupowertools/translations.xml @@ -0,0 +1,8 @@ + + + + cpupowertools + CPU güç/frekans yönetim araçları + cpupowertools, işlemcinin çeşitli güç ve frekans parametrelerinin yönetilmesini sağlayan çeşitli araçları içeren bir pakettir. + +