From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ALC655 in CVS: Are Center/LFE switched with Surround? Date: Wed, 19 Nov 2003 16:26:48 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <3FBB8699.10602@starhub.net.sg> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Wed_Nov_19_16:26:48_2003-1" Return-path: In-Reply-To: <3FBB8699.10602@starhub.net.sg> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Richard Chan Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Wed_Nov_19_16:26:48_2003-1 Content-Type: text/plain; charset=US-ASCII At Wed, 19 Nov 2003 23:04:57 +0800, Richard Chan wrote: > > > I've finally got 5.1 out of my via82xx/ALC655 system using the > Line-In/Mic jacks! > Thanks Takashi. glad to hear that it works now. what was the problem? > However I seem to have got Center/LFE switched with Surround. > I.e. if I play xine & mplayer (L, R, RearL, RearR, Center, LFE) > through surround51 I get Center/LFE switched with Rear speakers. ah, this reminds me an old story. there is a mixer switch "Swap Surround Slot". and, IIRC, starngely enough, for 5.1 this should be turned on for 5.1 output while it's off for 4.0. > > I must use the following to work in .asoundrc > pcm_slave.sltest { > pcm "hw:0,1" > channels 6 > } > > pcm.via51 { > 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 sltest > } this is also a solution, but the attached would be more "light" way. copy the attached file to /usr/share/alsa/cards. also, if you have chance, please test 4.0 output, too. thanks, Takashi --Multipart_Wed_Nov_19_16:26:48_2003-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="VIA8233.conf" Content-Transfer-Encoding: 7bit # # Configuration for the VIA8233/VIA8233C/VIA8235 chip with 4/6 multi-channel support # VIA8233.pcm.front.0 { @args [ CARD ] @args.CARD { type string } type hw card $CARD device 0 } VIA8233.pcm.surround40.0 { @args [ CARD ] @args.CARD { type string } type hooks slave.pcm { type hw card $CARD device 1 } hooks.0 { type ctl_elems hook_args [ { name "Swap Surround Slot" device 0 lock true preserve true value flase optional true } ] } } VIA8233.pcm.surround51.0 { @args [ CARD ] @args.CARD { type string } type hooks slave.pcm { type hw card $CARD device 1 } hooks.0 { type ctl_elems hook_args [ { name "Swap Surround Slot" device 0 lock true preserve true value true optional true } ] } } VIA8233.pcm.iec958.0 { @args [ CARD AES0 AES1 AES2 AES3 ] @args.CARD { type string } @args.DEV { type integer } @args.AES0 { type integer } @args.AES1 { type integer } @args.AES2 { type integer } @args.AES3 { type integer } type hooks slave.pcm { type hw card $CARD device 0 subdevice 3 } hooks.0 { type ctl_elems hook_args [ { name "IEC958 Playback AC97-SPSA" lock true preserve true value 3 } { name "IEC958 Playback Default" lock true preserve true value [ $AES0 $AES1 $AES2 $AES3 ] } { name "IEC958 Playback Switch" lock true preserve true value true } { name "IEC958 Output Switch" lock true preserve true value true } ] } } --Multipart_Wed_Nov_19_16:26:48_2003-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Wed_Nov_19_16:26:48_2003-1-- ------------------------------------------------------- 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/