NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/55258: xhci1 behaves incorrectly
The following reply was made to PR kern/55258; it has been noted by GNATS.
From: Ryo ONODERA <ryo%tetera.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/55258: xhci1 behaves incorrectly
Date: Sun, 17 May 2020 20:32:14 +0900
I have investigated some more and I think that I have 2 problems
about the original PR.
(1) xhci1 (second xhci) is not detected only when a USB device
is connected to USB Type-C before boot.
This situation is observed with Linux kernel.
However Linux kernel can detect second xhci when a USB device is
connected to USB Type-C after boot.
I think that this problem may requires PCI hotplug.
(2) Root hubs connected to xhci1 are disabled.
I have found that this problem is related to ACPI.
https://github.com/acpica/acpica/commit/6c43e1acdf93a04ca32898d1d89d93fde04d121a
fixes this problem.
However this change is partially reverted by
https://github.com/acpica/acpica/commit/7ef6f75cc2e20b9dd25ef2fe88717d8a1e0e67ad
and the problem appears again.
The following patch enables the root hub ports.
Index: sys/external/bsd/acpica/dist/events/evgpeblk.c
===================================================================
RCS file: /cvsroot/src/sys/external/bsd/acpica/dist/events/evgpeblk.c,v
retrieving revision 1.1.1.13
diff -u -r1.1.1.13 evgpeblk.c
--- sys/external/bsd/acpica/dist/events/evgpeblk.c 28 Mar 2020 19:46:36 -0000 1.1.1.13
+++ sys/external/bsd/acpica/dist/events/evgpeblk.c 16 May 2020 12:15:57 -0000
@@ -533,7 +533,7 @@
continue;
}
- Status = AcpiEvAddGpeReference (GpeEventInfo, FALSE);
+ Status = AcpiEvAddGpeReference (GpeEventInfo, TRUE);
if (ACPI_FAILURE (Status))
{
ACPI_EXCEPTION ((AE_INFO, Status,
Of course, Linux can enable the root hub ports without this change.
And I will post dmesg with -x boot option later.
Home |
Main Index |
Thread Index |
Old Index