lkml.org 
[lkml]   [2005]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [Alsa-devel] Re: 2.6.12-rc1-mm3, sound card lost id
From
Date
On Tue, 2005-03-29 at 22:46 +0200, Jean Delvare wrote:
> Hi Lee,
>
> > I think we just have to add this PCI id to the table. I got the same
> > result before James added the SBLive! platinum detection.
> >
> > What is the output of 'lspci -v | grep -1 EMU10k1'?
>
> 00:0d.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
> Subsystem: Creative Labs CT4832 SBLive! Value
>
> and the one you didn't ask for:
>
> 00:0d.0 Class 0401: 1102:0002 (rev 06)
> Subsystem: 1102:8027
>
> This made me realize that I could still try to hack it myself. The
> following patch somehow helped:
>
> --- linux-2.6.12-rc1-mm3/sound/pci/emu10k1/emu10k1_main.c.orig 2005-03-29 20:38:12.000000000 +0200
> +++ linux-2.6.12-rc1-mm3/sound/pci/emu10k1/emu10k1_main.c 2005-03-29 22:32:23.000000000 +0200
> @@ -680,6 +680,10 @@
> .driver = "EMU10K1", .name = "E-mu APS [4001]",
> .emu10k1_chip = 1,
> .ecard = 1} ,
> + {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80271102,
> + .driver = "EMU10K1", .name = "SB Live Player 1024",
> + .emu10k1_chip = 1,
> + .ac97_chip = 1} ,
> {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80641102,
> .driver = "EMU10K1", .name = "SB Live 5.1",
> .emu10k1_chip = 1,
>
>
> Now the card will be listed as "S1024" instead of "Unknown" so that's a
> change. Looks like the short name is auto-generated? Unfortunately
> that's still not "Live" as before so my mixer settings are not back yet.
> And I believe that "Live" was a much better name than "S1024" too.
>

Here is the patch (against ALSA CVS) in its preferred format. You will
probably have to apply it by hand. If the mixer settings can't be
restored you'll have to do it manually or edit asound.state by hand.

Lee

Index: alsa/alsa-kernel/pci/emu10k1/emu10k1_main.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emu10k1_main.c,v
retrieving revision 1.49
diff -u -r1.49 emu10k1_main.c
--- alsa/alsa-kernel/pci/emu10k1/emu10k1_main.c 27 Mar 2005 14:00:54 -0000 1.49
+++ alsa/alsa-kernel/pci/emu10k1/emu10k1_main.c 29 Mar 2005 20:51:44 -0000
@@ -693,6 +693,10 @@
.driver = "EMU10K1", .name = "SBLive! Platinum [CT4760P]",
.emu10k1_chip = 1,
.ac97_chip = 1} ,
+ {.vendor = 0x1102, .device = 0x0002, .subsystem = 0x80271102,
+ .driver = "EMU10K1", .name = "SBLive! Value [CT4832]",
+ .emu10k1_chip = 1,
+ .ac97_chip = 1} ,
{.vendor = 0x1102, .device = 0x0002,
.driver = "EMU10K1", .name = "SB Live [Unknown]",
.emu10k1_chip = 1,
Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-06 13:31    [W:0.060 / U:27.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site