Skip to content

Commit d4f6cdb

Browse files
committed
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.
1 parent 3153306 commit d4f6cdb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

qubes/device_protocol.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,13 +632,14 @@ class DeviceCategory(Enum):
632632
Microphone = ("m******",)
633633
# Multimedia = Audio, Video, Displays etc.
634634
Multimedia = (
635-
"u01****",
636-
"u0e****",
637635
"u06****",
638636
"u10****",
639637
"p03****",
640638
"p04****",
641639
)
640+
Audio = ("p0403**", "u01****")
641+
Display = ("p0300**", "p0380**")
642+
Video = ("p0400**", "u0e****")
642643
Wireless = ("ue0****", "p0d****")
643644
Bluetooth = ("ue00101", "p0d11**")
644645
Storage = ("b******", "u08****", "p01****")

0 commit comments

Comments
 (0)