[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-08-11 Thread Alex Tu
** Tags added: oem-priority originate-from-1880498 somerville

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in OEM Priority Project:
  New
Status in linux package in Ubuntu:
  Won't Fix

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-06-18 Thread Kai-Heng Feng
Since it doesn't seem to affect any real functionality, let's close it.

** Changed in: linux (Ubuntu)
   Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in linux package in Ubuntu:
  Won't Fix

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-06-17 Thread Kai-Heng Feng
> Is there any USB3 device connected at all?
No. Only a Thunderbolt Dock is connected.

> Just stays in disabled/Disconnected, as if no device is connected.
Because there's no device connected to it. Actually it seems to be completely 
unused.

I wonder if we can disable the Bus 01/02 xHC completely, since all internal 
USBs are connected to the other xHC:
$ lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 1M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M
|__ Port 5: Dev 2, If 0, Class=Vendor Specific Class, Driver=, 12M
|__ Port 9: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 9: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 9: Dev 3, If 2, Class=Video, Driver=uvcvideo, 480M
|__ Port 9: Dev 3, If 3, Class=Video, Driver=uvcvideo, 480M
|__ Port 9: Dev 3, If 4, Class=Application Specific Interface, Driver=, 480M
|__ Port 10: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 10: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 1M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M

External USBs and Thunderbolt are also connected to Bus 03/04.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-06-11 Thread Mathias Nyman
I'm not aware of any known issue like this.
Is there any USB3 device connected at all?

The only sign of a connected device is that one time CAS bit is set.

device never reaches enables state (no successful link training), no error, 
not going to invalid or compliance state either.
Just stays in disabled/Disconnected, as if no device is connected.

Driver tries everything to enable the device, several resets, warm reset, turns 
port power
off/on, but no reaction. 

(CAS -Cold Attach Status is set when xHC can't advance the link to the enabled 
U0 state due
to itself being in D3, or because its clocks are not running.)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-06-09 Thread Mika Westerberg
I don't know much about xHCI so Mathias can comment on that. I do
remember seeing messages like:

  usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

in the past but not sure if it is only with ICL. It is also weird that
the TCSS xHCI is doing anything if you plug TBT 3 device since USB is
not tunneled. Might be something related to Type-C or PD.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-06-08 Thread Kai-Heng Feng
Mika, Matthias,

Can you please take a look at the dmesg? If it's a known bug in ICL TBT
firmware/hardware, we can close this issue.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-05-14 Thread Kai-Heng Feng
usb1 and usb2 is root hub of "00:0d.0 USB controller [0c03]: Intel
Corporation Ice Lake Thunderbolt 3 USB Controller [8086:8a13] (rev 03)
(prog-if 30 [XHCI])".


** Changed in: linux (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-05-14 Thread Kai-Heng Feng
firmwares are all up-to-date.

** Attachment added: "fwupdmgr-get-devices"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+attachment/5371510/+files/fwupdmgr-get-devices

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-05-14 Thread Kai-Heng Feng
lspci -vvnn

** Attachment added: "lspci"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+attachment/5371508/+files/lspci

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-05-14 Thread Kai-Heng Feng
** Attachment added: "lsusb"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+attachment/5371509/+files/lsusb

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1878602] Re: When TBT dock is plugged into ICL TBT xHCI, port without device is in CAS state, causes many warm reset fail

2020-05-14 Thread Kai-Heng Feng
** Attachment added: "dmesg"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+attachment/5371507/+files/dmesg

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1878602

Title:
  When TBT dock is plugged into ICL TBT xHCI, port without device is in
  CAS state, causes many warm reset fail

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since we can't use bugzilla for USB bugs, let's use Launchpad so we
  can attach dmesg :)

  System: XPS 9300 ICL
  Dock: Dell WD19TB Thunderbolt dock
  Linux: 5.7-rc5

  Right after the dock is plugged,
  [  127.205823] xhci_hcd :00:0d.0: Get port status 2-1 read: 0x10202a0, 
return 0x10341
  [  127.205832] usb usb2-port1: status 0341 change 0001

  CAS is flagged so warm-reset ensues:
  [  127.313467] usb usb2-port1: do warm reset

  However, it seems nothing is connected to usb2-port1, causes many warm-reset 
fail, hence this error message:
  [  132.158968] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

  This issue doesn't happen on CML system with AR/TR TBT controller.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878602/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp