Shutdown and USB port issues

I’m having issue with my Framework Laptop 13. It has been working fine for a year with Ubuntu 22.04 Jammy Jelly and for the past 4-5 months with Linux Mint. It doesn’t completely shutdown anymore and has problems starting up and shutting down with anything plugged into it’s usb ports including expansion cards and the charger.

Framework Laptop 13
Dual Booting Mint and Ubuntu

Linux Mint Virginia 21.3 Cinnamon
Cinnamon Version 6.0.4
Linux Kernel 5.15.0-126-generic

Ubuntu 22.04.4 LTS
Linux Kernel 6.5.0-45-generic

Mainboard 13th Gen Intel(R) Core™ i5-1340P - (from BIOS)
BIOS Version - InsydeH2O Version IFR30.03.03

The first issue is the Laptop won’t properly start up when any of the expansion cards are in excluding the usb-c card.

  • The laptop will power on but will remain unresponsive with no display
  • Removing the cards in this state will cause the laptop to begin starting up normally
  • Leaving the cards in for 30+ seconds will lead to the laptop starting up the following error messages when launching Mint
  • launching into Ubuntu has the same ‘unable to enumerate’ error

These same issues occur if the charger is plugged in and charging or if a usb drive is inserted during startup.

The second issue is the laptop not fully shutting down. When shutting down from BIOS the screen turns off but the power button remains on. Shutting down from Mint and Ubuntu lead to the same results. This ends up requiring a hard power cycle from holding the power button down for ~10 seconds.

Except when one of the expansion cards, charging cable or a usb drive is inserted then Mint also provides the following errors.

I have tried resetting the main board. Nothing appeared to have changed.

I suspect this is either a software or hardware issue with the usb ports. Any advice or knowledge as to what may be happening would be appreciated. I’m also not certain if this is a purely Linux issue or not.

Edit: forgot to add that the expansion cards themselves seem to be fine. I tested them by plugging them into another laptop with usb-c ports and reading a usb drive and micro sd card through them.

Hi,

From a power off, not standby, please boot and post the output of “lsusb”
The, after this happens, do another “lsusb” and post the output here.
Please also list which slot card is in each slot, and what is connected to them.
Also please say whether you are using Bluetooth or not, and whether disabling Bluetooth before suspend helps at all.

If I’m understanding this right. While powered off, turn on and once booted up enter the ‘lsusb’ command twice. I decided to do this a few times with different expansion card inserted. I will also list the expansion card location as Left 1, Left 2, Right 1 and Right 2.

Left 1 is on the left side, under the esc key, closer to the screen. Left 2 is on the left side, under the CAPS Lock key, closer to the touch pad.
Right 1 is on the right side, under the delete and backspace key, closer to the screen. Right 2 is under the Enter key, Right side closer to the touch pad.

Also, Blue tooth was off the entire time.


Left 1 - Empty
Left 2 - USB C
Right 1 - USB C
Right 2 - Empty


Left 1 - Micro SD
Left 2 - USB C
Right 1 - USB C
Right 2 - USB A


All empty for the first two command inputs
Added expansion cards for second two while the pc was still running.
Left 1 - USB C
Left 2 - USB C
Right 1 - Micro SD
Right 2 - USB A