1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00
Commit Graph

417 Commits

Author SHA1 Message Date
Benjamin Tissoires
696f1dbfe1 hwdb: add Chromebook pixel (2015) resolution fix
The atmel driver sets a default resolution of 20 for each touchpads it
creates. On this model, 10 is more appropriate.

The resolution is not set for the touchscreen by the kernel, so match
the name to both touchpad and touchscreen.
2015-04-21 11:29:30 +10:00
Benjamin Tissoires
a58223dc37 hwdb: add evdev entry for the Lenovo X230 series touchpad
The Lenovo X230 advertize a vertical resolution of 136, which gives a true
size of 31 mm. The actual physical size of the touchpad is 40 mm, so
override the resolution to 100.
2015-04-21 11:29:01 +10:00
Hans de Goede
1f845120ec hwdb: Add entries for the pointingstick on 2 Dell Latitudes
The pointingstick of the Dell Latitude E6400 is somewhat slow by default,
whereas the pointingstick of the Dell Latitude D620 is much too fast by
default, set POINTINGSTICK_CONST_ACCEL for both of them to adjust for this.
2015-04-21 11:14:57 +10:00
Hans de Goede
70a5703bd4 hwdb: Add entries for the trackpoint on 2 Thinkpads
Lenovo has changed the sensitivity of the trackpoint on the x240 / T440s / T540
generation of Thinkpads, making them somewhat insensitive by default, add a
hwdb entry to tweak the sensitivity setting.

The ThinkPad X200s is way way too slow by default and unless you push the
trackpoint quite hard only sends delta events in the 1-2 range, tweak the
sensitivity to make it send a wider range of deltas and apply a const accel
factor to make it have a more reasonable speed by default.
2015-04-21 11:14:57 +10:00
Hans de Goede
5defbb5ff6 udev: keyboard-builtin: Add support for setting IBM trackpoint sensitivity
IBM / Lenovo trackpoints allow specifying a sensitivity setting through a
ps/2 command, which changes the range of the deltas sent when using the
trackpoint.

On some models with normal usage only deltas of 1 or 2 are send, resulting in
there only being 2 mouse cursor movement speeds, rather than the expected fluid
scale. Changing the sensitivity to a higher level than the bootup default fixes
this.

This commit adds support for setting a POINTINGSTICK_SENSITIVITY value
in hwdb to allow changing the sensitivity on boot through udev / hwdb.
2015-04-21 11:14:57 +10:00
Hans de Goede
f29378b443 udev: Add hwdb file for setting pointingstick properties
There is quite a wide spread in the delta events generated by pointingsticks,
some generate deltas of 1-2 under normal use, while others generate deltas
from 1-20.

This commit adds a hwdb file which allows specifying a per model
POINTINGSTICK_CONST_ACCEL value which can be used by the userspace input stack
to normalize the deltas so that all pointingsticks get the same feeling ootb.

The hwdb matching re-uses the existing 60-evdev.rules.
2015-04-21 11:14:57 +10:00
Martin Pitt
0e336347de hwdb: Fix wireless switch on Dell Latitude
It does not generate a release event.

https://launchpad.net/bugs/1441849
2015-04-13 06:34:14 -05:00
Gavin Li
af97ebf2dd hwdb: add Samsung ATIV Book 6 / 8
This adds support for the keyboard illumination keys and fixes
Fn+F1.
2015-04-11 12:54:08 +02:00
Peter Hutterer
3ebc2dc498 hwdb: set the resolution for a couple of bcm5974 touchpads
Verified for the 5,1 Macbook, the others are guesses based on the list of
supported devices of the moshi trackpad protector.
http://www.moshi.com/trackpad-protector-trackguard-macbook-pro#silver

Resolution calculated based on the min/max settings set in the kernel driver,
divided by the physical size. This is probably slightly off, but still better
than no resolution at all.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-04-11 08:44:33 +10:00
Peter Hutterer
51c0c28698 udev: builtin-keyboard: add support for EVDEV_ABS_*
Parse properties in the form
EVDEV_ABS_00="<min>:<max>:<res>:<fuzz>:<flat>"

and apply them to the kernel device. Future processes that open that device
will see the updated EV_ABS range.

This is particularly useful for touchpads that don't provide a resolution in
the kernel driver but can be fixed up through hwdb entries (e.g. bcm5974).

All values in the property are optional, e.g. a string of "::45" is valid to
set the resolution to 45.

