1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00
Commit Graph

446 Commits

Author SHA1 Message Date
Peter Hutterer
d9a03677a5 hwdb: add Samsung 305V4A axis resolutions
From https://bugzilla.redhat.com/show_bug.cgi?id=1294022
2016-02-01 12:50:43 +10:00
Daniel Mack
599601a4b9 Merge pull request #2222 from snakeroot/eventsplat
hwdb: remove references to udevadm info /dev/input/event*
2016-01-20 17:06:56 +01:00
Martin Pitt
d95b492571 keymap: Add HP ProBook 440 G3
Fixes #2343
2016-01-18 11:01:32 +01:00
Hui Wang
0319812234 keymap: remap microphone mute keycode for Lenovo Thinkcentre M800z
This Lenovo machine use codec Line2 to implement a microphone mute
button, it depends on the unsolicited interrupt to generate key event,
the scan code for this button is assigned to 0x00 in the linux kernel
driver, and the keycode is KEY_MICMUTE(248), we need to remap this
keycode to KEY_F20 to make this hotkey work in X11.

BugLink: https://bugs.launchpad.net/bugs/1531362
Signed-off-by: Hui Wang <hui.wang@canonical.com>
2016-01-06 04:02:32 +01:00
Peter Hutterer
75e60eea58 hwdb: add axis ranges and resolution for Dell Lattitude E6220
https://bugzilla.redhat.com/show_bug.cgi?id=1293576
2016-01-05 08:14:04 +10:00
Martin Pitt
b485d2003e Merge pull request #2229 from cjmayo/m500
hwdb: move Logitech M-U0007 [M500] to 1000dpi
2015-12-30 11:27:52 +01:00
Marcel Holtmann
ad798a641a hwdb: Update database of Bluetooth company identifiers 2015-12-27 23:07:05 +01:00
Chris Mayo
62f6eed416 hwdb: move Logitech M-U0007 [M500] to 1000dpi
http://www.logitech.com/en-gb/product/corded-mouse-m500
2015-12-27 11:48:53 +00:00
Chris Atkinson
52bd587fe7 hwdb: remove references to udevadm info /dev/input/event* 2015-12-24 13:34:24 -05:00
Kay Sievers
eee15abcdb hwdb: update 2015-11-14 09:54:17 +01:00
Peter Hutterer
3872f4d3ab hwdb: add axis range corrections for Lenovo T510
From https://bugzilla.redhat.com/show_bug.cgi?id=1247958
2015-11-10 14:19:29 +10:00
Peter Hutterer
30d980b22a hwdb: add Dell Inspiron N5040 touchpad corrections
From https://bugzilla.redhat.com/show_bug.cgi?id=1275070
2015-11-10 12:54:32 +10:00
Peter Hutterer
3cf23b62ea hwdb: sort the brand names alphabetically 2015-11-10 12:52:01 +10:00
Marcel Holtmann
b133ea8e5f hwdb: Update database of Bluetooth company identifiers 2015-10-30 04:22:54 +01:00
Mantas Mikulėnas
d0361a866b hwdb: fix a syntax error in 60-keyboard 2015-10-18 14:09:20 +03:00
Zbigniew Jędrzejewski-Szmek
84faaa1f75 Merge pull request #1588 from mhalano/logitech-m560-mouse
[zj: rearrange into the sort order]
2015-10-16 20:58:28 -04:00
Marcos Alano
4ff28fa20c Added support to the wireless mouse Logitech M560. 2015-10-16 19:12:51 -03:00
Martin Pitt
bbea73316f keymap: Add HP ProBook 6555b
Thanks to Olaf Hering!
2015-10-16 16:30:08 +02:00
Martin Pitt
c6853957f5 keymap: Drop ThinkPad Yoga
The Yoga's firmware sends key events whenever it's being folded or unfolded.
These are thus *not* a button for requesting a screen orientation change, just
an indication that this already happened. Thus they should not be assigned to
"direction", but be ignored. Assigning them to "reserved" does not silence the
"unknown key pressed" kernel warning, so there's no point in maintaining a
mapping here.

Fixes #1440
2015-10-14 07:15:58 +02:00
Martin Pitt
10e6271bf3 keymap: Update Thinkpad Yoga 12 (2015)
Follow-up commit to e1fd19958: Add d8 scan code as well.

Fixes #1440
2015-10-08 05:33:14 +02:00
Martin Pitt
e1fd199580 keymap: Add Thinkpad Yoga 12 (2015)
Fixes #1440
2015-10-04 14:31:00 +02:00
Marcel Holtmann
60f6f2f92f hwdb: Update database of Bluetooth company identifiers 2015-09-26 03:30:35 +02:00
David Herrmann
0ac58d849f hwdb: fix typo in G9x DPI
Fix typo in DPI: 32000 -> 3200
2015-09-21 21:56:10 +02:00
David Herrmann
ed1236bed8 hwdb: drop weird whitespace
Remove whitespace from empty line in hwdb.
2015-09-21 20:19:23 +02:00
NoXPhasma
7703518c20 G9/G9x change to default resolutions 2015-09-18 14:28:16 +02:00
NoXPhasma
29264ff382 Add G9 and G9x [Call of Duty MW3 Edition] 2015-09-18 11:55:38 +02:00
Martin Pitt
10f4371fd7 Revert "keymap: Add Corsair K70"
This breaks the same vendor/product ID with the German keyboard layout. As this
is a hack around some weird keyboard driver bug, let's revert until this is
understood better.

See https://github.com/systemd/systemd/issues/1243

This reverts commit a2aa71a954.
2015-09-17 16:10:19 +02:00
Hans de Goede
c01705b9ee hwdb: Add Thinkpad X1 carbon 3rd gen to 70-pointingstick.hwdb
Like many other recent thinkpads the factory default pointingstick
sensitivity on these devices is quite low, making the pointingstick
very slow in moving the cursor.

This extends the existing hwdb rules for tweaking the sensitivity to
also apply to the X1 carbon 3rd gen model.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1200717
2015-09-14 15:05:05 +02:00
Martin Pitt
a2aa71a954 keymap: Add Corsair K70 2015-09-14 09:26:19 +02:00
Chen-Han Hsiao (Stanley)
6e675e278c Add microphone mute keymap for Dell Precision 2015-09-10 11:30:57 +08:00
Hans de Goede
056119922d hwdb: Add Thinkpad T550 / W550s to 70-pointingstick.hwdb
Like many other recent thinkpads the factory default pointingstick
sensitivity on these devices is quite low, making the pointingstick
very slow in moving the cursor.

This extends the existing hwdb rules for tweaking the sensitivity to
also apply to the T550 / W550s models.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1200717
2015-09-04 16:01:41 +02:00
Marcel Holtmann
c7f837628b hwdb: Update database of Bluetooth company identifiers 2015-09-04 02:51:50 +02:00
Mangix
f0e04d2032 Add Mionix Mouse 2015-09-02 15:56:57 -07:00
Thomas Hindoe Paaboel Andersen
ea24343247 hwdb: more mice 2015-09-01 22:02:05 +02:00
Peter Hutterer
c10919874e hwdb: move the Performance MX to 1000dpi
Original entry may have been skewed by an earlier setting on the device, we
have a confirmed 1000dpi for a new device.

https://github.com/systemd/systemd/issues/1049
2015-08-31 14:53:07 +10:00
Peter Hutterer
27c43e7ed4 hwdb: Add trackpoint sensitivity setting for Thinkpad X230
https://bugs.freedesktop.org/show_bug.cgi?id=91794
2015-08-31 14:42:38 +10:00
David Herrmann
d981d5163a Merge pull request #1058 from spasche/hwdb-logitech-mice
hwdb: add DPI data for a few Logitech mice
2015-08-29 00:21:46 +02:00
Thomas Hindoe Paaboel Andersen
c7c9fd04bd hwdb: update entry for logitech RX 250
I tested a RX 250 and measured 1000 DPI. The spec for the mouse
agrees:
http://www.logitech.com/en-gb/product/rx250-optical-mouse-business

This is an optical mouse so it is extra sensitive to what kind of
surface it is tested on.
2015-08-28 23:47:48 +02:00
Thomas Hindoe Paaboel Andersen
23c4147f2b hwdb: add a few more mice 2015-08-28 23:47:44 +02:00
Sylvain Pasche
95a0e12878 hwdb: add DPI data for a few Logitech mice 2015-08-27 21:17:15 +02:00
Kay Sievers
fd5a461316 hwdb: update 2015-08-26 18:38:30 +02:00
Marcel Holtmann
da1d9fc2cc hwdb: Update database of Bluetooth company identifiers 2015-08-26 09:21:02 +02:00
Peter Hutterer
fb8ab3c895 hwdb: add more DPI entries
Provided by Francois Marier
2015-08-24 15:30:46 +10:00
Peter Hutterer
adcf219921 hwdb: fix capitalization of product version for the Macbooks
We need uppercase hex here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-08-18 09:39:57 +10:00
Thomas Hindoe Paaboel Andersen
6b829dddc6 hwdb: add DPI for a few more mice 2015-08-12 22:29:28 +02:00
Zbigniew Jędrzejewski-Szmek
3d5c0e15b0 hwdb: add Logitech G500 (another version)
https://github.com/systemd/systemd/issues/562
2015-08-05 19:15:05 -04:00
Thomas Hindoe Paaboel Andersen
75440a51b2 hwdb: add Logitech LX8 DPI and wheel click settings 2015-08-04 22:15:30 +02:00
Zbigniew Jędrzejewski-Szmek
195c9e37fc Update bugtracker address 2015-08-04 00:03:55 -04:00
Alastair Hughes
8d51633304 hwdb: add resolution information for Dell Vostro 1510 touchpad
Dell Vostro 1510, AlpsPS/2 ALPS GlidePoint touchpad.

Relevant issue: #763
2015-08-01 20:03:51 +12:00
Marcel Holtmann
3d5ff087ce hwdb: Update database of Bluetooth company identifiers 2015-07-31 19:12:24 +02:00
Kay Sievers
1e40e358ee hwdb: update 2015-07-31 18:08:55 +02:00
Andreas Kempf
3407fcd575 hwdb: Add mouse DPI info for Logitech G402.
DPI information was taken from the device's setup guide.

Additional (shortened) information from udevadm info:

P: .../usb2/2-1/2-1:1.0/0003:046D:C07E.0002/input/input6/event2
N: input/event2
S: input/by-id/usb-Logitech_Gaming_Mouse_G402_6D93117D5049-event-mouse
S: input/by-path/pci-0000:00:12.0-usb-0:1:1.0-event-mouse
...
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_MODEL=Gaming_Mouse_G402
E: ID_MODEL_ENC=Gaming\x20Mouse\x20G402
E: ID_MODEL_ID=c07e
E: ID_PATH=pci-0000:00:12.0-usb-0:1:1.0
E: ID_PATH_TAG=pci-0000_00_12_0-usb-0_1_1_0
E: ID_REVISION=9002
E: ID_SERIAL=Logitech_Gaming_Mouse_G402_6D93117D5049
E: ID_SERIAL_SHORT=6D93117D5049
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030102:030000:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Logitech
E: ID_VENDOR_ENC=Logitech
E: ID_VENDOR_ID=046d
E: LIBINPUT_DEVICE_GROUP=3/46d/c07e/111:usb-0000:00:12.0-1
E: MAJOR=13
E: MINOR=66
E: SUBSYSTEM=input
...
2015-07-31 10:34:27 +02:00
Andreas Kempf
8601a85cb4 hwdb: Update info for potential contributors.
Update the location of the bug tracker and mention that pull requests
are preferred.
2015-07-31 10:34:27 +02:00
Peter Hutterer
47b84eac21 hwdb: add min/max/resolution override for Appletouch one-button touchpads
Macbook2,1, late 2006 model.

https://bugzilla.redhat.com/show_bug.cgi?id=1246651
2015-07-30 16:17:19 +10:00
Peter Hutterer
5b7246d09d hwdb: add resolution values for Asus K52JT touchpad
https://bugs.freedesktop.org/show_bug.cgi?id=91364
2015-07-30 16:17:16 +10:00
Thomas Hindoe Paaboel Andersen
d78dfff261 hwdb: add HP USB 1000dpi Laser Mouse 2015-07-28 20:10:59 +02:00
Peter Hutterer
cc00a2d191 hwdb: add Logitech MX Master DPI settings 2015-07-22 10:27:12 +10:00
Marcel Holtmann
680198d6a1 hwdb: Update database of Bluetooth company identifiers 2015-07-07 19:22:10 +02:00
Kay Sievers
70775e17c6 hwdb: update 2015-07-05 16:05:54 +02:00
Peter Hutterer
0530459245 Revert "hwdb: add a touchpad hwdb"
The main purpose of this hwdb was to tag touchpads that have the physical
trackstick buttons wired to the touchpad (Lenovo Carbon X1 3rd, Lenovo *50
series).  This hwdb is not required on kernels 4.0 and above, the kernel now
re-routes button presses through the trackstick's device node. Userspace does
not need to do anything.

See kernel commit cdd9dc195916ef5644cfac079094c3c1d1616e4c.

This reverts commit 001a247324.
2015-06-26 16:09:48 +10:00
Peter Hutterer
1cbcfd3ee0 hwdb: move a couple of entries to expected sort order 2015-06-23 15:52:03 +10:00
Peter Hutterer
3fc1b05f53 hwdb: add Logitech MX Revolution 2015-06-23 15:50:09 +10:00
Lennart Poettering
bd4c12ef02 hwdb: update databases from upstream 2015-06-17 23:54:35 +02:00
Marcel Holtmann
bdfcbe2262 hwdb: Update database of Bluetooth company identifiers 2015-06-15 11:28:15 +02:00
Mario Limonciello
aa75494ad5 hwdb: add support for Alienware graphics amplifier
Unplugging and plugging in the cable will create various scancodes
on the keyboard controller.

Userspace within X should be able to interact with these to show
interesting messages. Assign them to generic prog1/prog2.

(David: add comment to hwdb explaining that these keycodes are reserved)
2015-06-14 14:32:19 +02:00
dslul
ff48c77423 keymap: Add Samsung NP350V and NP670Z
typo

keymap: Add Samsung NP350V and NP670Z
2015-06-10 12:29:17 +02:00
Peter Hutterer
7a37956eac hwdb: update Logitech's unifying receiver devices
Since 3.19, the devices have the proper vid/pid and the model number in the
name.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-06-10 13:53:51 +10:00
Peter Hutterer
5967bda0bc hwdb: add Logitech TrackMan Marble Wheel USB
DPI is guesswork, no specs found on the web and calculating DPIs on a
trackball is tedious.
2015-06-09 14:32:19 +10:00
Peter Hutterer
68a6ac91a1 hwdb: add Apple MagicMouse entry 2015-06-04 16:05:08 +10:00
Kay Sievers
b30e7a269d hwdb: update 2015-06-02 20:19:31 +02:00
Marcel Holtmann
2fd51106ee hwdb: Update database of Bluetooth company identifiers 2015-06-02 19:04:11 +02:00
Lennart Poettering
b721c35a28 update hardware databases 2015-05-21 22:04:30 +02:00
Peter Hutterer
3641cff2f1 hwdb: add MS Arc Touch Mouse SE
https://bugs.freedesktop.org/show_bug.cgi?id=90540
2015-05-21 15:42:24 +10:00
Peter Hutterer
25069faab2 hwdb: add Logitech M570 trackball
http://www.logitech.com/en-us/product/wireless-trackball-m570#specs
https://bugzilla.redhat.com/show_bug.cgi?id=1217881
2015-05-20 08:49:28 +10:00
Hans de Goede
e6e3d81e21 hwdb: Add trackpoint sensitivity setting for Thinkpad X230 tablet
This model needs the trackpoint sensitivity to be boosted to not be too slow
to be usable, see: https://bugzilla.redhat.com/show_bug.cgi?id=1200717
2015-05-18 05:22:09 -04:00
Zbigniew Jędrzejewski-Szmek
ea35a38613 hwdb: coalesce same pointingstick entries into one
Multiple models in the same hardware series are likely to have similar
specs. We should use organization similar to hwdb/60-evdev.
2015-04-28 08:52:17 -04:00
Hans de Goede
151f5feb31 udev: hwdb: Add trackpoint sensitivity settings for Lenovo X240 and 540p
Like the T440s these need the sensitity to be set significantly higher
then the default of 128 for the trackpoint to be usable. Like with the
T440s 200 seems to be a good value to get a reasonable but not too high
sensitivity.
2015-04-28 08:52:17 -04:00
Peter Hutterer
47d36b7c85 hwdb: fix typo - "sort by by..." -> "sort by..." 2015-04-23 12:14:58 +10:00
Peter Hutterer
e8043cd5fe hwdb: add HP X1000 DPI info
Device name is PixArt, but it's sold as a HP brand.

https://bugs.freedesktop.org/show_bug.cgi?id=90142
2015-04-23 12:14:50 +10:00
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