No sound from S/PDIF
#1
OS Arch linux, x64
MB Asus AT5IONT-I - ION 2

Good day,

I tried add follow lines to rc.conf:
# Use COAX-digital output
amixer set 'IEC958 Optical' 100 unmute
amixer set 'Audigy Analog/Digital Output Jack' on


And I got in the logs: amixer: Unable to find simple control 'IEC958 Optical'

iecset audio on doesn't help. Sad


Please, help me. Thank you...

Image
Reply
#2
use alsamixer from cli to see if it's muted.
ASRock ION 330
Ubuntu 11.10 x86_64 minimal install
xbmc from unstable ppa
Reply
#3
gsgleason Wrote:use alsamixer from cli to see if it's muted.

I did. It is muted. But I can't add more volume.
There was two positions (S/PDIF and S/PDIF D). S/PDIF was turned off. And both were muted.
Reply
#4
unmuting them should fix the problem. The volume cannot be set for spdif.
Reply
#5
Hammi Wrote:unmuting them should fix the problem. The volume cannot be set for spdif.

How can I do that? I tried type M, but it didn't help.

I also tried run XBMC as root.
Reply
#6
aplay -L
Quote:null
Discard all samples (playback) or generate zero samples (capture)
front:CARD=Intel,DEV=0
HDA Intel, ALC887 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC887 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC887 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC887 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC887 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC887 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, ALC887 Digital
IEC958 (S/PDIF) Digital Audio Output

hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 0
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
HDMI Audio Output

aplay -D iec958:CARD=Intel,DEV=0 cow.wav
Quote:Playing WAVE 'cow.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo
Warning: rate is not accurate (requested = 16000Hz, got = 44100Hz)
please, try the plug plugin

mplayer cow.wav -ao alsa:device=hw=0.0
Quote:MPlayer SVN-r34426-4.6.2 © 2000-2011 MPlayer Team
181 audio & 384 video codecs
mplayer: No such file or directory

Playing cow.wav.
Audio only file format detected.
Load subtitles in ./
=========================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 16000 Hz, 2 ch, s16le, 512.0 kbit/100.00% (ratio: 64000->64000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
=========================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 1.5 (01.4) of 1.0 (01.0) 1.2%


Exiting... (End of file)
MPLAYER did start playing but I didn't hear anything.


Add
Quote:pcm.!default {
type plug
slave {
pcm "spdif"
rate 48000
format S16_LE
}
}
to /etc/asound.conf doesn't help.
Reply
#7
Then I tried to use S/PDIF cable between TV and different device. There was same problem. I mean there no sound. Now I think, may be I have to configure TV? We have some LG... It is possible that the problem is on the TV? Huh
Reply
#8
E_user Wrote:How can I do that? I tried type M, but it didn't help.

If you move to both SPDIF devices with the cursor keys and then press M, the display should change between x00x and xMMx. If that works for you, configuration of the SPDIF port is not your problem.

I can't say anything about your TV. I'm feeding the audio signal to my receiver via SPDIF, and in order to hear sound, I have to tell my receiver, of course, to switch to the right input. O/wise I don't hear anything as well.

(Oh, and I have to turn up the volume on the receiver for that channel... maybe your TV handles volumes differently, too.)
Reply
#9
After work week I'm back with my problem.

I turned on both spdif in alsamixer. I can see red light, so I believe hardware level works well.

Then I find sound from HDMI. It was
Code:
mplayer test.wav -ao alsa:device=[b]hw=1.7[/b]

When I seeing aplay, I think SPDIF can be only hw=0.0 or hw=0.1. When I tryed
Code:
mplayer test.wav -ao alsa:device=[b]hw=0.[color=brown]0/1[/color][/b]
It was streaming but still no sound.


For easier configuration, I have installed ubuntu with GUI.
Reply

Logout Mark Read Team Forum Stats Members Help
No sound from S/PDIF0