08-10-2012
Keyboard devices in Linux give IBM PC PS/2 keyboard keycodes when read, even if they're not IBM PC PS/2 keyboards. Same for all mice -- IBM PC PS/2 mice keycodes.
We cannot help you make a keylogger.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How to write a keyboard driver with interrupt driven? the platform is ARM and the interface is SRAMC with I/O mapped. What should my handler and read fucntions contains? and I want to know how to map the memory by using the ioremap() function? when exactly we have to use mmap()can you please help... (0 Replies)
Discussion started by: rkkcorleone
0 Replies
2. OS X (Apple)
hi, i am on a quest to access and even mount if possible a drive on os x. there is no driver for the device, but it lists fine in the system profiler. can i access its location from the terminal? how? here is what i get on the system profiler:
Speed: Up to 480 Mb/sec
Manufacturer: SAMSUNG
... (3 Replies)
Discussion started by: sontarieh
3 Replies
3. SuSE
Hi All,
I got the following errors when i was trying to restart Infiniband service.
Loading cxgb3 driver :
Loading HCA driver and Access Layer :
The command managed to bring up the services, but without RDMA modules loaded from /etc/init.d/openibd status output. Is the missing of RDMA... (0 Replies)
Discussion started by: dchm
0 Replies
4. AIX
Hi,
I am running a JDBC:ODBC code to access .mdb file in my windows system successfully but, not able to access MS Access mdb file in AIX Unix box. when I am trying to run the same piece of code in AIX Unix box it is saying "No Suitable Driver". I need some immediate help. (0 Replies)
Discussion started by: thirunp
0 Replies
5. UNIX for Advanced & Expert Users
Hi there,
I am trying to understand the logic of the Linux keyboard driver, I am not sure if this is the right place to ask, but I don't know where else I could.
Btw. I am talking about an unicode console here.
1.) The Linux kernel (currently) can take 256 translation tables (keymaps),... (2 Replies)
Discussion started by: Bill Cosby
2 Replies
6. Hardware
In general terms what are the differences platform driver,codec driver and Machine driver? (1 Reply)
Discussion started by: rupeshkp728
1 Replies
7. Red Hat
I use lspci and dmesg command and find out that i have ipw2000 wireless card on my laptop. I want to install driver for that but i'm not getting proper driver for that.My linux version is el5 and architecture is i386. (0 Replies)
Discussion started by: amitbharad
0 Replies
8. Debian
Hi,
i'm using a debian-4.0r1 on an old subnet machine.
I have to extend it with an other keyboard .
What i have is a DVD of etch 4.0r7.
How can i install and load the keyboard-driver for the us-keyboard?
Can anybody please give me a hint how to do that?
Thanks in advance (0 Replies)
Discussion started by: IMPe
0 Replies
LEARN ABOUT V7
setkeycodes
SETKEYCODES(8) Keyboard Support SETKEYCODES(8)
NAME
setkeycodes - load kernel scancode-to-keycode mapping table entries
SYNOPSIS
setkeycodes scancode keycode ...
DESCRIPTION
The setkeycodes command reads its arguments two at a time, each pair of arguments consisting of a scancode (given in hexadecimal) and a
keycode (given in decimal). For each such pair, it tells the kernel keyboard driver to map the specified scancode to the specified keycode.
This command is useful only for people with slightly unusual keyboards, that have a few keys which produce scancodes that the kernel does
not recognize.
THEORY
The usual PC keyboard produces a series of scancodes for each key press and key release. (Scancodes are shown by showkey -s, see
showkey(1).) The kernel parses this stream of scancodes, and converts it to a stream of keycodes (key press/release events). (Keycodes
are shown by showkey.) Apart from a few scancodes with special meaning, and apart from the sequence produced by the Pause key, and apart
from shiftstate related scancodes, and apart from the key up/down bit, the stream of scancodes consists of unescaped scancodes xx (7 bits)
and escaped scancodes e0 xx (8+7 bits). To these scancodes or scancode pairs, a corresponding keycode can be assigned (in the range
1-127). For example, if you have a Macro key that produces e0 6f according to showkey(1), the command
setkeycodes e06f 112
will assign the keycode 112 to it, and then loadkeys(1) can be used to define the function of this key.
Some older kernels might hardwire a low scancode range to the equivalent keycodes; setkeycodes will fail when you try to remap these.
2.6 KERNELS
In 2.6 kernels key codes lie in the range 1-255, instead of 1-127. (It might be best to confine oneself to the range 1-239.)
In 2.6 kernels raw mode, or scancode mode, is not very raw at all. The code returned by showkey -s will change after use of setkeycodes.
A kernel bug. See also showkey(1).
OPTIONS
None.
BUGS
The keycodes of X have nothing to do with those of Linux. Unusual keys can be made visible under Linux, but not under X.
SEE ALSO
dumpkeys (1), loadkeys (1), showkey (1), getkeycodes (8)
Local 8 Nov 1994 SETKEYCODES(8)