From 62a7b25520f44d2484782b502d20bbc19347c9d8 Mon Sep 17 00:00:00 2001 From: xloem <0xloem@gmail.com> Date: Sun, 4 Mar 2018 16:47:56 -0500 Subject: [PATCH] Update assigning-devices.md I always have to prepend a 0000: to the final line of these instructions. It seems to me the '0000:' is needed in every line. --- configuration/assigning-devices.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configuration/assigning-devices.md b/configuration/assigning-devices.md index 1170cdf8..d2ee6543 100644 --- a/configuration/assigning-devices.md +++ b/configuration/assigning-devices.md @@ -225,11 +225,11 @@ In order to re-enable the device in dom0, either: 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. - Replace `` with your device, for example `00:1c.2`: + Replace `` with your full device, for example `0000:00:1c.2`: ~~~ - echo 0000: > /sys/bus/pci/drivers/pciback/unbind - MODALIAS=`cat /sys/bus/pci/devices/0000:/modalias` + echo > /sys/bus/pci/drivers/pciback/unbind + MODALIAS=`cat /sys/bus/pci/devices//modalias` MOD=`modprobe -R $MODALIAS | head -n 1` echo > /sys/bus/pci/drivers/$MOD/bind ~~~