The order intentionally orders resolution before fuzz and flat despite it
being the last element in the absinfo struct. The use-case for setting
fuzz/flat is almost non-existent, resolution is probably the most common case
we'll need.

To avoid multiple hwdb invocations for the same device, replace the
hwdb "keyboard:" prefix with "evdev:" and drop the separate 60-keyboard.rules
file. The new 60-evdev.rules is called for all event nodes
anyway, we don't need a separate rules file and second callout to the hwdb
builtin.
2015-04-11 08:44:33 +10:00
Blaž Tomažič
729bc933be hwdb: mouse DPI data, Roccat Lua (ROC-11-310)
https://bugs.freedesktop.org/show_bug.cgi?id=89743
2015-04-09 16:55:27 +10:00
Marcel Holtmann
c185834d77 hwdb: Update database of Bluetooth company identifiers 2015-03-31 22:59:12 +02:00
Zbigniew Jędrzejewski-Szmek
5ad6091884 hwdb: add HP ProBook 450G0
https://bugs.freedesktop.org/show_bug.cgi?id=89684
2015-03-19 19:54:39 -04:00
Kay Sievers
9a3d3aace3 rules: keyboard - prefix "atkbd" match strings like we prefix the "name" strings 2015-03-16 18:43:14 +01:00
David Herrmann
b17de8449c Revert "hwdb: merge atkbd into platform matches"
This reverts commit ba76ee29bc. As it turns
out, we need to match on driver=atkbd to not load the fixups on any
plugged USB devices.

That is, whenever you use "name:<name>:dmi:<dmi>" style matches, you
better provide a name or you're screwing things up.
2015-03-16 15:52:48 +01:00
Kay Sievers
84a122a008 rules: keyboard - remove "platform" from comments 2015-03-16 13:46:48 +01:00
David Herrmann
ba76ee29bc hwdb: merge atkbd into platform matches
Currently, we always run
  hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'
as last step to match keyboards. Therefore, if nothing else matched so
far, we still try the device-name+dmi combination.

However, we have a special atkbd rule which is only run for atkbd as:
  hwdb 'keyboard:$attr{[dmi/id]modalias}'

This is redundant, as we already pass the same information to hwdb in the
last fallback step.

This patch converts the hwdb "keyboard:dmi:*" matches to
"keyboard:name:*:dmi:*" matches and drops the redundant rule.
2015-03-16 12:19:09 +01:00
David Herrmann
b26e4ced91 hwdb: convert to generic input-modalias matches
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.
2015-03-16 12:00:46 +01:00
Kay Sievers
b83cbcb7d9 hwdb: update 2015-03-12 18:34:23 +01:00
Peter Hutterer
9638ee9086 hwdb: add Lenovo W451 to TOUCHPAD_HAS_TRACKPOINT_BUTTONS list 2015-03-06 11:02:32 +10:00
Jonathon Gilbert
6437edbebe hwdb: add Logitech G5 Laser Mouse 2015-03-05 20:35:21 +10:00
Zbigniew Jędrzejewski-Szmek
4f70555d76 hwdb: fix Dell XPS12 9Q33 key name
https://bugs.freedesktop.org/show_bug.cgi?id=84437
2015-03-04 20:33:41 -05:00
Peter Hutterer
c26c1d86b3 hwdb: add pnpid for the T450s touchpad
https://bugs.freedesktop.org/show_bug.cgi?id=89411
2015-03-04 13:25:21 +10:00
Arend van Spriel
0c591b6c92 hwdb: add sdio identifiers for Broadcom WLAN cards
This patch adds the sdio identifiers known to be supported by
the brcmfmac open-source driver.
2015-02-27 01:22:38 +01:00
Marcel Holtmann
3cabeab119 hwdb: Update database of Bluetooth company identifiers 2015-02-25 07:27:49 +01:00
Lubomir Rintel
39addb81b6 hwdb: fix ThinkPad X* Tablet special keys
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
2015-02-19 08:20:38 +01:00
Marcel Holtmann
488c8d08c3 hwdb: Update database of Bluetooth company identifiers 2015-02-16 19:10:39 +01:00
Lennart Poettering
407d02621e hwdb: update 2015-02-16 17:28:35 +01:00
Lennart Poettering
edbda61f25 hwdb: fix syntax 2015-02-16 17:14:20 +01:00
Lukas Märdian
9fba65f1eb hwdb: Microsoft Microsoft 3-Button Mouse
https://bugs.freedesktop.org/show_bug.cgi?id=89149
2015-02-14 14:37:59 -05:00
Lennart Poettering
6813a2fe4e hwdb: update name databases 2015-02-13 14:09:17 +01:00
Hui Wang
4b9bb683ee keymap: Add microphone mute keymap for several HP laptops
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>
2015-02-10 09:59:12 +01:00
Bastien Nocera
5d7afd82a1 hwdb: Bind "toolbox" buttons to the Windows key
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
2015-02-04 20:01:09 -05:00
Marcel Holtmann
3cc711193d hwdb: Update database of Bluetooth company identifiers 2015-02-02 09:18:28 +01:00
Peter Hutterer
001a247324 hwdb: add a touchpad hwdb
Currently used to tag devices in the new Lenovo *50 series and the X1 Carbon
3rd. These laptops re-introduced the physical trackpoint buttons that were
missing from the *40 series but those buttons are now wired up to the
touchpad.

