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 <>
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.
 fixes this problem.
 However this change is partially reverted by
 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
 diff -u -r1.1.1.13 evgpeblk.c
 --- sys/external/bsd/acpica/dist/events/evgpeblk.c	28 Mar 2020 19:46:36 -0000
 +++ sys/external/bsd/acpica/dist/events/evgpeblk.c	16 May 2020 12:15:57 -0000
 @@ -533,7 +533,7 @@
 -            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