mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2024-12-27 16:29:28 -05:00
UserFaq changed
Updated PCI-back-to-dom0 instructions
This commit is contained in:
parent
9d454f061b
commit
60e116086c
@ -152,12 +152,13 @@ This is an intended feature. A device which was previously assigned to a less tr
|
||||
|
||||
or
|
||||
|
||||
1. Go to the sysfs (`/sys/bus/pci`), find the right device, detach it from the pciback driver and attach back to the `ehci-pci`/`ehci-hcd` (`ehci-pci` on newer kernels). Assume that `00:1c.2` is your device:
|
||||
1. Go to the sysfs (`/sys/bus/pci`), find the right device, detach it from the pciback driver and attach back to the original driver. Replace `<BDF>` with your device, for example `00:1c.2`:
|
||||
|
||||
``` {.wiki}
|
||||
cd /sys/bus/pci/devices/0000:00:1c.2
|
||||
echo 0000:00:1c.2 > driver/unbind
|
||||
echo 0000:00:1c.2 > ../../drivers/ehci-pci/bind
|
||||
echo 0000:<BDF> > /sys/bus/pci/drivers/pciback/unbind
|
||||
MODALIAS=`cat /sys/bus/pci/devices/0000:<BDF>/modalias`
|
||||
MOD=`modprobe -R $MODALIAS | head -n 1`
|
||||
echo <BDF> > /sys/bus/pci/drivers/$MOD/bind
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user