All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Tim Goetze <tim@quitte.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: via82xx 1.0.0rc1 experience
Date: Thu, 04 Dec 2003 13:19:20 +0100	[thread overview]
Message-ID: <s5hsmk0ai7r.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.58.0312041139490.458@autumn>

At Thu, 4 Dec 2003 13:47:07 +0100 (CET),
Tim Goetze wrote:
> 
> i have a new box with an ASRock K7VM2 board, it comes with an on-board
> audio interface:
> 
> <lspci -vv>
> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio
> Controller (rev 50)
>         Subsystem: Unknown device 1849:3059
>         Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B-
>         Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR-
>         Interrupt: pin C routed to IRQ 22
>         Region 0: I/O ports at cc00 [size=256]
>         Capabilities: [c0] Power Management version 2
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> </lspci>
> 
> it works fine on 2.4.22 with alsa-driver-1.0.0rc1 and these module
> options:
> 
> <modules.conf>
> options snd-via82xx index=0 id=ac97 ac97_clock=48000 dxs_support=2
> </modules.conf>
> 
> other dxs_support values cause block-size *and* erratic distortion in
> the output sound. ac97_clock=44100 causes slowed-down playback.

ok, i'll add dxs_support=2 as default for your board.
(still i'm wondering dxs_support=1 or 4 might work.)

as default, ac97_clock is 48000, so you don't need to specify it.
a different ac97_clock shouldn't be given unless the chip is really
driven in that clock.

> however, to enable analog output (only one present on the board) the
> mixer controls for 'headphone' not 'master' must be unmuted (volume
> and playback switch). since they aren't accessible from alsamixer this
> had me puzzling for a while.

please show /proc/asound/card0/codec97#0/* files.
the mixer assignment depends on ac97 codec, not the sound DMA chip
itself.



> one question remains: iiutc, the hw DACs run at a fixed rate of 48kHz.

no, it's in the case dxs_support=3 (and 0 if no pre-definition).

thanks for the feedback.


ciao,

Takashi


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

  reply	other threads:[~2003-12-04 12:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-04 12:47 via82xx 1.0.0rc1 experience Tim Goetze
2003-12-04 12:19 ` Takashi Iwai [this message]
2003-12-04 14:04   ` Tim Goetze
2003-12-04 14:32     ` Can't set 88.2/96kHz samplerate with Hammerfall Arve Knudsen
2003-12-04 14:41       ` Mark Knecht
2003-12-05  1:14         ` Arve Knudsen
2003-12-04 17:43           ` Mark Knecht
2003-12-05 11:50             ` Arve Knudsen
2003-12-05 12:46               ` Paul Davis
2003-12-05 13:57               ` Giuliano Pochini
2003-12-05 14:30                 ` Paul Davis
2003-12-04 22:25           ` Paul Davis
2003-12-05 12:54             ` Arve Knudsen

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=s5hsmk0ai7r.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tim@quitte.de \
    /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 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.