Re: Hotplug not working for USB 3.1 docking station on Dell XPS 13

2016-08-24 Thread Oliver Neukum
On Wed, 2016-08-24 at 14:43 +0100, Richard van der Hoff wrote:
> On 24/08/16 13:17, Oliver Neukum wrote:
> > On Wed, 2016-08-24 at 11:27 +0100, Richard van der Hoff wrote:
> >> I'm having problems with a Plugable USB-C docking station, with my
> >> laptop, a Dell XPS 13 (9350). If the docking station is plugged in at
> >> boot, it works correctly; however, when I hotplug it after boot, the
> >> USB
> >> devices are not detected until I force a rescan of the PCI bus.
> >>
> >> ...
> >
> > It looks like your initial diagnosis was correct. This is a PCI
> > issue.
> 
> Right. Do you happen to know if the bugzilla is the best place to pursue 
> it, or if there is an alternative mailing list?

linux-...@vger.kernel.org

HTH
Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Hotplug not working for USB 3.1 docking station on Dell XPS 13

2016-08-24 Thread Richard van der Hoff

On 24/08/16 15:17, Oliver Neukum wrote:

On Wed, 2016-08-24 at 14:43 +0100, Richard van der Hoff wrote:

It looks like your initial diagnosis was correct. This is a PCI
issue.


Right. Do you happen to know if the bugzilla is the best place to pursue
it, or if there is an alternative mailing list?


linux-...@vger.kernel.org


Thank you!
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Hotplug not working for USB 3.1 docking station on Dell XPS 13

2016-08-24 Thread Richard van der Hoff


On 24/08/16 13:17, Oliver Neukum wrote:

On Wed, 2016-08-24 at 11:27 +0100, Richard van der Hoff wrote:

I'm having problems with a Plugable USB-C docking station, with my
laptop, a Dell XPS 13 (9350). If the docking station is plugged in at
boot, it works correctly; however, when I hotplug it after boot, the
USB
devices are not detected until I force a rescan of the PCI bus.

...


It looks like your initial diagnosis was correct. This is a PCI
issue.


Right. Do you happen to know if the bugzilla is the best place to pursue 
it, or if there is an alternative mailing list?



What did you do at 814s after boot?


Nothing, as far as I know. Possibly I switched to a text console? I 
don't *think* the error at that point is related.



Please don't just add a log without comments if you do something.
One cannot tell what happens in response to what.


Noted. The comments at 
https://bugzilla.kernel.org/show_bug.cgi?id=151261#c3 were my best 
attempt at explaining what I'd done, but I appreciate they might be 
insufficient.


Thanks for your help.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Hotplug not working for USB 3.1 docking station on Dell XPS 13

2016-08-24 Thread Oliver Neukum
On Wed, 2016-08-24 at 11:27 +0100, Richard van der Hoff wrote:
> I'm having problems with a Plugable USB-C docking station, with my 
> laptop, a Dell XPS 13 (9350). If the docking station is plugged in at 
> boot, it works correctly; however, when I hotplug it after boot, the
> USB 
> devices are not detected until I force a rescan of the PCI bus.
> 
> I originally assumed this was a problem with the PCI subsystem, so 
> reported it at https://bugzilla.kernel.org/show_bug.cgi?id=151261,
> but 
> was sent on from there to here. In any case, there are some dmesg
> traces 
> and lspci logs attached to that bug.

It looks like your initial diagnosis was correct. This is a PCI
issue. What did you do at 814s after boot?
Please don't just add a log without comments if you do something.
One cannot tell what happens in response to what.

Regards
Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Hotplug not working for USB 3.1 docking station on Dell XPS 13

2016-08-24 Thread Richard van der Hoff

Hi,

I'm having problems with a Plugable USB-C docking station, with my 
laptop, a Dell XPS 13 (9350). If the docking station is plugged in at 
boot, it works correctly; however, when I hotplug it after boot, the USB 
devices are not detected until I force a rescan of the PCI bus.


I originally assumed this was a problem with the PCI subsystem, so 
reported it at https://bugzilla.kernel.org/show_bug.cgi?id=151261, but 
was sent on from there to here. In any case, there are some dmesg traces 
and lspci logs attached to that bug.


The lspci output suggests a chain of three PCI bridges (00:1c.0, 
01:00.0, 02:02.0) before a PCI->USB bridge (05:00.0 or 39:00.0). If I 
boot without the docking station plugged in, 01:00.0 and beyond do not 
appear, and nor do they appear on hotplug. However, if I hotplug the 
docking station and then force a rescan with "echo 1 > 
/sys/bus/pci/devices/:00:1c.0/rescan", the PCI bridges and USB 
devices appear and spring into life.


There are some ACPI errors in the dmesg at hotplug but they don't really 
mean much to me.


I'd really appreciate any suggestions on how to proceed with this.

Thanks

Richard van der Hoff
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html