The touchpad now sends BTN_0, BTN_1 and BTN_2 for the trackpoint. The same
button codes were used in older touchpads that had dedicated scroll up/down
buttons. Input drivers need to work around this and thus know what they're
dealing with.

For the previous gen we introduced INPUT_PROP_TOPBUTTONPAD in the kernel, but
the resulting mess showed that these per-device quirks should really live in
userspace.

The list currently includes the X1 Carbon 3rd PNPID, others will be added as
get to know which PNPID they have.
2015-01-29 13:06:04 +10:00
Maxim Mikityanskiy
288026bda9 hwdb: restore comments about MSI devices
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
2015-01-17 11:27:33 -05:00
Peter Hutterer
b333117c78 hwbd: add click angle for the Logitech M325
This device has 18 stops per rotation == 20 degree angle. Advertised as
"Micro-precise scrolling"
2015-01-16 11:27:36 +10:00
Peter Hutterer
011c703495 hwdb: add MOUSE_WHEEL_CLICK_ANGLE as property
Most mice have a wheel click angle of 15 degrees, i.e. 24 clicks per full
wheel rotation. Some mice, like the Logitech M325 have a larger angle. To
allow userspace to make use of that knowledge, add a property to the hwdb.

This allows for better predictive scrolling. e.g. a mouse that has a smaller
click angle will scroll faster, with this value you can accommodate this
where needed. Likewise, using "half turn of the wheel" or "full turn of the
wheel" as a UI element becomes possible.

This addition is mainly driven by libinput 0.8, having the angle enables
libinput to provide an API that distinguishes between a physical distance
(like touchpad scrolling does) and discrete steps (wheel clicks).
Callers can choose what they prefer based on the device.
2015-01-15 13:29:15 +10:00
Lennart Poettering
4540817b0d hwdb: add Kay's Laser Mouse to the dpi database 2015-01-09 20:28:32 +01:00
Peter Hutterer
5ebbc3f32f hwdb: add missing line between the G400 entries
Error, DATA expected but got 'mouse:usb:v046dpc24c:name:Logitech G400s Optical
Gaming Mouse:' in '/etc/udev/hwdb.d/70-mouse.hwdb':
Error, MATCH expected but got ' MOUSE_DPI=400@1000 *800@1000 2000@1000
4000@1000' in '/etc/udev/hwdb.d/70-mouse.hwdb':

Introduced in 6366e349
2015-01-09 09:35:19 +10:00
Peter Hutterer
3a8d368a61 hwdb: note that we care about the maximum frequency in MOUSE_DPI
Devices with dynamic frequency scaling adjust the frequency as needed. For
those we only care about the maximum frequency, not the various in betweens.

https://bugs.freedesktop.org/show_bug.cgi?id=87435#c8
2015-01-09 07:58:34 +10:00
Zbigniew Jędrzejewski-Szmek
dba7635999 hwdb: adjust max frequency of Logitech RX 250
https://bugs.freedesktop.org/show_bug.cgi?id=87435
2015-01-08 16:46:03 -05:00
Jonas Ådahl
6366e34991 hwdb: mouse DPI data, Logitech Gaming Mouse G400 2015-01-07 21:45:45 +01:00
Peter Hutterer
abd440cd24 hwdb: fix a typo 2015-01-05 07:42:18 +10:00
Peter Hutterer
618021e099 hwdb: revert Logitech Optical USB Mouse
Reporter says he incorrectly measured the data but the device is not available
anymore to correct it. We'll have to wait for someone else to submit the data.

