lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E9ACE59.2000003@calvaedi.com>
Date:	Sun, 16 Oct 2011 14:30:17 +0200
From:	John Hughes <john@...vaedi.com>
To:	linux-kernel@...r.kernel.org
CC:	Mattia Dongili <malattia@...ux.it>,
	Stelian Pop <stelian@...ies.net>
Subject: Bug: changing keycodes generated by sony-laptop doesn't work

Something about the way sony-laptop sends scancodes and keycodes to the 
input subsystem doesn't work.

1. using the /lib/udev/keymap utility to show the scancodes and keycodes 
generated by the Sony Vaio keys device shows them  out-of sync:

start keymap, press EJECT (mapped by sony-laptop to FN_E) twice, then AV 
MODE (mapped to PROG1) twice:

#   /lib/udev/keymap -i input/event5
Press ESC to finish
scan code: 0x00   key code: fn_e
scan code: 0x1B   key code: fn_e
scan code: 0x1B   key code: prog1
scan code: 0x20   key code: prog1
^C

Notice that each time a key is pressed the scancode shown is the 
scancode of the previous key.

2. Changing the keycode for a given scancode has no effect:

#   /lib/udev/keymap  input/event5 0x1B ejectcd
setting scancode 0x1B to key code 161
#   /lib/udev/keymap -i input/event5
Press ESC to finish
scan code: 0x00   key code: fn_e
scan code: 0x1B   key code: fn_e
^C


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