Thread (2 messages) 2 messages, 2 authors, 2014-09-14

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

From: Paul Bolle <hidden>
Date: 2014-09-14 15:40:55

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help