linux: update to linux-3.2-rc6, removed patches for AppleIR (the included driver should be tested, otherwise the old driver must be adapted), ATI Remote (is now a RC-CORE driver, must be added to eventlircd), RTL2832u driver patch (will be added as seperate package), IT9135 driver patch (included in kernel? if not patch must be reworked)

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue
2011-12-21 02:54:00 +01:00
parent 04e5f4641c
commit 8428de6894
29 changed files with 2222 additions and 78421 deletions

View File

@@ -19,12 +19,13 @@
################################################################################
PKG_NAME="linux"
PKG_VERSION="3.1.5"
PKG_VERSION="3.2-rc6"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kernel.org"
PKG_URL="http://www.kernel.org/pub/linux/kernel/v3.x/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_URL="http://www.kernel.org/pub/linux/kernel/v3.x/testing/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS="busybox linux-drivers linux-firmware pciutils"
PKG_BUILD_DEPENDS="toolchain module-init-tools xz cpio pciutils"
PKG_PRIORITY="optional"

View File

@@ -1,15 +0,0 @@
driver (rtl2832u_v2.0.1.tar.gz) incl. patches taken from:
- http://www.mail-archive.com/linux-media@vger.kernel.org/msg25032.html
- http://goo.gl/CnJJu
- http://goo.gl/NF9eB
other links:
- http://ubuntuforums.org/showthread.php?t=1678094&page=4
see also:
- http://openelec.tv/forum/27-hardware-support/7149-tv-tuner-notonlytv-dvb-t-usb-deluxe-lv5tdeluxe
- http://wiki.zeratul.org/doku.php?id=linux:v4l:realtek:start (source of incl. driver?)
- http://ubuntuforums.org/showpost.php?s=a4812315c36edc2587115bbc15c7ee79&p=10807315&postcount=39
- http://ubuntuforums.org/showpost.php?s=a4812315c36edc2587115bbc15c7ee79&p=10935546&postcount=40
- https://build.opensuse.org/package/files?package=dvb-usb-rtl2832u&project=home%3Ajvroosmalen%3Abranches%3Ahome%3Apolyconvex

View File

@@ -1,24 +0,0 @@
diff -Naur linux-3.0-old/drivers/input/misc/ati_remote2.c linux-3.0-new/drivers/input/misc/ati_remote2.c
--- linux-3.0-old/drivers/input/misc/ati_remote2.c 2011-07-22 08:42:47.000000000 -0700
+++ linux-3.0-new/drivers/input/misc/ati_remote2.c 2011-07-22 08:44:20.000000000 -0700
@@ -619,7 +619,7 @@
idev->phys = ar2->phys;
usb_to_input_id(ar2->udev, &idev->id);
- idev->dev.parent = &ar2->udev->dev;
+ idev->dev.parent = &ar2->intf[0]->dev;
retval = input_register_device(idev);
if (retval)
diff -Naur linux-3.0-old/drivers/input/misc/ati_remote.c linux-3.0-new/drivers/input/misc/ati_remote.c
--- linux-3.0-old/drivers/input/misc/ati_remote.c 2011-07-22 08:42:47.000000000 -0700
+++ linux-3.0-new/drivers/input/misc/ati_remote.c 2011-07-22 08:44:20.000000000 -0700
@@ -682,7 +682,7 @@
idev->phys = ati_remote->phys;
usb_to_input_id(ati_remote->udev, &idev->id);
- idev->dev.parent = &ati_remote->udev->dev;
+ idev->dev.parent = &ati_remote->interface->dev;
}
static int ati_remote_initialize(struct ati_remote *ati_remote)

View File

