linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard van der Hoff <linux@rvanderhoff.org.uk>
To: linux-pci@vger.kernel.org
Subject: Hotplug not working for USB 3.1 docking station on Dell XPS 13
Date: Wed, 24 Aug 2016 17:40:53 +0100	[thread overview]
Message-ID: <57BDCE15.4080201@rvanderhoff.org.uk> (raw)

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 have also raised this as a bug at 
https://bugzilla.kernel.org/show_bug.cgi?id=151261. 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/0000:00:1c.0/rescan", the PCI bridges and USB 
devices appear and spring into life.

My impression, and feedback from the linux-usb mailing list, is 
therefore that this is a PCI hotplug problem.

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

             reply	other threads:[~2016-08-24 17:01 UTC|newest]

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

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=57BDCE15.4080201@rvanderhoff.org.uk \
    --to=linux@rvanderhoff.org.uk \
    --cc=linux-pci@vger.kernel.org \
    /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).