How to find config options from module names? (For sound card NM10/ICH7)
Hi, I am using kernel 3.17.0 and need sound working with my Intel sound card NM10/ICH7. I have "Sound card support" option turned on with ALSA and I am trying to compile and install the card driver. Card details: $ lspci -nn | grep -i audio 00:1b.0 Audio device [0403]: Intel Corporation NM10/ICH7 Family High Definition Audio Controller [8086:27d8] (rev 02) lsmod output on a kernel with working sound: $ lsmod | grep -i sound soundcore 12600 2 snd,snd_hda_codec $ lsmod | grep -i snd snd_hda_codec_hdmi 46621 1 snd_hda_codec_realtek 70636 1 snd_hda_codec_generic 62873 1 snd_hda_codec_realtek snd_hda_intel 29336 3 snd_hda_controller 30673 1 snd_hda_intel snd_hda_codec 120485 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller snd_hwdep 13272 1 snd_hda_codec snd_pcm 95778 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller snd_seq_midi 13324 0 snd_seq_midi_event 14475 1 snd_seq_midi snd_rawmidi 25454 1 snd_seq_midi snd_seq 56592 2 snd_seq_midi_event,snd_seq_midi snd_seq_device 14137 3 snd_seq,snd_rawmidi,snd_seq_midi snd_timer 28527 2 snd_pcm,snd_seq snd 57153 17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device soundcore 12600 2 snd,snd_hda_codec 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? Thanks, Naman
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
participants (2)
-
Naman Shekhar Mishra -
Paul Bolle