Re: USB-C Devices only show up if connected at boot

2018-02-11 Thread Mika Westerberg
On Sun, Feb 11, 2018 at 06:59:52PM +, Mike Lothian wrote: > This a final patch ever get sent out? I'll send it out tomorrow once merge window is closed. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo

Re: USB-C Devices only show up if connected at boot

2018-02-11 Thread Mike Lothian
On 29 January 2018 at 09:44, Mika Westerberg wrote: > On Sat, Jan 27, 2018 at 01:31:00PM +, Mike Lothian wrote: >> On 26 January 2018 at 09:53, Mike Lothian wrote: >> > On 26 January 2018 at 08:31, Mika Westerberg >> > wrote: >> >> On Fri, Jan 26, 2018 at 08:07:56AM +, Mike Lothian wrote

Re: USB-C Devices only show up if connected at boot

2018-01-29 Thread Mika Westerberg
On Sat, Jan 27, 2018 at 01:31:00PM +, Mike Lothian wrote: > On 26 January 2018 at 09:53, Mike Lothian wrote: > > On 26 January 2018 at 08:31, Mika Westerberg > > wrote: > >> On Fri, Jan 26, 2018 at 08:07:56AM +, Mike Lothian wrote: > >>> Whether CONFIG_HOTPLUG_PCI_ACPI=y or CONFIG_HOTPLUG

Re: USB-C Devices only show up if connected at boot

2018-01-27 Thread Mike Lothian
On 26 January 2018 at 09:53, Mike Lothian wrote: > On 26 January 2018 at 08:31, Mika Westerberg > wrote: >> On Fri, Jan 26, 2018 at 08:07:56AM +, Mike Lothian wrote: >>> Whether CONFIG_HOTPLUG_PCI_ACPI=y or CONFIG_HOTPLUG_PCI_ACPI=n the >>> device doesn't show unless echo 1 > /sys/bus/pci/res

Re: USB-C Devices only show up if connected at boot

2018-01-26 Thread Mike Lothian
On 26 January 2018 at 08:31, Mika Westerberg wrote: > On Fri, Jan 26, 2018 at 08:07:56AM +, Mike Lothian wrote: >> Whether CONFIG_HOTPLUG_PCI_ACPI=y or CONFIG_HOTPLUG_PCI_ACPI=n the >> device doesn't show unless echo 1 > /sys/bus/pci/rescan is issued > > That's not how it is supposed to work.

Re: USB-C Devices only show up if connected at boot

2018-01-26 Thread Mika Westerberg
On Fri, Jan 26, 2018 at 08:07:56AM +, Mike Lothian wrote: > Whether CONFIG_HOTPLUG_PCI_ACPI=y or CONFIG_HOTPLUG_PCI_ACPI=n the > device doesn't show unless echo 1 > /sys/bus/pci/rescan is issued That's not how it is supposed to work. Please send me full dmesg and in addition acpidump of the sy

Re: USB-C Devices only show up if connected at boot

2018-01-26 Thread Mike Lothian
On 26 January 2018 at 06:33, Mika Westerberg wrote: > On Thu, Jan 25, 2018 at 10:20:02PM +, Mike Lothian wrote: >> I've just tried this and the USB-C device was detected :D This is the >> first time it's ever been detected after boot >> >> 02:00.0 PCI bridge: Intel Corporation DSL6340 Thunderb

Re: USB-C Devices only show up if connected at boot

2018-01-25 Thread Mika Westerberg
On Thu, Jan 25, 2018 at 10:20:02PM +, Mike Lothian wrote: > I've just tried this and the USB-C device was detected :D This is the > first time it's ever been detected after boot > > 02:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge > [Alpine Ridge 2C 2015] >Kernel driv

Re: USB-C Devices only show up if connected at boot

2018-01-25 Thread Mika Westerberg
On Thu, Jan 25, 2018 at 09:31:08PM +, Mike Lothian wrote: > I've tried with and without those being set, neither help, having > CONFIG_HOTPLUG_PCI_ACPI=y on causes my NVMe drive to disappear after > suspend You *must* have those set, othewise the xHCI will not work. Can you do so that you ena

