On Wed, 4 Dec 2002, James Stafford wrote: > At 19:06 03/12/02 +0100, you wrote: > > >I think that the default should be left in the AC97 code and write the > >appropriate configuration after snd_ac97_mixer() call when you detect your > >hardware and VT1616 codec. > > I have added a build_controls function in the amp.c file which sets the > relavent ac97 register. Is this the correct way to do this?
The controls should be built in the ac97_codec.c, but the initial settings of AC97 registers might be done in the amp.c file. > >We send data in this order: channel0,1 = front; channel2,3 = rear; > >channel4,5 = center/lfe ; if your hardware has swapped some stereo paths, > >you need to swap channels in software - see > >alsa-lib/src/conf/cards/ICH.conf - ICH.pcm.surround51.0 {} section > Once I have a conf file, what do I do with it and how do I use it? > > As a test, I added > > pcm.ice1724 { > type plug > ttable.0.0 1 > ttable.1.1 1 > ttable.2.4 1 > ttable.3.5 1 > ttable.4.2 1 > ttable.5.3 1 > slave.pcm { > type hw > card 0 > device 0 > } > } > > to my ~/.asoundrc file. > The channels were then routed correctly when using the "ice1724" device. If you follow the ICH.conf file (and/or ICE1712.conf) file, then you can use 'surround51' device as ac3dec uses: 'aplay -D plug:surround51' . The new name will be ICE1724.conf (I changed the driver ID for the new chip). Unfortunately, at the time, we cannot distinguish more hardware variations for given driver, but hopefully, it will change in the future. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel