mirror of https://github.com/Flinner/dots.git
nvidia manual activate/reactivte
This commit is contained in:
parent
e7451a58b4
commit
ec0c51c07a
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
DEVICE_BUS_ID=$(lspci | grep "VGA compatible controller: NVIDIA" | awk '{print $1}')
|
||||
|
||||
sudo tee /sys/bus/pci/devices/0000:${DEVICE_BUS_ID}/remove <<<1
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
sudo tee /sys/bus/pci/rescan <<< 1
|
||||
|
Loading…
Reference in New Issue