Skip to contentSkip to conversation

Mac Pro problem with USB soundcard

DISCUSSION James Ward 1 participant 1 message Jan 15, 2009

lore
Share & tools
lore

James Ward

author
#0 lore raw

I'm running 64 Bit Sabayon Linux 4.0 r1 on a Mac Pro. I have connected a Creative USB sound card and would like to use it as the default.

I tried these two .asoundrc files suggested by gnubien on #alsa:

pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}

and:

created by wishie on #alsa 10-13-07
#Set the card you want to use here.. this example is for hw:1,0

pcm.snd_card {
type hw
card 1
#change "card 1" to the card number listed for your usb soundcard using cat /proc/asound/cards output
device 0
}

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

pcm.dmixer {
        type dmix
        ipc_key 1024
        ipc_key_add_uid false
        ipc_perm 0660        
        slave {
                pcm "snd_card"
                rate 48000
                period_time 0
                period_size 1024
                buffer_time 0
                buffer_size 5120
        }
}

Either of these .asoundrc files result in the USB soundcard going away. I have to unplug it and plug it back in to get it back. Please help.

James

Signature · 7 lines
Ward... James Ward
Linux System Administrator
System Administration
Phone:  520-290-0910 ext 268
Fax:    520-546-3442
ICQ:    201663408
Jabber: [email protected]