You are not logged in.

#1 2015-01-10 14:03:55

hungerfish
Member
Registered: 2009-09-13
Posts: 254

[SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

After years of keeping as far away as possible from pulseaudio, I thought I'd give it another try, well, this is my story:
(... I deceided to cut my rant, just the facts:)

After installing pulseaudio, everything seemed to be working fine, except that the S/PDIF channel always became un-muted upon login to gnome.
I could mute it manually via alsamixer, and store everything just fine with alsactl, and all my mixer values were restored on reboot just fine.
S/PDIF stays output remains off right up until gnome loads. I presume that pulseaudio does 'something' to my mixer settings, but I have not been able to determine what that 'something' actually is.

Even worse, I installed both pavucontrol and parprefs, and after literally just clicking through the options in pavucontroll (specifically the output profiles) I now have no proper output devices, just 'dummy devices' and sound no longer works.
I deleted ~\.config\pulse and rebooted, and it still is misconfigured.

How can I tell pa to leave my alsa/hw mixer levels the hell alone, this is assuming I can get it back to how it was before I started messing with pavucontrol...

Last edited by hungerfish (2015-01-17 01:48:28)


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#2 2015-01-10 18:23:23

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

because you use Gnome, why don't you relay on gnome control center->sound settings? instead to "manually" handle with pulseaudio. give it a try


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#3 2015-01-10 19:46:55

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Well I did that and I only started 'fiddling' after not being able to mute (and keep it so) the S/PDIF. That's when things broke..


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#4 2015-01-10 19:57:22

nTia89
Banned
From: varese, italy
Registered: 2008-12-22
Posts: 1,230

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

can you provide audio (hardware) information/details?


+pc: custom | AMD Opteron 175 | nForce4 Ultra | 2GB ram DDR400 | nVidia 9800GT 1GB | ArchLinux x86_64 w/ openbox
+laptop: Apple | MacBook (2,1) | 2GB ram | Mac OS X 10.4 -> DIED
+ultrabook: Dell | XPS 13 (9343) | 8GB ram | 256GB ssd | FullHD display | Windows 8.1 64bit ArchLinux x86_64 w/ Gnome

Offline

#5 2015-01-10 20:31:24

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

This is on a macbook 7.1., the audio chip is a Nvidia mcp89 hda chip.
My 'garbled settings' problem has since first posting resolved itself it seems. I had the macbook turned off and just now turned it back on, an now I'm back to the defaults, with just the 'S/PDIF problem' remaining.
I guess a 'cold boot' reset something somewhere, we will likely never know.

So the question remains, how can I get PA. to NOT touch my mixer levels when it loads?


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#6 2015-01-11 12:08:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Set stream-restore-module restore-volumes=false or maybe (additionally) module-device-restore restore_volume=false .

That said, usually S/PDIF is a seperate profile and should be mutable by using a profile not including S/PDIF, could you post the output of

pacmd list-cards

to check what pulse thinks you have on your system?

Offline

#7 2015-01-11 14:49:59

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

> ~ $ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_08.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xd3480000 irq 23"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:08.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0d94"
		device.product.name = "MCP89 High Definition Audio"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI) Output (priority 100, available: unknown)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI) Output (priority 100, available: unknown)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 160, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_08.0.analog-stereo/#0: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_08.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
		alsa_input.pci-0000_00_08.0.analog-stereo/#1: Built-in Audio Analog Stereo
	ports:
		analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
			properties:
				
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"

Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#8 2015-01-11 15:37:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Just going from active profile and such this seems to look fine, why is it that you'd want to explicitly mute the channel anyway?

What you can also do, is disable the automatic card detection (uncommenting udev-detect) and instead load the alsa module yourself and define which controls (as given by alsamixer) should be controlled by pulseaudio. Further reading: http://www.freedesktop.org/wiki/Softwar … MyVolumes/

Last edited by V1del (2015-01-11 15:37:27)

Offline

#9 2015-01-11 16:18:58

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Thanks for the input!
Regarding the reason why:
Apart from 'on principle' (it should just not do that!), when S/PDIF is not muted, I get a nice bright red light (optical signal) coming from my headphone jack (the single physical output on the mac, lineout is pushed through the displayport as far as I know).
This looks weird and is annoying, and it happily goes away when muting the S/PDIF channel.


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#10 2015-01-12 07:24:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Just browsing through the stuff https://bbs.archlinux.org/viewtopic.php … 5#p1492335 the post by WonderWoofy suggest that there might be a hardware switch stuck somewhere

EDIT

Also something I should've thought of earlier, what happens if you switch pulse's profile to S/PDIF and mute the corresponding sink in pavucontrol? does that work as well? if you use pulse to mute the sink it should remember itself that it has done so (reverse potential default.pa modifications mentioned earlier if you try that)

Last edited by V1del (2015-01-12 14:47:22)

Offline

#11 2015-01-12 16:28:21

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

So, I tried switching profiles and muting the S/PDIF, but it doesn't solve the problem sadly.
Basically, in alsamixer, I get 5 toggle-switches relating to S/PDIF:

<S/PDIF>   <S/PDIF Default PCM>   <S/PDIF 1>   <S/PDIF 2>   <S/PDIF 16>

With the 'Digital Stereo IEC958' profile selected muting the output just toggles the first switch above. I don't know about the others, but its 'S/PDIF 16' that controls the red light/optical out.

So I'm apparently not alone, I guess that's something. I am however very sure that I'm not suffering a HW-problem, as this has never been a problem without PA. and also because I can toggle it so its not 'stuck on' at least in my case.

I've gone through the links you provided, but am at a loss as to how the information provided could be put to use. Where would I disable automatic card detection and how would I provide a more or less identical 'manual' setup to what I have now minus of course the <S/PDIF 16>-switch?

EDIT:
I previously had added some commands to .xinitrc to mute the channels, but that doesn't play well with gnome.
So, I've created a short script (mute-IEC958) which I placed in /usr/bin/

#!/bin/sh
# IEC958 Muter!
amixer -D hw:0 set 'IEC958',1 mute > /dev/null &
amixer -D hw:0 set 'IEC958',2 mute > /dev/null &
amixer -D hw:0 set 'IEC958',16 mute > /dev/null &

(hw:0 works in my case, this is on a mid 2010 mbp7.1)

and I wrote a desktop-file (mute-IEC958.desktop) entry which goes in /etc/xdg/autostart/

[Desktop Entry]
Name=mute-IEC958
GenericName=Mute IEC958
Comment=Turns off the red light
Exec=/usr/bin/mute-IEC958
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true

This gets loaded when I log on to gnome and turns off the red light smile


As a side note, I first tried to get this script to load via systemd, ideally it should fire right after gdm has finished loading, but I couldn't get it to work as intended.
Strangely when manually running the 'service' with "systemctl start mute-IEC958" it did mute the channels, but no matter what I changed,
mainly the Requires/After options in the service's "[Unit]" section, this never seemed to happen during boot. (Or the channels got re-un-muted later).
This is (mute-IEC958.service) in /etc/systemd/system/

[Unit]
Description= Mutes the IEC958 channels on mbp7.1 after pulseaudio falsely unmutes them thus turning on 'the red light'
Requires=gdm.service
After=gdm.service

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/mute-IEC958

[Install]
WantedBy=graphical.target

Input on how to do this 'properly' is welcome!

Last edited by hungerfish (2015-01-17 12:41:35)


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#12 2015-02-24 06:10:41

gehzumteufel
Member
Registered: 2013-11-08
Posts: 18

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Hungerfish, I know this is a month old, but have you tried running this command? It worked wonderfully on my 10,2 rMBP. I tried a slight variation from another thread, but yours with the ",16" added did exactly what was necessary.

 amixer set 'IEC958',16 off

Offline

#13 2015-03-02 12:51:50

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

I guess both 'mute' and 'off' work fine. Just in case you were wondering the

> /dev/null &

from my above posting just causes any output that the 'amixer set' command generates to be suppressed (and the command execution to be backgrounded)


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#14 2015-11-15 10:09:46

azzid
Member
Registered: 2015-08-25
Posts: 10

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

I to have a macbook that refuse to stop glowing red, I've tried copy-pasting mute commands from various parts of internet, but my machine does not seem to match the rest of the worlds:

$ amixer -D hw:0 set 'IEC958',1 mute
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
$ amixer -D hw:0 set 'IEC958',2 mute
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
$ amixer -D hw:0 set 'IEC958',16 mute
amixer: Unable to find simple control 'IEC958',16

I also think that the sound settings in gnome inidcate that the device is properly muted: http://i.imgur.com/lMNJxYx.png
But taking that screenshot was actually enough to change the interface back to displaying the device as on.

How did you figure out which "number" to mute? Is there some way to list the devices I could use to find what to mute to shut the light off?
I don't know which macbook version I have, but it is roughly one year old.

Offline

#15 2015-11-21 14:21:35

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

I think I just tried all available 'numbers' until the light went off.
You can list all mixer controls with:

amixer -c N controls

where N is the card number, for me '0' is the hw whilst '1' is pulseaudio.
If your mbp model differs from mine, its very likely that you have a different mixer setup!

As for the sound settings in gnome/pulseaudiomixergui, I can recall it getting all dazed and confused, muting and unmuting at random, the gui even completely messing up the mixer levels making a reboot necessary, thats why I needed a script in the first place.


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#16 2015-11-22 10:54:24

azzid
Member
Registered: 2015-08-25
Posts: 10

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Must be something else/more I'm not getting right, went with a brute-force approach, but the light persists still:

[azzid@macbook ~]$ for i in {0..512}; do amixer -D hw:1 get 'IEC958',$i 2>&1; done | grep -v "^$\|Unable"
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
[azzid@macbook ~]$ for i in {0..512}; do amixer -D hw:0 get 'IEC958',$i 2>&1; done | grep -v "^$\|Unable"
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
[azzid@macbook ~]$ for i in {0..2}; do amixer -D hw:0 set 'IEC958',$i mute; done 
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
[azzid@macbook ~]$ amixer -D hw:1 set 'IEC958',0 mute
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]

Offline

#17 2015-11-22 11:27:59

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Hmm, don't really know what could be amiss.. Post the output from 'amixer -c N controls' with N being your actual sound card!
Apart from that, I'm assuming that when you boot OSX this problem does not crop up?
Also what happens when you try and run ubuntu or fedora or some other distro from a cd or usb stick?


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#18 2015-11-22 11:37:53

azzid
Member
Registered: 2015-08-25
Posts: 10

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Correct, OSX has no glowing light.

$ for i in {0..1}; do echo "CARD #${i}:"; amixer -c $i controls; done
CARD #0:
numid=1,iface=CARD,name='HDMI/DP,pcm=3 Jack'
numid=7,iface=CARD,name='HDMI/DP,pcm=7 Jack'
numid=13,iface=CARD,name='HDMI/DP,pcm=8 Jack'
numid=2,iface=MIXER,name='IEC958 Playback Con Mask'
numid=8,iface=MIXER,name='IEC958 Playback Con Mask',index=1
numid=14,iface=MIXER,name='IEC958 Playback Con Mask',index=2
numid=3,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=9,iface=MIXER,name='IEC958 Playback Pro Mask',index=1
numid=15,iface=MIXER,name='IEC958 Playback Pro Mask',index=2
numid=4,iface=MIXER,name='IEC958 Playback Default'
numid=10,iface=MIXER,name='IEC958 Playback Default',index=1
numid=16,iface=MIXER,name='IEC958 Playback Default',index=2
numid=5,iface=MIXER,name='IEC958 Playback Switch'
numid=11,iface=MIXER,name='IEC958 Playback Switch',index=1
numid=17,iface=MIXER,name='IEC958 Playback Switch',index=2
numid=6,iface=PCM,name='ELD',device=3
numid=19,iface=PCM,name='Playback Channel Map',device=3
numid=12,iface=PCM,name='ELD',device=7
numid=20,iface=PCM,name='Playback Channel Map',device=7
numid=18,iface=PCM,name='ELD',device=8
numid=21,iface=PCM,name='Playback Channel Map',device=8
CARD #1:
numid=23,iface=CARD,name='Headphone Jack'
numid=19,iface=CARD,name='Internal Mic Phantom Jack'
numid=20,iface=CARD,name='Mic Jack'
numid=24,iface=CARD,name='SPDIF Jack'
numid=21,iface=CARD,name='Speaker Front Phantom Jack'
numid=22,iface=CARD,name='Speaker Surround Phantom Jack'
numid=18,iface=MIXER,name='Master Playback Switch'
numid=17,iface=MIXER,name='Master Playback Volume'
numid=6,iface=MIXER,name='Headphone Playback Switch'
numid=5,iface=MIXER,name='Headphone Playback Volume'
numid=28,iface=MIXER,name='PCM Playback Volume'
numid=11,iface=MIXER,name='Mic Boost Volume'
numid=9,iface=MIXER,name='Capture Switch'
numid=8,iface=MIXER,name='Capture Volume'
numid=16,iface=MIXER,name='IEC958 Default PCM Playback Switch'
numid=12,iface=MIXER,name='IEC958 Playback Con Mask'
numid=13,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=14,iface=MIXER,name='IEC958 Playback Default'
numid=15,iface=MIXER,name='IEC958 Playback Switch'
numid=7,iface=MIXER,name='Auto-Mute Mode'
numid=4,iface=MIXER,name='Bass Speaker Playback Switch'
numid=3,iface=MIXER,name='Bass Speaker Playback Volume'
numid=10,iface=MIXER,name='Internal Mic Boost Volume'
numid=2,iface=MIXER,name='Speaker Playback Switch'
numid=1,iface=MIXER,name='Speaker Playback Volume'
numid=26,iface=PCM,name='Capture Channel Map'
numid=25,iface=PCM,name='Playback Channel Map'
numid=27,iface=PCM,name='Playback Channel Map',device=1

