LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 11-22-2013, 05:02 PM   #1
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 19
Posts: 64

Rep: Reputation: 18
Unhappy 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.
 
Old 11-24-2013, 02:44 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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
 
Old 11-24-2013, 10:22 AM   #3
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 19
Posts: 64

Original Poster
Rep: Reputation: 18
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
 
Old 11-24-2013, 05:20 PM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
EASY SOLUTION first
Quote:
Have to do this every time i log in.
if spdif is having to be manually turned on each boot, the easy solution is to turn it on manually like you now know then run this command

Code:
sudo alsactl store
reboot to test your optical now ok

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
alsamixer -c1
alternatively run alsamixer then take a snapshot of results of you pressing F6,
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
aplay -L
3) can you take a snapshot of your pavucontrol config tab pulldown
---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

Last edited by aus9; 11-24-2013 at 05:35 PM.
 
Old 11-24-2013, 06:17 PM   #5
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 19
Posts: 64

Original Poster
Rep: Reputation: 18
Quote:
pls upload a snapshot of your terminal running these commands and link to them
-c0
https://www.dropbox.com/s/2w26n4k9oljqzy2/c0.png

-c1
https://www.dropbox.com/s/ue5nv54cxc0ablb/c1.png

Quote:
does that have a /etc/modprobe.d/alsa-base.conf?
My system doesnt have that. theres only one file there names openfwwf.conf

Quote:
post the contents to this command pls

and advise if you have a /etc/asoundrc or /home/yourname/.asoundrc
There is no /etc/asoundrc https://www.dropbox.com/s/yt7g2zo134rlp6i/etcasound.png No .asoundrc
Code:
[jaison@coolermaster ~]$ ls -a
.              .gconf.path          Pictures
..             .gimp-2.8            .pki
.AbiSuite      .gitconfig           Podcasts
.adobe         .gnome2              Public
.android       .gnome2_private      .pulse-cookie
Audiobooks     .gnucash             .purple
.bash_history  .gnupg               .remmina
.bash_logout   .gphoto              rogue
.bash_profile  .gstreamer-0.10      .Skype
.bashrc        .gtk-bookmarks       .ssh
.cache         .ICEauthority        .steam
.ccache        .idlerc              .steampath
.config        .java                .steampid
.cxoffice      jEdit                .supertux2
Desktop        .kde                 swtor.sh
Development    .links               Templates
Documents      .local               .thumbnails
Downloads      .macromedia          tor-browser_en-US
.dropbox       .mailcap             translog.20131014134402.log
Dropbox        .mangler             Videos
.dropbox-dist  .mime.types          .VirtualBox
.eclipse       .mozilla             .Wammu
.esd_auth      Music                .xsession-errors
files1.txt     .nv                  .xsession-errors.old
files.txt      .nvidia-settings-rc
.gconf         Photos
[jaison@coolermaster ~]$
Code:
[jaison@coolermaster ~]$ cat /proc/asound/pcm
00-00: VT1708S Analog : VT1708S Analog : playback 1 : capture 1
00-03: VT1708S Digital : VT1708S Digital : playback 1
[jaison@coolermaster ~]$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=NVidia
    HDA NVidia, VT1708S Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Digital
    HDMI Audio Output
[jaison@coolermaster ~]$
Quote:
3) can you take a snapshot of your pavucontrol config tab pulldown
---I am surprised alsamixer can see your spdif but PA can't
https://www.dropbox.com/s/ttgp196n7en53d8/pau.png
 
Old 11-24-2013, 07:23 PM   #6
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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:
control.27 {
iface MIXER
name 'IEC958 Playback Switch'
value false
6) pls copy and paste this exact command into a terminal as local user
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
7) but of course your controls may differ from mine so thats me leaping ahead in (6) pls post the results of these commands so we get a better idea
-----if you don't want hdmi but spdif---OK

Code:
amixer contents
amixer scontrols
amixer controls
good luck
 
