summaryrefslogtreecommitdiff
path: root/hwdb.d/60-autosuspend.hwdb
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: link to docs.kernel.org for kernel documentationnl67202022-07-041-1/+1
| | | | | | | 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.
* Set autosuspend delay for Fibocom LG850-GLMario Limonciello2022-05-091-1/+6
| | | | | | | | | | | | | | 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: https://github.com/freedesktop/ModemManager/blob/43e76bf1bbca8207e37d3fbddfed4bb8578f0170/src/mm-iface-modem.c#L1633
* Add support to set autosuspend delay via hwdbMario Limonciello2022-05-091-0/+4
|
* hwdb: Allow USB autosuspend for MS Surface Pro (2017) Type CoverJonas Dreßler2021-10-211-0/+8
| | | | | The Surface Type Covers are known to support USB autosuspend just fine (and it's also enabled by default on Windows), so enable it in hwdb.
* hwdb: Permit unsetting power/persist for USB devicesBenjamin Berg2021-09-211-0/+7
| | | | | | | | | | | | | | | | The USB persist feature allows devices that can retain their state when powered down to work across suspend/resume. This is in particular useful for USB drives. However, the persist feature can get in the way for devices that are unable to retain their state when power is lost. An example of such stateful devices are fingerprint readers where USB persist should be disabled to ensure userspace can detect whether the USB device had a power loss during system suspend. This will initially be used by the libfprint autosuspend hwdb. Closes: #20754
* 60-autosuspend.hwdb: Add Sierra Wireless EM7345-LTE modem to autosuspend listHans de Goede2021-04-191-0/+8
| | | | | | | | Add the Sierra Wireless EM7345-LTE modem to the list of USB devices which can safely autosuspend. This helps the processor reach deaper PC# states when idle. This was tested on a ThinkPad8 tablet with such a modem builtin.
* Partially revert "hwdb: reindent commments and say that "*" should always be ↵Zbigniew Jędrzejewski-Szmek2020-11-031-4/+2
| | | | | | | | | trailing" This partially reverts commit 62ad1c6495c098a09b36bb20bb37a9b8a11df76f. I kept the reindents and other cosmetic changes, but removed the statements about trailing ":*".
* Partially revert "hwdb: add trailing ":*" everywhere"Zbigniew Jędrzejewski-Szmek2020-11-031-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c0443b97b71d5f70a0622061f589307bec5502c6. I got various cases wrong: "usb:v04F3p2B7Cd5912dc00dsc00dp00ic03isc00ip00in00" "usb:v0627p0001:QEMU USB Tablet" "input:b0003v0627p0001e0001-e0,1,2,4,k110,111,112,r0,1,8,B,am4,lsfw" OTOH: -evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV:* +evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV* is OK. Other parts follow after 'pn'. -mouse:*:name:*Trackball*:* -mouse:*:name:*trackball*:* -mouse:*:name:*TrackBall*:* +mouse:*:name:*Trackball*: +mouse:*:name:*trackball*: +mouse:*:name:*TrackBall*: ... and anything else with :name should be OK too, because our imports always include ":" at the end: IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'" Including '*' at the end makes the pattern work even if we decide to add something to the match string later. Fixes #17499.
* hwdb: add trailing ":*" everywhereZbigniew Jędrzejewski-Szmek2020-10-151-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: reindent commments and say that "*" should always be trailingZbigniew Jędrzejewski-Szmek2020-10-151-3/+4
|
* 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 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
* hwdb: enable autosuspend for Wacom Pen and EMV Smartcard ReaderZbigniew Jędrzejewski-Szmek2020-06-221-0/+44
Replaces #16113.