How to find config options from module names? (For sound card NM10/ICH7)

Paul Bolle pebolle at tiscali.nl
Sun Sep 14 11:40:55 EDT 2014


On Sun, 2014-09-14 at 04:23 +0530, Naman Shekhar Mishra wrote:
> I tried searching for the device id in include/linux/pci_ids.h but it
> wasn't there.
> $ grep 27d8 include/linux/pci_ids.h 
>
> Can someone please tell me how to find all the config options for this
> sound card?

$ git grep -i 0x27d8
[...]
sound/pci/hda/hda_intel.c:      { PCI_DEVICE(0x8086, 0x27d8),
$ git grep -w hda_intel.o
sound/pci/hda/Makefile:snd-hda-intel-objs := hda_intel.o
$ git grep -w snd-hda-intel
[...]
sound/pci/hda/Makefile:snd-hda-intel-objs := hda_intel.o
sound/pci/hda/Makefile:snd-hda-intel-$(CONFIG_SND_HDA_I915) +=  hda_i915.o
sound/pci/hda/Makefile:obj-$(CONFIG_SND_HDA_INTEL) += snd-hda-intel.o

So it seems you have to start with SND_HDA_INTEL. But its Kconfig help
contains this line:
    Don't forget to choose the appropriate codec options below.

I don't know how to choose those "appropriate codec options", sorry.

Hope this helps.


Paul Bolle




More information about the Kernelnewbies mailing list