https://bugs.freedesktop.org/show_bug.cgi?id=87343
2015-01-05 07:42:12 +10:00
Christoph Brill
bf66fe2682 hwdb: mouse DPI data, Logitech USB Laser Mouse M-U0011-O
https://bugs.freedesktop.org/show_bug.cgi?id=87880
2014-12-31 08:29:25 -05:00
Christoph Brill
bdd31644fe hwdb: mouse DPI data, Logitech M-UAS144
https://bugs.freedesktop.org/show_bug.cgi?id=87881
2014-12-30 19:07:28 -05:00
Christoph Brill
eaa5a98f10 hwdb: mouse DPI data, Fujitsu Siemens OEM
https://bugs.freedesktop.org/show_bug.cgi?id=87879
2014-12-30 19:04:22 -05:00
Christoph Brill
149ff903ae hwdb: mouse DPI data, Logitech MK260 aka M-R0011
https://bugs.freedesktop.org/show_bug.cgi?id=87882
2014-12-30 18:56:16 -05:00
Christoph Brill
af157cf80b hwdb: mouse DPI data, Chicony 2.4G Multimedia Wireless Kit
https://bugs.freedesktop.org/show_bug.cgi?id=87883
2014-12-30 18:54:24 -05:00
Marcel Holtmann
5ef378c1c5 hwdb: Update database of Bluetooth company identifiers 2014-12-29 20:47:04 +01:00
Tom Gundersen
0068de375c hwdb: mouse - add Razer Abyssus 2014-12-26 00:28:05 +01:00
Peter Hutterer
60329a9d9f hwdb: add rule and first entry for PS/2 mice
https://bugs.freedesktop.org/show_bug.cgi?id=87037
2014-12-24 08:08:23 +10:00
Frank Theile
2c561af295 hwdb: Microsoft Wireless Laser Mouse 8000 DPI data
https://bugs.freedesktop.org/show_bug.cgi?id=87587
2014-12-24 08:08:20 +10:00
Frank Theile
c470b44ff0 hwdb: Lenovo USB mouse MO28UOL DPI data
https://bugs.freedesktop.org/show_bug.cgi?id=87504
2014-12-22 08:19:49 +10:00
Zbigniew Jędrzejewski-Szmek
f08fa3be8d hwdb: move Logitech mouse to the right spot 2014-12-18 18:54:01 -05:00
Erik Auerswald
90d37f7e8f hwdb: Logitech, Inc. RX 250 Optical Mouse DPI data
https://bugs.freedesktop.org/show_bug.cgi?id=87435
2014-12-18 18:54:00 -05:00
Tim JP
171347760e hwdb: Logitech, Inc. RX 300 Optical Mouse DPI data
https://bugs.freedesktop.org/show_bug.cgi?id=87456
2014-12-18 18:54:00 -05:00
Marc Schmitzer
ef686ae230 hwdb: add Lenovo 3000 N200 special key
https://bugs.freedesktop.org/show_bug.cgi?id=87377
2014-12-17 00:20:56 -05:00
Peter Hutterer
6a057a9985 hwdb: Logitech MX1000, another Lenovo USB mouse
Provided by Benjamin Bellec

https://bugs.freedesktop.org/show_bug.cgi?id=87343
2014-12-16 15:22:04 +10:00
Peter Hutterer
b631b4812a hwdb: more an entry for the MS Sculpt Ergonomic
Note that the MS receivers likely work like the Logitech ones, i.e. all
devices connected show up with the same vid/pid/name. Full evidence remains to
be gathered.
2014-12-16 15:20:25 +10:00
Daniel Mack
f9e35b2e0d hwdb: fix ordering
We sort by default DPI, not the first one in the list.
2014-12-15 17:15:16 +01:00
Daniel Mack
f8a9b6ae35 hwdb: Logitech G400s
Provided by Peter Hutterer:

  https://bugs.freedesktop.org/show_bug.cgi?id=87332
