Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
5950c34d
Commit
5950c34d
authored
Jun 02, 2004
by
Vojtech Pavlik
Browse files
Options
Browse Files
Download
Plain Diff
Merge suse.cz:/data/bk/compaq into suse.cz:/data/bk/input
parents
82fc79cb
c362c06a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
1 deletion
+44
-1
arch/i386/kernel/dmi_scan.c
arch/i386/kernel/dmi_scan.c
+31
-0
drivers/input/serio/i8042.c
drivers/input/serio/i8042.c
+13
-1
No files found.
arch/i386/kernel/dmi_scan.c
View file @
5950c34d
...
...
@@ -15,6 +15,9 @@
unsigned
long
dmi_broken
;
EXPORT_SYMBOL
(
dmi_broken
);
unsigned
int
i8042_dmi_noloop
=
0
;
EXPORT_SYMBOL
(
i8042_dmi_noloop
);
int
is_sony_vaio_laptop
;
int
is_unsafe_smbus
;
int
es7000_plat
=
0
;
...
...
@@ -400,6 +403,17 @@ static __init int sony_vaio_laptop(struct dmi_blacklist *d)
return
0
;
}
/*
* Several HP Proliant (and maybe other OSB4/ProFusion) systems
* shouldn't use the AUX LoopBack command, or they crash or reboot.
*/
static
__init
int
set_8042_noloop
(
struct
dmi_blacklist
*
d
)
{
i8042_dmi_noloop
=
1
;
return
0
;
}
/*
* This bios swaps the APM minute reporting bytes over (Many sony laptops
* have this problem).
...
...
@@ -875,6 +889,23 @@ static __initdata struct dmi_blacklist dmi_blacklist[]={
NO_MATCH
,
NO_MATCH
,
}
},
/*
* Several HP Proliant (and maybe other OSB4/ProFusion) systems
* can't use i8042 in mux mode, or they crash or reboot.
*/
{
set_8042_noloop
,
"Compaq Proliant 8500"
,
{
MATCH
(
DMI_SYS_VENDOR
,
"Compaq"
),
MATCH
(
DMI_PRODUCT_NAME
,
"ProLiant"
),
MATCH
(
DMI_PRODUCT_VERSION
,
"8500"
),
NO_MATCH
}},
{
set_8042_noloop
,
"Compaq Proliant DL760"
,
{
MATCH
(
DMI_SYS_VENDOR
,
"Compaq"
),
MATCH
(
DMI_PRODUCT_NAME
,
"ProLiant"
),
MATCH
(
DMI_PRODUCT_VERSION
,
"DL760"
),
NO_MATCH
}},
#ifdef CONFIG_ACPI_BOOT
/*
* If your system is blacklisted here, but you find that acpi=force
...
...
drivers/input/serio/i8042.c
View file @
5950c34d
/*
* i8042 keyboard and mouse controller driver for Linux
*
* Copyright (c) 1999-200
2
Vojtech Pavlik
* Copyright (c) 1999-200
4
Vojtech Pavlik
*/
/*
...
...
@@ -52,6 +52,8 @@ static unsigned int i8042_dumbkbd;
module_param_named
(
dumbkbd
,
i8042_dumbkbd
,
bool
,
0
);
MODULE_PARM_DESC
(
dumbkbd
,
"Pretend that controller can only read data from keyboard"
);
static
unsigned
int
i8042_noloop
;
__obsolete_setup
(
"i8042_noaux"
);
__obsolete_setup
(
"i8042_nomux"
);
__obsolete_setup
(
"i8042_unlock"
);
...
...
@@ -155,6 +157,9 @@ static int i8042_command(unsigned char *param, int command)
unsigned
long
flags
;
int
retval
=
0
,
i
=
0
;
if
(
i8042_noloop
&&
command
==
I8042_CMD_AUX_LOOP
)
return
-
1
;
spin_lock_irqsave
(
&
i8042_lock
,
flags
);
retval
=
i8042_wait_write
();
...
...
@@ -968,6 +973,13 @@ int __init i8042_init(void)
if
(
i8042_dumbkbd
)
i8042_kbd_port
.
write
=
NULL
;
#ifdef __i386__
if
(
i8042_dmi_noloop
)
{
printk
(
KERN_INFO
"i8042.c: AUX LoopBack command disabled by DMI.
\n
"
);
i8042_noloop
=
1
;
}
#endif
if
(
!
i8042_noaux
&&
!
i8042_check_aux
(
&
i8042_aux_values
))
{
if
(
!
i8042_nomux
&&
!
i8042_check_mux
(
&
i8042_aux_values
))
for
(
i
=
0
;
i
<
4
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment