I could find similar topics but could not find an answer.
In my system (Xubuntu 20.04) grep . /sys/bus/usb/devices/*/power/wakeup only delivers this
/sys/bus/usb/devices/1-1/power/wakeup:disabled /sys/bus/usb/devices/2-1/power/wakeup:disabled /sys/bus/usb/devices/3-13/power/wakeup:disabled /sys/bus/usb/devices/3-14/power/wakeup:disabled /sys/bus/usb/devices/3-5/power/wakeup:disabled /sys/bus/usb/devices/usb1/power/wakeup:disabled /sys/bus/usb/devices/usb2/power/wakeup:disabled /sys/bus/usb/devices/usb3/power/wakeup:disabled /sys/bus/usb/devices/usb4/power/wakeup:disabled
Full list of files in the /sys/bus/usb/devices/3-5/power/
active_duration async autosuspend autosuspend_delay_ms connected_duration control level persist runtime_active_kids runtime_active_time runtime_enabled runtime_status runtime_suspended_time runtime_usage wakeup wakeup_abort_count wakeup_active wakeup_active_count wakeup_count wakeup_expire_count wakeup_last_time_ms wakeup_max_time_ms wakeup_total_time_ms
Yet the wireless mouse (+ 2.4GHz USB dongle) wake the system up from suspend. Is there any way to get that specific USB port/device disabled?
The lshw gives me
*-usbhost:0
product: xHCI Host Controller
vendor: Linux 5.4.0-70-generic xhci-hcd
physical id: 0
bus info: usb@3
logical name: usb3
version: 5.04
capabilities: usb-2.00
configuration: driver=hub slots=15 speed=480Mbit/s
*-usb:0
description: Mouse
product: Wireless Mouse
vendor: Genius
physical id: 5
bus info: usb@3:5
version: 10.01
capabilities: usb-1.10
configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
And the lsusb -t says
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/15p, 480M
|__ Port 5: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 10: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 10: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 10: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 10: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 12: Dev 3, If 0, Class=Vendor Specific Class, Driver=mt7601u, 480M
|__ Port 13: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 13: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
|__ Port 14: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M
But since no /sys/bus/usb/devices seems to be relevant I'm not sure what to configure and how.