2014-12-15 17:11:31 +01:00
Harald Hoyer
de72f11bd1 hwdb: Logitech MX 518 2014-12-15 14:14:09 +01:00
Zbigniew Jędrzejewski-Szmek
e31fc1417a hwdb: add more mice
https://bugs.freedesktop.org/show_bug.cgi?id=87271
2014-12-12 18:20:51 -05:00
Zbigniew Jędrzejewski-Szmek
7731320a14 hwdb: sort mice by brand,type,dpi,frequency
This way entries from the same brand with the same dpi and frequency
can be coalesced. It is also visually easier to find the right DPI
than order hexadecimal identifiers.
2014-12-12 18:17:37 -05:00
Marcel Holtmann
3853d4cf89 hwdb: Update database of Bluetooth company identifiers 2014-12-11 22:50:50 +01:00
Torstein Husebø
8c67d0a74b hwdb: fix typo 2014-12-10 17:51:31 +01:00
Lennart Poettering
40dba7022a hwdb: add two more mice to the DPI database 2014-12-10 17:38:47 +01:00
Lennart Poettering
43db910dac hwdb: add another Logitech mouse (M-BZ96C) 2014-12-10 15:59:38 +01:00
Lennart Poettering
85c24db1f7 hwdb: add DPI data for M325 mouse 2014-12-10 15:46:08 +01:00
Lennart Poettering
8105cefa95 hwdb: update PCI, USB, OUI databases 2014-12-10 00:46:33 +01:00
Peter Hutterer
eb59c75e9a hwdb: add more mouse DPI entries
Plus a note for Logitech devices using the unified receiver: these devices
include their wireless PID in the name, the usb PID/VID is the same for all.
In kernel 3.19 the actual model number will be the name, but the patches are
still a bit in flux at this point. In the future each device will need two
entries for pre+3.19 and 3.19.

https://bugs.freedesktop.org/show_bug.cgi?id=87037
https://bugs.freedesktop.org/show_bug.cgi?id=87072
https://bugs.freedesktop.org/show_bug.cgi?id=87162
2014-12-10 09:32:18 +10:00
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
Martin Pitt
c79af123de keymap: Recognize different Toshiba Satellite capitalizations
https://launchpad.net/bugs/665918
2014-01-07 09:40:01 +01:00
AppleBloom
f92164e45a hwdb: fix match for Thinkpad X201 tablet
https://bugs.freedesktop.org/show_bug.cgi?id=71929
2014-01-06 20:52:42 -05:00
Dmitry Pisklov
245dc22920 hwdb: remove duplicate entry for Samsung 700Z
keyboardbrightnessup/down are not even real keys.

https://bugs.freedesktop.org/show_bug.cgi?id=72311
2014-01-06 20:08:41 -05:00
Dmitry Pisklov
dcafc342bf hwdb: add Samsung 700G
https://bugs.freedesktop.org/show_bug.cgi?id=72311
2014-01-06 20:08:41 -05:00
Raudi
dfa2ea215d hwdb: change key mappings for Samsung 90X3A
The Key codes didn't match with the described key. Also the key
identifier strings were missing. I hope I chose appropriate ones.

