USB 3.1 controller does weird magic: appears after Windows 10, disappears otherwise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
I have motherboard GA-Z170X-UD5 TH with 2 USB Type-C (USB 3.1/Thunderbolt 3) ports, BIOS version F20b.
Both ports are "sleeping" on cold start - I can't boot from USB device plugged into any and both of these 2 USB Type-C ports. Ubuntu 17.04 as of December 11 doesn't see anything (no messages in dmesg).
But magically situation changes when involve Windows 10 to the party. I boot into Windows PE based on Windows 10 and it happily see flash drive and my Nexus 6P connected to both ports.
After this without unplugging mentioned devices I reboot into Ubuntu and "magic" - both flash drive and Nexus 6P work fine through these 2 USB Type-C ports. Even though it works in Ubuntu, BIOS still doesn't see anything.
nazar-pc ~ lspci -d ::0c03 -k
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H USB 3.0 xHCI Controller
Kernel driver in use: xhci_hcd
0b:00.0 USB controller: Intel Corporation DSL6540 USB 3.1 Controller [Alpine Ridge]
Subsystem: Device 2222:1111
Kernel driver in use: xhci_hcd
But things are even more interesting: when I unplug either Nexus 6P or flash drive and then plug back - they still work fine! But as soon as I unplug both of them - Ubuntu doesn't see anything and doesn't post anything into dmesg until I boot into Windows 10 again. Interestingly, USB 3.1 controller disappears:
nazar-pc ~ lspci -d ::0c03 -k
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
Subsystem: Gigabyte Technology Co., Ltd Sunrise Point-H USB 3.0 xHCI Controller
Kernel driver in use: xhci_hcd
nazar-pc ~ cat /proc/version_
Ubuntu 4.9.0-10.
---
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: Custom
DistroRelease: Ubuntu 17.04
EcryptfsInUse: Yes
IwConfig: Error: [Errno 2] Немає такого файла або каталогу
MachineType: Gigabyte Technology Co., Ltd. Z170X-UD5 TH
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 EFI VGA
ProcKernelCmdLine: root=UUID=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.162
RfKill: Error: [Errno 2] Немає такого файла або каталогу
Tags: zesty
Uname: Linux 4.9.0-10-lowlatency x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip docker lpadmin plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 11/07/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F20b
dmi.board.
dmi.board.name: Z170X-UD5 TH-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: Z170X-UD5 TH
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
tags: |
added: bios-outdated-f20 kernel-bug-exists-upstream-4.9 removed: 3.1 type-c usb |
tags: |
added: latest-bios-f20b removed: bios-outdated-f20 |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1649039
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.