From: Takashi Iwai <tiwai@suse.de>
To: Richard Chan <rspchan@starhub.net.sg>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: ALC655 in CVS: Are Center/LFE switched with Surround?
Date: Wed, 19 Nov 2003 16:26:48 +0100 [thread overview]
Message-ID: <s5hptfo1irr.wl@alsa2.suse.de> (raw)
In-Reply-To: <3FBB8699.10602@starhub.net.sg>
[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]
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
[-- Attachment #2: VIA8233.conf --]
[-- Type: application/octet-stream, Size: 1744 bytes --]
#
# Configuration for the VIA8233/VIA8233C/VIA8235 chip with 4/6 multi-channel support
#
<confdir:pcm/front.conf>
VIA8233.pcm.front.0 {
@args [ CARD ]
@args.CARD {
type string
}
type hw
card $CARD
device 0
}
<confdir:pcm/surround40.conf>
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
}
]
}
}
<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
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
}
]
}
}
<confdir:pcm/iec958.conf>
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
}
]
}
}
[-- Attachment #3: Type: text/plain, Size: 1 bytes --]
next prev parent reply other threads:[~2003-11-19 15:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-19 15:04 ALC655 in CVS: Are Center/LFE switched with Surround? Richard Chan
2003-11-19 15:26 ` Takashi Iwai [this message]
2003-11-19 15:44 ` Richard Chan
2003-11-19 16:35 ` Richard Chan
2003-11-19 17:50 ` Testers of via82xx 5.1 output (Re: ALC655 in CVS: Are Center/LFE switched with Surround?) Takashi Iwai
2003-11-20 10:29 ` Testers of via82xx 5.1 output - report - swapped output still there Richard Chan
2003-11-20 10:53 ` Takashi Iwai
[not found] ` <3FBCD55C.5020604@starhub.net.sg>
2003-11-20 15:49 ` Takashi Iwai
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=s5hptfo1irr.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=rspchan@starhub.net.sg \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox