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 Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1697395
Title:
Thunderbolt devices don't work if connected during boot
Status in linux package in Ubuntu:
Triaged
Bug description:
I am using a Dell XP 15 9550, if my Dockingstation (Dell TB16) is
connected during boot time, all the USB devices (like Keyboard,
Ethernet, ...) are only working while in grub boot menu. After booting
they stop working.
The two 4k screens which are connected to the dock, are working
properly in boot menu and after booting. If booting into Windows
everything is working, only linux is affected.
Disconnecting and reconnecting the dock solves this problem.
I have created the bug-report directly after boot, where the USB
devices are not working and attached "lspci-vnvn_after_reconnect.log"
after reconnecting the dock.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: linux-image-4.10.0-22-generic 4.10.0-22.24
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
Uname: Linux 4.10.0-22-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: andre_duewel 3163 F.... pulseaudio
CurrentDesktop: X-Cinnamon
Date: Mon Jun 12 11:17:26 2017
InstallationDate: Installed on 2017-04-12 (60 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
MachineType: Dell Inc. XPS 15 9550
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-22-generic.efi.signed
root=UUID=0ba04b8b-151f-4522-81a8-b6b01352ea35 ro quiet splash
nvme_core.default_ps_max_latency_us=6000 vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-4.10.0-22-generic N/A
linux-backports-modules-4.10.0-22-generic N/A
linux-firmware 1.164.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/22/2016
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.2.19
dmi.board.name: 0N7TVV
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias:
dmi:bvnDellInc.:bvr1.2.19:bd12/22/2016:svnDellInc.:pnXPS159550:pvr:rvnDellInc.:rn0N7TVV:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: XPS 15 9550
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1697395/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp