From: Lee Revell <rlrevell@joe-job.com>
To: Jean Delvare <khali@linux-fr.org>
Cc: James Courtier-Dutton <James@superbug.co.uk>,
Takashi Iwai <tiwai@suse.de>, Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
Jaroslav Kysela <perex@suse.cz>
Subject: Re: Re: 2.6.12-rc1-mm3, sound card lost id
Date: Tue, 29 Mar 2005 15:52:51 -0500 [thread overview]
Message-ID: <1112129571.5141.18.camel@mindpipe> (raw)
In-Reply-To: <20050329224630.069cda56.khali@linux-fr.org>
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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next prev parent reply other threads:[~2005-03-29 20:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050325002154.335c6b0b.akpm@osdl.org>
2005-03-26 10:19 ` 2.6.12-rc1-mm3, sound card lost id Jean Delvare
[not found] ` <20050326111945.5eb58343.khali@linux-fr.org>
2005-03-29 12:24 ` Takashi Iwai
2005-03-29 17:57 ` Jean Delvare
2005-03-29 20:17 ` Lee Revell
2005-03-29 20:46 ` Jean Delvare
2005-03-29 20:52 ` Lee Revell [this message]
2005-03-29 21:13 ` Jean Delvare
2005-03-29 21:18 ` Lee Revell
2005-03-29 20:53 ` James Courtier-Dutton
2005-03-30 7:18 ` Jaroslav Kysela
2005-03-30 12:24 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1112129571.5141.18.camel@mindpipe \
--to=rlrevell@joe-job.com \
--cc=James@superbug.co.uk \
--cc=akpm@osdl.org \
--cc=alsa-devel@alsa-project.org \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@suse.cz \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox