Commit graph

144 commits

Author SHA1 Message Date
Marcel Holtmann 9624f0c154 hwdb: Update database of Bluetooth company identifiers 2014-12-04 16:07:49 +01:00
Peter Hutterer 0213a26f65 hwdb: add a new db for the DPI/frequency settings of mice
Pointer acceleration for relative input devices (mice, trackballs, etc.)
applies to the deltas of the device. Alas, those deltas have no physical
reference point - a delta of 10 may be caused by a large movement of a
low-dpi mouse or by a minute movement of a high-dpi mouse.
Which makes pointer acceleration a bit useless and high-dpi devices
essentially unusable.

In an ideal world, we could read the DPI from the device directly and work
with that. In the world we actually live in, we need to compile this list
manually. This patch introduces the database, with the usual match formats
and a single property to be set on a device: MOUSE_DPI

That is either a single value for most mice, or a list of values for mice
that can change resolution at runtime. The exact format is detailed in the
hwdb file.

Note that we're explicitly overshooting the requirements we have for
libinput atm. Frequency could be detected in software and we don't
actually use the list of multiple resolutions (because we can't detect
when they change anyway). However, we might as well collect those values
from the get-go, adding/modifying what will eventually amount to hundreds
of entries is a bit cumbersome.

Note: we rely on the input_id builtin to tag us as mouse first, ordering
of the rules is important.

(David: fixed up typos and moved hwdb file into ./hwdb/)
2014-11-27 12:30:08 +01:00
Peter Hutterer 24a4501d70 hwdb: fix a typo 2014-11-25 12:04:02 +01:00
Bastien Nocera b4c72e52d2 keymap: Fix special keys on ThinkPad X60/X61 Tablet
KEY_DIRECTION is mapped to XF86RotateWindows, to rotate the display:
http://cgit.freedesktop.org/xkeyboard-config/commit/symbols/inet?id=ec875f6f9b7c4028e11d32b071989c682e6502bd

And F13 is mapped to XF86Tools, which is closest to the original toolbox
usage:
http://cgit.freedesktop.org/xkeyboard-config/tree/symbols/inet?id=7a2c4bed212ebbcc05f3c959aef659ce7dd31fd8#n221
2014-11-13 09:02:12 +01:00
Bastien Nocera 71ed2d3871 keymap: Add support for IBM ThinkPad X41 Tablet
Scancode taken from:
http://www.thinkwiki.org/wiki/Tablet_Hardware_Buttons#Linux_Support

William Jon McCann provided the DMI match. IBM seems to have
swapped the version and model of the system:
        Manufacturer: IBM
        Product Name: 18666TU
        Version: ThinkPad X41 Tablet
2014-11-13 09:01:51 +01:00
Marcel Holtmann 5d20fde4a5 hwdb: Update database of Bluetooth company identifiers 2014-10-31 20:37:59 +01:00
Hans de Goede aba248ee6b keymap: Ignore brightness keys on Dell Inspiron 1520 to avoid double events
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
2014-10-30 11:20:34 +01:00
Hans de Goede fc1ae82cae hwdb: Add mapping for special keys on compaq ku 0133 keyboards
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>
2014-10-22 17:11:04 +02:00
Martin Pitt 4e3deeedc1 keymap: Fix touchpad toggle key on Asus laptops
https://launchpad.net/bugs/1377352
2014-10-07 11:22:31 +02:00
Martin Pitt a046659f85 keymap: Fix touchpad toggle on Toshiba Satellite P75-A7200
Just like everywhere else we use KEY_F21 instead of KEY_TOUCHPAD_TOGGLE for X
friendliness.
2014-10-07 11:20:04 +02:00
Marcel Holtmann 2e3390ea46 hwdb: Update database of Bluetooth company identifiers 2014-10-02 07:53:15 +02:00
Stefan Brüns 24119cf10c udev/hwdb: New Entry for Dell XPS12 9Q33 keyboard
https://bugs.freedesktop.org/show_bug.cgi?id=84437
2014-09-29 22:33:39 -04:00
Marcel Holtmann fea0bfaed5 hwdb: update 2014-09-09 07:44:02 +02:00
Marcel Holtmann de68938a2c hwdb: Update database of Bluetooth company identifiers 2014-09-08 05:06:18 +02:00
Martin Pitt e512e8a255 keymap: Adjust for more Samsung 900X4 series
Reportedly also applies to NP900X4B, so relax the match to apply to all models
of this series.

https://launchpad.net/bugs/902332
2014-08-27 08:41:10 +02:00
Lennart Poettering cccc74971f update hwdb 2014-08-20 00:38:39 +02:00
Zbigniew Jędrzejewski-Szmek fa9d4be3f1 hwdb: update format description and document reloading
https://bugs.freedesktop.org/show_bug.cgi?id=82311
2014-08-07 21:48:57 -04:00
Martin Pitt efb4bf4e41 keymap: Fix HP Pavillon DV7
Properly disable scan code 94 instead of producing KEY_0.

