hwdb: add a vmbus id for HyperV Video device

This commit is contained in:
Lain "Fearyncess" Yang 2024-05-30 13:51:40 +08:00 committed by Luca Boccassi
parent 5837d0dced
commit 0230235b57
2 changed files with 8 additions and 1 deletions

View File

@ -28,6 +28,13 @@ fb:pci:v000018CAd00000020*
fb:pci:v00001414d00005353*
ID_TAG_MASTER_OF_SEAT=1
# In some HyperV VMs, the video device only can be recognized by a vmbus id.
# So we should add a vmbus id for HyperV Video device.
#
# This id is extracted from Linux kernel's hyperv.h
fb:vmbus:02780ada77e3ac4a8e770558eb1073f8
ID_TAG_MASTER_OF_SEAT=1
#########################################
# Parallels
#########################################

View File

@ -74,7 +74,7 @@ UDEV_TAG = Word(string.ascii_uppercase, alphanums + '_')
# Those patterns are used in type-specific matches
TYPES = {'mouse': ('usb', 'bluetooth', 'ps2', '*'),
'evdev': ('name', 'atkbd', 'input'),
'fb': ('pci'),
'fb': ('pci', 'vmbus'),
'id-input': ('modalias'),
'touchpad': ('i8042', 'rmi', 'bluetooth', 'usb'),
'joystick': ('i8042', 'rmi', 'bluetooth', 'usb'),