![]() |
HD-Audio: ALSA settings not persistent across reboots.
2 Attachment(s)
Hi:
The OS is Slackware 14.0. When, after 14.0 install I first ran alsamixer, I got an error message and it quit. After some googling, I created /etc/modprobe.d/alsa.conf with these lines: Code:
alias snd-card-0 snd_hda_intelAll went well. I rebooted and still everything fine. I then turned off the computer and, this morning, after turning it on back, I found the OS had only found the PC builtin speaker but not the sound card, which is Realtek ALC887-VD (High definition audio). I ran alsa_utils_alsa-info.sh, provided by the ALSA project, and whose output I attach (alsa-info.txt.XXXXxjVB26_old.txt). I renamed alsa.conf to a non existent name, rebooted, and all went back to normal. I renamed back to alsa.conf, rebooted again and still normal. See by the way /lib/modprobe.d/sound-modems.conf: Code:
# ALSA modules to support sound modems. These should be loaded manuallyQuote:
Slackware 14.0 EDIT: in /etc/modprobe.d/alsa.conf, I'm not sure if it is 'options snd_hda_intel' or 'snd-hda-intel'. Both forms get the same error message at boot time. EDIT: Code:
semoi@darkstar:/lib/modprobe.d$ cat sound-modems.conf As a side note, I think this post is not trivial if you believe, and I quote from another forum, this: Quote:
|
The problem seems to be solved now [see below, it is not]. I did two things: I copied /lib/modprobe.d/sound-modems.conf to /etc/modprobe.d/ which is only a set of blacklist lines and added the following to the latter:
Code:
alias snd-card-0 snd_hda_intelTHE PROBLEM was not solved. I just rebooted and the card was not detected. |
Quote:
Code:
options snd_hda_intel index=0, model=auto |
I just put the comma, rebooted and still not detected.
Question: does anything in /etc/modprobe.d/ get executed or only the files with filenames matching those in /lib/modprobe.d/? I was going to post the following in post #2. Here it is: As of now I know this: the motherboard chipset is an Intel H61 Express, which hosts the Realtek ALC887-VD codec. The audio controller is inside the H61. Now, in realtek, I downloaded LinuxPkg_5.17rc13.tar.bz2. I quote from file SOUNDCARDS in it: Code:
BIOS has option 'Control detection of the audio device'. The logical would be to disable it, then. I say, BIOS has, with model=auto, no need to detect the device. I tried with bios enabled and disabled. EDIT: as I sometimes have deleted all files in /etc/modeprobe.d/ and after booting the audio has come back, I strongly suspect that the only thing I needed to do after I installed 14.0 was to run 'alsactl init'. The only file in that dir now is README. I'll wait to see if after some booting I loose audio again. |
in /etc/modprobe.d/alsa.conf put only:
Code:
options snd_hda_intel model=auto |
OK. I just did it and lets suppose the settings persist across reboots (of course I rebooted once and it's fine). I have now
Code:
/usr/bin/amixer -c 0 sset Line,0 100%,100% mute captWith my previous card I had 'PCM' instead of 'Front' in the second line. When I run the third line, I should see mixed characters in the console, but it's filled with the same character. That is, it's recording nothing. Now unmuting 'Line' in alsamixer, what enters one jack gets out at the other (Line In -> Line Out). So this path at least works. |
ok,then use alsamixer and see with F4 when the capture is enabled
|
and after use to try recording:
Code:
arecord -d 5 test.wavCode:
aplay test.wav |
I hear noise. Now, I have 'Capture' and 'Capture 1' in alsamixer. I raised both to 100%.
|
How silly. There is 'Input Source' control in alsamixer (capture view)! I set it to Line. And voila. Thanks a lot, kkady32. I cannot mark 'solved' because still persistence across reboots pending. I could not have done without your help.
|
ok,but they are enabled?must appear write with red color under scale (L CAPTURE R)
you can anable with backspace |
ok and now with alsactl store you cannot save the settings?
|
I can. I rebooted to see. And 'alsactl store' really stored the settings. Could you tell what's the man page that speaks about /etc/modprobe.d/alsa.conf?
|
here is man page for modprobe.d,not for /etc/modprobe/alsa.conf
you can rename alsa.conf with name.conf,important is to have a file with .conf extension when you have mic noise then you can use this : Code:
options snd_hda_intel model=auto position_fix=3 |
Here too. Thanks. About mic noise I heard that advice but did not take notice of it as in /usr/src/linux-3.2.29/Documentation/sound/alsa/HD-Audio.txt says:
Code:
DMA-Position Problem |
| All times are GMT -5. The time now is 07:15 PM. |