Something like this:

for i in $(lspci -nn | grep Alpine | awk '{print $1}'); do
    i="0000:$i"
    echo "$i" > /sys/bus/pci/drivers/pcieport/unbind
    echo "$i" > /sys/bus/pci/drivers/pcieport/bind
done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1697395

Title:
  Thunderbolt devices don't work if connected during boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1697395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to