summaryrefslogtreecommitdiff
path: root/hwdb.d/60-keyboard.hwdb
Commit message (Collapse)AuthorAgeFilesLines
* hwdb: 60-keyboard::remove hardcoded definition for KEYBOARD_KEY_56 for MSI ↵Aakash Singh2021-07-211-1/+0
| | | | | | Prestige And Modern (cherry picked from commit 30c9faff0d74ceb0cbafb8ecdd8573bc479984dc)
* hwdb: Add mic mute key mapping for HP Elite DragonflyJeremy Szu2021-06-171-0/+2
| | | | | | * HP confirmed there are two marketing name * HP Elite Dragonfly G2 Notebook PC * HP Elite Dragonfly Max Notebook PC
* hwdb: Add ProBook to use micmute hotkeyKai-Heng Feng2021-06-041-3/+3
| | | | | Like HP EliteBooks and ZBooks, all ProBooks use the same micmute scancode.
* hwdb: keyboard: Ignore duplicate atkbd keypresses on touchpad on/off toggleHans de Goede2021-05-221-0/+4
| | | | | | | | | | | | | | | | | | The atkbd device on the Lenovo Yoga 300-11IBR 2-in-1 sends unknown keycodes when the touchpad is toggled on/off: [ 1918.995562] atkbd serio0: Unknown key pressed (translated set 2, code 0x63 on isa0060/serio0). [ 1918.995610] atkbd serio0: Use 'setkeycodes 63 <keycode>' to make it known. [ 1919.032121] atkbd serio0: Unknown key released (translated set 2, code 0x63 on isa0060/serio0). [ 1919.032135] atkbd serio0: Use 'setkeycodes 63 <keycode>' to make it known. [ 1926.098414] atkbd serio0: Unknown key pressed (translated set 2, code 0x62 on isa0060/serio0). [ 1926.098461] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known. [ 1926.146537] atkbd serio0: Unknown key released (translated set 2, code 0x62 on isa0060/serio0). [ 1926.146583] atkbd serio0: Use 'setkeycodes 62 <keycode>' to make it known. The "Ideapad extra buttons" driver alreadys sends f22 / f23 key-events when the touchpad is toggles off, so map the keycodes for the duplicate atkbd events to unknown to silence these kernel warnings.
* hwdb: keyboard: D330 Touchpad toggle keymaphowl2021-05-111-0/+4
| | | | | I have also seen that VIOS LTH17 has the exact same correction and it's also a SIPODEV composite hid device also through usb. In the D330 is a detachable keyboard. It's possible that a very generic way to apply this to at least affected sipodev keyboard could be found using the device ids, but needs info to do that and ensure all sipodev keyboard with the pertinent ids need it. Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
* hwdb: 60-keyboard:: Update Dell Privacy Local Mic Mute Hotkey (#19261)Perry.Yuan2021-04-281-1/+1
| | | | | This patch fix scancode 0x120001 mapping to key code F20 micmute The previous scancode is not correct, it will cause the micmute hotkey no function when testing the mic mute
* hwdb: merge MSI Prestige And MSI Modern FnKeys and Special keys definitionsAakash Singh2021-04-161-17/+12
| | | | | | | | | | | | | | | | | | | | | | | | | 'A10' was the model name for prestige series with 10th gen intel processors and 'SC' was the gpu config for a specific model but now msi has refreshed these series with 11th gen intel processors so the model name becomes 'A11X' where x is gpu config name more info [here](https://www.msi.com/Business-Productivity/Prestige-14-A11X/Specification) and [here](https://www.msi.com/Business-Productivity/Prestige-15-A11X/Specification) [this was the link for model comparison of 10th gen cpus](https://www.msi.com/Business-Productivity/Prestige-15-A10X/Specification) (Dead link now) complete list of Prestige series laptops [here](https://www.msi.com/Business-Productivity/Products#?tag=Prestige-Series) And modern series follows the same naming convention, full list of laptops [here](https://www.msi.com/Business-Productivity/Products#?tag=Modern-Series). examples Prestige series Prestige 14 A10x ( 14inch Intel 10th gen ) Prestige 15 A11x ( 15inch Intel 11th gen ) First gen Modern Series Modern 15 A10x ( 15inch Intel 10th gen) Modern 15 A4x ( 15inch AMD 4000 series) Second gen Modern Series Modern 15 B10x ( 15inch Intel first gen modern laptop) Modern 14 B4x ( 14inch AMD second gen modern laptop) all these laptops have the same keyboard layouts with same functionality on windows (can be reviewed from their support manuals).
* hwdb: merge Micro Star in MSIAakash Singh2021-04-161-6/+1
|
* hwdb: 60-keyboard:: Update MSI Modern backslash and hotkeysAakash Singh2021-04-091-1/+6
| | | | fix typos
* hwdb: 60-keyboard:: Add HP ProBook 455 G5 hotkey quirksJames Buren2021-04-061-0/+5
| | | | | This enables all of the known hotkeys that were not working out of the box on my test unit.
* hwdb: 60-keyboard:: Add HP mt44 Mobile Thin Client hotkey quirksJames Buren2021-04-061-0/+10
| | | | | This enables all of the known hotkeys that were not working out of the box on my test unit.
* hwdb: 60-keyboard:: Update Dell Privacy Micmute Hotkey MapPerry Yuan2021-03-081-1/+1
| | | | | | | | | | | | | Dell new Privacy feature provide new hardware level privacy protect for users This patch remaps scancode 0x120001 to key code F20 micmute The old matching string cannot cover some other Dell products which have the privacy feature,expand the string to all the system that can load the privacy driver,privacy driver already detect the system if it can support this feature. So here we can safely just map the micmute key to scancode 0x120001 Signed-off-by: Perry Yuan <perry_yuan@dell.com>
* hwdb: whitespace fixesLennart Poettering2021-02-191-5/+5
|
* https://github.com/systemd/systemd/issues/15360chri22021-02-181-11/+23
| | | | | | The additional rules fix a firmware bug in the en keyboard of Librem notebooks by Purism. By doing so the break the keyboard with other layouts which do not have the same bug in their firmware.
* hwdb: fix indentationLennart Poettering2021-02-171-7/+7
| | | | a bunch of entries use 2ch instead of 1ch indentation. Fix that.
* Fix micmute hotkey on HP EliteBook Folio G1RussianNeuroMancer2021-02-151-1/+1
| | | Desktop environments expect f20 hotkey instead of micmute
* hwdb: Add evdev for Huawei EUL-XW9Simonas Kazlauskas2021-01-311-1/+3
| | | | | | The device is very similar to MACH-WX9 in many ways, including this particular one. Adding these rules gets rid of evdev warnings as buttons are being pressed on this device.
* hwdb.d/60-keyboard.hwdb: Fixes for Samsung 900X laptopsJohn Slade2021-01-241-1/+1
| | | | | | | | It is only the Samsung 900X3A which has the alternative function keys. The 900X3B, 900X4B have the standard Series 9 layout - as defined above. Note: the 900X4A is not a valid laptop model.
* hwdb: Add HP ENVY x360 13 microphone mute keyAriel Fermani2021-01-091-1/+3
| | | | | | | It has the same code as the Spectre x360 13, but is located at F8 button instead of F12. Tested on a 13-ay0xxx model.
* Update 60-keyboard.hwdbdropsignal2020-12-131-0/+14
| | | added support for samsung series 3 np355v4c laptop keyboard
* hwdb: add funcional keys for MSI Modern series (tested on Modern 14) (#17880)l4gfcm2020-12-081-0/+10
|
* hwdb: 60-keyboard: Add Dell Inspiron 11 3168 Fn+Home/End/PageUp/PageDown key ↵Konomi2020-11-271-0/+7
| | | | | mappings On the Dell Inspiron 11 3168 the Fn and Arrow Keys control the Home, End, Page Up and Page Down keys. This commit allows those keys to work correctly.
* hwdb/60-keyboard: untabify and move comments to the same columnZbigniew Jędrzejewski-Szmek2020-11-181-135/+135
| | | | Follow-up for b0a3a3ff5d80d1605926fbba1d25a0f2448e383c.
* hwdb: 60-keyboard: Update Logitech MX5000 key mappingsHans de Goede2020-11-141-0/+2
| | | | | | | | | | | | | | | 2 updates to the Logitech MX5000 key mappings: 1. Fix Logitech MX5000 Media key mapping: The MX5000 has a key clearly marked "media" (in text) and when they gets pressed the keyboards LCD briefly shows "MEDIA" in a big font. Yet the keyboard sends a HID usage code which according to the HUTT is config/control-panel. Map this to media so that the key behaves as labeled. 2. Add mapping for the scan-code send by the Fn on/off toggle key
* hwdb: 60-keyboard: Add Logitech Dinovo Edge special key key-mappingsHans de Goede2020-11-141-0/+10
| | | | | | The Logitech Dinovo Edge has 5 special hotkeys, one with a phone symbol and the 4 usual Logitech A-D smartkeys. These send custom Logitech 0xc10xx keycodes, add mappings for these.
* hwdb: 60-keyboard: Add Fn key mapping for Logitech wireless keyboardsHans de Goede2020-11-141-2/+4
| | | | | | | | Some Logitech wireless keyboards report when there Fn key is pressed, add a mapping for this. While it also fix identiation of 2 adjescent key-maps to use tabs like the other Logitech entries
* hwdb: 60-keyboard:: add Dell Privacy Micmute Hotkeyperry_yuan2020-11-121-0/+4
| | | | | | | Dell new Privacy feature provide new hardware level privacy protect for users,it needs to map the scan code to F20 micmute Signed-off-by: Perry Yuan <perry_yuan@dell.com>
* hwdb: Add support for HP ZBook Studio G5 keyboard (#17525)fwSmit2020-11-071-0/+7
| | | | | | | | | | | | | | | | | | | | | | | I tested this on my ZBook Studio G5. I'm not sure if this works for other ZBook studio machines. I have two more notes on this PR: - some keys send multiple scancodes. I matched only on one of them, because I couldn't figure out how to match on all of them. This results in the others still being visible: Event: time 1604520228.146226, -------------- SYN_REPORT ------------ Event: time 1604520228.151533, type 4 (EV_MSC), code 4 (MSC_SCAN), value db Event: time 1604520228.151533, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 1 Event: time 1604520228.151533, -------------- SYN_REPORT ------------ Event: time 1604520228.259862, type 4 (EV_MSC), code 4 (MSC_SCAN), value 38 Event: time 1604520228.259862, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value 0 Event: time 1604520228.259862, -------------- SYN_REPORT ------------ Event: time 1604520228.259944, type 4 (EV_MSC), code 4 (MSC_SCAN), value 66 Event: time 1604520228.259944, type 1 (EV_KEY), code 218 (KEY_CONNECT), value 0 Event: time 1604520228.259944, -------------- SYN_REPORT ------------ Event: time 1604520228.266513, type 4 (EV_MSC), code 4 (MSC_SCAN), value db Event: time 1604520228.266513, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), value 0 Event: time 1604520228.266513, -------------- SYN_REPORT ------------ I wanted to set the display key to switchvideomode, but another key is already set to that, so I set it to displaytoggle instead.
* hwdb: Fix Pinebook Pro's brightness up/down and sleep keysJian-Hong Pan2020-11-061-0/+10
| | | | | | | | | | | | | Pinebook Pro's display brightness up & down keys do not work until the keys are mapped to the corresponding codes. Also, the sleep key is mapped to KEY_POWER code originally. This quirk maps the sleep key to the KEY_SLEEP code. This idea comes from the pinebookpro-post-install package [1] of Manjaro ARM, which is the preloaded OS on Pinebook Pro. [1]: https://gitlab.manjaro.org/manjaro-arm/packages/community/pinebookpro-post-install/-/commit/7ab1a134ea9d5b55d99de567d1ebee4ebd6f6640
* Partially revert "hwdb: reindent commments and say that "*" should always be ↵Zbigniew Jędrzejewski-Szmek2020-11-031-2/+0
| | | | | | | | | trailing" This partially reverts commit 62ad1c6495c098a09b36bb20bb37a9b8a11df76f. I kept the reindents and other cosmetic changes, but removed the statements about trailing ":*".
* Partially revert "hwdb: add trailing ":*" everywhere"Zbigniew Jędrzejewski-Szmek2020-11-031-40/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c0443b97b71d5f70a0622061f589307bec5502c6. I got various cases wrong: "usb:v04F3p2B7Cd5912dc00dsc00dp00ic03isc00ip00in00" "usb:v0627p0001:QEMU USB Tablet" "input:b0003v0627p0001e0001-e0,1,2,4,k110,111,112,r0,1,8,B,am4,lsfw" OTOH: -evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV:* +evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV* is OK. Other parts follow after 'pn'. -mouse:*:name:*Trackball*:* -mouse:*:name:*trackball*:* -mouse:*:name:*TrackBall*:* +mouse:*:name:*Trackball*: +mouse:*:name:*trackball*: +mouse:*:name:*TrackBall*: ... and anything else with :name should be OK too, because our imports always include ":" at the end: IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'" Including '*' at the end makes the pattern work even if we decide to add something to the match string later. Fixes #17499.
* hwdb: drop quotes from XKB_FIXED_*= propertiesZbigniew Jędrzejewski-Szmek2020-10-201-6/+6
| | | | | | | | | | | | | | | | | | | | | The properties are not unquoted by udev, so the quotes effectively became part of the value. Even though those properties were added quite a while ago (086c001e29a86287d7b639cb71d1fc6408920c53, d7d31692bf7cde5dce7f4ed3cae429a5b302a9f0), they never started being used (because of issues with having multiple layouts), see https://gitlab.gnome.org/GNOME/mutter/-/issues/906, https://bugzilla.gnome.org/show_bug.cgi?id=775681. Let's remove the quotes while we still can. From https://bugzilla.gnome.org/show_bug.cgi?id=775681#c7: > Note to self: the values for XKB_FIXED_LAYOUT and XKB_FIXED_VARIANT are > quoted, meaning that we need to remove the quotes before passing the values > from udev_device_get_property_value() to xkb_keymap_new_from_names() > otherwise the compilation of the keymap fails (please don't ask how I found > out...)
* hwdb: add trailing ":*" everywhereZbigniew Jędrzejewski-Szmek2020-10-151-241/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No functional change is intended. The general pattern of changes: -usb:v04F3p2B7C* +usb:v04F3p2B7C:* This is mostly a clarification, to make the part that makes the usb vXXXXpYYYY part visually separated. It would only make a difference if we added further keys with a different number of digits, which is unlikely. -usb:v0627p0001:*QEMU USB Keyboard* -usb:v0627p0001:*QEMU USB Mouse* -usb:v0627p0001:*QEMU USB Tablet* +usb:v0627p0001:*QEMU USB Keyboard*:* +usb:v0627p0001:*QEMU USB Mouse*:* +usb:v0627p0001:*QEMU USB Tablet*:* Again, only a clarification. We know that ":" will appear somewhere later in the match key, so anything that matches "…Keyboard*" will also match "…Keyboard*:*". -evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV* +evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV:* This makes the match narrower. Previously we would match product "N53SV" and "N53SV2", "N53SV3", and others. Here we are saying that the ':pn' part must match exactly. Most of the changes in this patch match this pattern. I made a few judgement calls and used "pn…*:*" when I wasn't sure if the full pn is included: -evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision* +evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:* -evdev:name:Cypress APA Trackpad ?cyapa?:dmi:*:svnHewlett-Packard*:pnFalco*: +evdev:name:Cypress APA Trackpad ?cyapa?:dmi:*:svnHewlett-Packard*:pnFalco*:* This more like the "QEMU" example above, since all dmi strings end in ":", so anything which matches the old version will also match the new version. -evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:pvr* +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:* I replaced trailing ":pvr*" by ":*". This makes no functional difference because we expect "pvr" to always appear in the dmi string. This makes patterns shorter. -evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn* +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*:* OTOH, ":pn*" is kept. This is because almost patterns include ":pn*", and if we skip it, we should make it clear that this is on purpose, that we really want to match any product name. The python script to generate autosuspend rules is updated to use ":*" too. Inspired by https://github.com/systemd/systemd/pull/17281#discussion_r501489750.
* hwdb: add missinging ":*" suffixZbigniew Jędrzejewski-Szmek2020-10-151-5/+5
| | | | | | | | | | I'm keeping this part separate because a function change is intended here. Those patterns didn't match: $ systemd-hwdb query 'evdev:atkbd:dmi:bvn_:bvr_:bd_:svnLENOVO:pn_:pvrThinkPadT430s' KEYBOARD_LED_CAPSLOCK=0 $ systemd-hwdb query 'evdev:atkbd:dmi:bvn_:bvr_:bd_:svnLENOVO:pn_:pvrThinkPadT430s:' (nil)
* hwdb: reindent commments and say that "*" should always be trailingZbigniew Jędrzejewski-Szmek2020-10-151-5/+6
|
* Calendar and micmute hotkeys on HP EliteBook Folio G1RussianNeuroMancer2020-09-301-1/+6
| | | | This commit add calendar and micmute hotkeys for HP EliteBook Folio G1, and also correct name of other laptop from HP EliteBook Folio series - HP EliteBook Folio 1040 G2
* Prevent triple reporting of rfkill button on HP Elite x2 1013 G3, plus five ↵RussianNeuroMancer2020-09-281-0/+12
| | | | | | other hotkeys 1. rfkill hotkey is reported from three source: keyboard, Intel HID and HP Wireless hotkeys. Let's block first two. 2. Correct mapping for calendar, micmute, display and brightness hotkeys.
* hwdb: Add Adesso AKB-805MAC keyboard, mfd by OrtekGlen Whitney2020-09-031-0/+34
|
* hwdb: Add EliteBook to use micmute hotkeyKai-Heng Feng2020-07-301-5/+3
| | | | Like HP ZBooks, all EliteBooks use the same micmute scancode.
* Added MSI Prestige15 A10SC specific keycodesFilippo Falezza2020-07-101-0/+5
| | | This commit enables the microphone mute button and the screen rotate button, even if the latter is improperly linked. I have documented how to achieve this in https://wiki.archlinux.org/index.php/MSI_P15#Fn_Keys .
* Add support for HP Elitebook x360 1040 G6 micmute buttonSurhud More2020-07-101-0/+2
|
* hwdb: Pavilion 13 x360: Tablet mode and SYSRQ keyMaxVerevkin2020-07-041-2/+7
|
* hwdb: Mask rfkill event from intel-hid on HP platformsKai-Heng Feng2020-06-161-0/+3
| | | | | | HP spec mandates the hp-wireless driver as canonical source of rfkill event, so mask the rfkill event from intel-hid to avoid double rfkill events fired from a single hotkey press.
* hwdb: add HP Spectre x360's mic mute switchNiccolò Maggioni2020-06-081-0/+4
| | | | Tested on HP Spectre x360 Convertible 13-aw0xxx
* tree-wide: remove spurious whitespaceLennart Poettering2020-05-281-1/+1
|
* hwdb: fix microphone shortcut on HP EliteBook 840 G1Frantisek Sumsal2020-05-151-0/+2
| | | | Fixes: #15774
* hwdb: Fix brightness keys for Logitech K811Diego Escalante Urrelo2020-05-051-0/+5
| | | | Closes: #15698
* hwdb: Fix kbd brightness keys on Acer Predator PH 315-52Jian-Hong Pan2020-04-091-0/+5
| | | | | Acer defines Fn+F9/10 as keyboard brightness down/up on Predator PH 315-52 laptop. So, add the quirk to correct key mappings.
* Fix keys on Medion Akoya P6669Finn2020-03-191-0/+1
|
* Fix volume control keys on Lenovo Yoga S940Alexander Malafeev2020-03-171-0/+9
| | | | With the default config repeated press of fn+VolumeUp or fn+VolumeDown lead to repeated presses even after release, which leads to volume going to 100% or 0%.