mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xorg-server: allow using virtual drivers
This commit is contained in:
parent
2cada2df2e
commit
dba87b4c21
@ -20,6 +20,13 @@ ACTION!="add|change", GOTO="end_video"
|
||||
|
||||
# xorg_start only does something for subsystem "pci" and "video" class.
|
||||
SUBSYSTEM=="pci", ATTR{class}=="0x030000", GOTO="subsystem_pci"
|
||||
SUBSYSTEM=="drivers", GOTO="subsystem_drivers"
|
||||
GOTO="end_video"
|
||||
|
||||
# check for drivers dont use the pci substem
|
||||
LABEL="subsystem_drivers"
|
||||
KERNEL=="vboxvideo", ENV{xorg_driver}="vboxvideo", TAG+="systemd", ENV{SYSTEMD_WANTS}+="xorg-configure@vboxvideo.service"
|
||||
KERNEL=="vmwgfx", ENV{xorg_driver}="vmware", TAG+="systemd", ENV{SYSTEMD_WANTS}+="xorg-configure@vmware.service"
|
||||
GOTO="end_video"
|
||||
|
||||
# check for drivers using the pci substem
|
||||
|
Loading…
x
Reference in New Issue
Block a user