Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: James Ward <jeward@torzo.com>
To: alsa-devel@alsa-project.org
Subject: Mac Pro problem with USB soundcard
Date: Thu, 15 Jan 2009 09:31:11 -0700 (MST)	[thread overview]
Message-ID: <652573086.165321232037071454.JavaMail.root@mail.torzo.com> (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

-- 
Ward... James Ward
Linux System Administrator
System Administration
Phone:  520-290-0910 ext 268
Fax:    520-546-3442
ICQ:    201663408
Jabber: james@jabber.chinoc.net

                 reply	other threads:[~2009-01-15 16:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=652573086.165321232037071454.JavaMail.root@mail.torzo.com \
    --to=jeward@torzo.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox