linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Richard van der Hoff <linux@rvanderhoff.org.uk>
Cc: linux-pci@vger.kernel.org,
	Andreas Noever <andreas.noever@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Hotplug not working for USB 3.1 docking station on Dell XPS 13
Date: Thu, 25 Aug 2016 08:15:36 -0500	[thread overview]
Message-ID: <20160825131536.GA9554@localhost> (raw)
In-Reply-To: <57BEE0E7.7020300@rvanderhoff.org.uk>

On Thu, Aug 25, 2016 at 01:13:27PM +0100, Richard van der Hoff wrote:
> On 24/08/16 21:15, Bjorn Helgaas wrote:
> >[+cc Andreas, linux-kernel]
> >
> >On Wed, Aug 24, 2016 at 05:40:53PM +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).  ...
> >>My impression, and feedback from the linux-usb mailing list, is
> >>therefore that this is a PCI hotplug problem.
> >
> >Please include a pointer to the linux-usb analysis.
> 
> For the record, here:
> http://marc.info/?l=linux-usb&m=147204147226274&w=2, however:

Huh, turns out you and Oliver were right about it being a PCI problem.
But it would have saved some time to know how Oliver decided that.
Otherwise it's just "he said, she said."

> > From the kernel's point of view, plugging in the dock would be a PCIe
> >hotplug event on 00:1c.0 that should be handled by pciehp.  Do you
> >have pciehp included in your kernel?
> 
> I did not; now I do, and it works perfectly. Thank you! A case of it
> being incredibly obvious once you know what you are looking for.
> 
> >01:00.0 and 02:02.0 are ports of a Thunderbolt switch. Since they
> >don't appear when you boot without the docking station, the dock
> >connection must be between 00:1c.0 and 01:00.0.
> 
> This would strike me as surprising - the dock bills itself as a
> USB-C device, and the Thunderbolt devices look like they are part of
> the laptop chipset to me. To me it seems more likely that those PCI
> devices are part of the laptop, but are powered down until something
> is plugged into the USB-C port.

Yep, I agree, that sounds like a better theory.  Glad it's working
now.

Bjorn

      reply	other threads:[~2016-08-25 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-24 16:40 Hotplug not working for USB 3.1 docking station on Dell XPS 13 Richard van der Hoff
2016-08-24 20:15 ` Bjorn Helgaas
2016-08-25 12:13   ` Richard van der Hoff
2016-08-25 13:15     ` Bjorn Helgaas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160825131536.GA9554@localhost \
    --to=helgaas@kernel.org \
    --cc=andreas.noever@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux@rvanderhoff.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).