Re: USB-C Devices only show up if connected at boot

2018-01-25 Thread Mike Lothian
On 25 January 2018 at 21:31, Mike Lothian wrote: > > Hi > > I've tried with and without those being set, neither help, having > CONFIG_HOTPLUG_PCI_ACPI=y on causes my NVMe drive to disappear after > suspend > > I'll switch back into windows and check I've the latest firmware for > Thunderbolt, is

Re: USB-C Devices only show up if connected at boot

2018-01-25 Thread Mike Lothian
On Thu, 25 Jan 2018 at 10:52 Mika Westerberg wrote: > > On Thu, Jan 25, 2018 at 12:35:49PM +0200, Heikki Krogerus wrote: > > +Mika > > > > On Tue, Jan 23, 2018 at 05:43:27PM +, Mike Lothian wrote: > > > On Tue, 23 Jan 2018 at 17:30 Greg KH wrote: > > > > > > > > On Tue, Jan 23, 2018 at 05:12:

Re: USB-C Devices only show up if connected at boot

2018-01-25 Thread Mika Westerberg
On Thu, Jan 25, 2018 at 12:35:49PM +0200, Heikki Krogerus wrote: > +Mika > > On Tue, Jan 23, 2018 at 05:43:27PM +, Mike Lothian wrote: > > On Tue, 23 Jan 2018 at 17:30 Greg KH wrote: > > > > > > On Tue, Jan 23, 2018 at 05:12:03PM +, Mike Lothian wrote: > > > > Hi > > > > > > > > I raised

Re: USB-C Devices only show up if connected at boot

2018-01-25 Thread Heikki Krogerus
+Mika On Tue, Jan 23, 2018 at 05:43:27PM +, Mike Lothian wrote: > On Tue, 23 Jan 2018 at 17:30 Greg KH wrote: > > > > On Tue, Jan 23, 2018 at 05:12:03PM +, Mike Lothian wrote: > > > Hi > > > > > > I raised https://bugzilla.kernel.org/show_bug.cgi?id=198557 but was > > > informed by Greg b

Re: USB-C Devices only show up if connected at boot

2018-01-24 Thread Mike Lothian
On 24 January 2018 at 10:42, Oliver Neukum wrote: > Am Mittwoch, den 24.01.2018, 10:30 + schrieb Mike Lothian: > > echo "file $NAMEOFKERNELSOURCEFILEYOUWANT +mfp" > > /sys/kernel/debug/dynamic_debug/control > > HTH > Oliver > OK so I'm enabling dynamic debugging in th

Re: USB-C Devices only show up if connected at boot

2018-01-24 Thread Oliver Neukum
Am Mittwoch, den 24.01.2018, 10:30 + schrieb Mike Lothian: > On 24 January 2018 at 10:04, Oliver Neukum wrote: > > > > Am Mittwoch, den 24.01.2018, 09:36 + schrieb Mike Lothian: > > > > > > > > > I've played around with this some more, if the device is connected > > > after boot nothing

Re: USB-C Devices only show up if connected at boot

2018-01-24 Thread Mike Lothian
On 24 January 2018 at 10:04, Oliver Neukum wrote: > Am Mittwoch, den 24.01.2018, 09:36 + schrieb Mike Lothian: >> >> I've played around with this some more, if the device is connected >> after boot nothing shows when it's plugged in >> >> I did however get more messages out when I disconnected

Re: USB-C Devices only show up if connected at boot

2018-01-24 Thread Oliver Neukum
Am Mittwoch, den 24.01.2018, 09:36 + schrieb Mike Lothian: > > I've played around with this some more, if the device is connected > after boot nothing shows when it's plugged in > > I did however get more messages out when I disconnected the device > after booting with it (see attached) > T

Re: USB-C Devices only show up if connected at boot

2018-01-24 Thread Mike Lothian
On Wed, 24 Jan 2018 at 08:46 Greg KH wrote: > > > > > Hi > > > > PCI Hotplug and ACPI Hotplug are disabled on my system due to bug > > https://bugzilla.kernel.org/show_bug.cgi?id=112121 where by my NVMe > > drive would disappear from the system after suspend making my system > > inoperable > > Ah,

Re: USB-C Devices only show up if connected at boot

2018-01-24 Thread Greg KH
On Wed, Jan 24, 2018 at 08:39:10AM +, Mike Lothian wrote: > On Wed, 24 Jan 2018 at 04:07 Greg KH wrote: > > > > On Tue, Jan 23, 2018 at 05:43:27PM +, Mike Lothian wrote: > > > On Tue, 23 Jan 2018 at 17:30 Greg KH wrote: > > > > > > > > On Tue, Jan 23, 2018 at 05:12:03PM +, Mike Lothia

Re: USB-C Devices only show up if connected at boot

2018-01-24 Thread Mike Lothian
On Wed, 24 Jan 2018 at 04:07 Greg KH wrote: > > On Tue, Jan 23, 2018 at 05:43:27PM +, Mike Lothian wrote: > > On Tue, 23 Jan 2018 at 17:30 Greg KH wrote: > > > > > > On Tue, Jan 23, 2018 at 05:12:03PM +, Mike Lothian wrote: > > > > Hi > > > > > > > > I raised https://bugzilla.kernel.org/s

Re: USB-C Devices only show up if connected at boot

2018-01-23 Thread Greg KH
On Tue, Jan 23, 2018 at 05:43:27PM +, Mike Lothian wrote: > On Tue, 23 Jan 2018 at 17:30 Greg KH wrote: > > > > On Tue, Jan 23, 2018 at 05:12:03PM +, Mike Lothian wrote: > > > Hi > > > > > > I raised https://bugzilla.kernel.org/show_bug.cgi?id=198557 but was > > > informed by Greg bugs sho

Re: USB-C Devices only show up if connected at boot

2018-01-23 Thread Mike Lothian
> > Hi Mike, > > You did not specify what provides the USB-C port. > > I suppose that your USB-C port is actually a Thunderbolt 3 port from an Intel > controller. > > What you describe is a well known bug that affects all Thunderbolt 3 ports > and this bug has always existed in Linux, including u

Re: USB-C Devices only show up if connected at boot

2018-01-23 Thread Adrian Bocaniciu
On Tue, 23 Jan 2018 17:43:27 + Mike Lothian wrote: > Hi > > I've applied all BIOS updates for my laptop including the pulled one > for Spectre/Meltdown & ME bugs the other week > http://www.dell.com/support/home/uk/en/ukdhs1/product-support/servicetag/8k5w662/drivers > > If it helps, I don'

Re: USB-C Devices only show up if connected at boot

2018-01-23 Thread Mike Lothian
On Tue, 23 Jan 2018 at 17:30 Greg KH wrote: > > On Tue, Jan 23, 2018 at 05:12:03PM +, Mike Lothian wrote: > > Hi > > > > I raised https://bugzilla.kernel.org/show_bug.cgi?id=198557 but was > > informed by Greg bugs should be raised on the mailing list not in > > bugzilla > > > > So USB-C devic

Re: USB-C Devices only show up if connected at boot

2018-01-23 Thread Greg KH
On Tue, Jan 23, 2018 at 05:12:03PM +, Mike Lothian wrote: > Hi > > I raised https://bugzilla.kernel.org/show_bug.cgi?id=198557 but was > informed by Greg bugs should be raised on the mailing list not in > bugzilla > > So USB-C devices only show up in dmesg or for use if they are > connected d

USB-C Devices only show up if connected at boot

2018-01-23 Thread Mike Lothian
Hi I raised https://bugzilla.kernel.org/show_bug.cgi?id=198557 but was informed by Greg bugs should be raised on the mailing list not in bugzilla So USB-C devices only show up in dmesg or for use if they are connected during boot Once booted and the device is disconnected the following message a