From: Mark Knecht <markknecht@gmail.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] ALSA wizard...
Date: Thu, 23 Apr 2020 06:37:47 -0700 [thread overview]
Message-ID: <CAK2H+efy6EthdFqLE7Ho-346fLpM-7_5ER2WQdYHgDPTk7kUZA@mail.gmail.com> (raw)
In-Reply-To: <CAKpSnp+=k17Ua2_r2YdJ-4+OEopDPyzVxFdW2exW3=nXAYCbeA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2921 bytes --]
On Thu, Apr 23, 2020 at 12:04 AM Jorge Almeida <jjalmeida@gmail.com> wrote:
>
> On Thu, Apr 23, 2020 at 1:42 AM Mark Knecht <markknecht@gmail.com> wrote:
> >
> > Jorge,
> > Sorry for top posting. I'm at a site with limited capabilities at
the moment. Please forgive.
>
> Forgiving someone for trying to help me? :)
> (And, if memory serves, you were one of the first persons to help me,
> in a sound related question, many years ago!)
>
Well, I Can only hope I was nice! ;-)
>
> >
> > I'm slightly confused by the question but before I get into that
please provide the output of
> >
> > cat /proc/asound/cards
> $ cat /proc/asound/cards
> 0 [PCH ]: HDA-Intel - HDA Intel PCH
> HDA Intel PCH at 0xf7340000 irq 137
> 1 [CODEC ]: USB-Audio - USB Audio CODEC
> Burr-Brown from TI USB Audio CODEC at
> usb-0000:00:14.0-10, full speed
>
> > cat /proc/asound/modules
> $ cat /proc/asound/modules
> cat: /proc/asound/modules: No such file or directory
>
> (No wonder: I have it all in the kernel. But sound playing and
> recording are both fine, the problem is how to setup defaults that use
> two cards)
I don't think any problems are created by building the modules into the
kernel. However I don't know if blacklisting (something I now think you
won't have to do so it doesn't matter) a module works when it's built into
the kernel works when it's built in.
> >
> > What desktop environment are you using?
> I use openbox (it is probably debatable whether it should be considered a
DE)
> Anyway, this is a low-level setup, no higher-level stuff on top of ALSA.
> >
> > What kernel are you running?
> 5.6.4 (off portage)
> >
OK, looking at your problem I think you are asking for the audio input to
come from the USB device and the audio output to be the built-in audio
device. If that's correct then Alsa doesn't, by default, allow you to do
that - input from one card, output to another card, but treating it all
like a single card to make applications happy. What I _THINK_ you need to
do is create a 'virtual' sound card. Google these terms
alsa virtual sound card
and you will find examples of how to do this. It requires editing
.asoundrc. I've never done this myself so I probably cannot help much
beyond this. (But I will try to be nice!) ;-)
As for my desktop question KDE, which I use, has something like this built
in where it will create a virtual device that sends audio to all cards.
I've used it (very briefly) sending audio to both USB and the built-in
Intel audio device in my laptop, and it does work, but I eventually went a
different way.
As for my kernel question my Scarlett 2i2 3rd gen USB card didn't work
correctly with kernels lower than 5.3. Seems like that shouldn't be a
problem for you.
Wish I could offer more specific help on coding up .asoundrc but I suspect
you'll figure it out pretty quickly.
Cood luck,
Mark
[-- Attachment #2: Type: text/html, Size: 3660 bytes --]
next prev parent reply other threads:[~2020-04-23 13:38 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-22 21:57 [gentoo-user] ALSA wizard Jorge Almeida
2020-04-23 0:42 ` Mark Knecht
2020-04-23 7:03 ` Jorge Almeida
2020-04-23 13:37 ` Mark Knecht [this message]
2020-04-23 18:50 ` Jorge Almeida
2020-04-23 8:19 ` Michael
2020-04-23 9:46 ` Jorge Almeida
2020-04-23 16:53 ` Michael
2020-04-23 19:01 ` Jorge Almeida
2020-04-23 20:10 ` Mark Knecht
2020-04-23 21:01 ` Jorge Almeida
2020-04-23 20:38 ` Matt Connell (Gmail)
2020-04-23 21:07 ` Jorge Almeida
2020-04-23 21:27 ` Matt Connell (Gmail)
2020-04-24 10:38 ` Michael
2020-04-24 11:13 ` Jorge Almeida
2020-04-24 13:05 ` Michael
2020-04-24 13:35 ` Jorge Almeida
2020-04-24 16:26 ` Mark Knecht
2020-04-24 17:03 ` Jorge Almeida
2020-04-24 17:10 ` Mark Knecht
2020-04-24 17:20 ` Jorge Almeida
2020-04-24 18:07 ` Mark Knecht
2020-04-24 22:22 ` Jorge Almeida
2020-04-24 22:46 ` Mark Knecht
2020-04-24 23:16 ` Jorge Almeida
2020-04-25 0:18 ` Mark Knecht
2020-04-25 8:08 ` Jorge Almeida
2020-04-25 13:19 ` Mark Knecht
2020-04-25 21:38 ` Jorge Almeida
2020-04-25 23:15 ` Mark Knecht
2020-04-26 0:07 ` Jorge Almeida
2020-04-26 12:30 ` Jorge Almeida
2020-04-26 16:58 ` Mark Knecht
2020-04-26 19:08 ` Jorge Almeida
2020-04-26 19:28 ` problems with slack and zoom: Was: " Jack
2020-04-26 22:22 ` Jorge Almeida
2020-04-26 23:03 ` Jack
2020-04-26 23:42 ` Jorge Almeida
2020-04-27 15:26 ` Jack
2020-04-27 16:47 ` Jorge Almeida
2020-04-27 18:17 ` Jack
2020-04-28 10:32 ` [gentoo-user] Re: problems with slack and zoom: Was: " Nuno Silva
2020-04-28 11:09 ` Jorge Almeida
2020-04-28 11:56 ` Michael
2020-04-28 12:02 ` Jorge Almeida
2020-04-26 19:34 ` [gentoo-user] " Mark Knecht
2020-04-26 20:05 ` Jorge Almeida
2020-04-26 20:23 ` Mark Knecht
2020-04-26 20:49 ` Jorge Almeida
2020-04-26 21:26 ` Mark Knecht
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=CAK2H+efy6EthdFqLE7Ho-346fLpM-7_5ER2WQdYHgDPTk7kUZA@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.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