直接上干货:
sudo vi /etc/laptop-mode/conf.d/runtime-pm.conf
修改1到2,重启电脑即可
1、AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST=""
2、AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage"
本文介绍如何通过修改配置文件 runtime-pm.conf 来禁用 Linux 系统中 USB 设备的自动挂起功能,以减少系统延迟并提高响应速度。
直接上干货:
sudo vi /etc/laptop-mode/conf.d/runtime-pm.conf
修改1到2,重启电脑即可
1、AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST=""
2、AUTOSUSPEND_RUNTIME_DEVTYPE_BLACKLIST="usbhid usb-storage"