Skip to contentSkip to conversation

: VIA VT8237: rear L/R switched with Center/LFE

ALSA - driver 0000537 [email protected] 1 participant 1 message Oct 14, 2004

lore
Share & tools
lore
#0 lore raw

A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000537
======================================================================
Reported By: gertverv
Assigned To:
======================================================================

Project:                    ALSA - driver
Bug ID:                     537
Category:                   PCI - via82xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               Fedora Core 2
Kernel Version:             2.6.8.1
======================================================================
Date Submitted:             09-24-2004 19:41 CEST
Last Modified:              10-14-2004 18:51 CEST

======================================================================
Summary: VIA VT8237: rear L/R switched with Center/LFE
Description:
While playing back 5.1 audio, it looks like the rear L/R channels are swapped with the Center/LFE channels. The rear L/R and Center/LFE are connected via Gigabyte Surround-Kit.

======================================================================

----------------------------------------------------------------------
gertverv - 09-24-2004 19:50 CEST
----------------------------------------------------------------------
Forgot to mention, 5.1 audio works correctly when using Windows XP on this machine

----------------------------------------------------------------------
tiwai - 10-12-2004 15:06 CEST
----------------------------------------------------------------------
Does 4.0 output work properly?

Also, please attach /proc/asound/card0/codec97#0/ac97#0-0+regs during speaker-test is running with 5.1 mode.

----------------------------------------------------------------------
gertverv - 10-12-2004 18:21 CEST
----------------------------------------------------------------------

Quoted 1 line

Does 4.0 output work properly?

Yes, it does.

Quoted 2 lines

Also, please attach /proc/asound/card0/codec97#0/ac97#0-0+regs during speaker-test is running with 5.1 mode.

0:00 = 0180
0:02 = bf3f
0:04 = 0000
0:06 = 0000
0:08 = 0000
0:0a = 001e
0:0c = 0000
0:0e = 031f
0:10 = 0404
0:12 = 9f1f
0:14 = 0000
0:16 = 9f1f
0:18 = 0606
0:1a = 0000
0:1c = 0000
0:1e = 8000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 000f
0:28 = 09c7
0:2a = 05f5
0:2c = ac44
0:2e = ac44
0:30 = ac44
0:32 = bb80
0:34 = bb80
0:36 = 0e0d
0:38 = 0707
0:3a = 0824
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 0000
0:62 = 0000
0:64 = 0808
0:66 = 0808
0:68 = 0aea
0:6a = 8000
0:6c = 3601
0:6e = 0002
0:70 = 0008
0:72 = 0000
0:74 = 0105
0:76 = 0000
0:78 = 0002
0:7a = 40b3
0:7c = 414c
0:7e = 4780

----------------------------------------------------------------------
tiwai - 10-13-2004 16:20 CEST
----------------------------------------------------------------------
Does the attached patch have any influence?

If not, the recent 823x chip seems not supporting the slot assignment feature
any more. We'll need a software routing in alsa-lib...

----------------------------------------------------------------------
gertverv - 10-13-2004 19:21 CEST
----------------------------------------------------------------------

Quoted 1 line

Does the attached patch have any influence?

No, this patch doesn't seem to have any influence on the problem

----------------------------------------------------------------------
tiwai - 10-14-2004 12:28 CEST
----------------------------------------------------------------------
Then we need a software routing.
Please try the attached patch for the driver. Then, copy the attached VIA8237.conf to /usr/share/alsa/cards.

----------------------------------------------------------------------
gertverv - 10-14-2004 18:51 CEST
----------------------------------------------------------------------
Thanks, now it seems to work. I tested the patch and config file with the speaker-test program and playing back a DVD with xine.

I noticed with alsamixer that when I was running the speaker-test program, that the Line-In was switched to surround (also the sound of the TV card connected to line-in disappeared).
In the VIA8237.conf, I changed the value of "Line-In As Surround" and "Mic As Center/LFE" to off. Because I have the rear L/R and Center/LFE connected via the Gigabyte Surround kit, so I don't have to use the Line-In and Mic connectors for this.

Bug History
Date Modified Username Field Change
======================================================================

09-24-04 19:41 gertverv       New Bug                                      
09-24-04 19:41 gertverv       Distribution              => Fedora Core 2   
09-24-04 19:41 gertverv       Kernel Version            => 2.6.8.1         
09-24-04 19:50 gertverv       Bugnote Added: 0001903                       
10-12-04 15:06 tiwai          Bugnote Added: 0002104                       
10-12-04 18:21 gertverv       Bugnote Added: 0002106                       
10-13-04 16:20 tiwai          Bugnote Added: 0002125                       
10-13-04 16:20 tiwai          File Added: via-6ch-slot.diff                    
10-13-04 19:21 gertverv       Bugnote Added: 0002133                       
10-14-04 12:28 tiwai          Bugnote Added: 0002140                       
10-14-04 12:29 tiwai          File Added: via8237.diff                     
10-14-04 12:29 tiwai          File Added: VIA8237.conf                     
10-14-04 18:51 gertverv       Bugnote Added: 0002158                       

======================================================================

-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl