Slow USB Switching

The Issue:

Hi guys! This is my first post here, I'm currently trying to figure out where to start with my issue? I have a USB switch that loads instantly when connecting to Windows, but can take upwards of 10 seconds to load when switching back to Garuda. I've found if I remove my keyboard, a Corsair K70, that time drops down to almost instant. From what I can see in DMesg compared to switching with and without the keyboard, it seems like it takes longer for the keyboard to reload? I'm not really sure how to dig down and diagnose the problem more. All my Google-fu has led me to sad dead ends and a still laggy USB Switch. Any help would be appreciated!

garuda-inxi output:

System:
Kernel: 6.0.12-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=6c924c47-0bf5-48a5-b097-1c7b9a0f0cc4 rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=57a5a452-716f-41e3-a2f3-6bdf5fd9f6b7 loglevel=3 ibt=off
Desktop: i3 v: 4.21.1 info: i3bar vt: 7 dm: LightDM v: 1.32.0
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 82K2 v: IdeaPad Gaming 3 15ACH6
serial: Chassis: type: 10 v: IdeaPad Gaming 3 15ACH6
serial:
Mobo: LENOVO model: LNVNB161216 v: SDK0T76465 WIN
serial: UEFI: LENOVO v: H3CN30WW(V2.00)
date: 06/28/2021
Battery:
ID-1: BAT1 charge: 40.5 Wh (94.6%) condition: 42.8/45.0 Wh (95.1%)
volts: 12.8 min: 11.5 model: 0x43 0x65 0x6C 0x78 0x70 0x 0x4C 0x32 0x30
0x43 0x33 0x50 0x4500 type: Li-ion serial: status: not charging
cycles: 38
CPU:
Info: model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 3968 high: 4280 min/max: 400/4280 boost: enabled
scaling: driver: amd-pstate governor: performance cores: 1: 4280 2: 3352
3: 3393 4: 4280 5: 3392 6: 4280 7: 4280 8: 4280 9: 4242 10: 3281 11: 4280
12: 4280 bogomips: 79051
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: Lenovo
driver: nvidia v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 525.xx+
status: current (as of 2022-12) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 3 speed: 8 GT/s lanes: 8
link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.0
chip-ID: 10de:25a0 class-ID: 0302
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5.1 code: Vega-2
process: TSMC n7 (7nm) built: 2018-21 pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s ports: active: HDMI-A-1,eDP-1 empty: none
bus-ID: 05:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 44.0 C
Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
bus-ID: 1-3:3 chip-ID: 13d3:56ff class-ID: 0e02
Display: x11 server: X.Org v: 21.1.5 compositor: Picom v: git-98a5c
driver: X: loaded: amdgpu,nvidia unloaded: modesetting,nouveau
alternate: fbdev,nv,vesa dri: radeonsi gpu: amdgpu display-ID: :0
screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.00x11.22")
s-diag: 1055mm (41.54")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 pos: right model: Asus VS228
serial: built: 2016 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
size: 476x268mm (18.74x10.55") diag: 546mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-2: eDP-1 mapped: eDP pos: primary,left model: AU Optronics 0xd1ed
built: 2019 res: 1920x1080 hz: 120 dpi: 142 gamma: 1.2
size: 344x193mm (13.54x7.6") diag: 394mm (15.5") ratio: 16:9 modes:
max: 1920x1080 min: 640x480
API: OpenGL Message: Unable to show GL data. Required tool glxinfo
missing.
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
snd_acp_pci, snd_rpl_pci_acp6x, snd_sof_amd_renoir pcie: gen: 3
speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.5
chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound API: ALSA v: k6.0.12-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.61 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac:
Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
vendor: Lenovo driver: rtw89_8852ae v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8852 class-ID: 0280
IF: wlo1 state: up mac:
IF-ID-1: anbox0 state: down mac:
Bluetooth:
Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
bus-ID: 1-4:5 chip-ID: 0bda:4852 class-ID: e001 serial:
Report: bt-adapter ID: hci0 rfk-id: 2 state: up address:
Drives:
Local Storage: total: 1.38 TiB used: 221.47 GiB (15.7%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZALQ512HBLU-00BL2 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial:
rev: 5L2QFXM7 temp: 47.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
model: WD10SPZX-60Z10T1 size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial:
rev: 1A05 scheme: GPT
Partition:
ID-1: / raw-size: 446.65 GiB size: 446.65 GiB (100.00%)
used: 221.47 GiB (49.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 608 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 446.65 GiB size: 446.65 GiB (100.00%)
used: 221.47 GiB (49.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 446.65 GiB size: 446.65 GiB (100.00%)
used: 221.47 GiB (49.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 446.65 GiB size: 446.65 GiB (100.00%)
used: 221.47 GiB (49.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 27.26 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 29.99 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 48.2 C mobo: N/A gpu: amdgpu temp: 44.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 347 Uptime: 1h 1m wakeups: 1 Memory: 27.26 GiB
used: 3.84 GiB (14.1%) Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
pkgs: 1834 libs: 529 tools: gnome-software,pamac,paru pm: rpm pkgs: 0
Shell: fish v: 3.5.1 running-in: xfce4-terminal inxi: 3.3.24
Garuda (2.6.10-1):
System install date: 2022-10-08
Last full system update: 2022-12-14
Is partially upgraded: No
Relevant software: NetworkManager
Windows dual boot: No/Undetected
Snapshots: Snapper
Failed units: systemd-networkd-wait-online.service

Dmesg -w with a switch event with Corsair k70 Connected pre-switch:

[ 3998.791207] usb 1-2: new high-speed USB device number 27 using xhci_hcd
[ 3998.918910] usb 1-2: New USB device found, idVendor=214b, idProduct=7250, bcdDevice= 1.00
[ 3998.918914] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3998.918915] usb 1-2: Product: USB2.0 HUB
[ 3998.976343] hub 1-2:1.0: USB hub found
[ 3998.976659] hub 1-2:1.0: 4 ports detected
[ 3999.249218] usb 1-2.3: new full-speed USB device number 28 using xhci_hcd
[ 4003.417213] usb 1-2.3: New USB device found, idVendor=1b1c, idProduct=1b38, bcdDevice= 3.08
[ 4003.417219] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4003.417220] usb 1-2.3: Product: Corsair Gaming K70 RGB RAPIDFIRE Keyboard
[ 4003.417221] usb 1-2.3: Manufacturer: Corsair
[ 4003.417222] usb 1-2.3: SerialNumber: 06009019AF0D20295929625AF5001944
[ 4004.353564] input: Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.3/1-2.3:1.0/0003:1B1C:1B38.0024/input/input92
[ 4004.354205] input: Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.3/1-2.3:1.0/0003:1B1C:1B38.0024/input/input93
[ 4004.354283] input: Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.3/1-2.3:1.0/0003:1B1C:1B38.0024/input/input94
[ 4004.354431] hid-generic 0003:1B1C:1B38.0024: input,hiddev98,hidraw3: USB HID v1.11 Keyboard [Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard ] on usb-0000:05:00.3-2.3/input0
[ 4004.977686] hid-generic 0003:1B1C:1B38.0025: hiddev99,hidraw4: USB HID v1.11 Device [Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard ] on usb-0000:05:00.3-2.3/input1
[ 4005.042203] usb 1-2.4: new full-speed USB device number 29 using xhci_hcd
[ 4005.143247] usb 1-2.4: New USB device found, idVendor=046d, idProduct=c332, bcdDevice= 3.02
[ 4005.143251] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4005.143253] usb 1-2.4: Product: Gaming Mouse G502
[ 4005.143254] usb 1-2.4: Manufacturer: Logitech
[ 4005.143255] usb 1-2.4: SerialNumber: 0C7A37473635
[ 4005.227371] input: Logitech Gaming Mouse G502 as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.4/1-2.4:1.0/0003:046D:C332.0026/input/input95
[ 4005.227628] hid-generic 0003:046D:C332.0026: input,hidraw5: USB HID v1.11 Mouse [Logitech Gaming Mouse G502] on usb-0000:05:00.3-2.4/input0
[ 4005.234403] input: Logitech Gaming Mouse G502 Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.4/1-2.4:1.1/0003:046D:C332.0027/input/input96
[ 4005.286486] hid-generic 0003:046D:C332.0027: input,hiddev100,hidraw7: USB HID v1.11 Keyboard [Logitech Gaming Mouse G502] on usb-0000:05:00.3-2.4/input1
[ 4005.511011] input: ckb1: Corsair Gaming K70 RGB RAPIDFIRE Keyboard vKB as /devices/virtual/input/input99
[ 4005.511468] input: ckb1: Corsair Gaming K70 RGB RAPIDFIRE Keyboard vM as /devices/virtual/input/input100

With the Corsair k70 disconnected pre-switch:

[ 4013.409332] usb 1-2.3: USB disconnect, device number 28
[ 4016.589899] usb 1-2: USB disconnect, device number 27
[ 4016.589903] usb 1-2.4: USB disconnect, device number 29
[ 4019.067207] usb 1-2: new high-speed USB device number 30 using xhci_hcd
[ 4019.195903] usb 1-2: New USB device found, idVendor=214b, idProduct=7250, bcdDevice= 1.00
[ 4019.195907] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 4019.195909] usb 1-2: Product: USB2.0 HUB
[ 4019.232579] hub 1-2:1.0: USB hub found
[ 4019.232896] hub 1-2:1.0: 4 ports detected
[ 4019.505196] usb 1-2.4: new full-speed USB device number 31 using xhci_hcd
[ 4019.604435] usb 1-2.4: New USB device found, idVendor=046d, idProduct=c332, bcdDevice= 3.02
[ 4019.604438] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4019.604440] usb 1-2.4: Product: Gaming Mouse G502
[ 4019.604441] usb 1-2.4: Manufacturer: Logitech
[ 4019.604442] usb 1-2.4: SerialNumber: 0C7A37473635
[ 4019.691566] input: Logitech Gaming Mouse G502 as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.4/1-2.4:1.0/0003:046D:C332.0028/input/input101
[ 4019.691934] hid-generic 0003:046D:C332.0028: input,hidraw3: USB HID v1.11 Mouse [Logitech Gaming Mouse G502] on usb-0000:05:00.3-2.4/input0
[ 4019.698576] input: Logitech Gaming Mouse G502 Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.4/1-2.4:1.1/0003:046D:C332.0029/input/input102
[ 4019.750462] hid-generic 0003:046D:C332.0029: input,hiddev98,hidraw4: USB HID v1.11 Keyboard [Logitech Gaming Mouse G502] on usb-0000:05:00.3-2.4/input1
[ 4029.453198] usb 1-2.3: new full-speed USB device number 32 using xhci_hcd
[ 4033.625209] usb 1-2.3: New USB device found, idVendor=1b1c, idProduct=1b38, bcdDevice= 3.08
[ 4033.625213] usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4033.625215] usb 1-2.3: Product: Corsair Gaming K70 RGB RAPIDFIRE Keyboard
[ 4033.625217] usb 1-2.3: Manufacturer: Corsair
[ 4033.625217] usb 1-2.3: SerialNumber: 06009019AF0D20295929625AF5001944
[ 4034.562481] input: Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.3/1-2.3:1.0/0003:1B1C:1B38.002A/input/input105
[ 4034.562579] input: Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.3/1-2.3:1.0/0003:1B1C:1B38.002A/input/input106
[ 4034.562616] input: Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard as /devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2.3/1-2.3:1.0/0003:1B1C:1B38.002A/input/input107
[ 4034.562797] hid-generic 0003:1B1C:1B38.002A: input,hiddev99,hidraw5: USB HID v1.11 Keyboard [Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard ] on usb-0000:05:00.3-2.3/input0
[ 4035.185566] hid-generic 0003:1B1C:1B38.002B: hiddev100,hidraw7: USB HID v1.11 Device [Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard ] on usb-0000:05:00.3-2.3/input1
[ 4035.382762] input: ckb1: Corsair Gaming K70 RGB RAPIDFIRE Keyboard vKB as /devices/virtual/input/input108
[ 4035.382998] input: ckb1: Corsair Gaming K70 RGB RAPIDFIRE Keyboard vM as /devices/virtual/input/input109

lsusb because I felt it would be useful:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 048d:c966 Integrated Technology Express, Inc. ITE Device(8176)
Bus 003 Device 002: ID 28bd:0075 XP-Pen G430S
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:4852 Realtek Semiconductor Corp. Bluetooth Radio
Bus 001 Device 003: ID 13d3:56ff IMC Networks Integrated Camera

Bus 001 Device 025: ID 046d:c332 Logitech, Inc. G502 Proteus Spectrum Optical Mouse
My mouse, plugged into my switch

Bus 001 Device 026: ID 1b1c:1b38 Corsair Corsair Gaming K70 RGB RAPIDFIRE Keyboard
My keyboard, plugged into my switch

Bus 001 Device 024: ID 214b:7250 Huasheng Electronics USB2.0 HUB
My USB Switch

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I think it's something to do with USB 2.0 vs 3.0, also the cables used could make a difference.

linux-hardware.org database entries for the two devices:
Huasheng Electronics USB2.0 HUB
Corsair Gaming K70 RGB RAPIDFIRE Keyboard
note that the hub should just work, but there are problems reported for the keyboard.

See also this quite old (2017) thread https://www.linuxquestions.org/questions/linux-hardware-18/fedora-25-corsair-gaming-k70-rgb-rapidfire-keyboard-not-responsive-on-startup-4175602990/, nothing very useful there (the user reports the same slowdown on both USB ports) but it confirms the issue. It sadly ends there without further troubleshooting but the part about it drawing too much current for one USB 2.0 port rings a bell.
According to that thread, the keyboard would need two USB 2.0 cables, or only one USB 3.0 cable.

Can you confirm how it's connected to the Huasheng?

Does the issue still happen if connecting the keyboard directly, either on two USB 2.0 ports with two USB 2.0 cables, or one USB 3.0 port with a USB 3.0 rated cable?

As far as I understand, assuming the Huasheng can provide enough current, should be
USB 2.0 port -> USB 2.0 hub -> 2x USB 2.0 cables to the keyboard, or you would need to find a USB 3.0 hub (make sure it's going to work searching the linux-hardware site), a USB 3.0 rated cable, and of course connect to a USB 3.0 port.

If I recall correctly, there was a thread around here about some similar problem where the cable made the difference, if I can find it I'll update.

2 Likes

Here's the post about the 3.0 cable (was a speed problem there, that should not apply here, but shows how the cable looks like) Controller works when connected with USB C to USB C, but not USB 2/3.0 - #2 by BluishHumility

1 Like

And here I see someone made an open source driver for the keyboard's advanced features, and the troubleshooting section has an interesting tip about some usbhid.quirks kernel parameter:
GitHub - ccMSC/ckb: RGB Driver for Linux and OS X (the old one)
Troubleshooting · ckb-next/ckb-next Wiki · GitHub (the new one)

3 Likes

So, I'm just in the middle of testing while at work, and this last article about ckb did the trick. The problem was definitely with the Corsair K70, and after running:

lsusb | grep "1b1c" | awk '{ split($6, a, ":"); print "0x" a[1] ":0x" a[2] ":0x20000408"}' | tr '\n' ',' | sed -e 's/,$/\n/;s/^0x/usbhid.quirks=0x/'

Output:

usbhid.quirks=0x1b1c:0x1b38:0x20000408

and

lsusb | grep 1b1c | awk '{ split($6, a, ":"); print a[1] ":" a[2] ":gn"}' | tr '\n' ',' | sed -e 's/,$/\n/;s/^/usbcore.quirks=/'

Output:

usbcore.quirks=1b1c:1b38:gn

and adding the above outputs to GRUB_CMDLINE_LINUX_DEFAULT after " 'quiet quiet splash"

sudo nano /etc/default/grub

Then updating grub with:

sudo update-grub && reboot

My switch times have gone from 10+ seconds to less than 4.

This is my first ever IT post anywhere. I've never made a post on Reddit, any Linux forum, or even Stack Exchange. Guess I need to get used to asking for help haha, Thank you!

1 Like

After testing, the actual time drops were from 9.87s to 2.23 seconds. Functionally it was about a 7 second difference. I get to use my laptop while working from home now, Thank you again!

What I have found--and that may or may not be so in this case--is that Windows tends to "capture" certain hardware/peripherals. It certainly does with my Bluetooth adapter.

It might be "fixed" by a hardware recognition setting in your BIOS.

YMMV

1 Like

It's a government laptop with a locked down BIOS, so I can't even get in there to look :smiling_face_with_tear:

And you've installed Linux? I used to work for the government--does IT know about this? :innocent:

1 Like

The windows machine is a separate laptop. My laptop runs Garuda, and my work laptop runs Windows. I jump between the two with my USB switch. I would say IT technically knows about it, but only because I'm IT :laughing:

3 Likes

That's why I always held my IT dept. in high-regard...Christmas candy, etc. They let me do (about) anything with my gov't laptop/desktop machines as long as I provided my own tech support. I actually had that in email from 'em :joy:

Had to have a Windows VM of course. :frowning_face:

To your problem: If your machine is relatively recent, the BIOS will have a Fastboot hardware recognition module with settings like On/Off/Auto. The problem I had with my 2019 Dell was that Win 10 came pre-installed including vendor software so everything worked OOTB, however I had no BT devices at that time.

"tl:dr warning" So I'm a Linux kinda guy and re-formatted to Ext4 and installed Arch & Plasma. It wasn't until a few months later that I bought and tried pairing BT device that Plasma said I had no BT adapter, which kinda shook me. I even re-installed vanilla Windows from their own ISO. And no more BT, even though my BIOS said I had one.

But also the Fastboot hardware recognition was set to either OFF or AUTO and when I changed that to ON, it resurrected the BT recognition in Linux (and Windows).

That's why I'm suggesting your problem might be similar...or not. :smiley:

P.S. What kinda IT guy are you if you can't POST into their machine's BIOS, huh?
:wink: :wink: :wink:

P.P.S. Geeze, I just noticed you're new here. Please don't be offended by my "quirky" humor. Just that kinda guy ya know...ask anyone here...
:wink:

2 Likes

It isn't that I can't, it's that I'm not allowed yet. I only recently started in a Help Desk role with my state. It's been fantastic, it's a WFH gig that lets me focus on cert gathering and playing with my homelab when I'm not on calls. I love the personality, it makes forum crawling so much more fun haha

I'll definitely have to double check my bios settings when I restart my personal laptop later, I hadn't even thought of fastboot messing with the switching

1 Like

Update the Bios ! yours is from 2021 there are usb fixes in the amd-agesa which comes via bios update.

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.