@@ -1,65 +0,0 @@
diff -Naur linux-2.6.37-rc6/drivers/input/misc/ati_remote.c linux-2.6.37-rc6.patch/drivers/input/misc/ati_remote.c
--- linux-2.6.37-rc6/drivers/input/misc/ati_remote.c 2010-12-16 02:24:48.000000000 +0100
+++ linux-2.6.37-rc6.patch/drivers/input/misc/ati_remote.c 2010-12-16 12:35:04.454620549 +0100
@@ -90,6 +90,7 @@
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
+#include <linux/moduleparam.h>
#include <linux/usb/input.h>
#include <linux/wait.h>
#include <linux/jiffies.h>
@@ -131,6 +132,10 @@
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Enable extra debug messages and information");
+static int keychange;
+module_param(keychange, int, 0644);
+MODULE_PARM_DESC(keychange, "Enable support for Keychange remotes");
+
static int repeat_filter = FILTER_TIME;
module_param(repeat_filter, int, 0644);
MODULE_PARM_DESC(repeat_filter, "Repeat filter time, default = 60 msec");
@@ -285,6 +290,25 @@
{KIND_FILTERED, 0xf4, 0x2F, EV_KEY, KEY_END, 1}, /* END */
{KIND_FILTERED, 0xf5, 0x30, EV_KEY, KEY_SELECT, 1}, /* SELECT */
+ /* Coloured keys */
+ {KIND_FILTERED, 0xf7, 0x32, EV_KEY, KEY_PLAYCD, 1}, /* TXT Rot */
+ {KIND_FILTERED, 0xf8, 0x33, EV_KEY, KEY_PAUSECD, 1}, /* TXT Gr */
+ {KIND_FILTERED, 0xf9, 0x34, EV_KEY, KEY_PROG3, 1}, /* TXT Gelb */
+ {KIND_FILTERED, 0xfa, 0x35, EV_KEY, KEY_PROG4, 1}, /* TXT Blau */
+
+ /* More Keys */
+ {KIND_FILTERED, 0xac, 0x37, EV_KEY, KEY_G, 1}, /* Acquire Image */
+ {KIND_FILTERED, 0xfe, 0x39, EV_KEY, KEY_H, 1}, /* FULL SCREEN _| */
+ {KIND_FILTERED, 0xfb, 0x36, EV_KEY, KEY_I, 1}, /* Rename */
+ {KIND_FILTERED, 0xf1, 0x2c, EV_KEY, KEY_J, 1}, /* TV */
+ {KIND_FILTERED, 0xf6, 0x31, EV_KEY, KEY_K, 1}, /* Video Desktop */
+ {KIND_FILTERED, 0xa1, 0x00, EV_KEY, KEY_L, 1},
+
+ /* Keys added by torsten at archesoft.de */
+ {KIND_FILTERED, 0xff, 0x3a, EV_KEY, KEY_M, 1}, /* dvd audio */
+ {KIND_FILTERED, 0xfc, 0x37, EV_KEY, KEY_N, 1}, /* aquire image */
+ {KIND_FILTERED, 0xfd, 0x38, EV_KEY, KEY_O, 1}, /* edit image */
+
{KIND_END, 0x00, 0x00, EV_MAX + 1, 0, 0}
};
@@ -409,6 +433,16 @@
{
int i;
+ /* If keychange is enabled we undo the keychanges of the remote here */
+
+ if (keychange){
+ if (d2 & 0x80) {
+ d1 += 0x80;
+ d2 -= 0x80;
+ }
+ }
+
+
for (i = 0; ati_remote_tbl[i].kind != KIND_END; i++) {
/*
* Decide if the table entry matches the remote input.

View File

@@ -1,13 +0,0 @@
diff -Naur linux-2.6.39.1/drivers/media/dvb/dvb-usb/rtl2832u.h linux-2.6.39.1.patch/drivers/media/dvb/dvb-usb/rtl2832u.h
--- linux-2.6.39.1/drivers/media/dvb/dvb-usb/rtl2832u.h 2010-10-27 08:17:30.000000000 +0200
+++ linux-2.6.39.1.patch/drivers/media/dvb/dvb-usb/rtl2832u.h 2011-06-15 18:22:30.416756439 +0200
@@ -39,7 +39,8 @@
#define USB_PID_DEXATEK_WARM_4 0x1104
#define USB_VID_GTEK 0x1F4D
-#define USB_PID_GTEK_WARM 0x0837
+//#define USB_PID_GTEK_WARM 0x0837
+#define USB_PID_GTEK_WARM 0xC803
#define USB_PID_GTEK_WARM_A 0xA803
#define USB_PID_GTEK_WARM_B 0xB803
#define USB_PID_GTEK_WARM_C 0xC803

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More