Inconsistent USB/DP/port connection

Which Linux distro are you using?
Fedora 40 (workstation)

Which release version?
(if rolling release without a release version, skip this question)

(If rolling release, last date updated?)

Which kernel are you using?
6.10.3-200.fc40.x86_64
Which BIOS version are you using?
Version: 03.17
Release Date: 10/27/2022

Which Framework Laptop 13 model are you using?
11th gen 1165G7, 16gb ram, sn850 1tb

Issue:
This has been happening for a while now, and has been a drain on my sanity.
USB devices, such as the displayport adapter, external USBC devices (headphone amp), etc. are not recognized as a device at all, unless I do an archaic ritual which involves unplugging the display adapter, and the DP cable, for upwards of 40 seconds, then plugging both in within about half a second.
This only yields about a 10% success rate of the adapter being detected as a USB device, and for my headphones the success rate has been 5%. (Which they need the amp to work right)

The following has been the relevant entries Ive found in about 10 minutes of looking through the logs. I think it has to do with the root hubs for each side?

journalctl

Aug 28 18:06:00 tactile kernel: usb 3-1: new full-speed USB device number 11 using xhci_hcd
Aug 28 18:06:00 tactile kernel: usb 3-1: New USB device found, idVendor=32ac, idProduct=0003, bcdDevice= 0.00
Aug 28 18:06:00 tactile kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 28 18:06:00 tactile kernel: usb 3-1: Product: DisplayPort Expansion Card
Aug 28 18:06:00 tactile kernel: usb 3-1: Manufacturer: Framework
Aug 28 18:06:00 tactile kernel: usb 3-1: SerialNumber: 11AD1D00F48A2E0D26040B00

dmesg

