suspend inhibit no longer working
#4
(10-23-2022, 05:39 AM)3x5co Wrote: Sguard really is the perfect solution, as it only inhibits suspend when audio is playing. However, I can't get it to work:
https://codeberg.org/jayvii/pinephone-sc.../sguard.sh


sguard relied on a Pulseaudio command, so it no longer works now that Debian has switched to PipeWire. However, this is an easy fix. In sguard’s code, replace this line:

Code:
pacmd list sinks | grep -E "(s|S)tate: RUNNING$"

with this:

Code:
pactl list sinks | grep -E "(s|S)tate: RUNNING$"

I emailed sguard’s developer about this months ago, but received no reply.
  Reply


Messages In This Thread
suspend inhibit no longer working - by jsch - 07-20-2022, 11:26 AM
RE: suspend inhibit no longer working - by mdk - 08-28-2022, 03:45 PM
RE: suspend inhibit no longer working - by 3x5co - 10-23-2022, 05:39 AM
RE: suspend inhibit no longer working - by LibrePhoneUser - 10-23-2022, 09:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobile internet via cellular network mostly not working Anna 18 10,343 01-19-2024, 02:59 AM
Last Post: anonymous
Exclamation The internal speaker stops working anonymous 6 1,046 01-17-2024, 05:53 PM
Last Post: anonymous
  Unable to wake up from suspend xavi92 5 1,152 10-26-2023, 03:02 PM
Last Post: xavi92
  Suspend on ram user641 2 724 09-25-2023, 01:44 PM
Last Post: user641
  System won't suspend due to suspention notification user641 6 1,447 09-24-2023, 05:47 AM
Last Post: user641
  Power Consumption on Suspend JudgeFudge 8 1,876 07-29-2023, 06:24 AM
Last Post: JudgeFudge
  Chatty does not work after suspend mode user641 4 1,951 07-18-2023, 10:43 AM
Last Post: alaraajavamma
  APN settings not working with new operator SIM card user641 1 1,046 03-01-2023, 04:43 PM
Last Post: anonymous
  Possible Solution for Microphone Not Working Ferriah 0 959 02-13-2023, 01:09 PM
Last Post: Ferriah
  Squeekboard stopped working Zebulon Walton 2 1,196 11-24-2022, 08:41 PM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)