Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support to set autosuspend delay via hwdb | Mario Limonciello | 2022-05-10 | 1 | -0/+4 |
| | |||||
* | hwdb: Permit unsetting power/persist for USB devices | Benjamin Berg | 2021-09-21 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | tools: rewrite make-autosuspend-rules.py and add udev rules | Zbigniew Jędrzejewski-Szmek | 2020-06-22 | 1 | -0/+14 |
Concatenating strings is not a very efficient approach. And in this case fully unnecessary. We also need some rules to make use of those hwdb entries. PCI needs to be 8 characters, not 4. And we need to use uppercase hexadecimal for both. With udev rules this made no difference, but hwdb match is case sensitive. Fixes #16119. |