https://bugs.freedesktop.org/show_bug.cgi?id=70296
2014-01-06 19:49:31 -05:00
Marcel Holtmann
479e339e55 hwdb: update 2014-01-05 00:44:34 -08:00
Marcel Holtmann
c4a3a17ee9 hwdb: Update database of Bluetooth company identifiers 2013-12-27 09:35:20 -08:00
Marcel Holtmann
515c883021 hwdb: Add SDIO product ID for Marvell SD8897 WLAN function 2013-12-23 19:04:19 -08:00
Marcel Holtmann
c309c17df4 hwdb: update 2013-12-22 11:32:11 -08:00
Marcel Holtmann
56243d0936 hwdb: Add SDIO database to ids-update.pl script 2013-12-22 11:30:57 -08:00
Marcel Holtmann
23ee5a0050 hwdb: Add SDIO Bluetooth and WiFi devices from Marvell 2013-12-22 11:20:53 -08:00
Marcel Holtmann
ac6ee4fa3a hwdb: Add SDIO products from GCT and CSR 2013-12-22 11:08:50 -08:00
Marcel Holtmann
0e122faf73 hwdb: Add SDIO WLAN devices from ST-Ericsson and TI 2013-12-22 10:58:30 -08:00
Marcel Holtmann
a3873fa35b hwdb: Correct SDIO vendor identifier for Broadcom 2013-12-22 10:49:08 -08:00
Marcel Holtmann
c1a10e25b0 hwdb: Add SDIO device information for Broadcom B43 based cards 2013-12-22 10:46:13 -08:00
Marcel Holtmann
cb4bef2be1 hwdb: Add some known SDIO device identification strings 2013-12-22 10:33:25 -08:00
Marcel Holtmann
d5f7759a98 hwddb: Add database for SDIO vendor and class information 2013-12-22 10:21:20 -08:00
Martin Pitt
c5b7838dde keymap: Refactor Acer tables
Move common keys into generic Acer table, and factorize the model specific
exceptions.
2013-12-19 08:33:32 +01:00
Marcel Holtmann
0234c59921 hwdb: Update database of Bluetooth company identifiers 2013-12-10 03:17:39 -08:00
Marcel Holtmann
c6f3f5b4b3 hwdb: Update database of Bluetooth company identifiers 2013-11-29 07:31:39 -08:00
Marcel Holtmann
5476ad087c hwdb: Update database of Bluetooth company identifiers 2013-11-21 19:47:56 -08:00
Jose Ignacio Naranjo
bc9cdba5dd keymap: Add Toshiba Satellite U940
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
2013-11-19 08:15:50 +01:00
Martin Pitt
a7792fecc3 keymap: Fix stuck keys on Lenovo IdeaPad Z370
https://launchpad.net/bugs/1245189
2013-10-28 12:32:12 +01:00
Martin Pitt
df7daa9a68 keymap: Reorder IdeaPad rules
So that they are together in the file.
2013-10-28 12:30:47 +01:00
Kay Sievers
743bc3c979 hwdb: update 2013-10-20 01:12:29 +02:00
Martin Pitt
35bffce819 keymap: Fix Samsung 900X[34]C
It appears that it's not really the 900 vs. 940 or the X3 vs X4, but the
A/B/C/D suffix after that which makes the difference between the keymaps. On a
NP900X3C-A04RU you get

   MODALIAS=dmi:bvn*:bvr*:bd*:svnSAMSUNGELECTRONICSCO.,LTD.:pn900X3C/900X3D/900X4C/900X4D:*

So change the matches to use AB vs. CDG as the differentiator.