[    5.737823] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input13
[    5.737924] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input14
[    5.737970] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input15
[    5.738009] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16
[    5.738052] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17
[    5.738112] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input18
[    5.808079] intel_tcc_cooling: TCC Offset locked
[    5.898493] intel_tcc_cooling: TCC Offset locked
[    5.958555] iwlwifi 0000:aa:00.0: Detected Intel(R) Wi-Fi 6 AX210 160MHz, REV=0x420
[    5.966364] iwlwifi 0000:aa:00.0: WRT: Invalid buffer destination
[    5.981085] cros-usbpd-charger cros-usbpd-charger.6.auto: No USB PD charging ports found
[    5.982091] cros-usbpd-charger cros-usbpd-charger.6.auto: Unexpected number of charge port count
[    5.982095] cros-usbpd-charger cros-usbpd-charger.6.auto: Failing probe (err:0xffffffb9)
[    5.982106] cros-usbpd-charger cros-usbpd-charger.6.auto: probe with driver cros-usbpd-charger failed with error -71
[    6.124322] iwlwifi 0000:aa:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
[    6.124361] iwlwifi 0000:aa:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[    6.124373] iwlwifi 0000:aa:00.0: WFPM_AUTH_KEY_0: 0x90
[    6.124387] iwlwifi 0000:aa:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
[    6.130654] iwlwifi 0000:aa:00.0: loaded PNVM version 35148b80
[    6.146215] iwlwifi 0000:aa:00.0: Detected RF GF, rfid=0x10d000
[    6.217595] iwlwifi 0000:aa:00.0: base HW address: c4:bd:e5:1b:84:ab
[    6.316320] iwlwifi 0000:aa:00.0 wlp170s0: renamed from wlan0
[    6.461010] block nvme0n1: No UUID available providing old NGUID
[    6.553534] NET: Registered PF_QIPCRTR protocol family
[    6.828629] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_NOT_FOUND (20240322/psargs-330)
[    6.828773] ACPI Error: Aborting method \_SB.IETM._OSC due to previous error (AE_NOT_FOUND) (20240322/psparse-529)
[    7.229476] Bluetooth: Core ver 2.22
[    7.229519] NET: Registered PF_BLUETOOTH protocol family
[    7.229521] Bluetooth: HCI device and connection manager initialized
[    7.230555] Bluetooth: HCI socket layer initialized
[    7.230560] Bluetooth: L2CAP socket layer initialized
[    7.230570] Bluetooth: SCO socket layer initialized
[    7.432329] usbcore: registered new interface driver btusb
[    7.433782] Bluetooth: hci0: Firmware timestamp 2024.18 buildtype 1 build 81528
[    7.433788] Bluetooth: hci0: Firmware SHA1: 0xa8bb3f39
[    7.433793] Bluetooth: hci0: No support for _PRR ACPI method
[    7.478366] Bluetooth: hci0: Found device firmware: intel/ibt-0041-0041.sfi
[    7.478419] Bluetooth: hci0: Boot Address: 0x100800
[    7.478422] Bluetooth: hci0: Firmware Version: 120-18.24
[    7.478424] Bluetooth: hci0: Firmware already loaded
[    7.482736] Bluetooth: hci0: Fseq status: Success (0x00)
[    7.482743] Bluetooth: hci0: Fseq executed: 00.00.02.42
[    7.482746] Bluetooth: hci0: Fseq BT Top: 00.00.02.41
[    7.525815] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.525822] Bluetooth: BNEP filters: protocol multicast
[    7.525827] Bluetooth: BNEP socket layer initialized
[    7.557859] Bluetooth: MGMT ver 1.22
[   21.024553] iwlwifi 0000:aa:00.0: WRT: Invalid buffer destination
[   21.190742] iwlwifi 0000:aa:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
[   21.190783] iwlwifi 0000:aa:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   21.190793] iwlwifi 0000:aa:00.0: WFPM_AUTH_KEY_0: 0x90
[   21.190805] iwlwifi 0000:aa:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
[   21.294399] iwlwifi 0000:aa:00.0: Registered PHC clock: iwlwifi-PTP, with index: 0
[   21.346106] iwlwifi 0000:aa:00.0: WRT: Invalid buffer destination
[   21.512991] iwlwifi 0000:aa:00.0: WFPM_UMAC_PD_NOTIFICATION: 0x20
[   21.513035] iwlwifi 0000:aa:00.0: WFPM_LMAC2_PD_NOTIFICATION: 0x1f
[   21.513046] iwlwifi 0000:aa:00.0: WFPM_AUTH_KEY_0: 0x90
[   21.513057] iwlwifi 0000:aa:00.0: CNVI_SCU_SEQ_DATA_DW9: 0x0
[   34.671340] usb usb2-port2: attempt power cycle
[   43.127356] usb usb2-port2: unable to enumerate USB device
[   43.830408] rfkill: input handler disabled
[   44.083520] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[   44.317874] Bluetooth: RFCOMM TTY layer initialized
[   44.317883] Bluetooth: RFCOMM socket layer initialized
[   44.317889] Bluetooth: RFCOMM ver 1.11
[   44.547577] usb 3-9: reset full-speed USB device number 2 using xhci_hcd
[   50.980502] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[   54.249185] wlp170s0: authenticate with 2c:56:dc:d9:5c:a0 (local address=5a:db:20:dc:00:2d)
[   54.251891] wlp170s0: send auth to 2c:56:dc:d9:5c:a0 (try 1/3)
[   54.315220] wlp170s0: authenticated
[   54.316212] wlp170s0: associate with 2c:56:dc:d9:5c:a0 (try 1/3)
[   54.320910] wlp170s0: RX AssocResp from 2c:56:dc:d9:5c:a0 (capab=0x411 status=0 aid=5)
[   54.356089] wlp170s0: associated
[   61.627275] usb 3-1: new full-speed USB device number 4 using xhci_hcd
[   61.765506] usb 3-1: New USB device found, idVendor=32ac, idProduct=0003, bcdDevice= 0.00
[   61.765512] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   61.765513] usb 3-1: Product: DisplayPort Expansion Card
[   61.765514] usb 3-1: Manufacturer: Framework
[   61.765515] usb 3-1: SerialNumber: 11AD1D00F48A2E0D26040B00
[   61.775828] hid-generic 0003:32AC:0003.0004: hiddev96,hidraw3: USB HID v1.11 Device [Framework DisplayPort Expansion Card] on usb-0000:00:14.0-1/input1
[   61.871616] usb 3-9: reset full-speed USB device number 2 using xhci_hcd
[   62.468169] systemd-journald[665]: /var/log/journal/85b2e7c6c4924d558b38c98888839340/user-1000.journal: Journal file uses a different sequence number ID, rotating.
[   63.773258] input: MX Ergo Mouse as /devices/virtual/misc/uhid/0005:046D:B01D.0005/input/input19
[   63.773704] hid-generic 0005:046D:B01D.0005: input,hidraw4: BLUETOOTH HID v0.16 Mouse [MX Ergo] on c4:bd:e5:1b:84:af
[   63.907163] input: Logitech MX Ergo Multi-Device Trackball  as /devices/virtual/misc/uhid/0005:046D:B01D.0005/input/input21
[   63.907463] logitech-hidpp-device 0005:046D:B01D.0005: input,hidraw4: BLUETOOTH HID v0.16 Mouse [Logitech MX Ergo Multi-Device Trackball ] on c4:bd:e5:1b:84:af
[   63.922511] logitech-hidpp-device 0005:046D:B01D.0005: HID++ 4.5 device connected.
[   64.666389] rfkill: input handler enabled
[   65.559108] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[   65.739222] rfkill: input handler disabled
[  148.030684] usb 3-1: USB disconnect, device number 4
[  182.543971] usb 3-3: new full-speed USB device number 6 using xhci_hcd
[  221.213016] usb 3-1: new full-speed USB device number 8 using xhci_hcd
[  294.998933] usb usb2-port1: attempt power cycle
[  303.455017] usb usb2-port1: unable to enumerate USB device
[  419.759311] usb usb2-port1: attempt power cycle
[  428.223128] usb usb2-port1: unable to enumerate USB device
[  622.398088] usb 3-1: new full-speed USB device number 11 using xhci_hcd
[  622.534928] usb 3-1: New USB device found, idVendor=32ac, idProduct=0003, bcdDevice= 0.00
[  622.534934] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  622.534935] usb 3-1: Product: DisplayPort Expansion Card
[  622.534936] usb 3-1: Manufacturer: Framework
[  622.534937] usb 3-1: SerialNumber: 11AD1D00F48A2E0D26040B00
[  622.545227] hid-generic 0003:32AC:0003.0006: hiddev96,hidraw3: USB HID v1.11 Device [Framework DisplayPort Expansion Card] on usb-0000:00:14.0-1/input1
[  813.189779] usb 3-9: reset full-speed USB device number 2 using xhci_hcd
[  813.436779] usb 3-9: reset full-speed USB device number 2 using xhci_hcd

