Intel audio not working, but driver loaded flawlessly [FIXED]
A couple of days ago I decided to try Funtoo, and even if it works fine I am having this weird problem (alsamixer detects the card, allows me to change volume levels and seems to work fine..) but I have no sound! When I play any video/music file the program does its thing (mplayer or cmus will show all the data and the percentage, etc) but everything will be muted, except for the annoying beep.
There are plenty of answers to this problem, but sadly they are all very old, and usually end on using some distro specific tool, none of them worked for me. I am running on a custom kernel, and no X or GUI, just the console: So I am limited to tools which can work on a terminal, using text or framebuffer. The volume levels on the mixer are all set to 100%. On live Cd and any other distro I tried over this computer I always had sound. The kernel has just the driver needed, but I also tried a generic Kernel with all the modules on. lsmod shows that my loaded sound drivers are snd_hda_intel snd_hda_controller snd_hda_codec snd_pcm lscpi displays the sound card as: "Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)" On my the config file of my kernel I have HD audio PCI enabled as a module, then hwdep interface hardcoded, and as modules HD codec Does anyone know how to fix this mess? Thank you in advance for the interest! |
I would normally think the output is wrong like front panel versus back or such.
See this maybe. http://wiki.gentoo.org/wiki/ALSA#Service |
Quote:
I also tried to add "snd-hda-intel model=auto" in /etc/modprobe.d/alsasound (and created /etc/modprobe.d/snd-hda-intel with the same congiuration option) I also created ~/.asoundrc and tried to set defaults.pcm !card Intel defaults.pcm !device 0 nothing changed. Then I commented it and added pcm.hda-intel{ type hw card 0 } ctl.hda-intel{ type hw card 0 } and same result... I also made sure that the modem was on on the BIOS (that solved the problem to that guy in 2007, but it was already on), set acpi=off on boot (that gave me a kernel panic) and I tried to mute/unmute those exotich channels that I don't know what they are on alsamixer (S/PDIF, S/PDIF default PCM S/PDIF default source PCM or ADC) with no change. I also removed the pcspkr module, which worked for someone on 2008 but that didn't do much (except stopping the annoying beep every time I pressed tab for auto completion, so at least I won something!) Maybe now is time to choose a God and start praying, as it seems to start to be the only solution left apart from changing distro |
Can you post the sound relevant part of your kernel config:
Code:
zgrep CONFIG_SND /proc/config.gz |
Funny I donīt have /proc/config.gz. But those are the options I just compiled the kernel with (I actually also tried to compile as modules all the HDA_INTEL different devices, plus midi and OSS sequencer, with no result). However, the modules snd_hda_intel, snd_hda_controller, snd_hda_codec, snd and snd_pcm are loaded. This is the 3.15.3 kernel (also tried on the 3.14.4)
CONFIG_SND=m CONFIG_SND_TIMER=m CONFIG_SND_PCM=m CONFIG_SND_HWDEP=m CONFIG_SND_JACK=y CONFIG_SND_SEQUENCER=m CONFIG_SND_OSSEMUL=y CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_HRTIMER=m CONFIG_SND_SEQ_HRTIMER_DEFAULT=y CONFIG_SND_DYNAMIC_MINORS=y CONFIG_SND_MAX_CARDS=32 CONFIG_SND_SUPPORT_OLD_API=y CONFIG_SND_VERBOSE_PROCFS=y CONFIG_SND_VMASTER=y CONFIG_SND_KCTL_JACK=y CONFIG_SND_DMA_SGBUF=y CONFIG_SND_DRIVERS=y CONFIG_SND_ISA=y CONFIG_SND_PCI=y CONFIG_SND_HDA=m CONFIG_SND_HDA_INTEL=m CONFIG_SND_HDA_PREALLOC_SIZE=64 CONFIG_SND_HDA_HWDEP=y CONFIG_SND_HDA_RECONFIG=y CONFIG_SND_HDA_INPUT_BEEP=y CONFIG_SND_HDA_INPUT_BEEP_MODE=1 CONFIG_SND_HDA_INPUT_JACK=y CONFIG_SND_HDA_PATCH_LOADER=y CONFIG_SND_HDA_CODEC_ANALOG=m CONFIG_SND_HDA_GENERIC=m CONFIG_SND_HDA_POWER_SAVE_DEFAULT=20 CONFIG_SND_SPI=y CONFIG_SND_USB=y CONFIG_SND_HDA_GENERIC=m CONFIG_SND_HDA_POWER_SAVE_DEFAULT=20 CONFIG_SND_SPI=y CONFIG_SND_USB=y CONFIG_SND_PCMCIA=y |
Kernel config options look good to me. Maybe try enabling all the other codecs under "Intel HD Audio", (CONFIG_SND_HDA_CODEC_*), not just _ANALOG.
On a working live distro, you could try to extract the kernel config and compare. |
Quote:
I tried to compile all the codecs with no result, and I burned puppy linux on a cd (bad choice, old 3.4 kernel and no linux source or config file). At least I did a lsmod | grep -i intel and compared with both systems to check the differences, as sound worked the intel modules loaded on puppy: snd_hda_codec 56855 2 snd_hda_intel,snd_hda_codec_analog snd_pcm 47653 3 snd_pcm_oss,snd_hda_codec,snd_hda_intel snd_page_alloc 4714 2 snd_pcm,snd_hda_intel intel_agp 7953 0 intel_gtt 9472 1 intel_agp agpgart 17718 4 drm,ttm,intel_agp,intel_gtt snd 34138 13 snd_pcm_oss,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_oss, thinkpad_acpi,snd_seq_device,snd_mixer_oss,snd_hda_codec_analog (I think that intel_gtt and apg are graphic drivers) on funtoo kvm_intel 129300 0 kvm 317866 1 kvm_intel snd_hda_intel 17543 0 snd_hda_controller 22009 1 snd_hda_intel snd_hda_codec 89633 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_controller,snd_hda_codec_analog snd_pcm 69834 3 snd_hda_codec,snd_hda_intel,snd_hda_controller snd 46909 8 snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_hda_ codec_analog The only difference I can see is that snd_page_alloc, which doesn't exist in newer kernels.... Most similar option is an option to choose allocated buffer size for the driver, which I did set at 64kb. I did also try to compile the default gentoo kernel, which is offered on Funtoo and has all the devices compiled on it. It doesn't work either but it took a lot of time to compile on my poor Core2. |
Well, It is fixed!
This experience teached me so much! for example: When you use alsamixer, if there is a "M" below the bar, it means "muted" unmuting the main channel might prove crucial to have sound Thanks for the help tough. |
The link had that but thanks for posting the solution.
|
All times are GMT -5. The time now is 07:04 PM. |