Upon further investigation, I discovered that the problem may lie in the
Wireplumber configuration:
/usr/share/wireplumber/scripts/node/suspend-node.lua
If no other configuration is defined, it sets a timeout of 5 seconds.
-- Add a timeout source if idle for at least 5 seconds
if new_state == "idle" or new_state == "error" then
-- honor "session.suspend-timeout-seconds" if specified
local timeout =
tonumber(node.properties["session.suspend-timeout-seconds"]) or 5
if timeout == 0 then
return
end
If I set this value to 0, everything works correctly and the USB never goes
into sleep mode.
But this change is not the best solution.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2129053
Title:
System notification sound not be played the first time
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2129053/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs