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
0d380878
Commit
0d380878
authored
Jan 15, 2004
by
Vojtech Pavlik
Committed by
Vojtech Pavlik
Jan 15, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input: Add informational printk()s to atkbd.c
parent
3adcc00c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
drivers/input/keyboard/atkbd.c
drivers/input/keyboard/atkbd.c
+10
-0
No files found.
drivers/input/keyboard/atkbd.c
View file @
0d380878
...
...
@@ -262,6 +262,11 @@ static irqreturn_t atkbd_interrupt(struct serio *serio, unsigned char data,
atkbd
->
release
?
"released"
:
"pressed"
,
atkbd
->
translated
?
"translated"
:
"raw"
,
atkbd
->
set
,
code
,
serio
->
phys
);
if
(
atkbd
->
translated
&&
atkbd
->
set
==
2
&&
code
==
0x7a
)
printk
(
KERN_WARNING
"atkbd.c: This is an XFree86 bug. It shouldn't access"
"hardware directly.
\n
"
);
else
printk
(
KERN_WARNING
"atkbd.c: Use 'setkeycodes %s%02x <keycode>' to make it known.
\n
"
,
code
&
0x80
?
"e0"
:
""
,
code
&
0x7f
);
break
;
default:
value
=
atkbd
->
release
?
0
:
...
...
@@ -469,6 +474,11 @@ static int atkbd_probe(struct atkbd *atkbd)
return
-
1
;
atkbd
->
id
=
(
param
[
0
]
<<
8
)
|
param
[
1
];
if
(
atkbd
->
id
==
0xaca1
&&
atkbd
->
translated
)
{
printk
(
KERN_ERR
"atkbd.c: NCD terminal keyboards are only supported on non-translating
\n
"
);
printk
(
KERN_ERR
"atkbd.c: controllers. Use i8042.direct=1 to disable translation.
\n
"
);
return
-
1
;
}
return
0
;
}
...
...
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