All of lore.kernel.org
 help / color / mirror / Atom feed
* Recording with asus xonar essence st card
@ 2014-10-25 11:16 Vasily Postnicov
  2014-10-25 14:27 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Vasily Postnicov @ 2014-10-25 11:16 UTC (permalink / raw)
  To: alsa-devel

Hello. This is not related to alsa, but I decided to write this message
here, because as far as I know alsa has the best open source driver for
asus xonar series. I am using DragonFlyBSD and a bit modified driver
originally written for FreeBSD by Alexander Polakov
https://github.com/shamazmazum/xonar-dragonfly

It lacks support for recording. I am trying to add this functionality from
alsa/OSS drivers, but I have some unanswered questions. There are they here:

1) How do I  initialize my soundcard for recording properly? I think I must
enable CS5381 ADC using GPIO registers,  but what are OXYGEN_REC_ROUTING,
OXYGEN_ADC_MONITOR and OXYGEN_A_MONITOR_ROUTING for? Does MONITOR mean the
same thing as in the user manual? If ROUTING registers are just switches
for source of a signal to be recorded, is it enough to use
OXYGEN_REC_B_ROUTE_I2S_ADC_2 for ST card to record from line-in/mic jack?

2) How do I control volume of sound while recording? Have Xonar Essence
cards any controls for this? I cannot find it out looking at oxygen_mixer.c

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

* Re: Recording with asus xonar essence st card
  2014-10-25 11:16 Recording with asus xonar essence st card Vasily Postnicov
@ 2014-10-25 14:27 ` Clemens Ladisch
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2014-10-25 14:27 UTC (permalink / raw)
  To: Vasily Postnicov, alsa-devel

Vasily Postnicov wrote:
> 1) How do I  initialize my soundcard for recording properly? I think I must
> enable CS5381 ADC using GPIO registers

These two bits only select the frequency.

> but what are OXYGEN_REC_ROUTING, OXYGEN_ADC_MONITOR and
> OXYGEN_A_MONITOR_ROUTING for? Does MONITOR mean the same thing as
> in the user manual?

The Windows driver implements monitoring in software, but it means
the same.

> If ROUTING registers are just switches for source of a signal to be
> recorded, is it enough to use OXYGEN_REC_B_ROUTE_I2S_ADC_2 for ST card
> to record from line-in/mic jack?

You also have to configure the routing of all the signals that can end
up at the input of the ADC.  See the comment at the beginning of
xonar_pcm179x.c.

> 2) How do I control volume of sound while recording?

The aux and mic inputs go through the analog mixer section of the
AC'97 codec, but the line input bypasses that and has no control.
(The DAC and ADC of the AC'97 codec are not used.)


Regards,
Clemens

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

end of thread, other threads:[~2014-10-25 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-25 11:16 Recording with asus xonar essence st card Vasily Postnicov
2014-10-25 14:27 ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.