As a note, once the kernel/other thing recognizes the DP card, it continues to work until the moment I unplug it.
Same as with the amp device.

This seems to be an issue with the inbuilt overcurrent protection, as i just noticed the following after running
lsusb with -v

Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             4
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       50 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.0 micro seconds
  wHubDelay             0 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.02a0 5Gbps power Rx.Detect
   Port 2: 0000.02a0 5Gbps power Rx.Detect
   Port 3: 0000.02a0 5Gbps power Rx.Detect
   Port 4: 0000.02a0 5Gbps power Rx.Detect
Device Status:     0x0001
  Self Powered

I’ve finally got logs of the overcurrent protection happening

[54380.824107] usb 3-9: reset full-speed USB device number 3 using xhci_hcd
[54687.951911] usb 3-4: USB disconnect, device number 2
[54687.951941] usb 3-4: Unable to submit urb #1: -19 at snd_usb_queue_pending_output_urbs
[54689.357932] usb 3-4: new full-speed USB device number 6 using xhci_hcd
[54689.547558] usb 3-4: New USB device found, idVendor=2e8a, idProduct=fedd, bcdDevice= 2.00
[54689.547562] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[54689.547563] usb 3-4: Product: Ploopy Headphones
[54689.547564] usb 3-4: Manufacturer: Ploopy Corporation
[54689.547565] usb 3-4: SerialNumber: E66184C4170C7E39
[54697.750627] usb 3-4: USB disconnect, device number 6
[54699.164537] usb 3-4: new full-speed USB device number 7 using xhci_hcd
[54699.357862] usb 3-4: New USB device found, idVendor=2e8a, idProduct=fedd, bcdDevice= 2.00
[54699.357868] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[54699.357870] usb 3-4: Product: Ploopy Headphones
[54699.357871] usb 3-4: Manufacturer: Ploopy Corporation
[54699.357872] usb 3-4: SerialNumber: E66184C4170C7E39
[54717.207115] usb usb3-port4: over-current condition
[54717.207124] usb 3-4: USB disconnect, device number 7
[54717.446140] usb usb3-port6: over-current condition
[54765.464943] usb 3-9: reset full-speed USB device number 3 using xhci_hcd
[54765.710702] usb 3-9: reset full-speed USB device number 3 using xhci_hcd

See the over-current conditions

Found the relevant posts (i didnt look hard enough before?)