Commit Graph

500 Commits

Author SHA1 Message Date
Hans de Goede 2a2fcbeecd hwdb: Add accelerometer orientation entry for Chuwi Hi8 Pro tablet (#6998)
Add an accelerometer orientation entry for the Chuwi Hi8 Pro tablet.
2017-10-05 01:06:55 +02:00
Zbigniew Jędrzejewski-Szmek 57056020c5 hwdb: switch meson to use ids_parser.py (#6964)
Also drop the now-unused perl implementation (that doesn't do sorting),
so it's incompatible anyway.
2017-10-04 19:32:59 +02:00
Zbigniew Jędrzejewski-Szmek 349cc4a507 build-sys: use #if Y instead of #ifdef Y everywhere
The advantage is that is the name is mispellt, cpp will warn us.

$ git grep -Ee "conf.set\('(HAVE|ENABLE)_" -l|xargs sed -r -i "s/conf.set\('(HAVE|ENABLE)_/conf.set10('\1_/"
$ git grep -Ee '#ifn?def (HAVE|ENABLE)' -l|xargs sed -r -i 's/#ifdef (HAVE|ENABLE)/#if \1/; s/#ifndef (HAVE|ENABLE)/#if ! \1/;'
$ git grep -Ee 'if.*defined\(HAVE' -l|xargs sed -i -r 's/defined\((HAVE_[A-Z0-9_]*)\)/\1/g'
$ git grep -Ee 'if.*defined\(ENABLE' -l|xargs sed -i -r 's/defined\((ENABLE_[A-Z0-9_]*)\)/\1/g'
+ manual changes to meson.build

squash! build-sys: use #if Y instead of #ifdef Y everywhere

v2:
- fix incorrect setting of HAVE_LIBIDN2
2017-10-04 12:09:29 +02:00
Zbigniew Jędrzejewski-Szmek 53f4c5fa21 hwdb: sort usb classes and vendors
No change, but let's keep the sorting in place as a safeguard for
the future.
2017-10-02 13:19:23 +02:00
Zbigniew Jędrzejewski-Szmek 0a91fd3bd6 hwdb: sort pci classes and vendors
No change, but let's keep the sorting in place as a safeguard for
the future.
2017-10-02 13:19:23 +02:00
Zbigniew Jędrzejewski-Szmek e979e502da hwdb: sort sdio entries
Nothing intersting here.
2017-10-02 13:19:23 +02:00
Zbigniew Jędrzejewski-Szmek e4804bdae6 hwdb: de-duplicate and sort OUI entries
Ignoring duplicate entry: 0001C8 = "THOMAS CONRAD CORP.", "CONRAD CORP."
Ignoring duplicate entry: 080030 = "NETWORK RESEARCH CORPORATION", "ROYAL MELBOURNE INST OF TECH"
Ignoring duplicate entry: 080030 = "NETWORK RESEARCH CORPORATION", "CERN"
→ we have two vendor prefixes with duplicate entries. For the first one,
there are two entries with what appear to be the same company. In the
second case, the same prefix is assigned to three different entities.
I arbitrarily chose to prefer the first entry.
2017-10-02 13:19:23 +02:00
Zbigniew Jędrzejewski-Szmek 53d22844f0 ids_parser: allow specifying which parts to run 2017-10-02 13:19:22 +02:00
Zbigniew Jędrzejewski-Szmek 3a58a43085 hwdb: add a grammar-based generator for vendor/model and class tables
This is rather slow (1 m 45 s on my laptop), but since it'd be only used
once per release, maybe this doesn't matter that much.

Output is identical to ids-update.pl with the set of source files committed in
the grandparent.
2017-10-02 13:19:22 +02:00
Zbigniew Jędrzejewski-Szmek c579960977 hwdb: fix invalid encoding in usb.ids
0xB4 is the code point for "accent acute", but when encoded in utf-8,
is is a multibyte sequence. A single 0xB4 byte is invalid (seems to be
latin1).
2017-10-02 13:19:22 +02:00
Zbigniew Jędrzejewski-Szmek 2a9ba96c67 hwdb: also add the source files to git
Without the original files it's hard to see what changed "upstream", and what
entries were added and removed. Upstream did not keep the entries sorted, and
our processing scripts did not sort the output either, so from just looking at
diffs it's hard to say what changed. So let's keep the original data, at least
for a few update cycles, so get a better handle on the upstream changes.

It's a few hundred kilobytes, so not that big, and text, so it should
compresses well.
2017-10-02 13:19:22 +02:00
Zbigniew Jędrzejewski-Szmek 689f489812 hwdb: update
http://www.uefi.org/uefi-pnp-export is returning an internal server error,
so the previous version was used.
2017-10-02 13:19:21 +02:00
Zbigniew Jędrzejewski-Szmek 9e82570e73 meson: rename hwdb update target
ninja -c build hwdb-update

During the initial meson conversion, custom_target:s and run_target:s behaved
the same, and the target name became a top-level command. Now custom_target:s
require the subdir to be included, e.g. we have man/man target to build man pages,
but run_target:s not. So I think this target got a name that is so generic because
of the confusion caused by changing rules. Let's rename it.
2017-10-02 13:19:21 +02:00
jonasBoss 586377fc92 hwdb: add Lenovo Yoga 510-14IKB sensor mount quirk (#6799) 2017-09-12 18:39:25 +02:00
Marcus Lundblad 20d8b12256 hwdb: Add ACCEL_MOUNT_MATRIX for the Lamina T-1016B.NORD 2-in-1 tablet (#6430) 2017-09-11 09:56:57 +02:00
Thomas Sailer d74c1dea2e accelerator mount matrix for Asus TP300LD (#6789) 2017-09-11 08:36:05 +02:00
dmig 53349ea704 hwdb: Add Cube i7 Stylus sensor rotation matrix (#6722) 2017-09-07 17:13:29 +02:00
Charles Huber 682f77059a hwdb: Add mice (#6641)
* Dell MS111-T
* Dell MS116t
* Microsoft Comfort Mouse 4500
2017-09-06 17:00:57 +02:00
pEJipE c70b51a7b9 Update version including Chuwi Hi13 (#6744) 2017-09-06 10:18:20 +02:00
Thomas Miller 2f34bead2c Add Razer Blade Stealth 2016 to hwdb (#6730) 2017-09-05 15:18:20 +10:00
Lennart Poettering ef965ed2e1 Merge pull request #6431 from keszybz/hwdb-trivial-rows
hwdb: disallow acceleration matrices with trivial rows
2017-08-31 11:08:41 +02:00
Jonathan Teh 77eaf7b4b9 hwdb: Add various USB mice (#6676) 2017-08-29 08:32:59 +10:00
Charles Huber 850c8bd7b7 hwdb: Add Logitech G100s Optical Gaming Mouse (#6570) 2017-08-18 05:53:25 +10:00
Justin Michaud 2935311ca4 Add hwdb fix for Lenovo Flex 3 15 inch touchpad resolution (#6558)
add hwdb fix for Lenovo Flex 3 1580
2017-08-10 12:24:34 +02:00
Zbigniew Jędrzejewski-Szmek 8727b86d50 Revert "hwdb: Asus TP500LB accelerometer support"
This reverts commit e8e4f5d970.

It shouldn't have a row of all 0s.
2017-07-25 09:10:15 -04:00
Zbigniew Jędrzejewski-Szmek 8a8b33eeb0 hwdb: temporarily drop accelerometer entry for Winbook TW100
It shouldn't have all 0s.

Added in 1f886b50f6.
2017-07-25 09:08:35 -04:00
Benjamin Berg b66c294c4b hwdb: Add axis range for System76 Galago Pro (galp2) (#6439) 2017-07-25 11:35:58 +10:00
Zbigniew Jędrzejewski-Szmek 494d16aa0c hwdb: disallow acceleration matrices with trivial rows
All zeros means that we cannot detect acceleration in that direction.

Related to #6430.
2017-07-22 19:25:43 -04:00
Lennart Poettering f7a2b4213c Merge pull request #6266 from keszybz/drop-autotools
Drop support for autotools / automake / make
2017-07-20 19:56:07 +02:00
Shengyao Xue f1e52909c8 hwdb: add two more hotkeys to Lenovo IdeaPad (#6410)
Tested on Lenovo IdeaPad E41-15, and both keys work after those two line added.
2017-07-20 14:21:48 +02:00
Zbigniew Jędrzejewski-Szmek 72cdb3e783 build-sys: drop automake support
v2:
- also mention m4
2017-07-18 10:04:44 -04:00
Hans de Goede 7ab6111fdb hwdb: Add ACCEL_MOUNT_MATRIX for a number of Intel Bay Trail based devices (#6357)
This commit adds ACCEL_MOUNT_MATRIX entries for the following devices:
-Acer Iconia Tab8 W1-810
-Asustek T100CHI Transformer 2-in-1
-Asustek T100TA Transformer 2-in-1
-Chuwi Vi8 Plus tablet
-Cube iWork8 Air (i1-TF) tablet
-GP-electronic T701 7" tablet
-HP Stream 7 tablet
-I.T.Works TW891 2-in-1
-Jumper Ezpad mini 3
-Lamina I8270 7" tablet
-Peaq MMC1010 2-in-1
-Pipo W2S 8" tablet
-Ployer Momo7w tablet
-Point of View TAB-P800W 8" tablet
-Trekstor Surftab Wintron 7.0 ST70416-6 7" tablet
2017-07-14 12:29:59 -04:00
Christian Hesse 816be2ba44 build-sys: install udev rule 70-joystick.{rules,hwdb} (#6363)
* meson: install udev files 70-joystick.{rules,hwdb}
* Makefile: install udev file 70-joystick.hwdb
2017-07-14 12:28:28 -04:00
Lennart Poettering fca1b90ee8 hwdb: update hwdb again for v234 2017-07-11 19:26:10 +02:00
Alex Lu 0d94d1e628 hwdb: add axis range corrections for Lenovo X1 Carbon 5th gen (over (#6320)
rmi4).
2017-07-11 06:34:40 +10:00
Alex Lu 41b2478d52 hwdb: add axis range corrections for Lenovo X1 Carbon 5th gen. (#6312) 2017-07-10 08:08:25 +10:00
Lennart Poettering 323318a496 Merge pull request #6218 from poettering/v234-pre
preparation for v234
2017-07-03 10:43:00 +02:00
hadess ff434e21f2 hwdb: Add SNES Mouse plugged through Retrode 2 (#6263)
Note that this will only work with the new "hid-retrode" driver in the
upcoming 4.12 kernel as otherwise the mouse events and the 4 joypad
ports are bundled into a single event node.
2017-07-03 06:59:44 +10:00
Lennart Poettering 96f925c239 update hwdb in preparation for v234 2017-06-27 23:14:53 +02:00
Michal Suchanek 3ee4e61b11 hwdb: fix help text in 60-keyboard.hwdb
udevadm trigger /dev/input/event* does not work
use udevadm trigger --verbose --sysname-match="event*"
2017-06-27 13:28:10 +02:00
Michal Suchanek c6dce24573 hwdb: support pressing buttons on a keyboard
Support BTN_* codes with btn_ prefix and keys with KEY_ prefix
optionally removed.
2017-06-27 13:28:07 +02:00
hadess c8ec393b25 hwdb: Add ID_INPUT_JOYSTICK_INTEGRATION property (#5413)
When the joystick is integrated directly into the machine, knowing
that the device is internal allows us to disable attached functionality
when the device is not used or inaccessible.

For example, this allows disabling rumble and accelerometer on
flip-console-like devices like the GPD-XD.
2017-06-26 12:17:36 +02:00
James Hemsing 0c0097a60a hwdb: Cytrix Complex 11t accelerometer support (#5807)
Add quirk to fix portrait orientations resulting in an upside-down
screen on the Cytrix/Mytrix/Cube Complex 11t tablet.
2017-06-26 11:27:45 +02:00
Michael Biebl 939c43012a meson: increase timeout for parse_hwdb.py test to 90 s
Fixes #5846.
2017-06-24 19:24:20 -04:00
Amir Pakdel 9d3c1efaa3 hwdb: add axis range corrections for Dell Latitude E7470 (#6156) 2017-06-21 10:23:16 +10:00
Lluís Gili 45e78af419 hwdb: add multimedia keys for Medion Akoya S3409 (#6062) 2017-06-01 12:16:32 +02:00
Hans de Goede 4e6b9b2049 hwdb: Fix mapping for home-key on Cube iWork8 air (#5994)
The intent of the hwdb entry for the Cube iWork8 air tablet buttons is
to fix them being swapped. The kernel is using left-meta for the
home key (it is being treated as the windows key on keyboards, as it has
a windows logo on most x86 tablets).

Fix the hwdb entry to only swap the buttons and not change the keycode
emitted by the home key.
2017-05-19 10:05:27 -04:00
Charles Plessy f9d77d198e Add Lenovo UltraNav SK-8845 (#5963)
Closes #5952.
2017-05-15 08:16:16 -04:00
Peter Hutterer 5efd9f72ca hwdb: add the X200/X201 to the existing X201s entry (#5934)
https://bugs.freedesktop.org/show_bug.cgi?id=100628
2017-05-10 22:29:15 -04:00
Pascal S. de Kloe 48a0715ed4 hwdb: add axis range for Panasonic Toughbook CF-19, CF-30 and CF31 (#5908) 2017-05-08 11:46:31 +10:00