From 06ccdad6516ab51347a0dcdbd7c49b58239b6928 Mon Sep 17 00:00:00 2001 From: Pranav Sharma Date: Fri, 5 Aug 2022 12:30:54 -0400 Subject: [PATCH 1/2] Add workaround for tlp autosuspend issues --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cb0444a..1daf5ad 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ If it's not running, you can enable and/or start it by substituting `status` wit #### Errors on startup -It `systemctl status python3-validity` complains about errors on startup, you may need to factory-reset the fingerprint chip. Do that like so: +If `systemctl status python3-validity` complains about errors on startup, you may need to factory-reset the fingerprint chip. Do that like so: ``` $ sudo systemctl stop python3-validity $ sudo validity-sensors-firmware @@ -75,6 +75,18 @@ $ sudo python3 /usr/share/python-validity/playground/factory-reset.py $ sudo systemctl start python3-validity $ fprintd-enroll ``` +If you are running TLP, be sure to add the lsusb id for the fingerprint reader to the [USB_DENYLIST](https://linrunner.de/tlp/settings/usb.html#usb-denylist) + + +``` +$ sudo vim /etc/tlp.conf + +# add this to /etc/tlp.conf and save +USB_DENYLIST="" + +$ sudo tlp usb +``` + #### Fingerprint not working after waking up from suspend From 2412438c3c25c9df0c73d12c23c9b276a42ec654 Mon Sep 17 00:00:00 2001 From: Pranav Sharma Date: Mon, 9 Sep 2024 10:56:38 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1daf5ad..70e3ede 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ $ sudo python3 /usr/share/python-validity/playground/factory-reset.py $ sudo systemctl start python3-validity $ fprintd-enroll ``` -If you are running TLP, be sure to add the lsusb id for the fingerprint reader to the [USB_DENYLIST](https://linrunner.de/tlp/settings/usb.html#usb-denylist) +If you are running TLP, be sure to add the fingerprint reader to the [USB_DENYLIST](https://linrunner.de/tlp/settings/usb.html#usb-denylist) ``` @@ -85,6 +85,10 @@ $ sudo vim /etc/tlp.conf USB_DENYLIST="" $ sudo tlp usb + +# sure denylist setting is applied + +$ sudo tlp-stat --usb ```