public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: bugtrack@alsa-project.org
To: alsa-devel@alsa-project.org
Subject: [ALSA - driver 0001501]: intel8x0 surround channels missing and swapped
Date: Tue, 1 Nov 2005 15:27:20 +0100	[thread overview]
Message-ID: <ea1173e3ea43cb5dcf0f90d13f3e955c@bugtrack.alsa-project.org> (raw)


The following issue has been set as RELATED TO issue 0001521.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1501> 
======================================================================
Reported By:                dkoch
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1501
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               Fedora Core 3
Kernel Version:             2.6.14-rc5-gac9b9c66
======================================================================
Date Submitted:             10-25-2005 16:45 CEST
Last Modified:              10-25-2005 18:12 CEST
======================================================================
Summary:                    intel8x0 surround channels missing and swapped
Description: 
By default, the front channels are OK, the rear channels come out on the
center/LFE jack and the center/LFE channels don't come out at all.

Using ICH5/AD1985 (Intel P865PERL motherboard).

Anomolies found: double-rate slot (DRSLOT) is set to 7,8 instead of the
default
10,11 (register 0x20=0400 instead of 0).  After setting 0x20 to 0, the
rear
channel jack starts working.  RL/RR and Center/LFE are still swapped.

I would assume the swappage was hardware, but the Center and LFE volume
controls
affect the speakers on the Center/LFE jack which would indicate the driver
is
incorrectly routing the signals.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0001521 Speakers misplaced in 5.1 surround
======================================================================

----------------------------------------------------------------------
 tiwai - 10-25-05 17:56 
----------------------------------------------------------------------
Setting DR slot to 7/8 is intentional, as found in ac97_codec.c.
The question is whether this still has influence even DRA bit is off on
extended status regsiter.
Could you check whether reg 0x2a bit 1 (0x0002) is off during playback of
48khz (or less) samples?

----------------------------------------------------------------------
 dkoch - 10-25-05 18:09 
----------------------------------------------------------------------
0x2a, bit 1 is off: 0:2a = 05f1

----------------------------------------------------------------------
 tiwai - 10-25-05 18:11 
----------------------------------------------------------------------
An experimental patch is attached.  Give it a try.

It won't fix the problem of channel swapping.
This is also what I don't figure out yet.  On older ICH chips, the
surround channels are swapped on alsa-lib.  But, ICH4 or newer don't do
this because the bugreports have suggested they work without swapping. 
And now you report that it's not...

The fix isn't difficult.  The configuration for each card is found in
/usr/share/alsa/cards directory.  Change "surround51" definition in
ICH4.conf just like ICH.conf, using route plugin.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-25-05 16:45 dkoch          New Issue                                    
10-25-05 16:45 dkoch          Distribution              => Fedora Core 3   
10-25-05 16:45 dkoch          Kernel Version            => 2.6.14-rc5-gac9b9c66
10-25-05 17:56 tiwai          Note Added: 0006546                          
10-25-05 18:09 dkoch          Note Added: 0006547                          
10-25-05 18:11 tiwai          Note Added: 0006548                          
10-25-05 18:12 tiwai          File Added: ac97-dra-conflict.diff                
   
11-01-05 15:27 jdthood        Relationship added       related to 0001521  
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information

             reply	other threads:[~2005-11-01 14:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-01 14:27 bugtrack [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-26 22:19 [ALSA - driver 0001501]: intel8x0 surround channels missing and swapped bugtrack
2005-12-31  2:11 bugtrack
2005-11-01 14:45 bugtrack
2005-11-01 14:44 bugtrack
2005-11-01 14:42 bugtrack
2005-11-01 14:35 bugtrack
2005-10-25 16:11 bugtrack
2005-10-25 16:09 bugtrack
2005-10-25 15:56 bugtrack
2005-10-25 14:45 bugtrack

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=ea1173e3ea43cb5dcf0f90d13f3e955c@bugtrack.alsa-project.org \
    --to=bugtrack@alsa-project.org \
    --cc=alsa-devel@alsa-project.org \
    /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