Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
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;
Could you attach the patch as a text/plain attachment please? Bugzilla will mangle the patch otherwise.
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.
thanks for your report, in cvs.