Thanks to Anatoly Markov for reporting and testing!
2013-10-09 16:13:20 +02:00
Jimmie Tauriainen
bc5fb0809e keymap: Add Samsung Ativ 9 Plus
https://launchpad.net/bugs/1229936
2013-09-25 07:30:23 +02:00
Kay Sievers
540fd137af hwdb: update 2013-09-24 15:47:12 +02:00
Martin Pitt
42a9de1c25 keymap: Fix wrong assignments to F23
These days, F21/F22/F23 mean Touchpad toggle/on/off. Clean up other assignments
to that from ancient times which belong to keys like "Auto Brightness" (which
doesn't have a keycode and is usually hardwired) or some "launch vendor tool"
key.

https://bugs.freedesktop.org/show_bug.cgi?id=62953
2013-09-19 16:43:43 -05:00
Martin Pitt
6e1452d6f0 keymap: Add Samsung Series 5 [Ultra]
Also consolidate the wlan key into the "all Samsung" rule to avoid repetition.

Thanks to Mauro Carvalho Chehab!

https://bugzilla.redhat.com/show_bug.cgi?id=989103
2013-09-16 14:25:44 -05:00
Zbigniew Jędrzejewski-Szmek
e39ff1f48d keymap: remove some commented out lines 2013-09-13 19:29:52 -04:00
Zbigniew Jędrzejewski-Szmek
176cceb051 hwdb: add Toshiba Satellite P75-A
Contributed by Guillermo Dominguez Duarte <guillermod84@gmail.com>.
2013-09-12 08:00:59 -04:00
Kay Sievers
89dc5bcff1 hwdb: update 2013-09-11 23:09:12 +02:00
Martin Pitt
33e74db266 keymap: Add Asus WMI module
We need to override the TOUCHPAD_TOGGLE to F21 to make it useful under X, as
for other models.
2013-09-09 17:41:03 -04:00
Martin Pitt
ee2babf4c3 keymap: Explicitly match "any product name" for "all models from vendor" rules
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-02 08:15:49 +02:00
Martin Pitt
78f66c2151 keymap: Fix typo in Latitude/Precision rules
We actually want to match the product name, "pn:" makes no sense.
2013-09-02 07:37:06 +02:00
Martin Pitt
b534166eae keymap: Don't use spaces in DMI modalias matches
Spaces get dropped from DMI modaliases. Replace them with '*' to make them
robust against future changes in space escaping.
2013-08-30 06:55:47 +02:00
Martin Pitt
db7c6e6fc8 keymap: Fix Dell vendor names
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-08-30 06:55:40 +02:00
Martin Pitt
3f42b51f21 keymap: Don't erase previous assignments
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-08-29 17:48:42 +02:00
Martin Pitt
792d616391 keymap: Add Logitech Internet Navigator variant [PID C309]
By Albrecht Kolthoff <kolthoff@gmx.net> via linux-hotplug@.
2013-08-27 12:57:01 +02:00
Martin Pitt
64b2a4da97 keymap: Add Samsung NP53U3C
https://launchpad.net/bugs/1203853
2013-08-26 16:49:10 +02:00
Herczeg Zsolt
93a279e34a Keyboard map for Samsung NP700Z3C
I'm using Ubuntu 13.04 on a Samsung Series 5 computer and found that that
Fn hotkeys does not work.
2013-08-23 15:17:15 -04:00
Zbigniew Jędrzejewski-Szmek
f1a5d37e08 keyboard: add eMachines E725
Information supplied by Ludvig <enthymeme@lavabit.com>.
2013-08-23 13:00:43 -04:00
Zbigniew Jędrzejewski-Szmek
e7627e14dc keymap: add Pavilion dv7 keys 2013-08-20 21:18:43 -04:00
Kay Sievers
2dd30e7da9 hwdb: keyboard - remove stray "
<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-08-15 17:51:02 +02:00
Lennart Poettering
00aa179e39 build-sys: add two makefile symlinks 2013-08-13 10:22:02 +02:00
Lennart Poettering
19c98efe17 hwdb: map logitech R400 presenter keys from powerpoint hotkeys to sensible KEY_ definitions 2013-08-09 19:05:07 +02:00
Kay Sievers
f058ccf2cd hwdb: update 2013-08-07 16:49:18 +02:00
Zbigniew Jędrzejewski-Szmek
0787758d26 hwdb: add GIGABYTE U2442 mute key to the force-release list
https://bugs.freedesktop.org/show_bug.cgi?id=67651
2013-08-07 08:35:19 -04:00
Christoph Junghans
4a792f4676 keymap: add HP EliteBook 2570p's wlan switch to hwdb
https://bugs.freedesktop.org/show_bug.cgi?id=66178
2013-08-06 23:15:42 -04:00
Kay Sievers
ce39bb6909 hwdb: data update 2013-07-18 03:05:51 +02:00
Martin Pitt
bf89b99c5a 60-keyboard.hwdb: Fix syntax error
Add missing '='.
2013-07-16 18:45:01 +02:00
Martin Pitt
1b6bce89b3 keymap: re-add Logitech USB corded/cordless models
These add back are the remaining 3 udev keymap rules which used name based
instead of ID based matching.
2013-07-16 16:59:14 +02:00
Kay Sievers
ddc77f6224 switch from udev keymaps to hwdb 2013-07-16 16:22:01 +02:00
Kay Sievers
97a9313caf hwdb: follow: "keymap: Drop non-existant Samsung 900XC3" 2013-07-16 14:14:24 +02:00
Kay Sievers
aedc2eddd1 hwdb: keyboard update 2013-07-15 00:56:18 +02:00
Kay Sievers
c79d894d59 hwdb: import data 2013-07-15 00:55:37 +02:00
Kay Sievers
e819355492 hwdb: keyboard -- update comments 2013-07-12 13:44:08 +02:00
Kay Sievers
0c959b3917 hwdb: keyboard -- add file
Do not enable/install it now, until we switch over from the current
keymap tool.
2013-07-12 12:34:03 +02:00
Kay Sievers
fec79699da hwdb: import data 2013-07-08 11:46:44 +02:00
Kay Sievers
bfdf1adc6e hwdb: remove too broad PNP* match from 20-acpi-vendor.hwdb 2013-07-08 01:10:48 +02:00
Kay Sievers
d9b17672eb hwdb: import data 2013-07-01 19:41:19 +02:00
Kay Sievers
07125a9240 hwdb: update 2013-05-06 17:39:07 +02:00
Kay Sievers
0f0cf8d2e3 hwdb: update 2013-04-30 19:13:54 +02:00
Kay Sievers
de7a659c05 hwdb: update 2013-04-20 18:41:57 +02:00
Kay Sievers
c225e76785 hwdb: update 2013-04-16 01:45:44 +02:00
Kay Sievers
78a0460588 hwdb: update 2013-03-28 21:53:30 +01:00
Kay Sievers
1d09582ab9 hwdb: ID_PRODUCT_FROM_DATABASE --> ID_MODEL_FROM_DATABASE
With the conversion from pci-db + usb-db to hwdb, the property
got accitentially renamed.

Move the name back to the long established identifier *MODEL*
instead of *PRODUCT*.

  $ git grep -l ID_MODEL_FROM_DATABASE
  hwdb/20-pci-vendor-model.hwdb
  hwdb/20-usb-vendor-model.hwdb
  hwdb/ids-update.pl
  man/systemd.device.xml
  rules/78-sound-card.rules
  src/core/device.c
  src/cryptsetup/cryptsetup.c
2013-03-23 16:38:21 +01:00
Kay Sievers
43b4c9aaf5 hwdb: update 2013-03-21 22:17:13 +01:00
Kay Sievers
46797983be hwdb: update 2013-03-07 19:43:27 +01:00
Kay Sievers
f2f1861383 hwdb: update 2013-02-04 18:55:10 +01:00
Kay Sievers
3939e155d5 hwdb: update 2013-01-24 12:42:57 +01:00
Kay Sievers
34048c8ca6 hwdb: update 2013-01-18 00:15:25 +01:00
Marcel Holtmann
94f5bbc626 hwdb: Add database for Bluetooth company identifiers 2012-12-31 04:50:28 +01:00
Kay Sievers
c96cb78f48 hwdb: update 2012-12-23 14:21:19 +01:00
Kay Sievers
378cf88f72 hwdb: update comments and data 2012-12-14 18:23:36 +01:00
Kay Sievers
3b33213f7e hwdb: update 2012-12-09 14:48:55 +01:00
Kay Sievers
2015553043 hwdb: update 2012-12-06 22:46:22 +01:00
Mantas Mikulėnas
f9cd22249d hwdb: ids-update: close the right file handles
The script was closing *INP and *OUTP, which never actually existed.

Also fix pci_vendor() opening usb.ids and immediately discarding the fh.
2012-12-06 22:42:09 +01:00
Tom Gundersen
5fe25affc0 hwdb: add IAB to the OUI database
The individual address block is a poor man's organizationally unique
identifier.

Perhaps we should change the udev key from ID_OUI_FROM_DATABASE to
something like ID_IEEE_VENDOR_FROM_DATABASE?

Suggested-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
2012-12-04 02:11:37 +01:00
Kay Sievers
0e168acbd6 hwdb: fix upstream typo in PNP data 2012-12-02 15:16:20 +01:00
Kay Sievers
6c1fcf4380 hwdb: update PNP ids 2012-12-02 15:00:57 +01:00
Kay Sievers
3397c4c905 hwdb: update data 2012-12-02 02:01:25 +01:00
Kay Sievers
c35ddc5b69 hwdb: update 2012-11-20 02:07:02 +01:00
Kay Sievers
4641b09cbf hwdb: update 2012-11-16 17:08:20 +01:00
Tom Gundersen
43f9cc65c2 hwdb: change pci.ids location
According to pciutils' TODO, the sourceforge location is scheduled for
removal, use the new one instead.
2012-11-09 15:36:25 +01:00
Kay Sievers
09d8f5d757 udev: hwdb - update usb class descriptions 2012-11-09 15:23:41 +01:00
Kay Sievers
8db6dcfd3c udev: hwdb - add usb class descriptions 2012-11-09 15:02:58 +01:00
Kay Sievers
cf7ebcea78 udev: hwdb - add pci class descriptions 2012-11-09 14:29:10 +01:00
Kay Sievers
87281abdf3 hwdb: OUI - use ID_OUI_FROM_DATABASE= 2012-11-09 12:39:27 +01:00
Kay Sievers
448004c340 hwdb: add IEEE OUI data 2012-11-07 14:23:05 +01:00
Kay Sievers
c67fbe4c71 hwdb: update pci data 2012-11-07 14:06:29 +01:00
Kay Sievers
0380748b55 udev: hwdb: add acpi/pnp vendor description file 2012-10-25 21:44:23 +02:00
Kay Sievers
796b06c21b udev: add hardware database support 2012-10-23 16:43:32 +02:00