sys-kernel/geos_one-sources: integrate alsa-driver-1.0.18a with xa3530 patch and other patches to optimize running on XA3530
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@737 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
126
sys-kernel/geos_one-sources/files/1-bcm5974-headers.patch
Normal file
126
sys-kernel/geos_one-sources/files/1-bcm5974-headers.patch
Normal file
@@ -0,0 +1,126 @@
|
||||
The new unibody Macbooks are equipped with an integrated button and
|
||||
trackpad. The package header of the trackpad interface has changed to
|
||||
also contain information about the integrated button. This patch
|
||||
performs the necessary preparations to allow for the new package
|
||||
header.
|
||||
|
||||
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
||||
---
|
||||
drivers/input/mouse/bcm5974.c | 42 ++++++++++++++++++++++------------------
|
||||
1 files changed, 23 insertions(+), 19 deletions(-)
|
||||
diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c
|
||||
index 2998a6a..e97462e 100644
|
||||
--- a/drivers/input/mouse/bcm5974.c
|
||||
+++ b/drivers/input/mouse/bcm5974.c
|
||||
@@ -96,13 +96,14 @@ struct bt_data {
|
||||
u8 rel_y; /* relative y coordinate */
|
||||
};
|
||||
|
||||
-/* trackpad header structure */
|
||||
-struct tp_header {
|
||||
- u8 unknown1[16]; /* constants, timers, etc */
|
||||
- u8 fingers; /* number of fingers on trackpad */
|
||||
- u8 unknown2[9]; /* constants, timers, etc */
|
||||
+/* trackpad header types */
|
||||
+enum tp_type {
|
||||
+ TYPE1 /* plain trackpad */
|
||||
};
|
||||
|
||||
+/* trackpad finger data offsets */
|
||||
+#define FINGER_TYPE1 26
|
||||
+
|
||||
/* trackpad finger structure */
|
||||
struct tp_finger {
|
||||
__le16 origin; /* zero when switching track finger */
|
||||
@@ -119,11 +120,9 @@ struct tp_finger {
|
||||
__le16 multi; /* one finger: varies, more fingers: constant */
|
||||
};
|
||||
|
||||
-/* trackpad data structure, empirically at least ten fingers */
|
||||
-struct tp_data {
|
||||
- struct tp_header header;
|
||||
- struct tp_finger finger[16];
|
||||
-};
|
||||
+/* trackpad finger data size, empirically at least ten fingers */
|
||||
+#define SIZEOF_FINGER sizeof(struct tp_finger)
|
||||
+#define SIZEOF_ALL_FINGERS (16 * SIZEOF_FINGER)
|
||||
|
||||
/* device-specific parameters */
|
||||
struct bcm5974_param {
|
||||
@@ -139,6 +138,8 @@ struct bcm5974_config {
|
||||
int bt_ep; /* the endpoint of the button interface */
|
||||
int bt_datalen; /* data length of the button interface */
|
||||
int tp_ep; /* the endpoint of the trackpad interface */
|
||||
+ enum tp_type tp_type; /* type of trackpad interface */
|
||||
+ int tp_offset; /* offset to trackpad finger data */
|
||||
int tp_datalen; /* data length of the trackpad interface */
|
||||
struct bcm5974_param p; /* finger pressure limits */
|
||||
struct bcm5974_param w; /* finger width limits */
|
||||
@@ -158,7 +159,7 @@ struct bcm5974 {
|
||||
struct urb *bt_urb; /* button usb request block */
|
||||
struct bt_data *bt_data; /* button transferred data */
|
||||
struct urb *tp_urb; /* trackpad usb request block */
|
||||
- struct tp_data *tp_data; /* trackpad transferred data */
|
||||
+ u8 *tp_data; /* trackpad transferred data */
|
||||
int fingers; /* number of fingers on trackpad */
|
||||
};
|
||||
|
||||
@@ -184,7 +185,7 @@ static const struct bcm5974_config bcm5974_config_table[] = {
|
||||
USB_DEVICE_ID_APPLE_WELLSPRING_ISO,
|
||||
USB_DEVICE_ID_APPLE_WELLSPRING_JIS,
|
||||
0x84, sizeof(struct bt_data),
|
||||
- 0x81, sizeof(struct tp_data),
|
||||
+ 0x81, TYPE1, FINGER_TYPE1, FINGER_TYPE1 + SIZEOF_ALL_FINGERS,
|
||||
{ DIM_PRESSURE, DIM_PRESSURE / SN_PRESSURE, 0, 256 },
|
||||
{ DIM_WIDTH, DIM_WIDTH / SN_WIDTH, 0, 2048 },
|
||||
{ DIM_X, DIM_X / SN_COORD, -4824, 5342 },
|
||||
@@ -195,7 +196,7 @@ static const struct bcm5974_config bcm5974_config_table[] = {
|
||||
USB_DEVICE_ID_APPLE_WELLSPRING2_ISO,
|
||||
USB_DEVICE_ID_APPLE_WELLSPRING2_JIS,
|
||||
0x84, sizeof(struct bt_data),
|
||||
- 0x81, sizeof(struct tp_data),
|
||||
+ 0x81, TYPE1, FINGER_TYPE1, FINGER_TYPE1 + SIZEOF_ALL_FINGERS,
|
||||
{ DIM_PRESSURE, DIM_PRESSURE / SN_PRESSURE, 0, 256 },
|
||||
{ DIM_WIDTH, DIM_WIDTH / SN_WIDTH, 0, 2048 },
|
||||
{ DIM_X, DIM_X / SN_COORD, -4824, 4824 },
|
||||
@@ -276,18 +277,20 @@ static int report_bt_state(struct bcm5974 *dev, int size)
|
||||
static int report_tp_state(struct bcm5974 *dev, int size)
|
||||
{
|
||||
const struct bcm5974_config *c = &dev->cfg;
|
||||
- const struct tp_finger *f = dev->tp_data->finger;
|
||||
+ const struct tp_finger *f;
|
||||
struct input_dev *input = dev->input;
|
||||
- const int fingers = (size - 26) / 28;
|
||||
- int raw_p, raw_w, raw_x, raw_y;
|
||||
+ int raw_p, raw_w, raw_x, raw_y, raw_n;
|
||||
int ptest = 0, origin = 0, nmin = 0, nmax = 0;
|
||||
int abs_p = 0, abs_w = 0, abs_x = 0, abs_y = 0;
|
||||
|
||||
- if (size < 26 || (size - 26) % 28 != 0)
|
||||
+ if (size < c->tp_offset || (size - c->tp_offset) % SIZEOF_FINGER != 0)
|
||||
return -EIO;
|
||||
|
||||
+ f = (const struct tp_finger *)(dev->tp_data + c->tp_offset);
|
||||
+ raw_n = (size - c->tp_offset) / SIZEOF_FINGER;
|
||||
+
|
||||
/* always track the first finger; when detached, start over */
|
||||
- if (fingers) {
|
||||
+ if (raw_n) {
|
||||
raw_p = raw2int(f->force_major);
|
||||
raw_w = raw2int(f->size_major);
|
||||
raw_x = raw2int(f->abs_x);
|
||||
@@ -307,12 +310,13 @@ static int report_tp_state(struct bcm5974 *dev, int size)
|
||||
abs_w = int2bound(&c->w, raw_w);
|
||||
abs_x = int2bound(&c->x, raw_x - c->x.devmin);
|
||||
abs_y = int2bound(&c->y, c->y.devmax - raw_y);
|
||||
- for (; f != dev->tp_data->finger + fingers; f++) {
|
||||
+ while (raw_n--) {
|
||||
ptest = int2bound(&c->p, raw2int(f->force_major));
|
||||
if (ptest > PRESSURE_LOW)
|
||||
nmax++;
|
||||
if (ptest > PRESSURE_HIGH)
|
||||
nmin++;
|
||||
+ f++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
The integrated button on the new unibody Macbooks presents a need to
|
||||
report explicit four-finger actions. Evidently, the finger pressing
|
||||
the button is also touching the trackpad, so in order to fully support
|
||||
three-finger actions, the driver must be able to report four-finger
|
||||
actions. This patch adds a new button, BTN_TOOL_QUADTAP, which
|
||||
achieves this.
|
||||
|
||||
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
||||
---
|
||||
drivers/input/mouse/bcm5974.c | 4 +++-
|
||||
include/linux/input.h | 1 +
|
||||
2 files changed, 4 insertions(+), 1 deletions(-)
|
||||
diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c
|
||||
index e97462e..a170574 100644
|
||||
--- a/drivers/input/mouse/bcm5974.c
|
||||
+++ b/drivers/input/mouse/bcm5974.c
|
||||
@@ -258,6 +258,7 @@ static void setup_events_to_report(struct input_dev *input_dev,
|
||||
__set_bit(BTN_TOOL_FINGER, input_dev->keybit);
|
||||
__set_bit(BTN_TOOL_DOUBLETAP, input_dev->keybit);
|
||||
__set_bit(BTN_TOOL_TRIPLETAP, input_dev->keybit);
|
||||
+ __set_bit(BTN_TOOL_QUADTAP, input_dev->keybit);
|
||||
__set_bit(BTN_LEFT, input_dev->keybit);
|
||||
}
|
||||
|
||||
@@ -328,7 +329,8 @@ static int report_tp_state(struct bcm5974 *dev, int size)
|
||||
input_report_key(input, BTN_TOUCH, dev->fingers > 0);
|
||||
input_report_key(input, BTN_TOOL_FINGER, dev->fingers == 1);
|
||||
input_report_key(input, BTN_TOOL_DOUBLETAP, dev->fingers == 2);
|
||||
- input_report_key(input, BTN_TOOL_TRIPLETAP, dev->fingers > 2);
|
||||
+ input_report_key(input, BTN_TOOL_TRIPLETAP, dev->fingers == 3);
|
||||
+ input_report_key(input, BTN_TOOL_QUADTAP, dev->fingers > 3);
|
||||
|
||||
input_report_abs(input, ABS_PRESSURE, abs_p);
|
||||
input_report_abs(input, ABS_TOOL_WIDTH, abs_w);
|
||||
diff --git a/include/linux/input.h b/include/linux/input.h
|
||||
index b86fb55..0082b24 100644
|
||||
--- a/include/linux/input.h
|
||||
+++ b/include/linux/input.h
|
||||
@@ -443,6 +443,7 @@ struct input_absinfo {
|
||||
#define BTN_STYLUS2 0x14c
|
||||
#define BTN_TOOL_DOUBLETAP 0x14d
|
||||
#define BTN_TOOL_TRIPLETAP 0x14e
|
||||
+#define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */
|
||||
|
||||
#define BTN_WHEEL 0x150
|
||||
#define BTN_GEAR_DOWN 0x150
|
||||
@@ -0,0 +1,129 @@
|
||||
This patch adds support for the new unibody Macbook, with physically
|
||||
integrated button and trackpad. A new button, BTN_TOOL_PRESS, is
|
||||
introduced to allow for non-trivial handling of this device in user
|
||||
space.
|
||||
|
||||
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
|
||||
Tested-by: David M. Lary <dmlary@gmail.com>
|
||||
---
|
||||
drivers/input/mouse/bcm5974.c | 42 +++++++++++++++++++++++++++++++++++++++-
|
||||
include/linux/input.h | 1 +
|
||||
2 files changed, 41 insertions(+), 2 deletions(-)
|
||||
diff --git a/drivers/input/mouse/bcm5974.c b/drivers/input/mouse/bcm5974.c
|
||||
index a170574..f85a296 100644
|
||||
--- a/drivers/input/mouse/bcm5974.c
|
||||
+++ b/drivers/input/mouse/bcm5974.c
|
||||
@@ -51,6 +51,10 @@
|
||||
#define USB_DEVICE_ID_APPLE_WELLSPRING2_ANSI 0x0230
|
||||
#define USB_DEVICE_ID_APPLE_WELLSPRING2_ISO 0x0231
|
||||
#define USB_DEVICE_ID_APPLE_WELLSPRING2_JIS 0x0232
|
||||
+/* Macbook5,1 (unibody), aka wellspring3 */
|
||||
+#define USB_DEVICE_ID_APPLE_WELLSPRING3_ANSI 0x0236
|
||||
+#define USB_DEVICE_ID_APPLE_WELLSPRING3_ISO 0x0237
|
||||
+#define USB_DEVICE_ID_APPLE_WELLSPRING3_JIS 0x0238
|
||||
|
||||
#define BCM5974_DEVICE(prod) { \
|
||||
.match_flags = (USB_DEVICE_ID_MATCH_DEVICE | \
|
||||
@@ -72,6 +76,10 @@ static const struct usb_device_id bcm5974_table[] = {
|
||||
BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING2_ANSI),
|
||||
BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING2_ISO),
|
||||
BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING2_JIS),
|
||||
+ /* Macbook5,1 */
|
||||
+ BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING3_ANSI),
|
||||
+ BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING3_ISO),
|
||||
+ BCM5974_DEVICE(USB_DEVICE_ID_APPLE_WELLSPRING3_JIS),
|
||||
/* Terminating entry */
|
||||
{}
|
||||
};
|
||||
@@ -98,11 +106,19 @@ struct bt_data {
|
||||
|
||||
/* trackpad header types */
|
||||
enum tp_type {
|
||||
- TYPE1 /* plain trackpad */
|
||||
+ TYPE1, /* plain trackpad */
|
||||
+ TYPE2 /* button integrated in trackpad */
|
||||
};
|
||||
|
||||
/* trackpad finger data offsets */
|
||||
#define FINGER_TYPE1 26
|
||||
+#define FINGER_TYPE2 30
|
||||
+
|
||||
+/* trackpad button data offsets */
|
||||
+#define BUTTON_TYPE2 15
|
||||
+
|
||||
+/* integrated button capability by configuration */
|
||||
+#define HAS_INTEGRATED_BUTTON(c) (c->tp_type == TYPE2)
|
||||
|
||||
/* trackpad finger structure */
|
||||
struct tp_finger {
|
||||
@@ -202,6 +218,17 @@ static const struct bcm5974_config bcm5974_config_table[] = {
|
||||
{ DIM_X, DIM_X / SN_COORD, -4824, 4824 },
|
||||
{ DIM_Y, DIM_Y / SN_COORD, -172, 4290 }
|
||||
},
|
||||
+ {
|
||||
+ USB_DEVICE_ID_APPLE_WELLSPRING3_ANSI,
|
||||
+ USB_DEVICE_ID_APPLE_WELLSPRING3_ISO,
|
||||
+ USB_DEVICE_ID_APPLE_WELLSPRING3_JIS,
|
||||
+ 0x84, sizeof(struct bt_data),
|
||||
+ 0x81, TYPE2, FINGER_TYPE2, FINGER_TYPE2 + SIZEOF_ALL_FINGERS,
|
||||
+ { DIM_PRESSURE, DIM_PRESSURE / SN_PRESSURE, 0, 300 },
|
||||
+ { DIM_WIDTH, DIM_WIDTH / SN_WIDTH, 0, 2048 },
|
||||
+ { DIM_X, DIM_X / SN_COORD, -4460, 5166 },
|
||||
+ { DIM_Y, DIM_Y / SN_COORD, -75, 6700 }
|
||||
+ },
|
||||
{}
|
||||
};
|
||||
|
||||
@@ -259,6 +286,8 @@ static void setup_events_to_report(struct input_dev *input_dev,
|
||||
__set_bit(BTN_TOOL_DOUBLETAP, input_dev->keybit);
|
||||
__set_bit(BTN_TOOL_TRIPLETAP, input_dev->keybit);
|
||||
__set_bit(BTN_TOOL_QUADTAP, input_dev->keybit);
|
||||
+ if (HAS_INTEGRATED_BUTTON(cfg))
|
||||
+ __set_bit(BTN_TOOL_PRESS, input_dev->keybit);
|
||||
__set_bit(BTN_LEFT, input_dev->keybit);
|
||||
}
|
||||
|
||||
@@ -281,7 +310,7 @@ static int report_tp_state(struct bcm5974 *dev, int size)
|
||||
const struct tp_finger *f;
|
||||
struct input_dev *input = dev->input;
|
||||
int raw_p, raw_w, raw_x, raw_y, raw_n;
|
||||
- int ptest = 0, origin = 0, nmin = 0, nmax = 0;
|
||||
+ int ptest = 0, origin = 0, ibt = 0, nmin = 0, nmax = 0;
|
||||
int abs_p = 0, abs_w = 0, abs_x = 0, abs_y = 0;
|
||||
|
||||
if (size < c->tp_offset || (size - c->tp_offset) % SIZEOF_FINGER != 0)
|
||||
@@ -303,6 +332,10 @@ static int report_tp_state(struct bcm5974 *dev, int size)
|
||||
|
||||
ptest = int2bound(&c->p, raw_p);
|
||||
origin = raw2int(f->origin);
|
||||
+
|
||||
+ /* set the integrated button if applicable */
|
||||
+ if (c->tp_type == TYPE2)
|
||||
+ ibt = raw2int(dev->tp_data[BUTTON_TYPE2]);
|
||||
}
|
||||
|
||||
/* while tracking finger still valid, count all fingers */
|
||||
@@ -346,6 +379,11 @@ static int report_tp_state(struct bcm5974 *dev, int size)
|
||||
|
||||
}
|
||||
|
||||
+ if (HAS_INTEGRATED_BUTTON(c)) {
|
||||
+ input_report_key(input, BTN_TOOL_PRESS, ibt);
|
||||
+ input_report_key(input, BTN_LEFT, ibt);
|
||||
+ }
|
||||
+
|
||||
input_sync(input);
|
||||
|
||||
return 0;
|
||||
diff --git a/include/linux/input.h b/include/linux/input.h
|
||||
index 0082b24..6afa6b3 100644
|
||||
--- a/include/linux/input.h
|
||||
+++ b/include/linux/input.h
|
||||
@@ -438,6 +438,7 @@ struct input_absinfo {
|
||||
#define BTN_TOOL_FINGER 0x145
|
||||
#define BTN_TOOL_MOUSE 0x146
|
||||
#define BTN_TOOL_LENS 0x147
|
||||
+#define BTN_TOOL_PRESS 0x148 /* The trackpad is a physical button */
|
||||
#define BTN_TOUCH 0x14a
|
||||
#define BTN_STYLUS 0x14b
|
||||
#define BTN_STYLUS2 0x14c
|
||||
36236
sys-kernel/geos_one-sources/files/drm-modesetting-radeon.patch
Normal file
36236
sys-kernel/geos_one-sources/files/drm-modesetting-radeon.patch
Normal file
File diff suppressed because it is too large
Load Diff
21344
sys-kernel/geos_one-sources/files/drm-next.patch
Normal file
21344
sys-kernel/geos_one-sources/files/drm-next.patch
Normal file
File diff suppressed because it is too large
Load Diff
15641
sys-kernel/geos_one-sources/files/drm-nouveau.patch
Normal file
15641
sys-kernel/geos_one-sources/files/drm-nouveau.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,10 @@
|
||||
--- linux-2.6.24.orig/arch/x86/Kconfig.debug
|
||||
+++ linux-2.6.24/arch/x86/Kconfig.debug
|
||||
@@ -59,6 +59,7 @@
|
||||
config 4KSTACKS
|
||||
bool "Use 4Kb for kernel stacks instead of 8Kb"
|
||||
depends on DEBUG_KERNEL
|
||||
+ default y
|
||||
help
|
||||
If you say Y here the kernel will use a 4Kb stacksize for the
|
||||
kernel stack attached to each process/thread. This facilitates
|
||||
@@ -0,0 +1,25 @@
|
||||
diff -urN oldtree/kernel/Kconfig.hz newtree/kernel/Kconfig.hz
|
||||
--- oldtree/kernel/Kconfig.hz 2007-03-06 15:00:55.000000000 -0500
|
||||
+++ newtree/kernel/Kconfig.hz 2007-03-06 17:52:36.000000000 -0500
|
||||
@@ -39,6 +39,14 @@
|
||||
on SMP and NUMA systems and exactly dividing by both PAL and
|
||||
NTSC frame rates for video and multimedia work.
|
||||
|
||||
+ config HZ_432
|
||||
+ bool "432 HZ"
|
||||
+ help
|
||||
+ 432 HZ is the best value for desktop systems. Most responsive
|
||||
+ out of all the options. This is for Dual Core/Processor systems only.
|
||||
+ as timer frequencies * number of processors = actual frequency.
|
||||
+ Try this if you have a dual-core/dual processor system.
|
||||
+
|
||||
config HZ_1000
|
||||
bool "1000 HZ"
|
||||
help
|
||||
@@ -52,5 +60,6 @@
|
||||
default 100 if HZ_100
|
||||
default 250 if HZ_250_NODEFAULT
|
||||
default 300 if HZ_300
|
||||
+ default 432 if HZ_432
|
||||
default 1000 if HZ_1000
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
diff -urN oldtree/kernel/Kconfig.hz newtree/kernel/Kconfig.hz
|
||||
--- oldtree/kernel/Kconfig.hz 2007-03-06 15:00:55.000000000 -0500
|
||||
+++ newtree/kernel/Kconfig.hz 2007-03-06 17:52:36.000000000 -0500
|
||||
@@ -39,6 +39,14 @@
|
||||
as timer frequencies * number of processors = actual frequency.
|
||||
Try this if you have a dual-core/dual processor system.
|
||||
|
||||
+ config HZ_864
|
||||
+ bool "864 HZ"
|
||||
+ help
|
||||
+ 864 HZ is the best value for desktop systems. Most responsive
|
||||
+ out of all the options. The only reason it is not default is
|
||||
+ because it may break few drivers. Give it a try if you have
|
||||
+ a desktop :).
|
||||
+
|
||||
config HZ_1000
|
||||
bool "1000 HZ"
|
||||
help
|
||||
@@ -52,5 +60,6 @@
|
||||
default 250 if HZ_250_NODEFAULT
|
||||
default 300 if HZ_300
|
||||
default 432 if HZ_432
|
||||
+ default 864 if HZ_864
|
||||
default 1000 if HZ_1000
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=181963
|
||||
|
||||
--- linux-2.6.15.noarch/fs/fat/inode.c~ 2006-02-20 23:20:12.000000000 -0500
|
||||
+++ linux-2.6.15.noarch/fs/fat/inode.c 2006-02-20 23:21:42.000000000 -0500
|
||||
@@ -952,7 +952,8 @@ static int parse_options(char *options,
|
||||
opts->shortname = 0;
|
||||
opts->name_check = 'n';
|
||||
opts->quiet = opts->showexec = opts->sys_immutable = opts->dotsOK = 0;
|
||||
- opts->utf8 = opts->unicode_xlate = 0;
|
||||
+ opts->utf8 = 1;
|
||||
+ opts->unicode_xlate = 0;
|
||||
opts->numtail = 1;
|
||||
opts->nocase = 0;
|
||||
*debug = 0;
|
||||
@@ -0,0 +1,13 @@
|
||||
* Optimise for today's CPUs.
|
||||
|
||||
--- linux-2.6/arch/x86/Makefile_32.cpu 2006-01-09 11:39:04.000000000 -0500
|
||||
+++ linux-2.6/arch/x86/Makefile_32.cpu 2006-01-09 11:39:36.000000000 -0500
|
||||
@@ -15,7 +15,7 @@ cflags-$(CONFIG_M486) += -march=i486
|
||||
cflags-$(CONFIG_M586) += -march=i586
|
||||
cflags-$(CONFIG_M586TSC) += -march=i586
|
||||
cflags-$(CONFIG_M586MMX) += -march=pentium-mmx
|
||||
-cflags-$(CONFIG_M686) += -march=i686
|
||||
+cflags-$(CONFIG_M686) += -march=i686 $(call tune,generic)
|
||||
cflags-$(CONFIG_MPENTIUMII) += -march=i686 $(call tune,pentium2)
|
||||
cflags-$(CONFIG_MPENTIUMIII) += -march=i686 $(call tune,pentium3)
|
||||
cflags-$(CONFIG_MPENTIUMM) += -march=i686 $(call tune,pentium3)
|
||||
15065
sys-kernel/geos_one-sources/files/linux-2.6.27-lirc.patch
Normal file
15065
sys-kernel/geos_one-sources/files/linux-2.6.27-lirc.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,30 @@
|
||||
From: Jiri Kosina <jkosina@suse.cz>
|
||||
Date: Thu, 20 Nov 2008 10:27:02 +0000 (+0100)
|
||||
Subject: HID: ignore mouse interface for unibody macbooks
|
||||
X-Git-Tag: v2.6.29-rc1~498^2~18
|
||||
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=ac26fca3e14c8882e382daa7e96ab73e0186cf03
|
||||
|
||||
HID: ignore mouse interface for unibody macbooks
|
||||
|
||||
The mouse interface on unibody macbooks is going to be handled by
|
||||
bcm59743 driver in 2.6.29.
|
||||
|
||||
Reported-by: Henrik Rydberg <rydberg@euromail.se>
|
||||
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|
||||
---
|
||||
|
||||
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
|
||||
index 40df3e1..839de38 100644
|
||||
--- a/drivers/hid/hid-core.c
|
||||
+++ b/drivers/hid/hid-core.c
|
||||
@@ -1577,6 +1577,9 @@ static const struct hid_device_id hid_mouse_ignore_list[] = {
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING2_ANSI) },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING2_ISO) },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING2_JIS) },
|
||||
+ { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING3_ANSI) },
|
||||
+ { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING3_ISO) },
|
||||
+ { HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_WELLSPRING3_JIS) },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_FOUNTAIN_TP_ONLY) },
|
||||
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_GEYSER1_TP_ONLY) },
|
||||
{ }
|
||||
|
||||
Reference in New Issue
Block a user