LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-20-2005, 08:04 PM   #1
pandersson61
Member
 
Registered: Jan 2004
Distribution: Ubuntu 9.10, 10.04
Posts: 40

Rep: Reputation: 15
Please help me with alsa before i kill someone


I have been trying to configure my .asoundrc for almost ten hours now and i'm having a really hard time keeping calm at the moment.
Could someone PLEASE! give me some pointers on how to enable pcm audio via the spdif output. As well as spdif via the spdif output. I can't get the two working together at all.

Thanks

Peter

Last edited by pandersson61; 09-20-2005 at 08:05 PM.
 
Old 09-20-2005, 08:15 PM   #2
flayzernax
Member
 
Registered: Jul 2004
Location: FL
Distribution: Slackware
Posts: 37

Rep: Reputation: 16
There is a wierd isue with also having locked files on some systems in /var/somethingorother... might want to check out the yoper linux forums, but basicly after you delete the temp files, and do an alsaconf and an alsactl store it works =P hope that helps, i would give better directions but its been like 2 years since i messed with alsa
 
Old 09-20-2005, 08:51 PM   #3
pandersson61
Member
 
Registered: Jan 2004
Distribution: Ubuntu 9.10, 10.04
Posts: 40

Original Poster
Rep: Reputation: 15
Thanks for the tip! But unfortunatly it didn't help me.

Basically this is what my asoundrc looks like now.

pcm.ice1724 {
type hw
card 0
}

ctl.ice1724 {
type hw
card 0
}

pcm.!default {
type plug
slave.pcm "spdif"
}

It works great with stereo, but i have no clue on how to turn on passthrough via spdif.
I have seen loads of references to it but no clues on how to enable it.

/Peter
 
Old 09-20-2005, 09:37 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
hi,
go
cat /proc/asound/devices
one of those digital audio playback devices is spdif
and one is analog
so for instance if one says
19: [0- 3]: digital audio playback
try that device with
aplay -D hw:0,3 file.wav
do this trial and error til you get the spdif output
so now you know the device number
so then just as an example if it was the one above (3)
i can't test before i type (sorry)
in reality like all code it would take me a while to get this right
i also don't really understand the first two pcm.rename because my card doesn't need those
so it may not be apropriate to add the line device to those so i left them commented out
i think try this
Code:
pcm.ice1724 {
type hw
card 0
#device 3
}

ctl.ice1724 {
type hw
card 0
#device 3
}

pcm.!default {
type plug
slave.pcm "spdifer"
}

pcm.spdifer  {
	type spdif
	ipc_key 1024
	slave {
	    pcm "hw:0,3"
         }
}
 
Old 09-20-2005, 09:47 PM   #5
danimalz
Member
 
Registered: Jul 2005
Location: West Coast South, USA
Distribution: debian 3.1
Posts: 267

Rep: Reputation: 36
easier to just kill someone...
 
Old 09-21-2005, 01:26 AM   #6
pandersson61
Member
 
Registered: Jan 2004
Distribution: Ubuntu 9.10, 10.04
Posts: 40

Original Poster
Rep: Reputation: 15
I was afraid someone would say that...
 
Old 09-21-2005, 01:49 AM   #7
logosys
Member
 
Registered: Jul 2005
Location: Texas
Distribution: RHEL4 - ES
Posts: 178

Rep: Reputation: 31
Does anyone else wish this guy had listed a location? *hides in corner* =P
 
  


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
What if 'kill -9' fails to kill a task? chii-chan Linux - Newbie 15 03-27-2013 03:47 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 06:35 PM
Kill command could not kill Kanaflloric Linux - General 11 08-22-2005 07:18 AM
cannot kill process (kill -9 does not work) mazer13a Linux - General 1 05-27-2005 02:32 PM
kill X = kill computer! jd243 Slackware 3 07-01-2003 11:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:03 PM.

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