summaryrefslogtreecommitdiff
path: root/hwdb/60-keyboard.hwdb
AgeCommit message (Collapse)Author
2015-03-18rules: keyboard - prefix "atkbd" match strings like we prefix the "name" stringsKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18rules: keyboard - remove platform from comments + prefix "atkbd" match ↵Kay Sievers
strings like we prefix the "name" strings Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18hwdb: convert to generic input-modalias matchesDavid Herrmann
There is no reason to match on usb-modaliases, if we can use the input-modalias to achieve the same. This commit changes the keyboard-lookups to not be restricted to USB, but pass all modaliases to the hwdb. Furthermore, we convert all usb:* matches to input:* matches, thus getting rid of any ambiguity if multiple usb devices are chained (or a bluetooth device / etc. is on top). Note that legacy keyboard:usb:* matches are still supported, but deprecated. If possible, please use keyboard:input:* matches instead. This is a required step to make other input devices work with 60-keyboard.hwdb. Other bus-types are often chained on usb and we want to avoid any ambiguity here if we incorrectly match on a USB hub. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18hwdb: fix Dell XPS12 9Q33 key nameZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=84437 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01hwdb: fix ThinkPad X* Tablet special keysLubomir Rintel
ThinkPad tablet firmware has DMI product name and version reversed: Handle 0x0001, DMI type 1, 27 bytes System Information Manufacturer: LENOVO Product Name: 7762AS1 Version: ThinkPad X61 Tablet Serial Number: LKZCDH2 UUID: 6ADBC681-4FC9-11CB-844F-B47CB9210BE2 Wake-up Type: Power Switch SKU Number: Not Specified Family: ThinkPad X61 Tablet Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-01keymap: Add microphone mute keymap for several HP laptopsHui Wang
On these several HP laptops, the microphone mute hotkey is "Fn+F8" and the scancode for this hotkey is 0x81, but this scancode was mapped to fn_esc in the HP generic keymap section. To fix this problem, we add a machine specific keymap section to add the correct keymap rule. BugLink: https://bugs.launchpad.net/bugs/1409721 BugLink: https://bugs.launchpad.net/bugs/1334968 Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-02-08hwdb: Bind "toolbox" buttons to the Windows keyBastien Nocera
One would expect pressing the button to go to an overview / show applications mode, we thus map it to leftmeta, the Windows key. See https://bugzilla.gnome.org/show_bug.cgi?id=658602#c17 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-01-25hwdb: restore comments about MSI devicesMaxim Mikityanskiy
Some time ago 95-keymap.rules was replaced by 60-keyboard.hwdb. Original comments for MSI laptops (that were in 95-keymap.rules) were removed, but I think they are important for understanding what's going on. https://bugs.freedesktop.org/show_bug.cgi?id=88412 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-12-20hwdb/60-keyboard.hwdb: updateAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-12-17hwdb: add Lenovo 3000 N200 special keyMarc Schmitzer
https://bugs.freedesktop.org/show_bug.cgi?id=87377 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-11-27hwdb: fix a typoPeter Hutterer
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-10-31keymap: Ignore brightness keys on Dell Inspiron 1520 to avoid double eventsHans de Goede
On the Dell Inspiron 1520 both the atkbd and acpi-video input devices report an event for pressing the brightness up / down key-combos, resulting in user space seeing double events and increasing / decreasing the brightness 2 steps for each keypress. This hwdb snippet suppresses the atkbd events, making the Inspiron 1520 work like most modern laptops which emit brightness up / down events through acpi-video only. Reported by Pavel Malyshev <p.malishev@gmail.com> https://bugzilla.redhat.com/show_bug.cgi?id=1141525 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-10-25hwdb: Add mapping for special keys on compaq ku 0133 keyboardsHans de Goede
The compaq ku 0133 keyboard has 8 special keys at the top: http://lackof.org/taggart/hacking/keyboard/cpqwireless.jpg 3 of these use standard HID usage codes from the consumer page, the 5 others use part of the reserved 0x07 - 0x1f range. This commit adds mapping for this keyboard for these reserved codes, making the other 5 keys work. Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-10-07keymap: Fix touchpad toggle key on Asus laptopsMartin Pitt
https://launchpad.net/bugs/1377352 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-10-07keymap: Fix touchpad toggle on Toshiba Satellite P75-A7200Martin Pitt
Just like everywhere else we use KEY_F21 instead of KEY_TOUCHPAD_TOGGLE for X friendliness. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-09-30udev/hwdb: New Entry for Dell XPS12 9Q33 keyboardStefan Brüns
https://bugs.freedesktop.org/show_bug.cgi?id=84437 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-27keymap: Adjust for more Samsung 900X4 seriesMartin Pitt
Reportedly also applies to NP900X4B, so relax the match to apply to all models of this series. https://launchpad.net/bugs/902332 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-11hwdb: update format description and document reloadingZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=82311 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-05keymap: Fix HP Pavillon DV7Martin Pitt
Properly disable scan code 94 instead of producing KEY_0. https://launchpad.net/bugs/1322770 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-04keymap: Annotate all micmute workaroundsMartin Pitt
Add a comment to all assignments to f20 that this actually should be "micmute" in a future when we aren't limited by X.org's key code limiations any more. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-04keymap: Add microphone mute keymap for Dell LatitudeHui Wang
On the Dell Latitude, the mic mute key event is generated by wmi driver, the keycode assigned to this hotkey from kernel is KEY_MICMUTE (248), this keycode is too big for xorg to handle, in the xorg, the XF86AudioMicMute is assigned to F20. Please refer to 4e648ea0 of xkeyboard-config. BugLink: https://bugs.launchpad.net/bugs/1326684 BugLink: https://bugs.launchpad.net/bugs/1339998 Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-06-07hwdb: fix case-sensitive matchKay Sievers
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-06-07keyboard: add Plantronics .Audio mute buttonZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=79495 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-06-07keymap: Asus EeePC touchpad toggle keyMartin Pitt
Originally is KEY_TOUCHPAD_TOGGLE, but X.org can't handle the big key events, so use the F21 convention. https://bugs.freedesktop.org/show_bug.cgi?id=72807 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-06-07keymap: Add Lenovo Enhanced USB KeyboardMartin Pitt
https://bugs.freedesktop.org/show_bug.cgi?id=77234 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-03-28Update hwdbAnthony G. Basile
This is upstream commits f89b42ec0fd51feab5566d6bdbacee101023c037 15f392394e75ffb7f318920008fd1bbe4e82b488 by Marcel Holtmann <marcel@holtmann.org> and Scott Thrasher <scott.thrasher@gmail.com> Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-02-28hwdb: keymaps for Samsung 900X3E/900X3FKieran Clancy
Keymaps for Samsung 900X3E and 900X3F should be the same as for other models in the series. I have also moved the comment for '# Series 9' to the right place Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-02-21replace tabs with spaces in some filesJason St. John
Files: * hwdb/60-keyboard.hwdb * shell-completion/zsh/_systemd-coredumpctl * src/test/test-helper.h Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-01-30keymap: Add Toshiba EQUIUMMartin Pitt
Thanks Aleksander Kowalski <aleksander.kowalski.1@gmail.com>!
2014-01-30keymap: Add Sony Vaio VGN-FW250Martin Pitt
https://launchpad.net/bugs/1271163
2014-01-30keymap: Add release quirk for Acer AOA switchvideomode keyMartin Pitt
https://launchpad.net/bugs/1272658
2014-01-27keymap: Add HP Chromebook 14 (Falco)Martin Pitt
Thanks to Stefan Nagy <public@stefan-nagy.at>. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-01-11hwdb: bring up to dateAnthony G. Basile
This squashes upstream commits from the following authors: AppleBloom Dmitry Pisklov Jimmie Tauriainen Jose Ignacio Naranjo Kay Sievers Marcel Holtmann Martin Pitt Raudi Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-09-10keymap: Add Asus WMI moduleMartin Pitt
We need to override the TOUCHPAD_TOGGLE to F21 to make it useful under X, as for other models.
2013-09-10keymap: Explicitly match "any product name" for "all models from vendor" rulesMartin Pitt
Without this, the hwdb trie gets mis-sorted to match the more specific rules first, as ":pvr" is lexicographically after ":pn". So ensure that all our matches have some ":pn" match to avoid this trap.
2013-09-10keymap: Fix typo in Latitude/Precision rulesMartin Pitt
We actually want to match the product name, "pn:" makes no sense.
2013-09-10keymap: Don't use spaces in DMI modalias matchesMartin Pitt
Spaces get dropped from DMI modaliases. Replace them with '*' to make them robust against future changes in space escaping.
2013-09-10keymap: Fix Dell vendor namesMartin Pitt
Spaces are dropped from vendor and product names in DMI modaliases, so a match like "svnDell Inc.:" will never happen. Also, some machines use "Dell", some "Dell Inc", some "Dell Inc.", so just match on "Dell*" to avoid all these traps. https://launchpad.net/bugs/1218433
2013-09-10keymap: Don't erase previous assignmentsMartin Pitt
Don't use "KEYBOARD_KEY_xx=!" assignments (i. e. only enabling force-release) if more general matches already explicitly set a key code before, to not override the previously set value. https://launchpad.net/bugs/1218433
2013-09-10keymap: Add Logitech Internet Navigator variant [PID C309]Martin Pitt
By Albrecht Kolthoff <kolthoff@gmx.net> via linux-hotplug@.
2013-09-10keymap: Add Samsung NP53U3CMartin Pitt
https://launchpad.net/bugs/1203853
2013-09-10Keyboard map for Samsung NP700Z3CHerczeg Zsolt
I'm using Ubuntu 13.04 on a Samsung Series 5 computer and found that that Fn hotkeys does not work.
2013-09-10keyboard: add eMachines E725Zbigniew Jędrzejewski-Szmek
Information supplied by Ludvig <enthymeme@lavabit.com>.
2013-09-10keymap: add Pavilion dv7 keysZbigniew Jędrzejewski-Szmek
2013-09-10hwdb: keyboard - remove stray "Kay Sievers
<dvdhrm> kay, hwdb/60-keyboard.hwdb line 147 it says KEYBOARD_KEY_ee=screenlock" with a " at the end. I guess that's a typo?
2013-09-10hwdb: map logitech R400 presenter keys from powerpoint hotkeys to sensible ↵Lennart Poettering
KEY_ definitions
2013-09-10hwdb: add GIGABYTE U2442 mute key to the force-release listZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=67651
2013-09-10keymap: add HP EliteBook 2570p's wlan switch to hwdbChristoph Junghans
https://bugs.freedesktop.org/show_bug.cgi?id=66178
2013-07-24Switch from external keymaps to internal (hwdb) keymapsIan Stakenvicius
This commit imports the new internal keyboard handling from upstream. This is a combination of many upstream commits, including those that added code, removed old code, and updated the hwdb. Some commits (hwdb ones specifically) were unrelated but brought in anyways to keep the whole hwdb consistent. Each upstream commit included is as follows: 9d7d42bc406a2ac04639674281ce3ff6beeda790 - internal keymap support 0c959b39175b126fdb70ae00de37ca6d9c8ca3a1 - hwdb: keyboard -- add file e8193554925a22b63bef0e77b8397b56d63a91ff - hwdb: keyboard -- update comments c79d894d590fc9df4861738555cc43c477e33376 - hwdb: import data aedc2eddd16e48d468e6ad0aea2caf00c7d37365 - hwdb: keyboard update 97a9313cafccf772ce03f5ebd36fe4d9d8412583 - hwdb: drop non-existant Samsung 900XC3 from keymap ddc77f62244bb41d5c8261517e2e1ff1b763fc94 - switch from udev keymaps to hwdb 0c3815773331b263713f4f7b9d80bc1ca159338e - also remove keymaps-force-release directory 1b6bce89b3383904d0dab619dd38bff673f7286e - keymap: re-add Logitech USB corded/cordless models bf89b99c5a39115112c2eda4c2103e2db54988d2 - 60-keyboard.hwdb: Fix syntax error ce39bb6909578017aa10031638e724e038f0b859 - hwdb: data update, upstream 884c86812c51479496edd50b278383d7bb67baf0 - rules: keyboard - use builtin command All code from each of the above commits is attributed to the original authors. There were some adjustments made in order to support the code differences between upstream and eudev, which was done by myself. Also of note is that the code can still be disabled via the --disable-keymaps configure option, which was removed from upstream. Signed-off-by: Ian Stakenvicius <axs@gentoo.org>