Skip to contentSkip to conversation

: On au8820 left and right channels are swapped

ALSA - driver 0000059 [email protected] 1 participant 1 message Feb 17, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=59>
======================================================================

Reported By:                kernel_bug
Assigned To:                mjander
======================================================================
Project:                    ALSA - driver
Issue ID:                   59
Category:                   PCI - au88x0
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     confirmed
Distribution:               
Kernel Version:             2.6.2
======================================================================
Date Submitted:             02-13-2004 11:40 CET
Last Modified:              02-17-2006 09:21 CET

======================================================================
Summary: On au8820 left and right channels are swapped
Description:
In most cases, left and right channels are swapped. But in approx. 5% cases all OK. Looks like the matter is somewhere in byte alignment...
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0000949 Randomly, left and right tracks are swaped
======================================================================

----------------------------------------------------------------------
Raymond - 01-09-06 17:02
----------------------------------------------------------------------
Please try to add the vortex_dump_route routine at the end of following routines:-
1) vortex_connect_default()
2) snd_vortex_pcm_hw_params()
3) snd_vortex_pcm_hw_free()

and post the system log when the channels are swapped/normal.

void vortex_dump_route(vortex_t * vortex)

{
     u32 addr,value;
     u8  src,dest;
     int i;
     for (i=0; i<VORTEX_ADB_CHNBASE_COUNT; i++) {
         addr=VORTEX_ADB_CHNBASE+i*4;
         value=hwread(vortex->mmio,addr);
         if ( ( value & ROUTE_MASK ) != ROUTE_MASK ) {
  	     src=(value >>ADB_SHIFT)& ADB_MASK;
	     dest=value & ADB_MASK;
	     printk(KERN_INFO "%.8x adb_chnbase(%.2x) %.8x src=%.2x
dest=%.2x\n",
        		addr,i,value,src,dest);
         };
     };
     for (addr=VORTEX_ADB_RTBASE; addr<VORTEX_ADB_CHNBASE; addr+=4) {
         value=hwread(vortex->mmio,addr);
         if ( ( value & ROUTE_MASK ) != ROUTE_MASK ) {
  	     src=(value >>ADB_SHIFT)& ADB_MASK;
	     dest=value & ADB_MASK;
	     printk(KERN_INFO "%.8x adb_rtbase(%.2x)  %.8x src=%.2x
dest=%.2x\n",
        		addr,(addr-VORTEX_ADB_RTBASE)>>2,value,src,dest);
         };
     };
     printk(KERN_INFO "---------------------------------\n");
}

----------------------------------------------------------------------
Raymond - 02-17-06 09:21
----------------------------------------------------------------------
Using outls.wav and outrs.wav from Vortex driver CD

aplay -D hw:0,0 outls.wav
aplay -D hw:0,0 outrs.wav

Can you try alsa-1.0.11rc3 with/without au88x0_surround40.patch from
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1726 ?

Issue History
Date Modified Username Field Change
======================================================================

02-13-04 11:40 kernel_bug     New Issue                                    
02-21-04 15:40 kernel_bug     Note Added: 0000280                          
03-02-04 02:56 Tim            Note Added: 0000429                          
04-09-04 11:54 kernel_bug     Note Added: 0000774                          
04-09-04 18:35 mjander        Note Added: 0000777                          
04-17-04 18:59 mjander        Status                   assigned => closed  
04-17-04 18:59 mjander        Note Added: 0000849                          
04-26-04 17:04 kernel_bug     Status                   closed => feedback  
04-26-04 17:04 kernel_bug     Resolution               open => reopened    
04-26-04 17:04 kernel_bug     Note Added: 0000953                          
04-26-04 23:27 mjander        Note Added: 0000956                          
03-10-05 15:31 jdthood        Note Added: 0003866                          
03-10-05 16:44 mjander        Note Added: 0003867                          
03-10-05 21:25 kernel_bug     Note Added: 0003873                          
03-22-05 22:33 jdthood        Relationship added       related to 0000949  
03-28-05 04:27 jdthood        Note Added: 0004235                          
03-28-05 04:27 jdthood        Status                   feedback => assigned
03-28-05 04:29 jdthood        Status                   assigned => confirmed
08-26-05 14:50 Raymond        Note Added: 0005951                          
08-26-05 15:12 kernel_bug     Note Added: 0005955                          
08-26-05 16:07 Raymond        Note Added: 0005956                          
08-26-05 17:38 kernel_bug     File Added: asound.state                     
08-26-05 17:41 kernel_bug     Note Added: 0005957                          
08-27-05 04:43 Raymond        Note Added: 0005959                          
01-06-06 18:15 Raymond        Note Added: 0007491                          
01-09-06 17:02 Raymond        Note Edited: 0007491                         
02-17-06 09:21 Raymond        Note Added: 0008106                          

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

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642