Old 11-24-2013, 07:27 PM   #7
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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?

Last edited by aus9; 11-24-2013 at 07:44 PM.
 
Old 11-24-2013, 07:49 PM   #8
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 19
Posts: 64

Original Poster
Rep: Reputation: 18
Quote:
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?
I truly have an optical cable plugged in.

Quote:
4) if spdif, this image
https://www.dropbox.com/s/2w26n4k9oljqzy2/c0.png
does not show spdif so you may need a model=string
Its there i just have to arrow over. https://www.dropbox.com/s/1wsaylynm04ym77/c0_again.png

Quote:
6) pls copy and paste this exact command into a terminal as local user
copy and paste exact results of output
tell me if alsamixer shows up spdif, if so what is its status ---muted or unmuted?
Code:
[jaison@coolermaster ~]$ amixer -c0 cset iface=MIXER,name="IEC958 Default PCM Playback Switch" 1
numid=28,iface=MIXER,name='IEC958 Default PCM Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
Quote:
7) but of course your controls may differ from mine so thats me leaping ahead in (6) pls post the results of these commands so we get a better idea
-----if you don't want hdmi but spdif---OK
Code:
[jaison@coolermaster ~]$ amixer contents
numid=4,iface=MIXER,name='Master Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=3,iface=MIXER,name='Master Playback Volume'
  ; type=INTEGER,access=rw------,values=2,min=0,max=65536,step=1
  : values=48397,48397
numid=2,iface=MIXER,name='Capture Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=1,iface=MIXER,name='Capture Volume'
  ; type=INTEGER,access=rw------,values=2,min=0,max=65536,step=1
  : values=65536,65536
[jaison@coolermaster ~]$ amixer scontrols
Simple mixer control 'Master',0
Simple mixer control 'Capture',0
[jaison@coolermaster ~]$ amixer controls
numid=4,iface=MIXER,name='Master Playback Switch'
numid=3,iface=MIXER,name='Master Playback Volume'
numid=2,iface=MIXER,name='Capture Switch'
numid=1,iface=MIXER,name='Capture Volume'
Quote:
did you try the alsactl command now showing at top of reply 4?
I did unmute it and tried running that command. rebooted and its still muted at log in.
 
Old 11-24-2013, 09:59 PM   #9
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
Quote:
values=on
excellent progress so now
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
pls full reboot and report what your alsamixer looks like for
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)

Last edited by aus9; 11-24-2013 at 10:06 PM.
 
Old 11-25-2013, 04:16 PM   #10
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 19
Posts: 64

Original Poster
Rep: Reputation: 18
Quote:
pls full reboot and report what your alsamixer looks like for
spdif spdif default and auto mute----no need for image at this stage
SPDIF was muted after reboot. Auto-Mute was disable.

Quote:
report if spdif only appears in command
alsamixer -Vcapture
no spdif here.
 
Old 11-25-2013, 05:11 PM   #11
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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
when found post its contents

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 {
type hw
card 0
device 3
} 
" > .asoundrc
logout and login back in

recheck alsamixer for spdif and report pls

Last edited by aus9; 11-25-2013 at 05:32 PM.
 
