Marco Scholz [[email protected]] wrote:
> Hello.
> My laptop (Lenovo Thinkpad T495s AMD Ryzen) reports an iwm0 fatal
> firmware error. I'm running 6.9 #29.
> System gets quite hot, systat shows 40-50% interrupt while idling.
> Networking works fine.
>
> Anybody else has this issue?
>
> Regards, Marco.
>
> ehci0 at pci3 dev 0 function 4 "Realtek RealManage USB" rev 0x0e: apic
> 33 int 15
> ehci0: pre-2.0 USB rev
It probably won't help your actual problem, but for EHCI support,
you'll need this patch I still have hanging around in my tree.
Index: ehci_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ehci_pci.c,v
retrieving revision 1.31
diff -u -p -u -r1.31 ehci_pci.c
--- ehci_pci.c 2 May 2019 20:28:46 -0000 1.31
+++ ehci_pci.c 28 May 2021 22:03:49 -0000
@@ -186,9 +186,14 @@ ehci_pci_attach(struct device *parent, s
case PCI_USBREV_PRE_1_0:
case PCI_USBREV_1_0:
case PCI_USBREV_1_1:
- sc->sc.sc_bus.usbrev = USBREV_UNKNOWN;
- printf("%s: pre-2.0 USB rev\n", devname);
- goto disestablish_ret;
+ /*
+ * NOTE: some EHCI USB controllers have the wrong USB
+ * revision number. It appears those controllers are
+ * fully compliant so we just ignore this value.
+ */
+ printf("%s: pre-2.0 USB rev (ignored)\n", devname);
+ /* FALLTHROUGH */
case PCI_USBREV_2_0:
sc->sc.sc_bus.usbrev = USBREV_2_0;
break;