summaryrefslogtreecommitdiffstats
path: root/hwdb.d (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* parse_hwdb: enforce the ":*" suffixZbigniew Jędrzejewski-Szmek2020-10-151-2/+3
|
* hwdb: add trailing ":*" everywhereZbigniew Jędrzejewski-Szmek2020-10-159-521/+516
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No functional change is intended. The general pattern of changes: -usb:v04F3p2B7C* +usb:v04F3p2B7C:* This is mostly a clarification, to make the part that makes the usb vXXXXpYYYY part visually separated. It would only make a difference if we added further keys with a different number of digits, which is unlikely. -usb:v0627p0001:*QEMU USB Keyboard* -usb:v0627p0001:*QEMU USB Mouse* -usb:v0627p0001:*QEMU USB Tablet* +usb:v0627p0001:*QEMU USB Keyboard*:* +usb:v0627p0001:*QEMU USB Mouse*:* +usb:v0627p0001:*QEMU USB Tablet*:* Again, only a clarification. We know that ":" will appear somewhere later in the match key, so anything that matches "…Keyboard*" will also match "…Keyboard*:*". -evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV* +evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV:* This makes the match narrower. Previously we would match product "N53SV" and "N53SV2", "N53SV3", and others. Here we are saying that the ':pn' part must match exactly. Most of the changes in this patch match this pattern. I made a few judgement calls and used "pn…*:*" when I wasn't sure if the full pn is included: -evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision* +evdev:name:Dell WMI hotkeys:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:* -evdev:name:Cypress APA Trackpad ?cyapa?:dmi:*:svnHewlett-Packard*:pnFalco*: +evdev:name:Cypress APA Trackpad ?cyapa?:dmi:*:svnHewlett-Packard*:pnFalco*:* This more like the "QEMU" example above, since all dmi strings end in ":", so anything which matches the old version will also match the new version. -evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:pvr* +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:* I replaced trailing ":pvr*" by ":*". This makes no functional difference because we expect "pvr" to always appear in the dmi string. This makes patterns shorter. -evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn* +evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pn*:* OTOH, ":pn*" is kept. This is because almost patterns include ":pn*", and if we skip it, we should make it clear that this is on purpose, that we really want to match any product name. The python script to generate autosuspend rules is updated to use ":*" too. Inspired by https://github.com/systemd/systemd/pull/17281#discussion_r501489750.
* hwdb: add missinging ":*" suffixZbigniew Jędrzejewski-Szmek2020-10-151-5/+5
| | | | | | | | | | I'm keeping this part separate because a function change is intended here. Those patterns didn't match: $ systemd-hwdb query 'evdev:atkbd:dmi:bvn_:bvr_:bd_:svnLENOVO:pn_:pvrThinkPadT430s' KEYBOARD_LED_CAPSLOCK=0 $ systemd-hwdb query 'evdev:atkbd:dmi:bvn_:bvr_:bd_:svnLENOVO:pn_:pvrThinkPadT430s:' (nil)
* hwdb: reindent commments and say that "*" should always be trailingZbigniew Jędrzejewski-Szmek2020-10-159-66/+77
|
* hwdb: mount matrix for Chuwi Hi8 (CWI509) (#17355)Máté Pozsgay2020-10-151-0/+4
|
* hwdb: update for v247Zbigniew Jędrzejewski-Szmek2020-10-1313-990/+7993
| | | | | As usual, it seems that there are mostly additions with a smaller amount of corrections, no big removals.
* hwdb: Add accel orientation quirk for MPMAN Converter 9 2-in-1Hans de Goede2020-10-121-0/+6
| | | | | Add a quirk to fix the accelerometer orientation on the MPMAN Converter 9 2-in-1.
* Add Lenovo USB touchscreens to 60-autosuspend.hwdbHans de Goede2020-10-121-0/+10
| | | | | Add Lenovo USB touchscreens which can safely autosuspend to hwdb, this helps the processor reach deaper PC# states when idle.
* Add Aiptek Hyperpen 6000U to hwdbJan Schlüter2020-09-301-0/+2
|
* Calendar and micmute hotkeys on HP EliteBook Folio G1RussianNeuroMancer2020-09-301-1/+6
| | | | This commit add calendar and micmute hotkeys for HP EliteBook Folio G1, and also correct name of other laptop from HP EliteBook Folio series - HP EliteBook Folio 1040 G2
* Prevent triple reporting of rfkill button on HP Elite x2 1013 G3, plus five ↵RussianNeuroMancer2020-09-281-0/+12
| | | | | | other hotkeys 1. rfkill hotkey is reported from three source: keyboard, Intel HID and HP Wireless hotkeys. Let's block first two. 2. Correct mapping for calendar, micmute, display and brightness hotkeys.
* Add accel mount matrix for Irbis NB111 transformerRussianNeuroMancer2020-09-281-0/+4
|
* hwdb: add Medion Akoya E2221T MD60691 (#17147)germanztz2020-09-241-0/+5
|
* Update 60-sensor.hwdbMitsuha_QuQ2020-09-181-1/+1
| | | Removed the blank
* Update 60-sensor.hwdbMitsuha_QuQ2020-09-181-0/+4
| | | Add Cube KNote 5 ACCEL matrix
* hwdb: Chuwi Hi12 (#17042)ErrantSpore2020-09-171-0/+2
| | | | | | Different bios version includes different pn. Submitted change fixed my inverted screen after reboot. I've stepped back to the bios version 5.11 28.04.2016 in an attempt to troubleshoot Windows Hello locking the sign in on reboot. The screen again rotated, but 90 degrees to the right. I created a new hwdb line to resolve that issue. The bios version changes the dmi string including the svn and pn.
* hwdb: Add Adesso AKB-805MAC keyboard, mfd by OrtekGlen Whitney2020-09-031-0/+34
|
* hwdb: fix size lenovo x240 touchpad (#16871)Jérémy Nouhaud2020-08-271-0/+8
| | | | | | | | | | | | | | | | As discussed in https://gitlab.freedesktop.org/libinput/libinput/-/issues/521, it adds a narrower match that only applies to X240. Other laptops that match `pvrThinkPad??40` are not affected: $ systemd-hwdb query 'evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPadX240:*' EVDEV_ABS_00=1232:5711:51 EVDEV_ABS_01=1159:4700:53 EVDEV_ABS_35=1232:5711:51 EVDEV_ABS_36=1159:4700:53 $ systemd-hwdb query 'evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pvrThinkPadX140:*' EVDEV_ABS_00=::41 EVDEV_ABS_01=::37 EVDEV_ABS_35=::41 EVDEV_ABS_36=::37
* Add sensor configuration for Acer SW5-017-17BUNjibhu2020-08-271-0/+3
|
* Added sensor configuration for One-netbook OneMix 3 ProAndrew Hangsleben2020-08-251-0/+8
|
* hwdb: ACCEL_MOUNT_MATRIX for Irbis TW118 (#16786)brainrom2020-08-201-1/+7
| | | | This was required to get orientation sensor work properly in my tablet.
* hwdb: ACCEL_MOUNT_MATRIX quirk for Acer SP111-32*Grant Mathews2020-08-171-0/+1
|
* hwdb: Add ACCEL_MOUNT_MATRIX quirk for Asus M80TANicholas Narsing2020-08-101-0/+1
|
* hwdb: Add EliteBook to use micmute hotkeyKai-Heng Feng2020-07-301-5/+3
| | | | Like HP ZBooks, all EliteBooks use the same micmute scancode.
* added alternative version of SurfTab TwinBenjamin Dahlhoff2020-07-301-0/+4
|
* hwdb: update again for v246Zbigniew Jędrzejewski-Szmek2020-07-2311-738/+2610
| | | | Just a few minor changes.
* hwdb: check that uppercase digits are used in modalias patternsZbigniew Jędrzejewski-Szmek2020-07-171-2/+24
| | | | | | | | | | | | | | This is all confusing as hell, becuase in some places lowercase hexadecimal digits are used, and in other places uppercase. This adds a check for the most common case that we and others got wrong. I tried to extend the general grammar in hwdb_grammar() to include this check, but it quickly became very complicated and didn't seem to work properly. Doing initial parsing with more general rules is easier and also seems to give better error messages: /home/zbyszek/src/systemd-work/build/../hwdb.d/60-autosuspend.hwdb: 3 match groups, 5 matches, 3 properties Pattern 'v058fp9540*' is invalid: Expected W:(0123...), found 'f' (at char 4), (line:1, col:5)
* hwdb: allow spaces in usb: matches and similar patternsZbigniew Jędrzejewski-Szmek2020-07-171-1/+1
| | | | | In the past we didn't have any matches like that, so the parser was stricter than necessary, but now we have, so allow that.
* Add autosuspend rules for emulated QEMU devicesZbigniew Jędrzejewski-Szmek2020-07-161-0/+10
| | | | | | | | | | | This effectively partially reverts "rules: remove all power management from udev" / e2452eef02a839e1928f4ffd893c93a460474ab6. The rules for emulated QEMU hardware were removed in one fell swoop with other rules which were causing problems. But the qemu rules were working properly (and were adjusted through patches over time). Nowadays we have a hwdb for this, so add hwdb entries using the new detailed modalias. https://github.com/systemd/systemd/pull/353#issuecomment-658810289
* Added MSI Prestige15 A10SC specific keycodesFilippo Falezza2020-07-101-0/+5
| | | This commit enables the microphone mute button and the screen rotate button, even if the latter is improperly linked. I have documented how to achieve this in https://wiki.archlinux.org/index.php/MSI_P15#Fn_Keys .
* Add support for HP Elitebook x360 1040 G6 micmute buttonSurhud More2020-07-101-0/+2
|
* hwdb: Add Google Pixel Slate (nocturne) (#16377)satmandu2020-07-071-0/+4
|
* hwdb: update again for v246Zbigniew Jędrzejewski-Szmek2020-07-075-859/+1381
| | | | Just a few minor changes.
* hwdb: add another Logitech M705 mouse variantMaciej S. Szmigiero2020-07-061-0/+4
| | | | | | | There seems to be a newer version of Logitech M705 mouse in the wild. Let's add it to the hwdb. Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
* hwdb: Pavilion 13 x360: Tablet mode and SYSRQ keyMaxVerevkin2020-07-041-2/+7
|
* hwdb: Add accel orientation quirk for UMAX VisionBook 10Wi ProJiri Slaby2020-07-021-0/+3
|
* hwdb: adjust touchpad edge detection for X1Tab3 (#16310)Amos Bird2020-06-301-0/+7
|
* hwdb: update for v246Zbigniew Jędrzejewski-Szmek2020-06-2510-1769/+22518
| | | | | As usual, it seems that there are mostly additions with a smaller amount of corrections, no big removals.
* hwdb: add another Logitech G502 Hero variant (#16256)Gigadoc22020-06-241-0/+2
| | | | The commit 67551ea already adds the G502 Hero mouse, but apparently there are multiple variants with the same ID but different names.
* Merge pull request #16179 from keszybz/auto-suspend-hwdbLennart Poettering2020-06-223-11/+87
|\ | | | | Convert autosuspend rules to hwdb
| * hwdb: enable autosuspend for Wacom Pen and EMV Smartcard ReaderZbigniew Jędrzejewski-Szmek2020-06-222-0/+45
| | | | | | | | Replaces #16113.
| * test: also verify the generated autosuspend hwdb fileZbigniew Jędrzejewski-Szmek2020-06-222-19/+42
| | | | | | | | Hint: meson test -C build parse-hwdb -v
| * hwdb: generate a hwdb file instead of rules for autosuspendLennart Poettering2020-06-131-0/+8
| |
* | hwdb: Mask rfkill event from intel-hid on HP platformsKai-Heng Feng2020-06-161-0/+3
| | | | | | | | | | | | HP spec mandates the hp-wireless driver as canonical source of rfkill event, so mask the rfkill event from intel-hid to avoid double rfkill events fired from a single hotkey press.
* | hwdb: Add accel orientation quirk for Odys Fusion Win 12 2in1AndreRH2020-06-151-0/+6
|/
* hwbd entry for Dell Inspiron Chromebook 14 2-in-1 sensor (#16109)Yegor Vialov2020-06-091-0/+4
|
* hwdb: add HP Spectre x360's mic mute switchNiccolò Maggioni2020-06-081-0/+4
| | | | Tested on HP Spectre x360 Convertible 13-aw0xxx
* hwdb: Add accel orientation quirk for Trekstor Surftab Twin 10.1 ST10432-8Hans de Goede2020-05-311-0/+3
| | | | | The Trekstor Surftab Twin 10.1 ST10432-8 accelerometer has its x-axis inverted, add a quirk for this.
* hwdb: Add accel orientation quirk for Toshiba Encore WT10A tabletHans de Goede2020-05-311-0/+8
| | | | | Add a quirk to correct the accelerometer orientation on Toshiba Encore WT10A tablets.
* hwdb: Add accel orientation quirk for Chuwi Hi10 XChristian Oder2020-05-301-0/+4
| | | | | Add a quirk to fix the accelerometer orientation on the Chuwi Hi10 X so that the display is not rotated 90 degree counter clockwise anymore.