Subject: Re: Creative Labs PCI 128?
To: None <port-i386@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-i386
Date: 06/01/2005 03:37:26
[me, mouse@rodents.montreal.qc.ca]
>> I have a PCI card bearing a sticker that identifies it as a Creative
>> Labs CT4750.  It shows up as

>> NexGen Microsystems product 0x1371 (audio multimedia, revision 0x07) at pci0 dev 13 function 0 not configured

[Michael Lorenz <macallan@NetBSD.org>]
> Should be a frobbed Ensoniq 1371, Creative sold them as SB PCI 64/128
> for a while.  Hmm, Ensoniq's PCI vendor ID is 0x1274, 'NexGen
> Microsystems' is 0x1074.  So, hacking the eap driver to attach to
> this card may be worth a try.

[Daniel Carosone <dan@geek.com.au>, responding to Michael Lorenz]
> Maybe, by all means give it a go.  I dimly recall that this may be
> one of those cases of the vendor changing chipsets along the way;
> there was some point where the eap(4) driver ceased to work with
> newer cards, when they stopped reselling the ensoniq chips and used
> something else.  I never had one, so this is just hearsay.

Well, I've now tried it.

The good news is, nothing breaks spectacularly.  The bad news is, it
doesn't work. :(

I just bashed on eap_match to make it accept
PCI_VENDOR_NEXGEN/PCI_PRODUCT_ENSONIQ_AUDIOPCI97, figuring that if it
works I can add a proper NEXGEN device ID for it.  I get

eap0 at pci0 dev 13 function 0: Ensoniq AudioPCI 97 (rev. 0x07)
eap0: interrupting at irq 11
eap: timeout writing to codec
eap: timeout writing to codec

I'm now adding some debugging code and will report results if any.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B