Commit Graph

736 Commits

Author SHA1 Message Date
Hans de Goede 0c4478b122 hwdb: Add key mappings for Logitech S510 keyboard and remote control
The S510 keyboard and S510 remote control both have 1 key where the markings
on the key dop not match with the generic Logitech 27MHz keymap.

This commit adds device specific overrides for this.
2019-05-12 12:30:22 +02:00
Hans de Goede 55f85b3f1a hwdb: Update generic Logitech 27 MHz keyboard key mappings
This commit makes 2 changes to the generic Logitech 27 MHz keyboard keymap:
1. It moves some codes from being keyboard specific to the generic 27MHz
   mapping table, these codes do not conflict on different models and at
   least the c1019 - c101b codes are not only used on the MX3000 keyboard,
   but also on the S510 Remote control
2. Add a bunch of new codes found on the S510 keyboard and S510 remote control
2019-05-12 12:30:22 +02:00
Yu Watanabe c2d6b5ac9d
Merge pull request #12487 from mschiu77/acer-series-hwdb
Acer series hwdb
2019-05-07 04:33:49 +02:00
pEJipE deff4b87aa hwdb: update the Chuwi HI13 pattern (#12469)
Correct the searching pattern for Chuwi Hi13. Follow-up for
c70b51a7b9.
2019-05-06 15:55:22 +02:00
mpe85 448cd0f3ee hwdb: add Medion Akoya E3222 MD62450 to 60-sensor.hwdb (#12485) 2019-05-06 15:18:26 +02:00
Chris Chiu 82b941cb5d hwdb: Align airplane mode toggle key mapping for all Acer series
Packard Bell and Gateway are different marketing names from Acer.
The same scan code E0 86 is fired for the airplane mode toggle key.
It was verified in commit d8d51328fe.

Signed-off-by: Chris Chiu <chiu@endlessm.com>
2019-05-06 14:27:37 +08:00
Chris Chiu 3429cc4f58 Revert "hwdb: Apply Acer mappings to all Gateway and Packard Bell models"
This reverts commit e09dba97b9.

It's reported that the same rules for Acer cause false match and
unexpected response from certain keys on an old PackardBell laptop.

Bug: https://github.com/systemd/systemd/issues/12178
2019-05-06 14:27:23 +08:00
Hans de Goede e38fd76e5f hwdb: Fix F12 mapping on the Logitech Internet Navigator
Many Logitech keyboards have the following special functions on F9-F12:
F9: file-browser F10: document-browser F11: image-browser F12:
music-browser. These should be bound to:

 #define KEY_FILE               144     /* AL Local Machine Browser */
 #define KEY_DOCUMENTS          235
 #define KEY_IMAGES           0x1ba     /* AL Image Browser */
 #define KEY_AUDIO            0x188     /* AL Audio Browser */

This commit fixes the wrong binding of F12 to KEY_SOUND (which
translates to XF86AudioPreset) and removes the ?? comments from
both F11 and F12.
2019-04-29 17:29:08 +02:00
Hans de Goede 29516b08cb hwdb: Add key mappings for Logitech MX5500 keyboard
Add support for various custom key-codes emitted by the Logitech MX5500
keyboard, both when attached through its Bluetooth-receiver in USB-HID
proxy mode; and when connected as a Bluetooth device.
2019-04-29 17:29:08 +02:00
Hans de Goede 6736357310 hwdb: Add key mappings for Logitech MX5000 keyboard
Add support for various custom key-codes emitted by the Logitech MX5000
keyboard, both when attached through its Bluetooth-receiver in USB-HID
proxy mode; and when connected as a Bluetooth device.
2019-04-29 17:29:08 +02:00
Hans de Goede 9e2e65678d hwdb: Add key mappings for Logitech 27 MHz S520 keyboard
The upcoming kernel enumerates Logitech 27 MHz wireless keyboards and
mice by there wireless-PID, rather then using the PID of the receiver
which is the same for all 27MHz Logitech devices.

This allows us to add per model keymappings for the special keys on these
keyboards. This commit adds such mappings for the S520 keyboard
(modelnumber Y-RBA97).
2019-04-29 17:29:08 +02:00
Hans de Goede c23bc35f9b hwdb: Add key mappings for Logitech 27 MHz EX100 keyboard
The upcoming kernel enumerates Logitech 27 MHz wireless keyboards and
mice by there wireless-PID, rather then using the PID of the receiver
which is the same for all 27MHz Logitech devices.

This allows us to add per model keymappings for the special keys on these
keyboards. This commit adds such mappings for the EX100 keyboard
(modelnumber Y-RBH94).
2019-04-29 17:29:08 +02:00
Hans de Goede 0eca286716 hwdb: Add key mappings for Logitech 27 MHz MX3200 keyboard
The upcoming kernel enumerates Logitech 27 MHz wireless keyboards and
mice by there wireless-PID, rather then using the PID of the receiver
which is the same for all 27MHz Logitech devices.

This allows us to add per model keymappings for the special keys on these
keyboards. This commit adds such mappings for the MX3200 keyboard
(modelnumber Y-RAV80).
2019-04-29 17:29:08 +02:00
Hans de Goede 3008f07e02 hwdb: Add key mappings for Logitech 27 MHz MX3000 keyboard
The upcoming kernel enumerates Logitech 27 MHz wireless keyboards and
mice by there wireless-PID, rather then using the PID of the receiver
which is the same for all 27MHz Logitech devices.

This allows us to add per model keymappings for the special keys on these
keyboards. This commit adds such mappings for the MX3000 keyboard
(modelnumber Y-RAM74).
2019-04-29 17:29:08 +02:00
Hans de Goede 465a319307 hwdb: Add key mappings for Logitech 27 MHz "Cordless Rechargeable Desktop" keyboard
The upcoming kernel enumerates Logitech 27 MHz wireless keyboards and
mice by there wireless-PID, rather then using the PID of the receiver
which is the same for all 27MHz Logitech devices.

This allows us to add per model keymappings for the special keys on these
keyboards. This commit adds such mappings for the "Logitech Rechargeable
Desktop" keyboard (modelnumber Y-RK49).
2019-04-29 17:29:08 +02:00
Hans de Goede bd9133c67e hwdb: Add key mappings for Logitech 27 MHz "Cordless Access Keyboard"
The upcoming kernel enumerates Logitech 27 MHz wireless keyboards and
mice by there wireless-PID, rather then using the PID of the receiver
which is the same for all 27MHz Logitech devices.

This allows us to add per model keymappings for the special keys on these
keyboards. This commit adds such mappings for the "Logitech Cordless
Access Keyboard" (modelnumber Y-RH35).
2019-04-29 17:29:08 +02:00
Hans de Goede e016c6d6ab hwdb: Add generic key mapping for Logitech 27 MHz keyboards
The upcoming kernel enumerates Logitech 27 MHz wireless keyboards and
mice by there wireless-PID, rather then using the PID of the receiver
which is the same for all 27MHz Logitech devices.

This will allow us to add per model keymappings for the special keys on
these keyboards, which may differ per model.

This commit adds a default / fallback mapping, assigning the most common
meaning of the custom Logitech c10XX keycodes.
2019-04-29 17:29:08 +02:00
Ben Boeckel 5238e95759 codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
Lennart Poettering 8b6cd93044
Merge pull request #12322 from ljmf00/hwdb-accel-location-patch
Add support for ACCEL_LOCATION udev property to deal with 2 sensors
2019-04-28 17:43:54 +02:00
Luís Ferreira ccf4784174 hwdb: add ACCEL_LOCATION property to parse_hwdb.py
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2019-04-27 22:12:08 +01:00
Luís Ferreira cdb6b552c2 hwdb: add ACCEL_LOCATION to the allowed properties
Signed-off-by: Luís Ferreira <contact@lsferreira.net>
2019-04-27 22:12:07 +01:00
Dave Ross 4275e9b7c3 hwdb: add axis range corrections for the Dell Latitude e7250
Based on touchpad-edge-detector and dimensions confirmed with the owner's manual (https://content.etilize.com/User-Manual/1037738079.pdf)
2019-04-25 10:56:43 +02:00
Lubomir Rintel 0533cf4371 hwdb: Fix the key codes of the OLPC XO button pad
These are not on a key pad. These codes are sent by the "rocker" buttons
that resemble a game pad.
2019-04-23 15:20:19 +02:00
Lubomir Rintel 1430e4b653 hwdb: Fix the OLPC XO rotate key
The comment is incorrect -- this key code is sent by the rotate button,
the brightness keys are separate.
2019-04-23 15:15:33 +02:00
Lubomir Rintel 740bdfea87 hwdb: No LEDs on the OLPC XO keyboard 2019-04-23 15:15:17 +02:00
Lubomir Rintel 9c2b72065d hwdb: Make the OLPC XO rules also match XO-1.75
Uses the same keyboard, attached to the "Security Processor" P1J core
that bit-bangs the PS/2 keyboard protocol.
2019-04-23 15:14:04 +02:00
David Art ec8181d1c5 hwdb: Add Medion Akoya E3216 MD60900 (#12323)
Fixes: #12312
2019-04-16 10:23:28 +02:00
Sebastian Krzyszkowiak 155bc908bc hwdb: mark Apple Magic Trackpads as external
Applies only to USB - when connected via Bluetooth it already gets marked correctly.
2019-04-11 18:27:01 +02:00
Paul Menzel 55a37d7117 Update UEFI URLs (#12260)
* Use more secure https://www.uefi.org

http://www.uefi.org directs to https://uefi.org/, so this saves one
redirect.

    $ curl -I http://www.uefi.org
    HTTP/1.1 302 Found
    Server: nginx
    Date: Tue, 09 Apr 2019 14:54:46 GMT
    Content-Type: text/html; charset=iso-8859-1
    Connection: keep-alive
    X-Content-Type-Options: nosniff
    Location: https://uefi.org/
    Cache-Control: max-age=1209600
    Expires: Tue, 23 Apr 2019 14:54:46 GMT

Run the command below to update all occurrences.

    git grep -l http://www.uefi.org | xargs sed -i 's,http://www.uefi.org,https://www.uefi.org,'

* Use https://uefi.org to save redirect

Save one redirect by using the target location.

    $ curl -I https://www.uefi.org
    HTTP/1.1 301 Moved Permanently
    Server: nginx
    Date: Tue, 09 Apr 2019 14:55:42 GMT
    Content-Type: text/html; charset=iso-8859-1
    Connection: keep-alive
    X-Content-Type-Options: nosniff
    Location: https://uefi.org/
    Cache-Control: max-age=1209600
    Expires: Tue, 23 Apr 2019 14:55:42 GMT

Run the command below to update all occurrences.

    git grep -l https://www.uefi.org | xargs sed -i 's,https://www.uefi.org,https://uefi.org,'
2019-04-09 18:37:46 +02:00
Lennart Poettering bf63365414 hwdb: update hwdb 2019-04-08 11:42:16 +02:00
Luís Ferreira df09b49af6 hwdb: Add accelerometer orientation quirk for the Teclast F6 Pro 2019-04-05 16:52:12 +09:00
Benjamin Berg c548fc0486 hwdb: Fix micmute on ASUS FX503VD
The micmute key needs to be remapped to F20 for userspace to consume it.

See https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/121
2019-04-01 19:14:49 +02:00
Zbigniew Jędrzejewski-Szmek 8461f3680b hwdb: update for v242
Appears to be usual slew of mundane corrections and additions.
2019-03-25 14:52:38 +01:00
Zbigniew Jędrzejewski-Szmek 2615de9d79 hwdb: make ids_parser.py compatible with pyparsing-2.3.0+
https://github.com/pyparsing/pyparsing/blob/master/CHANGES#L175
says something about fixing erroneously created levels in the hierarchy.
I don't have the faintest idea what this means, but with the change in
this patch we generate output that is unchanged from pre-2.3.0 versions.

Tested with python3-pyparsing-2.3.1-1.fc30.noarch and
python3-pyparsing-2.2.0-3.fc29.noarch.

Fixes #12021.
2019-03-21 20:10:57 +01:00
Zbigniew Jędrzejewski-Szmek 17b70256f2
Merge pull request #12028 from poettering/start-limit-hit
core: some start limit checking improvements + refactoring
2019-03-19 13:40:55 +01:00
Claudius Ellsel f674c16835 Change Razer Abyssus DPI in 70-mouse.hwdb (#12029)
As discussed in https://gitlab.freedesktop.org/libinput/libinput/issues/198#note_100642 the DPI for the Razer Abyssus mouse is not 3500 by default, but around 1600-1700 when measured with the mouse-dpi-tool.

So I have done some measurements now and always got a value of about 21000 device units on a distance of 12.5 inch. This would result in a calculated resolution of about 1680 DPI. Since such an odd number does not occur in the hwdb file I decided to round to 1600 DPI.
2019-03-19 10:30:22 +10:00
Lennart Poettering 0f6e58f637 hwdb: fix trailing newline issue 2019-03-18 16:06:36 +01:00
AndreyYashkin ef57c69b78 Update 60-sensor.hwdb for Acer Acer One 10 S1002
Tested on GNOME iio-sensor-proxy. With this config touchscreen auto-rotation works fine.
2019-03-18 10:39:31 +01:00
Van Laser 3ac35cbc2b Add accelerometer orientation quirk for the MYRIA MY8307 2-in-1. 2019-03-14 15:55:34 +01:00
Benjamin Berg db7270962f hwdb: Fix airplane mode triggering when resuming HP Spectre x360 13
On these devices the key randomly fires during/after suspend/resume
triggering spurious airplane mode changes. The scancode simply needs to
be ignored.
2019-03-14 09:32:07 +01:00
StKob 060d319870 Added support for touchpad hotkey for Lenovo Y50-70 (#11937) 2019-03-11 10:50:56 +01:00
Lubomir Rintel 988e400489 hwdb: label the trackpoint on IBM UltraNav keyboard as a pointing stick (#11934)
This is the TrackPoint on an older IBM-branded ThinkPad-y USB keyboard.
It needs ID_INPUT_POINTINGSTICK=1 for TrackPoint scrolling to work, and
also for the AttrTrackpointMultiplier quirk to apply in libinput
(otherwise the TrackPoint is too slooooow).
2019-03-11 09:00:03 +10:00
Kai-Heng Feng 4ab97a0597 hwdb: Add support for Alienware touchpad toggle
BugLink: https://bugs.launchpad.net/bugs/1605433
2019-03-07 10:02:52 +01:00
roadrunner2 0dcb426328 hwdb: add touchpad resolutions for 2015-2017 MacBook(Pro)'s. (#11874)
These are all models using an SPI keyboard and touchpad and using the
same applespi kernel driver.
2019-03-05 17:52:22 +10:00
Hans de Goede 7e85b073c7 hwdb: Add accelerometer orientation quirk for the Medion Akoya E2212T
Add accelerometer orientation quirk for the Medion Akoya E2212T 2-in-1.
2019-02-21 16:40:51 +01:00
Benjamin Dahlhoff d3b8e06dee hwdb: rotation for Trekstor Surf Tab Twin 11.6 aka VolksTablet (#11771) 2019-02-20 19:05:25 +01:00
Lennart Poettering a641bcb131 update hwdb 2019-02-14 11:03:06 +01:00
Lance 8e3c4454bf hwdb: Fix rotation for Nuvision Solo 10 Draw (#11686)
Model number TM101W610L

This fixes issue #11683

Also add proper label for other Nuvision tablet.
2019-02-12 15:21:45 +01:00
Stephan Gerhold aa4b6da71b hwdb: Add accelerometer mount matrix for ASUS MeMO Pad 7 (ME176C) 2019-02-11 18:01:00 +01:00
Jonathan McDowell 16a81874e0 hwdb: Add support for Gemini NC14 keyboard 2019-02-04 11:04:34 +01:00