From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Is there plans to support SiS7019? Date: Tue, 17 Aug 2004 11:38:35 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1709.192.168.0.30.1092440735.squirrel@dev.datamax.co.in> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <35261.192.168.0.10.1092527328.squirrel@dev.datamax.co.in> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Vrihad Shoonya Cc: Clemens Ladisch , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Sun, 15 Aug 2004 05:18:48 +0530 (IST), Vrihad Shoonya wrote: > > Hi! > > Thanks for the quick response. > > > The question is whether SIS7019 is an AC97 chip, or it's the one to > > control other AC97 chips. If it's former, you should have another PCI > > entry for the controller (check lspci). In the latter case, you can > > try snd-trident module with changes of pci id table from SIS7018 to > > SIS7019. > > SiS7019 controls other AC97 chips. The board which we have designed > uses Real Tech's ALC202A (four channel) and ALC650 (six channel). > Now what should I change in > .../alsa-driver-1.0.0rc2/alsa-kernel/pci/trident/trident.c? > I see following entries with SiS7018 mentioned: > > > > MODULE_DESCRIPTION("Trident 4D-WaveDX/NX & SiS SI7018"); > > > > MODULE_DEVICES("{{Trident,4DWave DX}," > "{Trident,4DWave NX}," > "{SiS,SI7018 PCI Audio}," > "{Best Union,Miss Melody 4DWave PCI}," > "{HIS,4DWave PCI}," > "{Warpspeed,ONSpeed 4DWave PCI}," > "{Aztech Systems,PCI 64-Q3D}," > "{Addonics,SV 750}," > "{CHIC,True Sound 4Dwave}," > "{Shark,Predator4D-PCI}," > "{Jaton,SonicWave 4D}," > "{Hoontech,SoundTrack Digital 4DWave NX}}"); > > > > static struct pci_device_id snd_trident_ids[] = { > { 0x1023, 0x2000, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, /* Trident > 4DWave DX PCI Audio */ > { 0x1023, 0x2001, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, /* Trident > 4DWave NX PCI Audio */ > { 0x1039, 0x7018, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, /* SiS > SI7018 PCI Audio */ > { 0, } > }; > > > > There are few more instances where related data structures are used > in the code. In the declarations shown above, what changes should I > make? Will changing the name part from 7018 to 7019 will be enough? No, just change snd_trident_ids[] entry for 7018 to 7019's one (maybe 0x7019?). Also, in trident_main.c, you need to change the line 3546 trident->device = (pci->vendor << 16) | pci->device; to trident->device = TRIDENT_DEVICE_ID_SI7018; You can leave MODULE_* stuffs as they are. Takashi ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285