M-Audio Revolution 5.1 Daryna SPDIF and Headphones

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help

M-Audio Revolution 5.1 Daryna SPDIF and Headphones

Postby spleffy on Sun Dec 09, 2007 6:34 am

Hello everyone,

Can anybody help me configure my M-Audio Revolution 5.1 in Daryna. I already got it to work using the Ubunto Howto http://ubuntuforums.org/showthread.php?t=400268 . I can get SPDIF to work if I force Amarok to output Plughw:0,1 , but the music gets caught in a loop. It repeats the first 3 seconds!

Moreover I did not find any info on the web to get the headphone plug to work. I am using a 5.1 analog system and a digital link to my stereo. Since it is not possible with the revolution card to play digital and analog at the same time, I like to use the headphone output to link it to my stereo.

I am using the following this alsa.conf (http://ubuntuforums.org/attachment.php? ... 1177175900) and this .asoundrc

# 6 channel dmix:
pcm.dmix6 {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:0,0"
rate 48000
channels 6
period_time 0
period_size 1024
buffer_time 0
buffer_size 5120
}
}

# upmixing:
pcm.ch51dup {
type route
slave.pcm dmix6
slave.channels 6
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}

pcm.duplex {
type asym
playback.pcm "ch51dup" # upmix first
capture.pcm "hw:0"
}

# change default device:
pcm.!default {
type plug
slave.pcm "duplex"
}

# for aoss
pcm.dsp "duplex"

pcm.dsp1 "duplex"

How can I force the use of SPDIF in .asoundrc? Any help would be greatly appreciated.

Thx
Spleffy
spleffy
Level 1
Level 1
 
Posts: 8
Joined: Sun Dec 09, 2007 6:21 am

Linux Mint is funded by ads and donations.
 

Re: M-Audio Revolution 5.1 Daryna SPDIF and Headphones

Postby Husse on Sun Dec 09, 2007 5:27 pm

How can I force the use of SPDIF in .asoundrc?

I've seen
pcm.!default spdif
or if that does not work
pcm.!default {
type hw
card 0
device 2
}
That config file tells ALSA to override using the default device, and instead makes 'hardware device 2' your default. That's probably going to be your SPDIF out but you may have to change it for your configuration.
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: M-Audio Revolution 5.1 Daryna SPDIF and Headphones

Postby spleffy on Wed Dec 12, 2007 2:57 am

Thanx for your help, but I still got some audio problems. When I add
pcm.!default {
type hw
card 0
device 1
}

to the .asoundrc I get spdif output with exaile but other players and especially VLC player and mplayer stay analog. I am not sure if these players even use the .asoundrc.

Any ideas?

Greetz
Spleffy
spleffy
Level 1
Level 1
 
Posts: 8
Joined: Sun Dec 09, 2007 6:21 am

Re: M-Audio Revolution 5.1 Daryna SPDIF and Headphones

Postby Husse on Wed Dec 12, 2007 7:47 am

Check settings - there may be something about spdif in the players
Admittedly this is complicated
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden


Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 19 guests