Optial Audio not working
I for the life of me cant get any audio through my optical link. spdif shows muted in alsmixer but i cant unmmute it.
Any experts out there to help? Heres my alsa-info http://www.alsa-project.org/db/?f=e5...40d97ba29daa8b Thanks. |
You have pulseaudio running
open pavucontrol click on config tab and select IE958 (=spdif) if that fails run alsamixer -c0 right arrow to spdif and press the m button to mute or unmute |
what does the -c0 switch do? I did find a little earlier that if i go into alsamixer and press m it would unmute it. actually i pulled up alsamixer then F6 to select 0 HDA Nvidia then i was able to arrow over to m the spdif. Have to do this every time i log in.
pavucontrol doesn't even have an option to select IE959 |
EASY SOLUTION first
Quote:
Code:
sudo alsactl store if not read on ##################### If that fails for any reason---- ahh it sounds like (no pun) that you want something else grabbing index=0 or card 0 pls upload a snapshot of your terminal running these commands and link to them ---I use a file sharing site called tinypic.com Code:
alsamixer -c0 you can use mtpaint---pulldown file----actions----time delayed shot ---minimise mtpaint click into terminal press F6 wait then grab just the F6 window in mtpaint save it as a jpeg or png and you can attach it----rather than link to it if you prefer 2) Fedora does that have a /etc/modprobe.d/alsa-base.conf? look into each file and tell me the file names that have lines that start options blah blah we may use this file or alternatively we may use a home folder file .asoundrc post the contents to this command pls and advise if you have a /etc/asoundrc or /home/yourname/.asoundrc Code:
cat /proc/asound/pcm ---I am surprised alsamixer can see your spdif but PA can't I mis-spelt your spdif earlier, your text file shows its IEC958 cheers |
Quote:
https://www.dropbox.com/s/2w26n4k9oljqzy2/c0.png -c1 https://www.dropbox.com/s/ue5nv54cxc0ablb/c1.png Quote:
Quote:
Code:
[jaison@coolermaster ~]$ ls -a Code:
[jaison@coolermaster ~]$ cat /proc/asound/pcm Quote:
|
hmmm no spdif showing up in aplay -L either
2) Just to be sure, when I posted about hdmi, were you wanting hdmi output or do you truly have an optical cable plugged into the little round hole? 3) If hmdi you can see in your pavucontrol that you can choose hdmi output but have not clicked it second one or third depending on whether you want both 4) if spdif, this image https://www.dropbox.com/s/2w26n4k9oljqzy2/c0.png does not show spdif so you may need a model=string 5) ok relooking at your alsa-project link first post for spdif we see Quote:
copy and paste exact results of output tell me if alsamixer shows up spdif, if so what is its status ---muted or unmuted? Code:
amixer -c0 cset iface=MIXER,name="IEC958 Default PCM Playback Switch" 1 -----if you don't want hdmi but spdif---OK Code:
amixer contents |
oh I editted earlier post
did you try the alsactl command now showing at top of reply 4? EDIT if the playback switch now shows spdif in alsamixer then unmute it and then redo the alsactl store command ----and hopefully post is solved? |
Quote:
Quote:
Quote:
Code:
[jaison@coolermaster ~]$ amixer -c0 cset iface=MIXER,name="IEC958 Default PCM Playback Switch" 1 Quote:
Code:
[jaison@coolermaster ~]$ amixer contents Quote:
|
Quote:
https://www.dropbox.com/s/1wsaylynm04ym77/c0_again.png pls unmute the first spdif and the second which will read as spdif (default) as unmutetd but next I want you to disable "auto mute' ie I want all spdif(s) showing as green = unmuted next time I will ask for a alsamixer -Vall, but we live and learn ;) Next I need you to store those settings Code:
sudo alsactl store spdif spdif default and auto mute----no need for image at this stage If of course we have a winner say so as well. EDIT hmm hang on report if spdif only appears in command alsamixer -Vcapture and not in alsamixer -Vplayback you may still have an issue....it should show up in playback (outback device) |
Quote:
Quote:
|
ok thats weird we will look at a dirty work-a-round as I want your spdif to be unmuted on reboot
I assume you have a /etc/rc.local? can you post its contents pls? 2) do you have a folder called /usr/share/alsa/cards which contains HDA-Intel.conf search for it pls if not there try Code:
sudo find / -name HDA-Intel.conf 3) but on reboot I want to know what spdif status is pls just run alsamixer and report each spdif 4) then before reboot, time to try a home folder file copy and paste this pls...at your home folder Code:
echo "pcm.!default { recheck alsamixer for spdif and report pls |
trivia
I should say a few things so you know I am just as disappointed in our results so far 1) your codec does not appear in here https://www.kernel.org/doc/Documenta...dio-Models.txt that means I can't use a model=string technique 2) all of your amixer commands I asked for ----were very deficient compared to mine eg Quote:
saved those settings with sudo alsactl store ----reboot is supposed to work end of trivia so now we try a asoundrc but as they may fail, I am leaning towards a series of amixer commmands in rc.local |
ok on each reboot can you also save the contents of this command results pls
post it if its the same, obviously if spdif is unmutetd just say so Code:
amixer get IEC958 Code:
amixer get IEC958 |
Quote:
Quote:
PHP Code:
Quote:
|
Hi
now ignore all my waffle about asoundrc......I am more interested in making a simple /etc/rc.local Firstly I found this http://docs.fedoraproject.org/en-US/..._Sysadmin.html Quote:
Code:
sudo find / -name amixer 2) we will create your file /etc/rc.local contents in the next lot of commands but it looks Fedora uses systemd as per http://forums.fedoraforum.org/showthread.php?t=269859 ---see reply 11 Note I use an init.d system so know zip about systemd but it also appears systemd does not need an /etc/rc5.d/rc.local with a sym link but your report will matter pls copy and paste as is, Code:
sudo su Quote:
check is spdif is unmuted and you have digital sound pls pls report any issues |
All times are GMT -5. The time now is 08:14 PM. |