View | Details | Raw Unified | Return to bug 81331 | Differences between
and this patch

Collapse All | Expand All

(-)a/Documentation/kernel-parameters.txt (+2 lines)
Lines 1270-1275 bytes respectively. Such letter suffixes can also be entirely omitted. Link Here
1270
	i8042.notimeout	[HW] Ignore timeout condition signalled by controller
1270
	i8042.notimeout	[HW] Ignore timeout condition signalled by controller
1271
	i8042.reset	[HW] Reset the controller during init and cleanup
1271
	i8042.reset	[HW] Reset the controller during init and cleanup
1272
	i8042.unlock	[HW] Unlock (ignore) the keylock
1272
	i8042.unlock	[HW] Unlock (ignore) the keylock
1273
	i8042.kbdreset  [HW] Reset keyboard to make trackpad work (in Gigabyte laptops with
1274
			     Elantech trackpad)
1273
1275
1274
	i810=		[HW,DRM]
1276
	i810=		[HW,DRM]
1275
1277
(-)a/drivers/input/serio/i8042.c (+8 lines)
Lines 67-72 static bool i8042_notimeout; Link Here
67
module_param_named(notimeout, i8042_notimeout, bool, 0);
67
module_param_named(notimeout, i8042_notimeout, bool, 0);
68
MODULE_PARM_DESC(notimeout, "Ignore timeouts signalled by i8042");
68
MODULE_PARM_DESC(notimeout, "Ignore timeouts signalled by i8042");
69
69
70
static bool i8042_kbdreset;
71
module_param_named(kbdreset, i8042_kbdreset, bool, 0);
72
MODULE_PARM_DESC(kbdreset, "Reset keyboard to make trackpad work");
73
70
#ifdef CONFIG_X86
74
#ifdef CONFIG_X86
71
static bool i8042_dritek;
75
static bool i8042_dritek;
72
module_param_named(dritek, i8042_dritek, bool, 0);
76
module_param_named(dritek, i8042_dritek, bool, 0);
Lines 789-794 static int __init i8042_check_aux(void) Link Here
789
	if (i8042_toggle_aux(true))
793
	if (i8042_toggle_aux(true))
790
		return -1;
794
		return -1;
791
795
796
	/* To make trackpad work on many Gigabyte laptop models containg Elantech trackpad */
797
	if (i8042_kbdreset)
798
		i8042_kbd_write(NULL, (unsigned char) 0xff);
799
792
/*
800
/*
793
 * Test AUX IRQ delivery to make sure BIOS did not grab the IRQ and
801
 * Test AUX IRQ delivery to make sure BIOS did not grab the IRQ and
794
 * used it for a PCI card or somethig else.
802
 * used it for a PCI card or somethig else.

Return to bug 81331