I'll try a pair of live isos, will get back with results.
Ubuntu 15.10 live iso works just the same.
Fedora 23 live has the "lights on" as well.

Last edited by azzid (2015-11-22 16:46:42)

Offline

#19 2015-12-18 13:16:53

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

I'm sorry for not replying sooner, I didn't see that you had posted again!
Any progress to report?

Anyway, it seems that your mbp has a more complicated setup 'mixer-wise' than mine. I'm not expert, but

Card # 0:
numid=4,iface=MIXER,name='IEC958 Playback Default'
numid=5,iface=MIXER,name='IEC958 Playback Switch'
Card # 1:
numid=24,iface=CARD,name='SPDIF Jack'
numid=16,iface=MIXER,name='IEC958 Default PCM Playback Switch'
numid=14,iface=MIXER,name='IEC958 Playback Default'
numid=15,iface=MIXER,name='IEC958 Playback Switch'

seem worth looking at. What happens when you toggle them via the ncurses-gui mixer alsamixer?


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#20 2015-12-19 20:27:01

azzid
Member
Registered: 2015-08-25
Posts: 10

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

hungerfish wrote:

I'm sorry for not replying sooner, I didn't see that you had posted again!

No worries, hardly a matter of life or death. wink

hungerfish wrote:

Any progress to report?

No progress, just kept running osx.

hungerfish wrote:

Anyway, it seems that your mbp has a more complicated setup 'mixer-wise' than mine. I'm not expert, but

Card # 0:
numid=4,iface=MIXER,name='IEC958 Playback Default'
numid=5,iface=MIXER,name='IEC958 Playback Switch'
Card # 1:
numid=24,iface=CARD,name='SPDIF Jack'
numid=16,iface=MIXER,name='IEC958 Default PCM Playback Switch'
numid=14,iface=MIXER,name='IEC958 Playback Default'
numid=15,iface=MIXER,name='IEC958 Playback Switch'

seem worth looking at. What happens when you toggle them via the ncurses-gui mixer alsamixer?

Running alsamixer I don't really see the same names, but I muted everything I could find, light persisted.

┌──────────────────── AlsaMixer v1.1.0 ─────────────────────┐
│ Card: PulseAudio                  F1:  Help               │
│ Chip: PulseAudio                  F2:  System information │
│ View: Playback                    F6:  Select sound card  │
│ Item: Master                      Esc: Exit               │
│                           ┌──┐                            │
│                           │  │                            │
│                           │  │                            │
│                           │▒▒│                            │
│                           ├──┤                            │
│                           │MM│                            │
│                           └──┘                            │
│                          46<>46                           │
│                        < Master >                         │
└───────────────────────────────────────────────────────────┘
┌──────────────────── AlsaMixer v1.1.0 ─────────────────────┐
│ Card: PulseAudio                  F1:  Help               │
│ Chip: PulseAudio                  F2:  System information │
│ View: Playback                    F6:  Select sound card  │
│ Item: Master    ┌───── Sound Card ──────┐it               │
│                 │-  (default)           │                 │
│                 │0  HDA Intel HDMI      │                 │
│                 │1  HDA Intel PCH       │                 │
│                 │   enter device name...│                 │
│                 └───────────────────────┘                 │
│                           │MM│                            │
│                           └──┘                            │
│                          46<>46                           │
│                        < Master >                         │
└───────────────────────────────────────────────────────────┘
┌──────────────────── AlsaMixer v1.1.0 ─────────────────────┐
│ Card: HDA Intel HDMI              F1:  Help               │
│ Chip: Intel Haswell HDMI          F2:  System information │
│ View: Playback                    F6:  Select sound card  │
│ Item: S/PDIF [Off]                Esc: Exit               │
│                                                           │
│                                                           │
│                                                           │
│                  ┌──┐     ┌──┐     ┌──┐                   │
│                  │MM│     │MM│     │MM│                   │
│                  └──┘     └──┘     └──┘                   │
│               < S/PDIF >S/PDIF 1 S/PDIF 2                 │
│                                                           │
│                                                           │
└───────────────────────────────────────────────────────────┘
┌────────────────────────────────────────── AlsaMixer v1.1.0 ──────────────────────────────────────────┐
│ Card: HDA Intel PCH                                                          F1:  Help               │
│ Chip: Cirrus Logic CS4208                                                    F2:  System information │
│ View: F3:[Playback] F4: Capture  F5: All                                     F6:  Select sound card  │
│ Item: S/PDIF [Off]                                                           Esc: Exit               │
│   ┌──┐      ┌──┐      ┌──┐      ┌──┐      ┌──┐      ┌──┐                                    ┌──┐     │
│   │  │      │  │      │▒▒│      │▒▒│      │▒▒│      │  │                                    │▒▒│     │
│   │  │      │  │      │▒▒│      │▒▒│      │▒▒│      │  │                                    │▒▒│     │
│   │▒▒│      │  │      │▒▒│      │▒▒│      │▒▒│      │  │                                    │▒▒│     │
│   ├──┤      ├──┤      ├──┤      ├──┤      └──┘      └──┘      ┌──┐      ┌──┐    Disabled    └──┘     │
│   │MM│      │MM│      │MM│      │MM│                          │MM│      │MM│                         │
│   └──┘      └──┘      └──┘      └──┘                          └──┘      └──┘                         │
│    41       0<>0    100<>100  100<>100  100<>100    0<>0                                  100<>100   │
│  Master   Headphone  Speaker  Bass Spea    PCM    Mic Boost< S/PDIF  >S/PDIF De Auto-Mute Internal   │
└──────────────────────────────────────────────────────────────────────────────────────────────────────┘

Offline

#21 2016-01-08 18:41:57

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Once again, sorry for not replying sooner!
On my macbook (7.1) the soundcard is a:

Card: HDA NVIDIA
Chip: Nvidia MCP89 HDMI

So things are slightly different.

I have those same volume sliders, you additionally have two more, <PCM> & <Internal>.
I also have the following switches:
<S/PDIF>, <S/PDIF Default PCM>, <S/PDIF 1>, <S/PDIF 2>, <S/PDIF 16>, <Auto-Mute Mode>.
As mentioned before, I can toggle 'the red light' by toggling <S/PDIF 16> in alsamixer, none of the other switches influence the light.

I think that maybe the linux driver for your particular chip is just lacking the specific functionality! Which kernel version(s) have you tried this with?
If you can, try with the latest available version (4.3 in arch atm.), I did find this,
which mentions your chipset, so maybe there's hope wink

Last edited by hungerfish (2016-01-08 18:42:21)


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#22 2016-01-24 18:41:57

azzid
Member
Registered: 2015-08-25
Posts: 10

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

I just upgraded from

Linux lodbroke 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux

to

Linux lodbroke 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64 GNU/Linux

but I notice no difference unfortunately.

Thanks for all your input though!

Offline

#23 2016-11-15 14:00:14

Tom B
Member
Registered: 2014-01-15
Posts: 187
Website

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

I realize I'm a bit late to this party but I have another solution to this if you're using pulseaudio. With pulse installed, disabling spdif in alsamixer has no effect Install pavucontrol. Launch it, go to the conflagration tab and slecct "analog stereo" for "Built-in audio". The light goes off.

Offline

#24 2016-11-15 19:10:28

azzid
Member
Registered: 2015-08-25
Posts: 10

Re: [SOLVED]Pulseaudio & Gnome - Mixer levels, S/PDIF

Tom B wrote:

I realize I'm a bit late to this party

But not to late! :-D

Tom B wrote:

Install pavucontrol. Launch it, go to the configuration tab and select "analog stereo" for "Built-in audio". The light goes off.

Unfortuantely it does not have any effect on the light. It is still on after setting it like so: Conflagration

Offline

Board footer

Powered by FluxBB