Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2004 09:26:41 -0400
From:      Mathew Kanner <mat@cnd.mcgill.ca>
To:        Joseph Dunn <joseph@magnesium.net>
Cc:        gringoloco1985@hotmail.com
Subject:   Re: Dell SBLive! (almost) fixed
Message-ID:  <20040610132641.GA21995@cnd.mcgill.ca>
In-Reply-To: <20040609223348.GA505@magnesium.net>
References:  <20040609223348.GA505@magnesium.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 09, Joseph Dunn wrote:
> Hello hackers@,
> 
> I just helped a friend install FreeBSD 5.2.1 on his Dell desktop
> machine, and we've been struggling to get his sound card working. His
> system has an SBLive! card, we were unable to use it with the stock
> snd_emu10k1 driver. However...
> 
> pciconf -lv output:
> none3@pci2:2:0: class=0x040100 card=0x10031102 chip=0x00061102 rev=0x00
> hdr=0x00
>     vendor   = 'Creative Labs'
>     device   = 'emu10k1x Soundblaster Live! 5.1'
>     class    = multimedia  
>     subclass = audio
> 
> relevant lines from /usr/src/sys/dev/sound/pci/emu10k1.c:
> #define EMU10K1_PCI_ID  0x00021102
> #define EMU10K2_PCI_ID  0x00041102
> 
> As you can see, Dell has apparently changed the card's PCI ID, and thus
> the driver is not detecting it. I modified emu10k1.c to include the PCI
> ID (see attached diff). Now, the new snd_emu10k1 driver detects the
> card:
> pcm0: <Creative EMU10K1 (Dell)> port 0xdf20-0xdf3f irq 17 at device 2.0 on pci2
> pcm0: <SigmaTel STAC9708/11 AC97 Codec>
> 
> This *appears* to be working, but when I tried to play an mp3 with
> mpg123, I got this error, and no sound:
> pcm0:play:0: play interrupt timeout, channel dead
> 
> Could anyone with experience in this area venture a guess as to the

	Hi Joseph,
	I seem to recall a couple of open PRs on this particular
issue.  I think it's more complicated than just setting the PCIID of
the device, and I've never actually heard of anyone hacking the
emu10k1 to support the DELL OEM version of the card.
	I would venture a guess and say if ALSA can do, then we have a
fighting chance, though I haven't looked ALSA to see what they do in a
long time...
	Please keep me up to date on your progress.
	Thanks,
	--Mat

-- 
	Canada is a country whose main exports are hockey players
	and cold fronts. Our main imports are baseball players and
	acid rain.
			- Pierre Elliott Trudeau



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040610132641.GA21995>