Update nvidia-graphics-drivers-555/debian/nvidia-modprobe-555.udev
This commit is contained in:
parent
ba85362b67
commit
039c0b25fb
@ -6,7 +6,7 @@
|
|||||||
ACTION=="add|bind", ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", \
|
ACTION=="add|bind", ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", \
|
||||||
DRIVER=="nvidia", TEST!="/dev/nvidia-uvm", \
|
DRIVER=="nvidia", TEST!="/dev/nvidia-uvm", \
|
||||||
RUN+="/usr/bin/nvidia-modprobe", \
|
RUN+="/usr/bin/nvidia-modprobe", \
|
||||||
RUN+="/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4); do /usr/bin/nvidia-modprobe -c${i} && /usr/bin/nvidia-modprobe -s -c${i}; done", \
|
RUN+="/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4); do /usr/bin/nvidia-modprobe -c${i} && /usr/bin/nvidia-modprobe -s -c${i}; done'", \
|
||||||
RUN+="/usr/bin/nvidia-modprobe -l -m", \
|
RUN+="/usr/bin/nvidia-modprobe -l -m", \
|
||||||
RUN+="/usr/bin/nvidia-modprobe -c0 -u", \
|
RUN+="/usr/bin/nvidia-modprobe -c0 -u", \
|
||||||
RUN+="/usr/bin/nvidia-smi"
|
RUN+="/usr/bin/nvidia-smi"
|
||||||
@ -17,4 +17,4 @@ ACTION=="add|bind", SUBSYSTEM=="pci", DRIVERS=="nvidia", ATTR{vendor}=="0x10de",
|
|||||||
|
|
||||||
# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
|
# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
|
||||||
ACTION=="remove|unbind", SUBSYSTEM=="pci", DRIVERS=="nvidia", ATTR{vendor}=="0x10de", \
|
ACTION=="remove|unbind", SUBSYSTEM=="pci", DRIVERS=="nvidia", ATTR{vendor}=="0x10de", \
|
||||||
ATTR{class}=="0x03[0-9]*", TEST=="power/control", ATTR{power/control}="on"
|
ATTR{class}=="0x03[0-9]*", TEST=="power/control", ATTR{power/control}="on"
|
Loading…
Reference in New Issue
Block a user