Old 11-25-2013, 05:38 PM   #12
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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:
aus9 output culled
amixer contents
numid=21,iface=CARD,name='CD Phantom Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
numid=22,iface=CARD,name='Front Headphone Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
numid=18,iface=CARD,name='Front Mic Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
numid=20,iface=CARD,name='Line Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
numid=19,iface=CARD,name='Rear Mic Jack'
; type=BOOLEAN,access=r-------,values=1
: values=off
numid=24,iface=CARD,name='SPDIF Phantom Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
numid=23,iface=CARD,name='Speaker Jack'
; type=BOOLEAN,access=r-------,values=1
: values=on
numid=17,iface=MIXER,name='Master Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=16,iface=MIXER,name='Master Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=127,step=0
: values=119
| dBscale-min=-95.25dB,step=0.75dB,mute=1
numid=2,iface=MIXER,name='PCM Playback Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=1,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=127,step=0
: values=127,127
| dBscale-min=-95.25dB,step=0.75dB,mute=0
numid=10,iface=MIXER,name='Front Mic Boost Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=2,step=0
: values=0,0
| dBscale-min=0.00dB,step=10.00dB,mute=0
numid=7,iface=MIXER,name='Capture Switch'
; type=BOOLEAN,access=rw------,values=2
: values=on,on
numid=9,iface=MIXER,name='Capture Switch',index=1
; type=BOOLEAN,access=rw------,values=2
: values=off,off
numid=6,iface=MIXER,name='Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=14,step=0
: values=8,8
| dBscale-min=0.00dB,step=1.50dB,mute=0
numid=8,iface=MIXER,name='Capture Volume',index=1
; type=INTEGER,access=rw---R--,values=2,min=0,max=14,step=0
: values=0,0
| dBscale-min=0.00dB,step=1.50dB,mute=0
numid=15,iface=MIXER,name='IEC958 Default PCM Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=11,iface=MIXER,name='IEC958 Playback Con Mask'
; type=IEC958,access=r-------,values=1
: values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=12,iface=MIXER,name='IEC958 Playback Pro Mask'
; type=IEC958,access=r-------,values=1
3) when we enabled the spdif playback switch and you adjusted your mixer settings
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
 
Old 11-25-2013, 05:44 PM   #13
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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
the command I like to put into rc.local is the second one but I show both bits of mine to show the change

Code:
 amixer get IEC958
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
gordon@box:~$ amixer set IEC958 unmute
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
see how playback is now on?

Last edited by aus9; 11-25-2013 at 05:46 PM.
 
Old 11-25-2013, 06:01 PM   #14
bednarjm
Member
 
Registered: Jul 2005
Location: Franklin, PA
Distribution: Fedora 19
Posts: 64

Original Poster
Rep: Reputation: 18
Quote:
I assume you have a /etc/rc.local?
I do not.

Quote:
2) do you have a folder called /usr/share/alsa/cards which contains HDA-Intel.conf
search for it pls if not there try
I do have it.
PHP Code:
#
# Configuration for the Intel HD audio (ICH6/ICH7)
#

<confdir:pcm/front.conf>

HDA-Intel.pcm.front.0 {
    @
args CARD ]
    @
args.CARD {
        
type string
    
}
    
type asym
    playback
.pcm {
        
type softvol
        slave
.pcm {
            
type hw
            card $CARD
            subdevice 0
        
}
        
control {
            
name "PCM Playback Volume"
            
card $CARD
        
}
    }
    
capture.pcm {
        
type hw
        card $CARD
    
}
}    

# default with dmix+softvol & dsnoop
HDA-Intel.pcm.default {
    @
args CARD ]
    @
args.CARD {
        
type string
    
}
    
type asym
    playback
.pcm {
        
type plug
        slave
.pcm {
            
type softvol
            slave
.pcm {
                @
func concat
                strings 
"dmix:" $CARD ]
            }
            
control {
                
name "PCM Playback Volume"
                
card $CARD
            
}
        }
    }
    
capture.pcm {
        
type plug
        slave
.pcm {
            
type softvol
            slave
.pcm {
                @
func concat
                strings 
"dsnoop:" $CARD ]
            }
            
control {
                
name "Digital Capture Volume"
                
card $CARD
            
}
            
min_dB -30.0
            max_dB 30.0
            resolution 121
        
}
        
# to avoid possible phase inversions with digital mics
        
route_policy copy
    
}
    
hint.device 0
}

<
confdir:pcm/surround40.conf>
<
confdir:pcm/surround41.conf>
<
confdir:pcm/surround50.conf>
<
confdir:pcm/surround51.conf>
<
confdir:pcm/surround71.conf>

HDA-Intel.pcm.surround40.0 cards.HDA-Intel.pcm.front.0
HDA
-Intel.pcm.surround51.0 cards.HDA-Intel.pcm.front.0
HDA
-Intel.pcm.surround71.0 cards.HDA-Intel.pcm.front.0

<confdir:pcm/iec958.conf>

HDA-Intel.pcm.iec958.0 {
    @
args CARD AES0 AES1 AES2 AES3 ]
    @
args.CARD {
        
type string
    
}
    @
args.AES0 {
        
type integer
    
}
    @
args.AES1 {
        
type integer
    
}
    @
args.AES2 {
        
type integer
    
}
    @
args.AES3 {
        
type integer
    
}
    
type asym
    playback
.pcm {
        
type hooks
        slave
.pcm {
            
type hw
            card $CARD
            device 1
        
}
        
hooks.0 {
            
type ctl_elems
            hook_args 
[
            {
                
name "IEC958 Playback Default"
                
index 16
                optional true
                lock true
                preserve true
                value 
$AES0 $AES1 $AES2 $AES3 ]
            }
            {
                
name "IEC958 Playback Switch"
                
index 16
                optional true
                value true
                
# if this element is present, skip the rest
                
skip_rest true
            
}
            {
                
name "IEC958 Playback Default"
                
lock true
                preserve true
                value 
$AES0 $AES1 $AES2 $AES3 ]
            }
            {
                
name "IEC958 Playback Switch"
                
value true
            
}
            ]
        }
    }
    
capture.pcm {
        
type hooks
        slave
.pcm {
            
type hw
            card $CARD
            device 1
        
}
        
hooks.0 {
            
type ctl_elems
            hook_args 
[
            {
                
name "IEC958 Capture Switch"
                
lock true
                preserve true
                value true
            
}
            ]
        }
    }
    
hint.device 1
}

<
confdir:pcm/hdmi.conf>

HDA-Intel.pcm.hdmi.common {
    @
args CARD DEVICE CTLINDEX AES0 AES1 AES2 AES3 ]
    @
args.CARD {
        
type string
    
}
    @
args.DEVICE {
        
type integer
    
}
    @
args.CTLINDEX {
        
type integer
    
}
    @
args.AES0 {
        
type integer
    
}
    @
args.AES1 {
        
type integer
    
}
    @
args.AES2 {
        
type integer
    
}
    @
args.AES3 {
        
type integer
    
}
    
type hooks
    slave
.pcm {
        
type hw
        card $CARD
        device $DEVICE
    
}
    
hooks.0 {
        
type ctl_elems
        hook_args 
[
        {
            
name "IEC958 Playback Default"
            
index $CTLINDEX
            lock true
            preserve true
            value 
$AES0 $AES1 $AES2 $AES3 ]
        }
        {
            
name "IEC958 Playback Switch"
            
index $CTLINDEX
            value true
        
}
        ]
    }
    
hint.device $DEVICE
}

HDA-Intel.pcm.hdmi.0 {
    @
args CARD AES0 AES1 AES2 AES3 ]
    @
args.CARD type string }
    @
args.AES0 type integer }
    @
args.AES1 type integer }
    @
args.AES2 type integer }
    @
args.AES3 type integer }
    @
func refer
    name 
{
        @
func concat
        strings 
[
            
"cards.HDA-Intel.pcm.hdmi.common:"
            "CARD=" 
$CARD ","
            "DEVICE=3,"
            "CTLINDEX=0,"
            "AES0=" 
$AES0 ","
            "AES1=" 
$AES1 ","
            "AES2=" 
$AES2 ","
            "AES3=" 
$AES3
        
]
    }
}

HDA-Intel.pcm.hdmi.1 {
    @
args CARD AES0 AES1 AES2 AES3 ]
    @
args.CARD type string }
    @
args.AES0 type integer }
    @
args.AES1 type integer }
    @
args.AES2 type integer }
    @
args.AES3 type integer }
    @
func refer
    name 
{
        @
func concat
        strings 
[
            
"cards.HDA-Intel.pcm.hdmi.common:"
            "CARD=" 
$CARD ","
            "DEVICE=7,"
            "CTLINDEX=1,"
            "AES0=" 
$AES0 ","
            "AES1=" 
$AES1 ","
            "AES2=" 
$AES2 ","
            "AES3=" 
$AES3
        
]
    }
}

HDA-Intel.pcm.hdmi.2 {
    @
args CARD AES0 AES1 AES2 AES3 ]
    @
args.CARD type string }
    @
args.AES0 type integer }
    @
args.AES1 type integer }
    @
args.AES2 type integer }
    @
args.AES3 type integer }
    @
func refer
    name 
{
        @
func concat
        strings 
[
            
"cards.HDA-Intel.pcm.hdmi.common:"
            "CARD=" 
$CARD ","
            "DEVICE=8,"
            "CTLINDEX=2,"
            "AES0=" 
$AES0 ","
            "AES1=" 
$AES1 ","
            "AES2=" 
$AES2 ","
            "AES3=" 
$AES3
        
]
    }
}

HDA-Intel.pcm.hdmi.3 {
    @
args CARD AES0 AES1 AES2 AES3 ]
    @
args.CARD type string }
    @
args.AES0 type integer }
    @
args.AES1 type integer }
    @
args.AES2 type integer }
    @
args.AES3 type integer }
    @
func refer
    name 
{
        @
func concat
        strings 
[
            
"cards.HDA-Intel.pcm.hdmi.common:"
            "CARD=" 
$CARD ","
            "DEVICE=9,"
            "CTLINDEX=3,"
            "AES0=" 
$AES0 ","
            "AES1=" 
$AES1 ","
            "AES2=" 
$AES2 ","
            "AES3=" 
$AES3
        
]
    }
}

<
confdir:pcm/modem.conf>

HDA-Intel.pcm.modem.0 {
    @
args CARD ]
    @
args.CARD {
        
type string
    
}
    
type hw
    card $CARD
    device 6
    hint
.show off

Quote:
4) then before reboot, time to try a home folder file copy and paste this pls...at your home folder
Do i name the file .asoundrc ?
 
Old 11-25-2013, 11:22 PM   #15
aus9
Guru
 
Registered: Oct 2003
Posts: 5,055

Rep: Reputation: Disabled
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:
3.2.4. rc.local no longer packaged
The /etc/rc.d/rc.local local customization script is no longer included by default. Administrators who need this functionality merely have to create this file, make it executable, and it will run on boot.
Upgrades are not affected by this change.
ok first I need to know the full pathway to your amixer command, likely to be /usr/bin/amixer but YMMV

Code:
sudo find / -name amixer
lets pretend its the same as mine---but changes my command if you have different pathway pls

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
echo "#!/bin/sh 
/usr/bin/amixer set IEC958 unmute

exit 0
" > /etc/rc.local

chmod 755 /etc/rc.local
chown root:root /etc/rc.local
cat /etc/rc.local
last command should look like this
Quote:
#!/bin/sh
/usr/bin/amixer set IEC958 unmute

exit 0
full reboot

check is spdif is unmuted and you have digital sound pls

pls report any issues

Last edited by aus9; 11-25-2013 at 11:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio not working karthiksharu Linux - Hardware 2 06-21-2009 10:52 AM
lmms - No audio-driver working - falling back to dummy-audio-driver GuySkarpz Linux - Software 3 01-20-2009 03:58 PM
media problem with .avi --- audio only in vlc working rest amarock ,etc. not working fedex Linux - Newbie 1 12-22-2007 08:06 AM
Microsoft Confort Optial Mouse 3000 USB rhbegin Linux - Hardware 9 10-30-2007 09:58 PM
Audio Not Working muskvar Ubuntu 2 08-30-2007 08:50 PM


All times are GMT -5. The time now is 01:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration