From d4f6cdb498fce65b9ffe2038cb4b0370a06a6683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 16 Dec 2024 10:56:19 +0100 Subject: [PATCH] Make "multimedia" devices more detailed Distinguish between audio, video and display adapters. This is especially relevant when setting up sys-audio or sys-gui-gpu, otherwise it's hard to find which "multimedia" device is the right one. --- qubes/device_protocol.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qubes/device_protocol.py b/qubes/device_protocol.py index 1a4a353d3..69271ee43 100644 --- a/qubes/device_protocol.py +++ b/qubes/device_protocol.py @@ -632,13 +632,14 @@ class DeviceCategory(Enum): Microphone = ("m******",) # Multimedia = Audio, Video, Displays etc. Multimedia = ( - "u01****", - "u0e****", "u06****", "u10****", "p03****", "p04****", ) + Audio = ("p0403**", "u01****") + Display = ("p0300**", "p0380**") + Video = ("p0400**", "u0e****") Wireless = ("ue0****", "p0d****") Bluetooth = ("ue00101", "p0d11**") Storage = ("b******", "u08****", "p01****")