https://launchpad.net/bugs/1322770
2014-08-05 12:29:27 +02:00
Kay Sievers bd64a88fb0 hwdb: update 2014-07-31 23:07:44 +02:00
Martin Pitt d946bb53f9 keymap: Annotate all micmute workarounds
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.
2014-07-30 10:54:23 +02:00
Hui Wang 1f6d36f267 keymap: Add microphone mute keymap for Dell Latitude
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>
2014-07-30 10:49:18 +02:00
Kay Sievers 98be1a746a hwdb: update 2014-07-03 16:28:57 +02:00
Marcel Holtmann 063e36db8a hwdb: Update database of Bluetooth company identifiers 2014-07-03 16:13:48 +02:00
Marcel Holtmann 7cfa80f07e hwdb: Update database of Bluetooth company identifiers 2014-06-18 13:55:32 +02:00
Kay Sievers 4c02dd7153 hwdb: fix case-sensitive match 2014-06-04 17:55:14 +02:00
Zbigniew Jędrzejewski-Szmek 9e3dbf6b2b keyboard: add Plantronics .Audio mute button
https://bugs.freedesktop.org/show_bug.cgi?id=79495
2014-06-01 14:06:17 -04:00
Martin Pitt e55edb22a7 keymap: Asus EeePC touchpad toggle key
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
2014-05-25 12:16:35 +02:00
Martin Pitt d258d4967e keymap: Add Lenovo Enhanced USB Keyboard
https://bugs.freedesktop.org/show_bug.cgi?id=77234
2014-05-25 11:58:40 +02:00
Kay Sievers 7ba52a1283 hwdb: update 2014-05-21 18:19:24 +09:00
Marcel Holtmann 24e29480bd hwdb: Update database of Bluetooth company identifiers 2014-05-16 15:57:35 -07:00
Kay Sievers 61fb23db45 hwdb: update 2014-05-05 14:23:10 +02:00
Kay Sievers d060b62fcb hwdb: PCI - include "primary" model string in subsystem model string
The data in the PCI ids file is randomly inconsistent. Many
subvendor model strings just describe the "product" where the
hardware is built into, not the hardware itself. This causes
some "Network Card Model Foo" to show up as "Laptop Model Bar".

Try to make the best out of this mess and concatenate both
strings to describe the hardware.
2014-04-14 08:21:52 -07:00
Kay Sievers dbe633cc02 hwdb: update 2014-04-14 08:21:51 -07:00
Marcel Holtmann b189101727 hwdb: Update database of Bluetooth company identifiers 2014-04-12 10:38:16 -07:00
Scott Thrasher 15f392394e Add hwdb entry for Samsung Series 7 Ultra 2014-03-26 23:15:12 -04:00
Marcel Holtmann f89b42ec0f hwdb: Update database of Bluetooth company identifiers 2014-03-25 20:21:23 -07:00
Kay Sievers 6080625dc8 hwdb: update 2014-03-18 16:20:39 +01:00
Marcel Holtmann f401e2b24b hwdb: Update database of Bluetooth company identifiers 2014-03-11 09:33:41 -07:00
Marcel Holtmann e525326bd0 hwdb: Update database of Bluetooth company identifiers 2014-03-02 10:02:10 -08:00
Kieran Clancy 77e8ff6974 hwdb: keymaps for Samsung 900X3E/900X3F
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
2014-02-27 00:48:26 -05:00
Tomasz Torcz b3e4387351 fix typo in iDRAC network interface name: irdac->idrac 2014-02-25 14:05:20 +01:00
Marcel Holtmann 4b28cdeb23 hwdb: Update database of Bluetooth company identifiers 2014-02-21 21:41:01 -08:00
Jason St. John 90e633a790 replace tabs with spaces in some files
Files:
* hwdb/60-keyboard.hwdb
* shell-completion/zsh/_systemd-coredumpctl
* src/test/test-helper.h
2014-02-21 03:50:12 +01:00
Tom Gundersen e51660ae56 udev: net-config - allow interface names to be set from the hwdb 2014-02-19 23:29:51 +01:00
Martin Pitt c9cf047362 keymap: Add Toshiba EQUIUM
Thanks Aleksander Kowalski <aleksander.kowalski.1@gmail.com>!
2014-01-29 16:14:14 +01:00
Martin Pitt 7b36bf82c4 keymap: Add Sony Vaio VGN-FW250
https://launchpad.net/bugs/1271163
2014-01-28 18:14:18 +01:00
Martin Pitt 1e091c1285 keymap: Add release quirk for Acer AOA switchvideomode key
https://launchpad.net/bugs/1272658
2014-01-28 18:10:12 +01:00
Martin Pitt 82cd413782 keymap: Add HP Chromebook 14 (Falco)
Thanks to Stefan Nagy <public@stefan-nagy.at>.
2014-01-27 09:05:35 +01:00
Marcel Holtmann 43d9c2b584 hwdb: Update database of Bluetooth company identifiers 2014-01-20 17:53:16 -08:00
Unai Uribarri 2a61aaac66 hwdb: Add support for Toshiba Satellite P75-A7200 keyboard 2014-01-11 09:21:22 -05:00