Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448586 - sys-fs/udev - add support for MS NEK4000 ZoomIn/Out key to /lib/udev/rules.d/95-keymap.rules
Summary: sys-fs/udev - add support for MS NEK4000 ZoomIn/Out key to /lib/udev/rules.d/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-25 20:15 UTC by Alex Efros
Modified: 2013-01-07 19:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2012-12-25 20:15:09 UTC
Please add into /lib/udev/rules.d/95-keymap.rules:

    ENV{ID_VENDOR}=="Microsoft", ENV{ID_MODEL_ID}=="00db", RUN+="keymap $name 0xc022d scrollup 0xc022e scrolldown"

It's required to support Zoom In/Out key in Microsoft Natural Ergonomic Keyboard 4000. This line usually found in many howtos, and I'm even see it already added in https://github.com/gentoo/eudev/blob/master/rules/95-keymap.rules#L32 (repo by gentoo devs).

One problem with setup in that repo and in howtos - they all uses "zoomin" and "zoomout" key codes in keymap params. While it's more correct than scrollup/scrolldown keycodes which I propose, problem with zoomin/zoomout is they have codes greater than 256, and thus unsupported by Xorg (xev doesn't see them, evtest and showkey see them). The scrollup/scrolldown have codes less than 256, so they works ok.

P.S. Actually I've just checked source of latest udev (196-r1), and thus line already exists there (with zoomin/zoomout codes).
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-01-07 19:02:56 UTC
This is fixed in udev-196-r1. I see this line in the file:

ENV{ID_VENDOR}=="Microsoft", ENV{ID_MODEL_ID}=="00db", RUN+="keymap $name 0xc022d zoomin 0xc022e zoomout"