On Tue, 7 Jan 2014, Holger Hans Peter Freyther wrote: > On Tue, Jan 07, 2014 at 10:32:08AM -0500, Alan Stern wrote: > > > > I think in my case quirk_usb_handoff_xhci is called during boot that > > > will switch the ports to the XHCI. > > > > That's what I said. Early PCI processing occurs during boot. > > Sure, I was referring to "run only when the computer is turned off". > > > > > One possibility: noxhci-port-switch > > Okay. Any opinion of having xhci-hcd switch the routing during module > unloading? I will prepare a boot param patch this week. I would leave everything else the same as it is now. Simply prevent all port switching if the boot flag is given. That will keep everything nice and simple. A slightly more complicated approach would be noxhci-port-switch=0xYY where YY is a bitmask of the ports which should never be allowed to be switched. (This becomes unwieldy if there is more than one xHCI controller on the motherboard, but I don't think Intel is making any systems like that.) Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html