public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] OSS4
@ 2020-04-12 20:46 Jorge Almeida
  2020-04-12 20:57 ` Dale
  2020-04-13 14:06 ` Alexandru N. Barloiu
  0 siblings, 2 replies; 21+ messages in thread
From: Jorge Almeida @ 2020-04-12 20:46 UTC (permalink / raw
  To: gentoo-user

Is it possible to install it?
Every random page I could find that was gentoo+oss4 related seemed
old. I know the kernel does not support oss4 at all, any more than
portage does, but I don't know whether that means it is impossible to
install.
Anyone using it?

Thanks

Jorge Almeida


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-12 20:46 [gentoo-user] OSS4 Jorge Almeida
@ 2020-04-12 20:57 ` Dale
  2020-04-12 21:10   ` Jorge Almeida
  2020-04-13 14:06 ` Alexandru N. Barloiu
  1 sibling, 1 reply; 21+ messages in thread
From: Dale @ 2020-04-12 20:57 UTC (permalink / raw
  To: gentoo-user

Jorge Almeida wrote:
> Is it possible to install it?
> Every random page I could find that was gentoo+oss4 related seemed
> old. I know the kernel does not support oss4 at all, any more than
> portage does, but I don't know whether that means it is impossible to
> install.
> Anyone using it?
>
> Thanks
>
> Jorge Almeida
>
>


Would this help??


root@fireball / # eix alsa-oss
* media-libs/alsa-oss
     Available versions:  1.1.8 {static-libs ABI_MIPS="n32 n64 o32"
ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Homepage:            https://alsa-project.org/
     Description:         Advanced Linux Sound Architecture OSS
compatibility layer

root@fireball / #


Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-12 20:57 ` Dale
@ 2020-04-12 21:10   ` Jorge Almeida
  2020-04-12 21:16     ` Dale
  0 siblings, 1 reply; 21+ messages in thread
From: Jorge Almeida @ 2020-04-12 21:10 UTC (permalink / raw
  To: gentoo-user

On Sun, Apr 12, 2020 at 9:57 PM Dale <rdalek1967@gmail.com> wrote:
>
> Jorge Almeida wrote:
> > Is it possible to install it?
> > Every random page I could find that was gentoo+oss4 related seemed
> > old. I know the kernel does not support oss4 at all, any more than
> > portage does, but I don't know whether that means it is impossible to
> > install.
> > Anyone using it?
> >
> > Thanks
> >
> > Jorge Almeida
> >
> >
>
>
> Would this help??
>
>
> root@fireball / # eix alsa-oss
> * media-libs/alsa-oss
>      Available versions:  1.1.8 {static-libs ABI_MIPS="n32 n64 o32"
> ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
>      Homepage:            https://alsa-project.org/
>      Description:         Advanced Linux Sound Architecture OSS
> compatibility layer
>
Nope. That's just Alsa imitating OSS, maybe to accommodate software
that expects OSS (I may be completely wrong, of course)

Thanks

Jorge


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-12 21:10   ` Jorge Almeida
@ 2020-04-12 21:16     ` Dale
  2020-04-12 21:22       ` Jorge Almeida
  0 siblings, 1 reply; 21+ messages in thread
From: Dale @ 2020-04-12 21:16 UTC (permalink / raw
  To: gentoo-user

Jorge Almeida wrote:
> On Sun, Apr 12, 2020 at 9:57 PM Dale <rdalek1967@gmail.com> wrote:
>> Jorge Almeida wrote:
>>> Is it possible to install it?
>>> Every random page I could find that was gentoo+oss4 related seemed
>>> old. I know the kernel does not support oss4 at all, any more than
>>> portage does, but I don't know whether that means it is impossible to
>>> install.
>>> Anyone using it?
>>>
>>> Thanks
>>>
>>> Jorge Almeida
>>>
>>>
>>
>> Would this help??
>>
>>
>> root@fireball / # eix alsa-oss
>> * media-libs/alsa-oss
>>      Available versions:  1.1.8 {static-libs ABI_MIPS="n32 n64 o32"
>> ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
>>      Homepage:            https://alsa-project.org/
>>      Description:         Advanced Linux Sound Architecture OSS
>> compatibility layer
>>
> Nope. That's just Alsa imitating OSS, maybe to accommodate software
> that expects OSS (I may be completely wrong, of course)
>
> Thanks
>
> Jorge
>
>

I wasn't sure about it either.  I was hoping it would provide kernel
modules that could be used or something like that.  Might be worth
installing and then doing a equery f alsa-oss and see just what it does
include.  If it won't help, uninstall and hope for another option. 

Surely there is a way to do this, somewhere.  :/

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-12 21:16     ` Dale
@ 2020-04-12 21:22       ` Jorge Almeida
       [not found]         ` <M4nT5tW--3-2@tutanota.com>
  0 siblings, 1 reply; 21+ messages in thread
From: Jorge Almeida @ 2020-04-12 21:22 UTC (permalink / raw
  To: gentoo-user

On Sun, Apr 12, 2020 at 10:16 PM Dale <rdalek1967@gmail.com> wrote:
>

> I wasn't sure about it either.  I was hoping it would provide kernel
> modules that could be used or something like that.  Might be worth
> installing and then doing a equery f alsa-oss and see just what it does
> include.  If it won't help, uninstall and hope for another option.

Sure, why not. It installs a wrapper, a headings file and a library.
>
> Surely there is a way to do this, somewhere.  :/

Maybe, unless it is really blocked by the kernel.
<SIGH>

Jorge


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
       [not found]         ` <M4nT5tW--3-2@tutanota.com>
@ 2020-04-13 13:47           ` elu6-u259
  2020-04-13 13:58             ` Jorge Almeida
  0 siblings, 1 reply; 21+ messages in thread
From: elu6-u259 @ 2020-04-13 13:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1264 bytes --]

>     On Sun, Apr 12, 2020 at 10:16 PM Dale <rdalek1967@gmail.com> wrote:
>
>
>         I wasn't sure about it either. I was hoping it would provide
>         kernel
>         modules that could be used or something like that. Might be worth
>         installing and then doing a equery f alsa-oss and see just
>         what it does
>         include. If it won't help, uninstall and hope for another option.
>
>
>     Sure, why not. It installs a wrapper, a headings file and a library.
>
>
>         Surely there is a way to do this, somewhere. :/
>
>
>     Maybe, unless it is really blocked by the kernel.
>     <SIGH>
>
>     Jorge
>

There is this link:

https://wiki.gentoo.org/wiki/OSS

That seems to say you can still install the real OSS.

The first step is to build a kernel with it included:

    Device Drivers  --->
            <M> Sound card support  --->
                 --- Sound card support
                 < >   Advanced Linux Sound Architecture --->
                 < >   Open Sound System (DEPRECATED) --->

Of course, since it is marked DEPRECATED, you don't know how well the 
driver will work.

Tom Naujokas

[-- Attachment #2: Type: text/html, Size: 2458 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 13:47           ` elu6-u259
@ 2020-04-13 13:58             ` Jorge Almeida
  0 siblings, 0 replies; 21+ messages in thread
From: Jorge Almeida @ 2020-04-13 13:58 UTC (permalink / raw
  To: gentoo-user

On Mon, Apr 13, 2020 at 2:47 PM <elu6-u259@spamex.com> wrote:
>

>
>
> There is this link:
>
>    https://wiki.gentoo.org/wiki/OSS
>
> That seems to say you can still install the real OSS.
>
> The first step is to build a kernel with it included:
>
>    Device Drivers  --->
>            <M> Sound card support  --->
>                 --- Sound card support
>                 < >   Advanced Linux Sound Architecture --->
>                 < >   Open Sound System (DEPRECATED)  --->

I'm using kernel 5.6.0 (off portage). It doesn't offer the OSS
possibility, deprecated or not: just Advanced Linux Sound Architecture
or nothing.

>
> Of course, since it is marked DEPRECATED, you don't know how well the driver will work.

My card is on-board Intel HD ("product: 200 Series PCH HD Audio"
according to lshw), so I assume it is pretty common...

Thanks

Jorge

>
> Tom Naujokas


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-12 20:46 [gentoo-user] OSS4 Jorge Almeida
  2020-04-12 20:57 ` Dale
@ 2020-04-13 14:06 ` Alexandru N. Barloiu
  2020-04-13 14:18   ` Jorge Almeida
  1 sibling, 1 reply; 21+ messages in thread
From: Alexandru N. Barloiu @ 2020-04-13 14:06 UTC (permalink / raw
  To: gentoo-user

OSS4 is a set of proprietary patches. You would need support in kernel,
and support at an application level to use it. Not sure if USE=oss will
work with OSS4, but one thing I know for sure is that you would need to
get the patches from 4front technologies. And given that they keep
moving the license... why would you?


On Sun, 2020-04-12 at 21:46 +0100, Jorge Almeida wrote:
> Is it possible to install it?
> Every random page I could find that was gentoo+oss4 related seemed
> old. I know the kernel does not support oss4 at all, any more than
> portage does, but I don't know whether that means it is impossible to
> install.
> Anyone using it?
> 
> Thanks
> 
> Jorge Almeida
> 



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 14:06 ` Alexandru N. Barloiu
@ 2020-04-13 14:18   ` Jorge Almeida
  2020-04-13 14:22     ` Alexandru N. Barloiu
  0 siblings, 1 reply; 21+ messages in thread
From: Jorge Almeida @ 2020-04-13 14:18 UTC (permalink / raw
  To: gentoo-user

On Mon, Apr 13, 2020 at 3:07 PM Alexandru N. Barloiu <axl@dale.ro> wrote:
>
> OSS4 is a set of proprietary patches. You would need support in kernel,

That's the problem...

> and support at an application level to use it. Not sure if USE=oss will
> work with OSS4, but one thing I know for sure is that you would need to
> get the patches from 4front technologies. And given that they keep
> moving the license...
I was under the impression that it is open source (contrary to version
3)? Wrong?

>why would you?

desperation?  ALSA is 22 years old, and they couldn't find the time to
write documentation. It will not happen. When it works, it works. It
works for me re hearing sound, but no joy with my recently bought
micro. Maybe it's something as trivial as a faulty cable, but the
current plague doesn't make it easier to get a replacement to try...

Jorge
>


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 14:18   ` Jorge Almeida
@ 2020-04-13 14:22     ` Alexandru N. Barloiu
  2020-04-13 15:13       ` Jorge Almeida
  0 siblings, 1 reply; 21+ messages in thread
From: Alexandru N. Barloiu @ 2020-04-13 14:22 UTC (permalink / raw
  To: gentoo-user

On Mon, 2020-04-13 at 15:18 +0100, Jorge Almeida wrote:
> On Mon, Apr 13, 2020 at 3:07 PM Alexandru N. Barloiu <axl@dale.ro>
> wrote:
> > OSS4 is a set of proprietary patches. You would need support in
> > kernel,
> 
> That's the problem...
> 
> > and support at an application level to use it. Not sure if USE=oss
> > will
> > work with OSS4, but one thing I know for sure is that you would
> > need to
> > get the patches from 4front technologies. And given that they keep
> > moving the license...
> I was under the impression that it is open source (contrary to
> version
> 3)? Wrong?

It was gpl. Then they moved it to proprietary. Then they become
insignificant and changed it back. For me, that's sign enough that I
don't want anything to do with it.


> > why would you?
> 
> desperation?  ALSA is 22 years old, and they couldn't find the time
> to
> write documentation. It will not happen. When it works, it works. It
> works for me re hearing sound, but no joy with my recently bought
> micro. Maybe it's something as trivial as a faulty cable, but the
> current plague doesn't make it easier to get a replacement to try...
> 
> Jorge


It might have been invented 22 years ago, but that doesn't mean that it
didn't change/improve over that time. 


What do you mean "no joy with micro"? Maybe it could be easier to fix
this than use OSS.






^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 14:22     ` Alexandru N. Barloiu
@ 2020-04-13 15:13       ` Jorge Almeida
  2020-04-13 15:22         ` Alexandru N. Barloiu
  2020-04-13 15:28         ` Michael
  0 siblings, 2 replies; 21+ messages in thread
From: Jorge Almeida @ 2020-04-13 15:13 UTC (permalink / raw
  To: gentoo-user

On Mon, Apr 13, 2020 at 3:22 PM Alexandru N. Barloiu <axl@dale.ro> wrote:
>

> > 3)? Wrong?
>
> It was gpl. Then they moved it to proprietary. Then they become
> insignificant and changed it back. For me, that's sign enough that I
> don't want anything to do with it.
>

OK, I understand...
>
> > > why would you?
> >
> > desperation?  ALSA is 22 years old, and they couldn't find the time
> > to
> > write documentation. It will not happen. When it works, it works. It

> It might have been invented 22 years ago, but that doesn't mean that it
> didn't change/improve over that time.

I agree, but I was talking about the documentation, not about the
quality of the software.
Check the main documentation site https://alsa-project.org/wiki/Documentation
The first section contains 4 items, the second of which is just a
title (no link) and the 3rd is a dead link... ( actually, not dead,
but leading to nothing; and it says "Linux Audio Users Guide", a name
suggesting its contents are relevant)
>
>
> What do you mean "no joy with micro"? Maybe it could be easier to fix
> this than use OSS.
>
I mean I can't record sound (or I can't play it). Probably because I
don't know what I'm doing (see above, Documentation). I have a micro
which connects to an interface via  a XLR cable (it works; I can hear
sound through headphones connected with the direct monitor output in
the interface); the interface gets power from the computer via USB
(works); the RCA output of the interface connects to the LineIn entry
in the card. Trying to record with arecord produces a file that yields
noise or silence with aplay. I tried changing stuff in alsamixer...

https://www.amazon.de/-/en/dp/B01C05AL4C/ref=sr_1_5dchild=1&keywords=mikrofon%2Bxlr&qid=1585927073&sr=8-5&th=1

https://www.amazon.de/-/en/gp/product/B00EK1OTZC/ref=ask_ql_qh_dp_hza?th=1

The reasons I asked about OSS4 and not the details about my problem
are: (i) I like to understand what I'm doing (big picture & details)
and (ii) I don't want to be a support vampire

But maybe OSS4 would be no solution at all. However, it seems that
even trying is not an option...

Thanks

Jorge


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 15:13       ` Jorge Almeida
@ 2020-04-13 15:22         ` Alexandru N. Barloiu
  2020-04-13 16:55           ` Jorge Almeida
  2020-04-13 15:28         ` Michael
  1 sibling, 1 reply; 21+ messages in thread
From: Alexandru N. Barloiu @ 2020-04-13 15:22 UTC (permalink / raw
  To: gentoo-user

On Mon, 2020-04-13 at 16:13 +0100, Jorge Almeida wrote:
> 
> I mean I can't record sound (or I can't play it). Probably because I
> don't know what I'm doing (see above, Documentation). I have a micro
> which connects to an interface via  a XLR cable (it works; I can hear
> sound through headphones connected with the direct monitor output in
> the interface); the interface gets power from the computer via USB
> (works); the RCA output of the interface connects to the LineIn entry
> in the card. Trying to record with arecord produces a file that
> yields
> noise or silence with aplay. I tried changing stuff in alsamixer...
> 
> https://www.amazon.de/-/en/dp/B01C05AL4C/ref=sr_1_5dchild=1&keywords=mikrofon%2Bxlr&qid=1585927073&sr=8-5&th=1
> 
> https://www.amazon.de/-/en/gp/product/B00EK1OTZC/ref=ask_ql_qh_dp_hza?th=1
> 
> The reasons I asked about OSS4 and not the details about my problem
> are: (i) I like to understand what I'm doing (big picture & details)
> and (ii) I don't want to be a support vampire
> 
> But maybe OSS4 would be no solution at all. However, it seems that
> even trying is not an option...
> 


I am not familiar with those products. Sorry. All I can say about it is
that there are 2 types of volumes. The ones for playback, and the ones
for capture. (see F4 in alsa mixer). Also see F6 to select the right
sound card if you have more than one. If you have more than one input
(on that card), make sure you select the right one, You can toggle
"capture" with space. Untoggle all of them, and leave on just the one
you use for recording. Set the volume and try again. I hope it works.
If not, maybe people on the forums could be of more help than I was. 


axl



^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 15:13       ` Jorge Almeida
  2020-04-13 15:22         ` Alexandru N. Barloiu
@ 2020-04-13 15:28         ` Michael
  2020-04-13 17:09           ` Jorge Almeida
  1 sibling, 1 reply; 21+ messages in thread
From: Michael @ 2020-04-13 15:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

On Monday, 13 April 2020 16:13:57 BST Jorge Almeida wrote:
> Trying to record with arecord produces a file that yields
> noise or silence with aplay. I tried changing stuff in alsamixer...

Yes, the first step would be to reduce or set to zero the Mic Boost in 
alsamixer and adjust the Capture volume.  However, noise with arecord is 
usually a result of incorrect bitrate?

You could try:

arecord -fdat -r 48 test.wav

Also, make sure any hardware buttons have been enabled and the mic is not 
muted.  Additional options may be required to use the correct input device and 
driver, which can be specified in /etc/modprobe.d/alsa.conf

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 15:22         ` Alexandru N. Barloiu
@ 2020-04-13 16:55           ` Jorge Almeida
  0 siblings, 0 replies; 21+ messages in thread
From: Jorge Almeida @ 2020-04-13 16:55 UTC (permalink / raw
  To: gentoo-user

On Mon, Apr 13, 2020 at 4:23 PM Alexandru N. Barloiu <axl@dale.ro> wrote:
>


> I am not familiar with those products. Sorry. All I can say about it is
> that there are 2 types of volumes. The ones for playback, and the ones
> for capture. (see F4 in alsa mixer). Also see F6 to select the right
> sound card if you have more than one. If you have more than one input
> (on that card), make sure you select the right one, You can toggle
> "capture" with space. Untoggle all of them, and leave on just the one
> you use for recording. Set the volume and try again. I hope it works.
> If not, maybe people on the forums could be of more help than I was.
>
OK, thanks anyway

Jorge


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 15:28         ` Michael
@ 2020-04-13 17:09           ` Jorge Almeida
  2020-04-13 17:51             ` Michael
  0 siblings, 1 reply; 21+ messages in thread
From: Jorge Almeida @ 2020-04-13 17:09 UTC (permalink / raw
  To: gentoo-user

On Mon, Apr 13, 2020 at 4:29 PM Michael <confabulate@kintzios.com> wrote:
>

> Yes, the first step would be to reduce or set to zero the Mic Boost in
> alsamixer and adjust the Capture volume.  However, noise with arecord is
> usually a result of incorrect bitrate?
>
> You could try:
>
> arecord -fdat -r 48 test.wav

OK, I tried "arecord -D hw:0,1 -fdat -r 48 test.wav" and "arecord -D
hw:0,2 -fdat -r 48 test.wav". aplay produces noise, in both cases. I
alse tried with -r 44, same result.

## arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

## arecord -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, Generic Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, Generic Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    Front speakers
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output

I assume the two capture devices are LineIn and Mic (mono). Correct?
(But why the device numbers 0 and 2, and not 1?)
OTOH,
## arecord  -fdat -r 48 test.wav
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.1.2/work/alsa-lib-1.2.1.2/src/pcm/pcm_dsnoop.c:641:(snd_pcm_dsnoop_open)
unable to open slave
arecord: main:828: audio open error: No such file or directory

I didn't use any flags for aplay, because aplay foo.wav works fine
when foo.wav is music from a CD (i.e., not from a micro)

>
> Also, make sure any hardware buttons have been enabled and the mic is not
> muted.  Additional options may be required to use the correct input device and
> driver, which can be specified in /etc/modprobe.d/alsa.conf

I have /etc/modprobe.d/alsa.conf (not changed) but I have alsa support
built in the kernel, not as a module (could this be a problem?!)

Jorge


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 17:09           ` Jorge Almeida
@ 2020-04-13 17:51             ` Michael
  2020-04-13 18:48               ` Jorge Almeida
  0 siblings, 1 reply; 21+ messages in thread
From: Michael @ 2020-04-13 17:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 3477 bytes --]

On Monday, 13 April 2020 18:09:25 BST Jorge Almeida wrote:
> On Mon, Apr 13, 2020 at 4:29 PM Michael <confabulate@kintzios.com> wrote:
> > Yes, the first step would be to reduce or set to zero the Mic Boost in
> > alsamixer and adjust the Capture volume.  However, noise with arecord is
> > usually a result of incorrect bitrate?
> > 
> > You could try:
> > 
> > arecord -fdat -r 48 test.wav
> 
> OK, I tried "arecord -D hw:0,1 -fdat -r 48 test.wav" and "arecord -D
> hw:0,2 -fdat -r 48 test.wav". aplay produces noise, in both cases. I
> alse tried with -r 44, same result.
> 
> ## arecord -l
> **** List of CAPTURE Hardware Devices ****
> card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt
> Analog] Subdevices: 1/1
>   Subdevice #0: subdevice #0

I can't see your USB mic anywhere ...

Both device 0 and device 2 are on the *same* card.  I would think an external 
device as you posted previously would register on the kernel as a separate 
card.

Is dmesg recognising your USB mic when you plug it in?

Do you need some additional driver for it?

Is there some On/Off button on it you need to turn it on with?


> ## arecord -L
> null
>     Discard all samples (playback) or generate zero samples (capture)
> default:CARD=PCH
>     HDA Intel PCH, Generic Analog
>     Default Audio Device
> sysdefault:CARD=PCH
>     HDA Intel PCH, Generic Analog
>     Default Audio Device
> front:CARD=PCH,DEV=0
>     HDA Intel PCH, Generic Analog
>     Front speakers
> usbstream:CARD=PCH
>     HDA Intel PCH
>     USB Stream Output

Hmm ... I assume "USB Stream Output" is the USB mic, but I'm not sure and the 
Output part confuses me.


> I assume the two capture devices are LineIn and Mic (mono). Correct?
> (But why the device numbers 0 and 2, and not 1?)
> OTOH,
> ## arecord  -fdat -r 48 test.wav
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.2.1.2/work/alsa-lib-1.2.1.2/src/pcm/
> pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave
> arecord: main:828: audio open error: No such file or directory
> 
> I didn't use any flags for aplay, because aplay foo.wav works fine
> when foo.wav is music from a CD (i.e., not from a micro)
> 
> > Also, make sure any hardware buttons have been enabled and the mic is not
> > muted.  Additional options may be required to use the correct input device
> > and driver, which can be specified in /etc/modprobe.d/alsa.conf
> 
> I have /etc/modprobe.d/alsa.conf (not changed) but I have alsa support
> built in the kernel, not as a module (could this be a problem?!)
> 
> Jorge

Years ago I was having problems with alsa.  Audio drivers were not as polished 
as they are today for Linux.  Anyway, I remember contacting some dev who asked 
me to rebuild my kernel with alsa as modules and run 'alsactl init', which 
would only produce a full output this way.  I don't know if this would still 
be a problem today and anyway you are not experiencing the same bugs I was 
troubleshooting 15 years ago.

So, in the first instance I would look at a USB driver, if needed, from the 
output in dmesg.

lsusb -v would also show any 

        bInterfaceClass         1 Audio
        bInterfaceSubClass      1 Control Device

and any fields showing "Microphone".

Finally, have a look under 'cat /proc/bus/input/devices' or similar for any 
USB devices, to find out what driver it is using.

HTH.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 17:51             ` Michael
@ 2020-04-13 18:48               ` Jorge Almeida
  2020-04-13 22:10                 ` Adam Carter
  0 siblings, 1 reply; 21+ messages in thread
From: Jorge Almeida @ 2020-04-13 18:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4597 bytes --]

On Mon, Apr 13, 2020 at 6:52 PM Michael <confabulate@kintzios.com> wrote:
>

> > ## arecord -l
> > **** List of CAPTURE Hardware Devices ****
> > card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
> >   Subdevices: 1/1
> >   Subdevice #0: subdevice #0
> > card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt
> > Analog] Subdevices: 1/1
> >   Subdevice #0: subdevice #0
>
> I can't see your USB mic anywhere ...

Humm... The point is: the interface (Behring) has RCA output, which is
connected to the LineIn of the integrated sound card (not an USB
card). On the other hand, it also has a USB output, which is used to
get Phantom Power (whatever that is), which works (when removed from
the USB entry in the computer, the LEDs go off). However: I think the
device (Behring) also works as a USB sound card (which I don'y want to
use).

>
> Both device 0 and device 2 are on the *same* card.  I would think an external
> device as you posted previously would register on the kernel as a separate
> card.
>
> Is dmesg recognising your USB mic when you plug it in?
 usb 1-11: new full-speed USB device number 4 using xhci_hcd
 usb 1-11: New USB device found, idVendor=08bb, idProduct=2902, bcdDevice= 1.00
 usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=0
 usb 1-11: Product: USB Audio CODEC
 usb 1-11: Manufacturer: Burr-Brown from TI
 input: Burr-Brown from TI               USB Audio CODEC  as
/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.3/0003:08BB:2902.0004/input/input20
 hid-generic 0003:08BB:2902.0004: input,hidraw3: USB HID v1.00 Device
[Burr-Brown from TI               USB Audio CODEC ] on
usb-0000:00:14.0-11/input3

So it seems that it is recognized as a USB sound card...

>
> Do you need some additional driver for it?

NA (I think)
>
> Is there some On/Off button on it you need to turn it on with?

No buttons in the Mic; there is a button in the interface that enables
the Phantom Power, but it has always been on.
>
>
> > ## arecord -L
> > null
> >     Discard all samples (playback) or generate zero samples (capture)
> > default:CARD=PCH
> >     HDA Intel PCH, Generic Analog
> >     Default Audio Device
> > sysdefault:CARD=PCH
> >     HDA Intel PCH, Generic Analog
> >     Default Audio Device
> > front:CARD=PCH,DEV=0
> >     HDA Intel PCH, Generic Analog
> >     Front speakers
> > usbstream:CARD=PCH
> >     HDA Intel PCH
> >     USB Stream Output
>
> Hmm ... I assume "USB Stream Output" is the USB mic, but I'm not sure and the
> Output part confuses me.
>
>


> So, in the first instance I would look at a USB driver, if needed, from the
> output in dmesg.
>
> lsusb -v would also show any
>
>         bInterfaceClass         1 Audio
>         bInterfaceSubClass      1 Control Device
>
> and any fields showing "Microphone".

In attachement.

Also,
## aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, Generic Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, Generic Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, Generic Digital
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output


>
> Finally, have a look under 'cat /proc/bus/input/devices' or similar for any
> USB devices, to find out what driver it is using.
I: Bus=0003 Vendor=08bb Product=2902 Version=0100
N: Name="Burr-Brown from TI               USB Audio CODEC "
P: Phys=usb-0000:00:14.0-11/input3
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.3/0003:08BB:2902.0004/input/input20
U: Uniq=
H: Handlers=kbd event17
B: PROP=0
B: EV=13
B: KEY=e000000000000 0
B: MSC=10


>
> HTH.

Thanks

[-- Attachment #2: lsusb.txt --]
[-- Type: text/plain, Size: 47546 bytes --]


Bus 001 Device 004: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x08bb Texas Instruments
  idProduct          0x2902 PCM2902 Audio Codec
  bcdDevice            1.00
  iManufacturer           1 Burr-Brown from TI              
  iProduct                2 USB Audio CODEC 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x04a7
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x003e
        bInCollection           2
        baInterfaceNr(0)        1
        baInterfaceNr(1)        2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               3
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 3
        bSourceID               1
        bControlSize            1
        bmaControls(0)       0x01
          Mute Control
        bmaControls(1)       0x02
          Volume Control
        bmaControls(2)       0x02
          Volume Control
        iFeature                0 
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             4
        wTerminalType      0x0201 Microphone
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             5
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               4
        iTerminal               0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            3 Discrete
        tSamFreq[ 0]        32000
        tSamFreq[ 1]        44100
        tSamFreq[ 2]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0200
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            3 Discrete
        tSamFreq[ 0]        32000
        tSamFreq[ 1]        44100
        tSamFreq[ 2]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0060  1x 96 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0200
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           1
        bBitResolution          8
        bSamFreqType            3 Discrete
        tSamFreq[ 0]        32000
        tSamFreq[ 1]        44100
        tSamFreq[ 2]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0060  1x 96 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0200
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           1
        bBitResolution          8
        bSamFreqType            3 Discrete
        tSamFreq[ 0]        32000
        tSamFreq[ 1]        44100
        tSamFreq[ 2]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0030  1x 48 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0200
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  0 frames
        wFormatTag         0x0002 PCM8
      AudioStreaming Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           1
        bBitResolution          8
        bSamFreqType            3 Discrete
        tSamFreq[ 0]        32000
        tSamFreq[ 1]        44100
        tSamFreq[ 2]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0060  1x 96 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0200
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  0 frames
        wFormatTag         0x0002 PCM8
      AudioStreaming Interface Descriptor:
        bLength                17
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           1
        bBitResolution          8
        bSamFreqType            3 Discrete
        tSamFreq[ 0]        32000
        tSamFreq[ 1]        44100
        tSamFreq[ 2]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x0030  1x 48 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0200
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00c4  1x 196 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0062  1x 98 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        44100
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x00b4  1x 180 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        44100
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x005a  1x 90 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        32000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0084  1x 132 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        32000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0042  1x 66 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       7
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        22050
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x005c  1x 92 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       8
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        22050
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x002e  1x 46 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       9
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        16000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0044  1x 68 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting      10
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        16000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0022  1x 34 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting      11
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           1
        bBitResolution          8
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        16000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0022  1x 34 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting      12
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           1
        bBitResolution          8
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        16000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting      13
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           1
        bBitResolution          8
        bSamFreqType            1 Discrete
        tSamFreq[ 0]         8000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0012  1x 18 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting      14
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           1
        bBitResolution          8
        bSamFreqType            1 Discrete
        tSamFreq[ 0]         8000
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting      15
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        11025
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x0030  1x 48 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting      16
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        11025
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x0018  1x 24 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting      17
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           1
        bBitResolution          8
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        11025
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x0018  1x 24 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting      18
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           5
        bDelay                  0 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             1
        bSubframeSize           1
        bBitResolution          8
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        11025
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x000c  1x 12 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x00
          bLockDelayUnits         2 Decoded PCM samples
          wLockDelay         0x0000
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      31
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 18:48               ` Jorge Almeida
@ 2020-04-13 22:10                 ` Adam Carter
  2020-04-13 22:43                   ` Jorge Almeida
  2020-04-13 23:37                   ` Jack
  0 siblings, 2 replies; 21+ messages in thread
From: Adam Carter @ 2020-04-13 22:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]

On Tue, Apr 14, 2020 at 4:48 AM Jorge Almeida <jjalmeida@gmail.com> wrote:

> On Mon, Apr 13, 2020 at 6:52 PM Michael <confabulate@kintzios.com> wrote:
> >
>
> > > ## arecord -l
> > > **** List of CAPTURE Hardware Devices ****
> > > card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
> > >   Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> > > card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt
> > > Analog] Subdevices: 1/1
> > >   Subdevice #0: subdevice #0
> >
> > I can't see your USB mic anywhere ...
>
> Humm... The point is: the interface (Behring) has RCA output, which is
> connected to the LineIn of the integrated sound card (not an USB
> card). On the other hand, it also has a USB output, which is used to
> get Phantom Power (whatever that is), which works (when removed from
> the USB entry in the computer, the LEDs go off). However: I think the
> device (Behring) also works as a USB sound card (which I don'y want to
> use).
>

XLR style mics output to too low for sound card inputs, so let's assume the
Behring interface you have is boosting the signal (and since its an
amplifier it gets its power via USB). The question now is whether the
signal on RCA outputs is suitable for a sound card - i'm not sure, but IIRC
i've done this before and it worked.

I'd be inclined to try setting up the Behring USB though - if its a high
end device it will probably sound better.

[-- Attachment #2: Type: text/html, Size: 1979 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 22:10                 ` Adam Carter
@ 2020-04-13 22:43                   ` Jorge Almeida
  2020-04-13 23:37                   ` Jack
  1 sibling, 0 replies; 21+ messages in thread
From: Jorge Almeida @ 2020-04-13 22:43 UTC (permalink / raw
  To: gentoo-user

On Mon, Apr 13, 2020 at 11:10 PM Adam Carter <adamcarter3@gmail.com> wrote:
>
> On Tue, Apr 14, 2020 at 4:48 AM Jorge Almeida <jjalmeida@gmail.com> wrote:
>>
>> On Mon, Apr 13, 2020 at 6:52 PM Michael <confabulate@kintzios.com> wrote:
>> >
>>
>> > > ## arecord -l
>> > > **** List of CAPTURE Hardware Devices ****
>> > > card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog]
>> > >   Subdevices: 1/1
>> > >   Subdevice #0: subdevice #0
>> > > card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt
>> > > Analog] Subdevices: 1/1
>> > >   Subdevice #0: subdevice #0
>> >
>> > I can't see your USB mic anywhere ...
>>
>> Humm... The point is: the interface (Behring) has RCA output, which is
>> connected to the LineIn of the integrated sound card (not an USB
>> card). On the other hand, it also has a USB output, which is used to
>> get Phantom Power (whatever that is), which works (when removed from
>> the USB entry in the computer, the LEDs go off). However: I think the
>> device (Behring) also works as a USB sound card (which I don'y want to
>> use).
>
>
> XLR style mics output to too low for sound card inputs, so let's assume the Behring interface you have is boosting the signal (and since its an amplifier it gets its power via USB). The question now is whether the signal on RCA outputs is suitable for a sound card - i'm not sure, but IIRC i've done this before and it worked.
>
> I'd be inclined to try setting up the Behring USB though - if its a high end device it will probably sound better.

The MO is STRIX B250F GAMING. I assumed it would be somewhat better
than a USB card (and the Behring model I have is not that high end)
Anyway, I just build (and modprobe'd) the modules snd-usb-audio and
snd-bcd2000, and still no joy:
arecord -D usbstream:CARD=PCH -fdat -r 48 test.wav
ALSA lib /var/tmp/portage/media-plugins/alsa-plugins-1.2.1/work/alsa-plugins-1.2.1/usb_stream/pcm_usb_stream.c:508:(_snd_pcm_usb_stream_open)
Unknown field hint
arecord: main:828: audio open error: Invalid argument

Jorge


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 22:10                 ` Adam Carter
  2020-04-13 22:43                   ` Jorge Almeida
@ 2020-04-13 23:37                   ` Jack
  2020-04-13 23:46                     ` Jorge Almeida
  1 sibling, 1 reply; 21+ messages in thread
From: Jack @ 2020-04-13 23:37 UTC (permalink / raw
  To: gentoo-user

On 2020.04.13 18:10, Adam Carter wrote:
> On Tue, Apr 14, 2020 at 4:48 AM Jorge Almeida <jjalmeida@gmail.com>  
> wrote:
> 
> > On Mon, Apr 13, 2020 at 6:52 PM Michael <confabulate@kintzios.com>  
> wrote:
> > >
> >
> > > > ## arecord -l
> > > > **** List of CAPTURE Hardware Devices ****
> > > > card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic  
> Analog]
> > > >   Subdevices: 1/1
> > > >   Subdevice #0: subdevice #0
> > > > card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog  
> [Generic Alt
> > > > Analog] Subdevices: 1/1
> > > >   Subdevice #0: subdevice #0
> > >
> > > I can't see your USB mic anywhere ...
> >
> > Humm... The point is: the interface (Behring) has RCA output, which  
> is
> > connected to the LineIn of the integrated sound card (not an USB
> > card). On the other hand, it also has a USB output, which is used to
> > get Phantom Power (whatever that is), which works (when removed from
> > the USB entry in the computer, the LEDs go off). However: I think  
> the
> > device (Behring) also works as a USB sound card (which I don'y want  
> to
> > use).
> >
> 
> XLR style mics output to too low for sound card inputs, so let's  
> assume the
> Behring interface you have is boosting the signal (and since its an
> amplifier it gets its power via USB). The question now is whether the
> signal on RCA outputs is suitable for a sound card - i'm not sure,  
> but IIRC
> i've done this before and it worked.
> 
> I'd be inclined to try setting up the Behring USB though - if its a  
> high
> end device it will probably sound better.
> 
Mainly out of curiosity, have you tried connecting to the mike in  
instead of the line in on your sound card?

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [gentoo-user] OSS4
  2020-04-13 23:37                   ` Jack
@ 2020-04-13 23:46                     ` Jorge Almeida
  0 siblings, 0 replies; 21+ messages in thread
From: Jorge Almeida @ 2020-04-13 23:46 UTC (permalink / raw
  To: gentoo-user

On Tue, Apr 14, 2020 at 12:38 AM Jack <ostroffjh@users.sourceforge.net> wrote:



> Mainly out of curiosity, have you tried connecting to the mike in
> instead of the line in on your sound card?

Yes, no difference!


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2020-04-13 23:47 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-12 20:46 [gentoo-user] OSS4 Jorge Almeida
2020-04-12 20:57 ` Dale
2020-04-12 21:10   ` Jorge Almeida
2020-04-12 21:16     ` Dale
2020-04-12 21:22       ` Jorge Almeida
     [not found]         ` <M4nT5tW--3-2@tutanota.com>
2020-04-13 13:47           ` elu6-u259
2020-04-13 13:58             ` Jorge Almeida
2020-04-13 14:06 ` Alexandru N. Barloiu
2020-04-13 14:18   ` Jorge Almeida
2020-04-13 14:22     ` Alexandru N. Barloiu
2020-04-13 15:13       ` Jorge Almeida
2020-04-13 15:22         ` Alexandru N. Barloiu
2020-04-13 16:55           ` Jorge Almeida
2020-04-13 15:28         ` Michael
2020-04-13 17:09           ` Jorge Almeida
2020-04-13 17:51             ` Michael
2020-04-13 18:48               ` Jorge Almeida
2020-04-13 22:10                 ` Adam Carter
2020-04-13 22:43                   ` Jorge Almeida
2020-04-13 23:37                   ` Jack
2020-04-13 23:46                     ` Jorge Almeida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox