Commit graph

405 commits

Author SHA1 Message Date
Alper Nebi Yasak 1800f7098a hwdb: Apply existing accel orientation quirk to all Chromebooks
The cros-ec-accel and cros-ec-accel-legacy kernel modules internally
correct for the board-specific accelerometer mounting orientations.
Their sensor outputs are in a standard reference frame consistent across
different boards, so the orientation matrix already added for a number
of devices should apply to every device using cros-ec accelerometers.
The different matrix for the 'Nocturne' board seems to be an error.

Replace the existing hwdb rules for select Chromebooks with generic
rules that apply to all Chromebooks.
2022-08-13 03:30:18 +09:00
Bastien Nocera 9ab755dce5 hwdb: Add Greaseweazle "drives" to the list of analyzers
They're floppy disk flux readers and writers used in digital
preservation and can be broadly considered to be "analyzers" of magnetic
fluxes.

This will have the intended side-effect of giving access to the device
to users at the console, obsoleting:
https://github.com/keirf/greaseweazle/blob/master/scripts/49-greaseweazle.rules
2022-08-09 18:12:19 +02:00
Bastien Nocera 838d0fd3d5 hwdb: analyzers: Clarify the type of devices we want listed 2022-08-09 18:12:19 +02:00
Gio 2d2efed2ee
Added DERE DBook D10 (#24173)
* Added DERE DBook D10
2022-08-03 09:26:03 +01:00
Joaquín Ignacio Aramendía e18569cc72 Add ACCEL_MOUNT_MATRIX for OXP Mini 2022-07-31 13:50:27 +09:00
Mitchell Freiderich 0216462f08
hwdb: Add Acer Aspire A317-33 (#24050)
Enables the power button on the Acer Aspire 3 A317-33
2022-07-18 15:03:44 +09:00
Michal Stanke 8170627796 Fix automatic screen rotation for Asus Transformer T100TAM 2022-07-11 22:44:12 +02:00
nl6720 0e68582323 tree-wide: link to docs.kernel.org for kernel documentation
https://www.kernel.org/ links to https://docs.kernel.org/ for the documentation.
See https://git.kernel.org/pub/scm/docs/kernel/website.git/commit/?id=ebc1c372850f249dd143c6d942e66c88ec610520

These URLs are shorter and nicer looking.
2022-07-04 19:56:53 +02:00
Akihiko Odaki c3b8113af0 hwdb: Add Lenovo ThinkPad C13 Yoga 2022-06-27 08:24:32 +09:00
Jan Luebbe 5d049ff920 hwdb: analyzers: remove generic "STM Device in DFU Mode"
The USB ID v0483pDF11 is used by the ROM code in many STMicroelectronics
devices (for firmware download) and not just signal analyzers.
2022-06-14 10:10:05 +09:00
Jeremy Soller 295e0291bf hwdb: Add HP Dev One
This enables the microphone mute and programmable hotkey for the HP Dev
One.
2022-06-09 13:48:19 +09:00
Maccraft123 cc9e3a55d3 hwdb: Add accel orientation quirk for the Aya Neo Next 2022-06-06 16:35:17 +02:00
Pablo Ceballos 1a2134fb51 hwdb: Add Google Meet speakermic
It has the same issue as the Google Hangouts Meet speakermic but a
different VID/PID.
2022-05-27 11:38:13 +01:00
Luca Boccassi 5ea8bcd93d hwdb: update via ninja -C build update-hwdb 2022-05-21 12:44:36 +01:00
Pablo Ceballos 2d25154321 hwdb: Add Google Hangouts Meet speakermic
This device implements the phone mute HID usage as a toggle switch,
where 1 indicates muted, and 0 indicates unmuted. However, for a key
event 1 indicates that the key has been pressed and 0 indicates it has
been released. This mismatch causes issues, so prevent key events from
being generated for this HID usage.
2022-05-16 21:16:58 +01:00
Nikolai Kostrigin e4bb1a07ef hwdb: fix accelerometer mount matrix for Aquarius NS483
Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
2022-05-16 17:57:52 +01:00
Martin c4c336e0cd hwdb: Add accel orientation for the I15-TG
Add accel orientation for the Cube iWork 10 I15-TG
2022-05-15 10:03:57 +09:00
Nikolai Grigoriev 5a6bcbb001
hwdb: add touchpad parameters for Lenovo T15g Gen1 (#23373) 2022-05-15 06:39:02 +09:00
Luca Boccassi caddab0f04 hwdb: run 'update-hwdb' for v251-rc3 2022-05-13 17:17:33 +01:00
Zbigniew Jędrzejewski-Szmek 07b420a3b9
Merge pull request #23329 from superm1/mlimonci/lg850-gl
Set auto-suspend delay on LG850-GL
2022-05-10 13:52:36 +02:00
Yutsuten ffa3da1dc2 Add HUION Inspiroy H420X to hwdb 2022-05-10 14:14:17 +09:00
Mario Limonciello f32049eda3 Set autosuspend delay for Fibocom LG850-GL
It has been shown that the autosuspend delay for this device enacted
by modem manager will race with suspend and cause system suspend
failures.

This occurred in ChromiumOS on a chromebook, but there is no reason
it won't happen in regular notebooks with the same WWAN.  To avoid
the failure delay autosuspend to a frequency longer than the polling
rate used by modem manager.

Link: https://chromium-review.googlesource.com/c/chromiumos/overlays/board-overlays/+/3635003
Link: 43e76bf1bb/src/mm-iface-modem.c (L1633)
2022-05-09 21:14:12 -05:00
Mario Limonciello fa9a43a690 Add support to set autosuspend delay via hwdb 2022-05-09 21:14:12 -05:00
lucagoc 97d670a429 hwdb: add rammus accelerometer support 2022-05-08 09:09:35 +09:00
Zbigniew Jędrzejewski-Szmek da2f26b2cb hwdb: run "update-hwdb" 2022-05-05 16:28:46 +02:00
Jan Janssen 14056a52c6 meson: Use meson test suite feature
This makes it easier to only test a subset of tests without having
to specify them all on the command line:
    meson test -C build --suite headers
2022-05-04 16:11:34 +02:00
rodin-ia d31b8a66d1
Adding a description of the keyboard shortcut Fn+F12 for the HP EliteBook 845 G7 device. (#23253)
udevadm info /dev/input/event4
P: /devices/platform/i8042/serio0/input/input4/event4
N: input/event4
L: 0
S: input/by-path/platform-i8042-serio-0-event-kbd
E: DEVPATH=/devices/platform/i8042/serio0/input/input4/event4
E: DEVNAME=/dev/input/event4
E: MAJOR=13
E: MINOR=68
E: SUBSYSTEM=input
E: USEC_INITIALIZED=4165584
E: KEYBOARD_KEY_81=f20
E: KEYBOARD_KEY_89=battery
E: KEYBOARD_KEY_8a=screenlock
E: KEYBOARD_KEY_8b=camera
E: KEYBOARD_KEY_8c=media
E: KEYBOARD_KEY_8e=dvd
E: KEYBOARD_KEY_92=brightnessdown
E: KEYBOARD_KEY_97=brightnessup
E: KEYBOARD_KEY_b1=help
E: KEYBOARD_KEY_b3=unknown
E: KEYBOARD_KEY_d7=wlan
E: KEYBOARD_KEY_ee=switchvideomode
E: KEYBOARD_KEY_68=unknown
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_BUS=i8042
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-0
E: ID_PATH_TAG=platform-i8042-serio-0
E: XKBMODEL=pc105
E: XKBLAYOUT=us
E: BACKSPACE=guess
E: LIBINPUT_DEVICE_GROUP=11/1/1:isa0060/serio0
E: DEVLINKS=/dev/input/by-path/platform-i8042-serio-0-event-kbd
E: TAGS=:power-switch:
E: CURRENT_TAGS=:power-switch:
2022-05-04 05:40:55 +09:00
Yu Watanabe 77f081f363 fix typo 2022-05-03 01:16:32 +09:00
Alice S 8099abee00 Fix orientation detection for HP Pavilion X2 10-k010nr 2022-05-02 10:00:36 +09:00
techtino ad44259225 Fix orientation detection for Asus Transformer T100TAF, copied T100TA rule 2022-05-01 13:43:17 +09:00
Lennart Poettering 27c03586ea hwdb: run "ninja update-hwdb-autosuspend" for v251-rc2 2022-04-28 17:43:27 +02:00
Lennart Poettering e21f7a133f hwbd: run "update-hwdb" for v251-rc2 2022-04-28 17:42:25 +02:00
Lennart Poettering 133a000369 hwdb: make sure "ninja update-hwdb" works on f35
let's restore compatibility with pyparsing from fedora 35, i.e.:

python3-pyparsing-2.4.7-9.fc35.noarch
2022-04-28 17:42:25 +02:00
Yu Watanabe d10329a08e hwdb: add keyboard mapping for HP ProBook 11G2
Closes #23108.
2022-04-28 10:10:45 +09:00
Lance 6dc18ca5dd hwdb: Fix rotation for HP Pro Tablet 408 G1 2022-04-23 01:48:33 +09:00
Benjamin Berg 386885c4e6 hwdb: Remap micmute to f20 for ASUS WMI hotkeys
For micmute userspace handles both micmute and f20, as Xorg cannot
handle the high keycode that the micmute key has. As such, adding the
remapping means that the key will work on Xorg clients and not just when
using wayland.
2022-04-22 18:24:00 +02:00
davijosw 2338b8f9c5
hwdb: add resolutions for the Vaio FE14 touchpad (#23136) 2022-04-22 11:41:37 +10:00
Matthew Blythe 6ae16e01b5 hwdb 60-keyboard Add HP/Compaq KBR0133 2022-04-21 20:56:17 +09:00
Hans de Goede 5e3b8aeef3 hwdb: 60-keyboard: Add Acer Aspire One AO532h keymappings
Add keymappings for the Acer Aspire One AO532h netbook.

Unmap the brightnesskeys because they send duplicate key events with
the ACPI video bus key events and add a mapping for the bluetooth
on/off hotkey.
2022-04-19 06:17:35 +09:00
davijosw 39cd62c30c
hwdb: Update 60-keyboard.hwdb (#23074)
Fix Fn+F1 (toggle touchpad) that wasn't working.

Closes #23058
2022-04-18 20:51:45 +09:00
Zbigniew Jędrzejewski-Szmek adbe000e3d hwdb: drop boilerplate about match patterns being unstable
We've had this text since the beginning, but in fact the patterns must be
stable in order for people to create local hwdb entries. And we support that
and can't change the match patterns without being very careful. So let's just
drop the text.
2022-04-06 23:16:39 +09:00
Zbigniew Jędrzejewski-Szmek 47c6454d76
Merge pull request #22894 from keszybz/hwdb-update
Update hwdb again
2022-03-29 18:17:32 +02:00
Zbigniew Jędrzejewski-Szmek f1589efb7f hwdb: update autosuspend entries 2022-03-29 18:15:06 +02:00
Zbigniew Jędrzejewski-Szmek c53e6f641e hwdb: update for v251
As usual, there are mostly additions of new entries, and some spelling
correction and company renames, no big removals.
2022-03-29 18:15:06 +02:00
Zbigniew Jędrzejewski-Szmek f73d689587 hwdb: fix parser to work with newer pyparsing
The handling of whitespace in pyparsing is a bother. There's some
global state, and per-element state, and it's hard to get a handle on
things. With python3-pyparsing-2.4.7-10.fc36.noarch the grammar would
not match. After handling of tabs was fixed to not accept duplicate tabs,
the grammar passes.

It seems that the entry for usb:v8087p8087*
was generated incorrectly because we treated the interface line
(with two TABs) as a device line (with one TAB).
2022-03-29 18:15:05 +02:00
Andy Chi f09f6dc2c8 hwdb: Add mic mute key mapping for HP Elite x360
On the new Elite x360 2 in 1 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.
2022-03-29 14:48:26 +02:00
AlexCatze 1a34f913a6
Add HP Elitebook 2760p support (#22766) 2022-03-18 13:45:43 +01:00
Georges Basile Stavracas Neto e982320b44 hwdb: Add AV production access to Elgado Stream Deck devices
The Stream Deck products from Elgato are simple key pads
intended to be used as macro pads. They're popular within
the streaming community.

This commit adds all 5 Stream Deck variants available to
the AV production file.

See https://www.elgato.com/en/stream-deck
2022-03-14 14:49:04 -03:00
Be f2c36c0e24 Add AV production controllers to hwdb and add uaccess
This adds support for AV production controller devices, such
as DJ tables, music-oriented key pads, and others.

The USB vendor and product IDs come from Mixxx, Ctlra, and
Ardour.

Fixes #20533

Co-developed-by: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
2022-03-14 14:47:32 -03:00
tawefogo 6c5f368646
Fix mic mute on Acer TravelMate B311-31 (#22677) 2022-03-08 23:10:51 +09:00