I started noticing this today after a reboot (kernel 5.8.0-25 hirsute/dev repos). Both my keyboard and mouse have begun autosuspending after only a few seconds on non-use. Echoing 'on' to the appropriate /sys/bus/usb/devices/usb#/#-#/power/control path gets them working again.
This is a desktop with no laptop tools / power management packages installed. Looks like udev is being too optimistic about what it should shut down. Bus 007 Device 002: ID 0416:a0f8 Winbond Electronics Corp. WHIFTEC Mechanical Gaming Keyboard 汇富特游戏机械键盘 Bus 001 Device 011: ID 1b1c:1b31 Corsair Corsair Vengeance M90 Mouse -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1900362 Title: Kernel turns off USB-devices Status in linux package in Ubuntu: Confirmed Bug description: Kernel turns off USB-devices. A mouse connected to an usb-port works until some time. Then this device is turned off and never turned on again. I tried to turn off power saving for such devices, but without success. This started with kernels 5.4.0-49-generic and later. I do not see this with kernel 5.4.0-48-generic. This bug renders all usb-ports used unusable. You can unplug the device (a mouse or keyboard) to an unused usb-port. But this will be switched off then soon too. At some point in future you are out of working ports, because all of them are switched off and never on again. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-image-5.4.0-52-generic 5.4.0-52.57 ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65 Uname: Linux 5.4.0-52-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.10 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: tps 6019 F.... pulseaudio CasperMD5CheckResult: skip Date: Mon Oct 19 00:49:09 2020 HibernationDevice: RESUME=/dev/vg/swap_1 InstallationDate: Installed on 2011-10-19 (3287 days ago) InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012) MachineType: Acer TravelMate P643-M ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-52-generic root=/dev/mapper/vg-root ro elevator=deadline splash acpi=force reboot=bios ipv6.disable=1 crashkernel=384M-2G:128M,2G-:256M vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: linux-restricted-modules-5.4.0-52-generic N/A linux-backports-modules-5.4.0-52-generic N/A linux-firmware 1.187.3 SourcePackage: linux UpgradeStatus: Upgraded to focal on 2019-04-27 (540 days ago) dmi.bios.date: 10/21/2013 dmi.bios.vendor: Phoenix Technologies Ltd. dmi.bios.version: V2.15 dmi.board.asset.tag: No Asset Tag dmi.board.name: TravelMate P643-M dmi.board.vendor: Acer dmi.board.version: V2.15 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 9 dmi.chassis.vendor: Acer dmi.chassis.version: V2.15 dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvrV2.15:bd10/21/2013:svnAcer:pnTravelMateP643-M:pvrV2.15:rvnAcer:rnTravelMateP643-M:rvrV2.15:cvnAcer:ct9:cvrV2.15: dmi.product.family: TravelMate P643-M dmi.product.name: TravelMate P643-M dmi.product.sku: TravelMate P643-M_0681_2.15 dmi.product.version: V2.15 dmi.sys.vendor: Acer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1900362/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp