Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where is the "keymap" use flag in udev-206?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Xander314
n00b
n00b


Joined: 16 Apr 2012
Posts: 39

PostPosted: Sun Aug 04, 2013 8:06 am    Post subject: Where is the "keymap" use flag in udev-206? Reply with quote

I am following this Arch Wiki page on mapping scancodes to keycodes: https://wiki.archlinux.org/index.php/Map_scancodes_to_keycodes

It mentions a method using udev, but I don't seem to have any of the related files, e.g. /usr/lib/udev/keymaps/*. I am running unstable ~amd64, on udev-206. I noticed that udev-204 has a use flag "keymap", but udev-206 does not. Has this functionality been removed from udev-206? Perhaps this functionality been moved to systemd?
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2633
Location: Slovenia

PostPosted: Sun Aug 04, 2013 6:43 pm    Post subject: Reply with quote

The functionality is still in udev, however that article is outdated. The keyboard definitions are now in a hwdb file and the keymap utility is now an udev built-in command.
Back to top
View user's profile Send private message
haarp
Guru
Guru


Joined: 31 Oct 2007
Posts: 354

PostPosted: Thu Nov 28, 2013 8:26 pm    Post subject: Reply with quote

Gusar wrote:
and the keymap utility is now an udev built-in command.

Could you elaborate on that? I can't find how to run the 'findkeyboards' and 'keymap' utilities, which used to come with udev prior to the new version (which has become stable a few days ago). Those tools are necessary to figure out the keycodes I need to remap.

edit: evtest provides the same functionality that keymaps did. The mappings can then be put into /etc/udev/hwdb.d/ (see /lib/udev/hwdb.d/60-keyboard.hwdb for examples), followed by udevadm hwdb --update. /etc/init.d/udev restart then applies the new settings without rebooting.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum