You are not logged in.

#1 2016-11-29 19:21:15

polslinux
Member
From: Germany
Registered: 2009-03-30
Posts: 28
Website

Disable S/PDIF after resume

Every time I resume my laptop (Clevo P640RE), all the S/PDIF entries from alsamixer are turned on and a red light came out from the headphone jack. So I have to manually turn them off (as they are when the notebook is fresh-booted).
How can I disable S/PDIF, S/PDIF D, S/PDIF 2 and S/PDIF 1 when I resume the laptop?

Thanks

Offline

#2 2016-12-01 20:59:24

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: Disable S/PDIF after resume

If you know how to turn them on from the command line, you can simply put a script in usr/lib/systemd/system-sleep as explaines in the wiki. I don't know with pulse audio but with alsa you can simply use amixer which is a command line mixer.

Last edited by olive (2016-12-01 21:07:45)

Offline

#3 2016-12-02 16:57:54

polslinux
Member
From: Germany
Registered: 2009-03-30
Posts: 28
Website

Re: Disable S/PDIF after resume

Mmm I will look again into amixer but last time I tried I haven't found anything!

Offline

Board footer

Powered by FluxBB