Mouse and Keyboard Suddenly Taking a Minute to Work on Boot

Hey all, the other day I started having a weird issue out of nowhere where when booting up my PC it will get to the lock screen, but the mouse and keyboard won’t function for at least a minute. I’m not really sure what’s going on since I hadn’t changed anything before shutting it down the night before, and nothing I’m seeing already posted about similar issues here seems to be helping.

My first thought was that maybe tlp was doing something weird, but turning off usb autosuspend didn’t fix the issue. At least I’m pretty sure I turned it off correctly, it looks like I did by looking at the output of sudo tlp-stat -c

> --- TLP 1.3.1 --------------------------------------------

+++ Configured Settings:
defaults.conf L0004: TLP_ENABLE="1"
defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
defaults.conf L0012: SCHED_POWERSAVE_ON_AC="0"
defaults.conf L0013: SCHED_POWERSAVE_ON_BAT="1"
defaults.conf L0014: NMI_WATCHDOG="0"
defaults.conf L0015: DISK_DEVICES="nvme0n1 sda"
defaults.conf L0016: DISK_APM_LEVEL_ON_AC="254 254"
defaults.conf L0017: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0018: DISK_IOSCHED="keep keep"
defaults.conf L0019: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
defaults.conf L0020: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
defaults.conf L0021: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0022: PCIE_ASPM_ON_AC="default"
defaults.conf L0023: PCIE_ASPM_ON_BAT="default"
defaults.conf L0024: RADEON_POWER_PROFILE_ON_AC="default"
defaults.conf L0025: RADEON_POWER_PROFILE_ON_BAT="default"
defaults.conf L0026: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0027: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
defaults.conf L0028: WIFI_PWR_ON_AC="off"
defaults.conf L0029: WIFI_PWR_ON_BAT="on"
defaults.conf L0030: WOL_DISABLE="Y"
defaults.conf L0031: SOUND_POWER_SAVE_ON_AC="0"
defaults.conf L0032: SOUND_POWER_SAVE_ON_BAT="1"
defaults.conf L0033: SOUND_POWER_SAVE_CONTROLLER="Y"
defaults.conf L0034: BAY_POWEROFF_ON_AC="0"
defaults.conf L0035: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0036: BAY_DEVICE="sr0"
defaults.conf L0037: RUNTIME_PM_ON_AC="on"
defaults.conf L0038: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0039: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
defaults.conf L0040: USB_AUTOSUSPEND="1"
defaults.conf L0041: USB_BLACKLIST_BTUSB="0"
defaults.conf L0042: USB_BLACKLIST_PHONE="0"
defaults.conf L0043: USB_BLACKLIST_PRINTER="1"
defaults.conf L0044: USB_BLACKLIST_WWAN="0"
defaults.conf L0045: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
defaults.conf L0046: RESTORE_DEVICE_STATE_ON_STARTUP="0"
defaults.conf L0047: RESTORE_THRESHOLDS_ON_BAT="0"
defaults.conf L0048: NATACPI_ENABLE="1"
defaults.conf L0049: TPACPI_ENABLE="1"
defaults.conf L0050: TPSMAPI_ENABLE="1"

If anyone has any ideas, I’m a bit lost and I’d rather not have to reinstall my entire system again to fix such a small annoyance.

1 Like

until you get a better reply…

How about naming how this mouse and keyboard connect and what they are pls?

eg usb direct or usb to PS/2 adapters.

  1. and does anything show up on boot up in dmesg?
$ sudo dmesg | grep Mouse
$ sudo dmesg | grep Keyboard

and just for analsake…if this PC has multiple usb host controllers…try swapping them to see if that makes a diff

I am not a fan of usb dongle to wireless inputs but I would not be surprised if that was your reply,
brand names too pls

The mouse is a Logitech G602 and the Bluetooth receiver is plugged directly into a USB 3.1 port on the motherboard, which is a Z390 Aorus Pro Wifi, and the keyboard is a Cooler Master MK730 and is plugged directly into a USB 3.0 port on the motherboard. I tried switching ports and it didn’t do anything. The weird part is that I’ve been using both with Manjaro for almost two years now with no issues at all.

$ sudo dmesge | grep mouse

[   68.247633] hid-generic 0003:046D:C537.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-3/input0
[   68.418745] input: Cooler Master Technology Inc. MK730 Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.2/0003:2516:008F.0005/input/input28
[   68.418934] hid-generic 0003:2516:008F.0005: input,hidraw4: USB HID v1.11 Mouse [Cooler Master Technology Inc. MK730] on usb-0000:00:14.0-4/input2
[   68.465531] logitech-djreceiver 0003:046D:C537.0001: hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-3/input0
[   68.910523] input: Logitech Wireless Mouse PID:402c Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:046D:C537.0002/0003:046D:402C.0007/input/input30
[   68.910959] input: Logitech Wireless Mouse PID:402c Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:046D:C537.0002/0003:046D:402C.0007/input/input31
[   68.911193] hid-generic 0003:046D:402C.0007: input,hidraw6: USB HID v1.11 Keyboard [Logitech Wireless Mouse PID:402c] on usb-0000:00:14.0-3/input1:1

$ sudo dmesge | grep Keyboard

[   68.249374] input: Logitech USB Receiver Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:046D:C537.0002/input/input19
[   68.305408] hid-generic 0003:046D:C537.0002: input,hiddev96,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-3/input1
[   68.362035] hid-generic 0003:2516:008F.0003: input,hidraw2: USB HID v1.11 Keyboard [Cooler Master Technology Inc. MK730] on usb-0000:00:14.0-4/input0
[   68.418824] input: Cooler Master Technology Inc. MK730 Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.2/0003:2516:008F.0005/input/input29
[   68.853143] logitech-djreceiver 0003:046D:C537.0002: hiddev96,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-3/input1
[   68.910523] input: Logitech Wireless Mouse PID:402c Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:046D:C537.0002/0003:046D:402C.0007/input/input30
[   68.911193] hid-generic 0003:046D:402C.0007: input,hidraw6: USB HID v1.11 Keyboard [Logitech Wireless Mouse PID:402c] on usb-0000:00:14.0-3/input1:1
[   69.344469] logitech-hidpp-device 0003:046D:402C.0007: input,hidraw6: USB HID v1.11 Keyboard [Logitech G602] on usb-0000:00:14.0-3/input1:1

sorry do not have BT devices.

recent post might offer some investigations?

wiki looks good
https://wiki.archlinux.org/title/bluetooth

I believe input devices are so slow, you are wasting usb3 port. If there was no change in swapping ports, I would suggest you still use usb2 port.

Thanks for the suggestions, but that post looks like the exact opposite issue as what I’m experiencing. It’s probably not the bluetooth since the keyboard also doesn’t respond and it’s wired directly into the PC.

Right, so I finally figured out the problem by going through journalctl more thoroughly, and finding the following error:

usb 1-7: device descriptor read/64, error -110

Googling it brought me to this page on AskUbuntu which fixed my issue: https://askubuntu.com/questions/644010/ubuntu-cant-read-my-usb-device-descriptor-read-64-error-110

Just in case that link ever goes dead, the fix was to entirely disconnect my computer from power and disconnecting all usb devices as well, waiting several minutes, and then plugging everything back in. Apparently the error is related to usb port power issues.

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