2020-06-19 00:38:58 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# The lookup keys are $MODALIAS strings, see udev's hwdb builtin.
|
|
|
|
#
|
|
|
|
# Match string formats:
|
|
|
|
# <subsystem>:<modalias>
|
|
|
|
#
|
2020-11-03 21:28:14 +08:00
|
|
|
# pci:v<vendor>d<device>
|
|
|
|
# usb:v<vendor>p<product>
|
2020-06-19 00:38:58 +08:00
|
|
|
#
|
|
|
|
# To add local entries, create a new file
|
|
|
|
# /etc/udev/hwdb.d/61-autosuspend-local.hwdb
|
|
|
|
# and add your rules there. To load the new rules execute (as root):
|
|
|
|
# systemd-hwdb update
|
|
|
|
# udevadm trigger /dev/…
|
|
|
|
#
|
|
|
|
# If your changes are generally applicable, preferably send them as a pull
|
|
|
|
# request to
|
|
|
|
# https://github.com/systemd/systemd
|
|
|
|
# or create a bug report on https://github.com/systemd/systemd/issues and
|
|
|
|
# include your new rules, a description of the device, and the output of
|
|
|
|
# udevadm info
|
|
|
|
# the device.
|
|
|
|
#
|
|
|
|
# Allowed properties are:
|
|
|
|
# ID_AUTOSUSPEND=1
|
2022-05-10 09:16:22 +08:00
|
|
|
# ID_AUTOSUSPEND_DELAY_MS=####
|
2021-09-16 00:37:24 +08:00
|
|
|
# ID_PERSIST=0
|
|
|
|
#
|
2022-05-10 09:16:22 +08:00
|
|
|
# ID_AUTOSUSPEND_DELAY_MS adjusts the delay for autosuspend to something
|
|
|
|
# different than the kernel default of 2000ms.
|
|
|
|
#
|
2021-09-16 00:37:24 +08:00
|
|
|
# ID_PERSIST=0 allows disabling the kernels USB "persist" feature, which allows
|
|
|
|
# the continued use of devices after a power loss (due to suspend). Disable it
|
|
|
|
# if the device will loose state without a USB power session and the driver
|
|
|
|
# is unable to recover the state when resuming. See
|
2022-07-04 22:26:30 +08:00
|
|
|
# https://docs.kernel.org/driver-api/usb/persist.html
|
2020-10-15 15:22:35 +08:00
|
|
|
|
2020-06-19 00:38:58 +08:00
|
|
|
# Sort by brand, model
|
|
|
|
|
|
|
|
#########################################
|
|
|
|
# Alcor
|
|
|
|
#########################################
|
|
|
|
|
|
|
|
# AU9540 Smartcard Reader
|
Partially revert "hwdb: add trailing ":*" everywhere"
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.
2020-11-03 21:17:53 +08:00
|
|
|
usb:v058Fp9540*
|
2020-06-19 00:38:58 +08:00
|
|
|
ID_AUTOSUSPEND=1
|
|
|
|
|
2023-11-22 07:38:54 +08:00
|
|
|
#########################################
|
|
|
|
# Framework
|
|
|
|
#########################################
|
|
|
|
|
|
|
|
# HDMI Expansion Card
|
|
|
|
usb:v32ACp0002*
|
|
|
|
# DisplayPort Expansion Card
|
|
|
|
usb:v32ACp0003*
|
|
|
|
ID_AUTOSUSPEND=1
|
|
|
|
|
2020-10-10 22:04:30 +08:00
|
|
|
#########################################
|
|
|
|
# Lenovo
|
|
|
|
#########################################
|
|
|
|
|
|
|
|
# X1C8 Touchscreen
|
Partially revert "hwdb: add trailing ":*" everywhere"
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.
2020-11-03 21:17:53 +08:00
|
|
|
usb:v04F3p2B7C*
|
2020-10-10 22:04:30 +08:00
|
|
|
# T14 Gen 1 Touchscreen
|
Partially revert "hwdb: add trailing ":*" everywhere"
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.
2020-11-03 21:17:53 +08:00
|
|
|
usb:v04F3p2ACC*
|
2020-10-10 22:04:30 +08:00
|
|
|
ID_AUTOSUSPEND=1
|
|
|
|
|
2021-10-21 20:47:35 +08:00
|
|
|
#########################################
|
|
|
|
# Microsoft
|
|
|
|
#########################################
|
|
|
|
|
|
|
|
# Surface Pro (2017) Type Cover
|
|
|
|
usb:v045Ep09C0*
|
|
|
|
ID_AUTOSUSPEND=1
|
|
|
|
|
2020-07-16 00:13:40 +08:00
|
|
|
#########################################
|
|
|
|
# QEMU
|
|
|
|
#########################################
|
|
|
|
|
|
|
|
# Emulated USB HID devices
|
Partially revert "hwdb: add trailing ":*" everywhere"
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.
2020-11-03 21:17:53 +08:00
|
|
|
usb:v0627p0001:*QEMU USB Keyboard*
|
|
|
|
usb:v0627p0001:*QEMU USB Mouse*
|
|
|
|
usb:v0627p0001:*QEMU USB Tablet*
|
2020-07-16 00:13:40 +08:00
|
|
|
ID_AUTOSUSPEND=1
|
|
|
|
|
2021-04-18 01:48:50 +08:00
|
|
|
#########################################
|
2022-05-10 09:16:26 +08:00
|
|
|
# WWAN
|
2021-04-18 01:48:50 +08:00
|
|
|
#########################################
|
|
|
|
|
|
|
|
# Sierra Wireless EM7345 4G LTE modem
|
|
|
|
usb:v1199pA001*
|
|
|
|
ID_AUTOSUSPEND=1
|
|
|
|
|
2022-05-10 09:16:26 +08:00
|
|
|
# Fibocom LG850-GL
|
|
|
|
usb:v2CB7p0007*
|
|
|
|
ID_AUTOSUSPEND=1
|
|
|
|
ID_AUTOSUSPEND_DELAY_MS=7000
|
|
|
|
|
2020-06-19 00:38:58 +08:00
|
|
|
#########################################
|
|
|
|
# Wacom
|
|
|
|
#########################################
|
|
|
|
|
Partially revert "hwdb: add trailing ":*" everywhere"
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.
2020-11-03 21:17:53 +08:00
|
|
|
usb:v056Ap51A0*
|
2020-06-19 00:38:58 +08:00
|
|
|
ID_AUTOSUSPEND=1
|