On Mon, 2002-11-04 at 15:35, Free Ekanayaka wrote: > > Hi, > I'd like to modify the discover library > (http://hackers.progeny.com/discover) to use ALSA > modules names instead of OSS ones when detecting sound devices. > > Is there a place where I can found a mapping like: > > soundcard PCI Id ---> ALSA module name > > ? > Hi, I don't know where you can find a such mapping, but maybe you can extract it from drivers source code. As far as I know, each pci driver contains a pci_device_id array initialize with VENDOR_ID and DEVICE_ID of supported pci device.
For example, if you look into ens1370.c you will find: static struct pci_device_id snd_audiopci_ids[] __devinitdata = { #ifdef CHIP1370 { 0x1274, 0x5000, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, /* ES1370 */ #endif #ifdef CHIP1371 { 0x1274, 0x1371, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, /* ES1371 */ { 0x1274, 0x5880, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, /* ES1373 - CT5880 */ { 0x1102, 0x8938, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, }, /* Ectiva EV1938 */ #endif { 0, } }; I hope it will help you. Best regards -- Patrice Tisserand --- email:mailto:Patrice.Tisserand@;ircam.fr IRCAM 1 place Stravinsky 75004 Paris FRANCE ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel