LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-24-2008, 06:28 PM   #1
kamkos
LQ Newbie
 
Registered: Jan 2004
Posts: 16

Rep: Reputation: 0
spdif problem opensuse 10.3


hey,

I am having opensuse 10.3 and i have encountered a problem with spdif.
When i watch a DVD movie in kaffeine and the sound is set up as "passing through" the sound goes through spdif. Nevertheless, when i want to watch a divx or even to listen some music then the sound only goes through the analog connection.

It used to be that whenever i watched a dvd and once i am done i wanted to listen to hear music from spdif i had to restart KDE. It is not happening anymore and i am wondering why. My external amplifier has a light that means that the signal is comming from the pc but there is no sound at all. I tried different volume setting but without luck:

The output of alsa-info.sh is at http://pastebin.ca/916888.

Any help will be appreciated.
kamkos
 
Old 02-27-2008, 11:23 AM   #2
Frank64
Member
 
Registered: Feb 2008
Distribution: Kubuntu 19.10
Posts: 77

Rep: Reputation: 15
Hi,

I don't believe I will help, but I would like to discuss and keep that tread rolling.

There is a lot of complexity around AC3 and surround sound, at least with opensuse and possibly Linux. It is hard to follow up and get everything to work properly.

The sound goes through spdif if it's AC3/DTS, or if you force spdif output by default. But to get the full 6 channels (real sound, not upmixing) you have to go through spdif. Which a DVD does anyway.

When you listen to music through spdif, you usually need a config somewhere, otherwise since it's not AC3 it uses analog 3.5mm output.

I think that you might be hitting a "device/resource busy" problem. Cuz I have the exact same symptoms as you do.

I was able ONE day only to make all my sounds of all applications go through spdif output (was nice! I miss it), whether they were surround or stereo. Including music with Amarok. I then installed a sound plugin (which I don't remember!), rebooted and since then it does not work anymore! But I know the sound wants to go through.

When you do in command line "mplayer filename.ext" it will tell you if the audio resource is busy, you will see an error msg. Maybe you have the same problem. I am trying to fix it but I got no luck at all and I can't find a history of the last packages installed through yast. Cuz I think it's related to a package, maybe you happened to install the same.

I would also suggest you do the following in either your home/.asoundrc or /etc/asound.conf config file (it forces output to spdif by default):

Code:
1st way:

pcm.!default spdif

2nd way (if above doesn't work):

pcm.!default {
       type hw
       card 0
       device 2
}

3rd way (if you have more than one sound card / need resampling / other funkiness ):

Obviously you will need to change the pcm string line to match your setup. The output of aplay -L will probably help.

pcm.!default {
       type plug
       slave.pcm "iec958:CARD=V8235,DEV=0" # taken from aplay -L
       slave.rate 48000 # optional resampling to 48kHz
}
Or read this http://gentoo-wiki.com/HOWTO_Dolby_D...ut_(AC3,_SPDIF)

Maybe tweaking the config files will help you out... I hope.
 
  


Reply



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
No output through SPDIf, but analog works. How do I get output through SPDIF? seanwnz Linux - General 11 11-08-2007 11:24 AM
i8x0 SPDIF + ALSA problem Jon Beilin Linux - Hardware 5 03-26-2005 02:46 PM
spdif trollman Linux - Hardware 2 05-17-2004 09:16 PM
spdif out mullet Linux - Hardware 1 11-22-2003 03:04 AM
Spdif Help!! gdluiv Linux - Newbie 0 11-15-2003 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:52 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration