First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 81666
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Søren Dalby Larsen <sdl@larsen.dk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
msi_audigyls_patch.patch The patch in plain-text patch Søren Dalby Larsen 2005-02-12 05:41 0000 1.73 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 81666 depends on: Show dependency tree
Bug 81666 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-02-11 14:18 0000
The ca0106 driver does not recognize the msi version of the onboard audigy ls
sound on the diamond board. I've included a patch to fix that. I don't have the
SB number for the chip (dunno where to look). Have implemented it like the
other special chips (without an AC97).

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
My sound card is now recognized by alsa :) 


Someone should check:   

1) If the patch is worth including in the ebuild   
2) The naming of it (it's my first and I haven't checked any docs - have been   
busy getting sound :)   
3) If it breaks something else   

Patch goes here:  
--- alsa-driver-1.0.8/alsa-kernel/pci/ca0106/ca0106_main.c      2005-01-04 
14:55:46.000000000 +0100 
+++ /home/sdl/ca0106_main.c     2005-02-11 22:11:46.000000000 +0100 
@@ -169,6 +169,7 @@ 
         { 0x10051102, "AudigyLS [SB0310b]"} , /* Unknown AudigyLS that also 
says SB0310 on it */ 
         { 0x10061102, "Live! 7.1 24bit [SB0410]"} , /* New Sound Blaster Live! 
7.1 24bit. This does not have an AC97. 53SB0                          41000001 
*/ 
bash-2.05b$ cat msi_audigyls_patch.patch  
--- alsa-driver-1.0.8/alsa-kernel/pci/ca0106/ca0106_main.c      2005-01-04 
14:55:46.000000000 +0100 
+++ /home/sdl/ca0106_main.c     2005-02-11 22:11:46.000000000 +0100 
@@ -169,6 +169,7 @@ 
         { 0x10051102, "AudigyLS [SB0310b]"} , /* Unknown AudigyLS that also 
says SB0310 on it */ 
         { 0x10061102, "Live! 7.1 24bit [SB0410]"} , /* New Sound Blaster Live! 
7.1 24bit. This does not have an AC97. 53SB041000001 */ 
         { 0x10071102, "Live! 7.1 24bit [SB0413]"} , /* New Dell Sound Blaster 
Live! 7.1 24bit. This does not have an AC97.  */ 
+        { 0x00071102, "Live! by MSI [SB0000]"}, /* MSI SB Audigy2LS without 
AC97 */ 
         { 0, "AudigyLS [Unknown]" } 
 }; 

@@ -1133,7 +1134,9 @@ 
         snd_ca0106_ptr_write(chip, CAPTURE_SOURCE, 0x0, 0x333300e4); /* Select 
MIC, Line in, TAD in, AUX in */ 
        chip->capture_source = 3; /* Set CAPTURE_SOURCE */ 

-        if ((chip->serial == 0x10061102) || (chip->serial == 0x10071102) ) 
{ /* The SB0410 and SB0413 use GPIO differently. */ 
+        if ((chip->serial == 0x10061102) ||  
+           (chip->serial == 0x10071102) || 
+           (chip->serial == 0x10091462)) { /* The SB0410 and SB0413 use GPIO 
differently. */ 
                /* FIXME: Still need to find out what the other GPIO bits do. 
E.g. For digital spdif out. */ 
                outl(0x0, chip->port+GPIO); 
                //outl(0x00f0e000, chip->port+GPIO); /* Analog */ 
@@ -1200,7 +1203,9 @@ 
                snd_card_free(card); 
                return err; 
        } 
-        if ((chip->serial != 0x10061102) && (chip->serial != 0x10071102) ) 
{ /* The SB0410 and SB0413 do not have an ac97 chip. */ 
+        if ((chip->serial != 0x10061102) &&  
+           (chip->serial != 0x10071102) &&  
+           (chip->serial != 0x10091462) ) { /* The SB0410 and SB0413 do not 
have an ac97 chip. */ 
                if ((err = snd_ca0106_ac97(chip)) < 0) { 
                        snd_card_free(card); 
                        return err;

------- Comment #1 From Tony Vroon 2005-02-11 15:44:59 0000 -------
Could you attach the patch as a text/plain attachment please? Bugzilla will
mangle the patch otherwise.

------- Comment #2 From Søren Dalby Larsen 2005-02-12 05:41:16 0000 -------
Created an attachment (id=51052) [edit]
The patch in plain-text 

Patch as requested. Have corrected the serial number in names array to get
proper name. And SB number added too.

------- Comment #3 From Jan Brinkmann (RETIRED) 2005-02-18 15:40:45 0000 -------
thanks for your report, in cvs.

First Last Prev Next    No search results available      Search page      Enter new bug