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/ _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel