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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]