systemd/0931-Update-hwdb-autosuspend-rules.patch

125 lines
2.8 KiB
Diff
Raw Normal View History

From 325df0e5526b594ca3ef9abd61449e5803897300 Mon Sep 17 00:00:00 2001
From: Luca Boccassi <bluca@debian.org>
Date: Wed, 1 Nov 2023 13:44:24 +0000
Subject: [PATCH] Update hwdb autosuspend rules
(cherry picked from commit 73b2d485589ec7c6a32999ab0911690a7107fa6e)
Related: RHEL-5950
---
hwdb.d/60-autosuspend-fingerprint-reader.hwdb | 21 +++++++++++++++++++
tools/chromiumos/gen_autosuspend_rules.py | 2 ++
2 files changed, 23 insertions(+)
diff --git a/hwdb.d/60-autosuspend-fingerprint-reader.hwdb b/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
index 5719696bfc..6f6627d5b1 100644
--- a/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
+++ b/hwdb.d/60-autosuspend-fingerprint-reader.hwdb
@@ -153,6 +153,7 @@ usb:v04F3p0C82*
usb:v04F3p0C88*
usb:v04F3p0C8C*
usb:v04F3p0C8D*
+usb:v04F3p0C99*
ID_AUTOSUSPEND=1
ID_PERSIST=0
@@ -179,7 +180,9 @@ usb:v27C6p609C*
usb:v27C6p60A2*
usb:v27C6p60A4*
usb:v27C6p60BC*
+usb:v27C6p6304*
usb:v27C6p631C*
+usb:v27C6p633C*
usb:v27C6p634C*
usb:v27C6p6384*
usb:v27C6p639C*
@@ -187,6 +190,7 @@ usb:v27C6p63AC*
usb:v27C6p63BC*
usb:v27C6p63CC*
usb:v27C6p6496*
+usb:v27C6p6582*
usb:v27C6p6584*
usb:v27C6p658C*
usb:v27C6p6592*
@@ -202,6 +206,11 @@ usb:v298Dp1010*
ID_AUTOSUSPEND=1
ID_PERSIST=0
+# Supported by libfprint driver realtek
+usb:v0BDAp5813*
+ ID_AUTOSUSPEND=1
+ ID_PERSIST=0
+
# Supported by libfprint driver synaptics
usb:v06CBp00BD*
usb:v06CBp00DF*
@@ -217,6 +226,8 @@ usb:v06CBp0129*
usb:v06CBp0168*
usb:v06CBp015F*
usb:v06CBp0104*
+usb:v06CBp0173*
+usb:v06CBp0106*
ID_AUTOSUSPEND=1
ID_PERSIST=0
@@ -285,6 +296,7 @@ usb:v138Ap0091*
ID_PERSIST=0
# Known unsupported devices
+usb:v047Dp00F2*
usb:v04E8p730B*
usb:v04F3p036B*
usb:v04F3p0C00*
@@ -292,9 +304,12 @@ usb:v04F3p0C4C*
usb:v04F3p0C57*
usb:v04F3p0C5E*
usb:v04F3p0C5A*
+usb:v04F3p0C6C*
usb:v04F3p0C70*
usb:v04F3p0C72*
+usb:v04F3p0C77*
usb:v04F3p2706*
+usb:v04F3p3032*
usb:v04F3p3057*
usb:v04F3p3104*
usb:v04F3p310D*
@@ -343,12 +358,16 @@ usb:v138Ap0094*
usb:v138Ap0097*
usb:v138Ap009D*
usb:v138Ap00AB*
+usb:v138Ap00A6*
usb:v147Ep1002*
usb:v1491p0088*
usb:v16D1p1027*
usb:v1C7Ap0300*
usb:v1C7Ap0575*
usb:v1C7Ap0576*
+usb:v1C7Ap0577*
+usb:v1C7Ap0582*
+usb:v1C7Ap05A1*
usb:v27C6p5042*
usb:v27C6p5110*
usb:v27C6p5117*
@@ -376,6 +395,8 @@ usb:v27C6p55B4*
usb:v27C6p5740*
usb:v27C6p5E0A*
usb:v27C6p581A*
+usb:v27C6p589A*
+usb:v27C6p6382*
usb:v2808p9338*
usb:v2808p93A9*
usb:v298Dp2020*
diff --git a/tools/chromiumos/gen_autosuspend_rules.py b/tools/chromiumos/gen_autosuspend_rules.py
index cbdd577e95..d6fbcdad7c 100644
--- a/tools/chromiumos/gen_autosuspend_rules.py
+++ b/tools/chromiumos/gen_autosuspend_rules.py
@@ -147,6 +147,8 @@ USB_IDS += [
'0bda:0136',
# Realtek (SD card reader) (falco)
'0bda:0177',
+ # Realtek (SD card reader) (pirrha)
+ "0bda:0129",
]
# Security Key