Plugging in a flash drive disables bluetooth and usb ports

Just what the title says, when I plug in a flash drive into a usb port, it disables my bluetooth and it doesn’t recognize that there is a flash drive plugged in. I can reboot the laptop and the usb works until I unplug the flash drive. This appears to disable the micro-sd slot as well. I am running Linux kernal 5.9.16-1

Hey, That is a weird problem, does the drive work on another machine?

A few things to try: use a lts kernel: MSM or mhwd-kernel. (5.9 is no longer being updated)

For others to help some sort of error would be usefull. Try logging the error using sudo dmesg --follow before plugging in the the drive and post the output here using these tips.

Generally when posting with these kinds of issues it is of great value to others that the system hardware is posted with it. The tips explain what is usually needed.

  Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=0ba5d092-d32d-4ae8-ab69-33258e964d91 ro quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.21.2 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X512DAP_F512DA 
  v: 1.0 serial: <filter> 
  Mobo: ASUSTeK model: X512DAP v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: X512DAP.302 date: 08/04/2020 
Battery:
  ID-1: BAT0 charge: 22.1 Wh (60.2%) condition: 36.7/37.1 Wh (98.7%) 
  volts: 7.8 min: 7.8 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A 
  status: Discharging cycles: 2 
Memory:
  RAM: total: 9.74 GiB used: 2.27 GiB (23.3%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Dual Core model: AMD Ryzen 3 3250U with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen/Zen+ note: check family: 17 (23) model-id: 18 (24) 
  stepping: 1 microcode: 8108109 cache: L2: 1024 KiB bogomips: 20769 
  Speed: 1223 MHz min/max: 1400/2600 MHz boost: enabled Core speeds (MHz): 
  1: 1223 2: 1231 3: 1347 4: 1227 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb irperf lahf_lm lbrv lm mca 
  mce misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl 
  npt nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb 
  perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 
  rdrand rdseed rdtscp rep_good sep sev sha_ni skinit smap smca sme smep ssbd 
  sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce topoext 
  tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt xgetbv1 xsave 
  xsavec xsaveerptr xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Picasso vendor: ASUSTeK driver: amdgpu v: kernel 
  bus-ID: 03:00.0 chip-ID: 1002:15d8 class-ID: 0300 
  Device-2: IMC Networks USB2.0 HD UVC WebCam type: USB driver: uvcvideo 
  bus-ID: 1-6.2:6 chip-ID: 13d3:56dd class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: 
  loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
  display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  OpenGL: renderer: AMD Radeon Vega 3 Graphics (RAVEN2 DRM 3.39.0 
  5.9.16-1-MANJARO LLVM 11.1.0) 
  v: 4.6 Mesa 20.3.4 direct render: Yes 
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel 
  v: kernel bus-ID: 03:00.1 chip-ID: 1002:15de class-ID: 0403 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A 
  alternate: snd_pci_acp3x, snd_rn_pci_acp3x bus-ID: 03:00.5 
  chip-ID: 1022:15e2 class-ID: 0480 
  Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403 
  Sound Server-1: ALSA v: k5.9.16-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.22 running: yes 
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter 
  vendor: AzureWave driver: rtw_8821ce v: N/A modules: rtw88_8821ce port: f000 
  bus-ID: 01:00.0 chip-ID: 10ec:c821 class-ID: 0280 
  IF: wlp1s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Device-1: IMC Networks Bluetooth Radio type: USB driver: btusb v: 0.8 
  bus-ID: 1-6.1:5 chip-ID: 13d3:3530 class-ID: e001 serial: <filter> 
  Report: This feature requires one of these tools: hciconfig/bt-adapter 
RAID:
  Message: No RAID data was found. 
Drives:
  Local Storage: total: 238.72 GiB used: 17.02 GiB (7.1%) 
  ID-1: /dev/mmcblk0 maj-min: 179:0 type: USB model: SD128 size: 119.48 GiB 
  block-size: physical: 512 B logical: 512 B rotation: SSD serial: <filter> 
  scheme: MBR 
  SMART Message: Unknown smartctl error. Unable to generate data. 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-2: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: RBUSNS8154P3128GJ3 
  size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s 
  lanes: 2 rotation: SSD serial: <filter> rev: E8FK11.T temp: 40.9 C 
  scheme: GPT 
  Message: No Optical or Floppy data was found. 
Partition:
  ID-1: / raw-size: 118.95 GiB size: 116.58 GiB (98.01%) 
  used: 17.02 GiB (14.6%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  label: N/A uuid: 0ba5d092-d32d-4ae8-ab69-33258e964d91 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A 
  uuid: 827D-999A 
Swap:
  Alert: No Swap data was found. 
Unmounted:
  ID-1: /dev/mmcblk0p1 maj-min: 179:1 size: 119.48 GiB fs: ext4 label: Files 
  uuid: ca977ac4-c1a9-44f0-96c8-9b804b7a3fef 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-4:2 info: Corsair Gaming HARPOON RGB Mouse type: Mouse,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s 
  power: 300mA chip-ID: 1b1c:1b3c class-ID: 0300 serial: <filter> 
  Device-2: 1-5:3 info: Realtek RTS5129 Card Reader Controller 
  type: <vendor specific> driver: rtsx_usb,rtsx_usb_ms,rtsx_usb_sdmmc 
  interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 0bda:0129 
  class-ID: ff00 serial: <filter> 
  Hub-2: 1-6:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s 
  power: 100mA chip-ID: 05e3:0608 class-ID: 0900 
  Device-1: 1-6.1:5 info: IMC Networks Bluetooth Radio type: Bluetooth 
  driver: btusb interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 500mA 
  chip-ID: 13d3:3530 class-ID: e001 serial: <filter> 
  Device-2: 1-6.2:6 info: IMC Networks USB2.0 HD UVC WebCam type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 13d3:56dd class-ID: 0e02 serial: <filter> 
  Device-3: 1-6.3:7 info: Elan Micro ELAN:Fingerprint type: <vendor specific> 
  driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA 
  chip-ID: 04f3:0903 class-ID: 0000 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 43.8 C mobo: N/A gpu: amdgpu temp: 43.0 C 
  Fan Speeds (RPM): cpu: 2400 
Info:
  Processes: 212 Uptime: 16m wakeups: 1 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: 10.2.0 Packages: pacman: 1256 lib: 390 flatpak: 0 
  Shell: Bash v: 5.1.0 running-in: konsole inxi: 3.3.02```