mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-07-26 16:26:01 -04:00
Merge branch 'xloem-patch-1'
This commit is contained in:
commit
918f1c8c0a
1 changed files with 3 additions and 3 deletions
|
@ -225,11 +225,11 @@ In order to re-enable the device in dom0, either:
|
||||||
or
|
or
|
||||||
|
|
||||||
* Go to the sysfs (`/sys/bus/pci`), find the right device, detach it from the pciback driver, and attach it back to the original driver.
|
* Go to the sysfs (`/sys/bus/pci`), find the right device, detach it from the pciback driver, and attach it back to the original driver.
|
||||||
Replace `<BDF>` with your device, for example `00:1c.2`:
|
Replace `<BDF>` with your full device, for example `0000:00:1c.2`:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
echo 0000:<BDF> > /sys/bus/pci/drivers/pciback/unbind
|
echo <BDF> > /sys/bus/pci/drivers/pciback/unbind
|
||||||
MODALIAS=`cat /sys/bus/pci/devices/0000:<BDF>/modalias`
|
MODALIAS=`cat /sys/bus/pci/devices/<BDF>/modalias`
|
||||||
MOD=`modprobe -R $MODALIAS | head -n 1`
|
MOD=`modprobe -R $MODALIAS | head -n 1`
|
||||||
echo <BDF> > /sys/bus/pci/drivers/$MOD/bind
|
echo <BDF> > /sys/bus/pci/drivers/$MOD/bind
|
||||||
~~~
|
~~~
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue