LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   HD-Audio: ALSA settings not persistent across reboots. (https://www.linuxquestions.org/questions/slackware-14/hd-audio-alsa-settings-not-persistent-across-reboots-4175444284/)

kkady32 01-06-2013 11:39 AM

yes but i tested with google talk and with this options my mic work better(kernel 3.7.1 and Realtek ALC887-VD)
this options is not a universal resolve,you must test and see when recording is better and for me was better.

stf92 01-06-2013 11:50 AM

Well then, I'll watch for persistence across reboots. In this regard, I had before posting a .conf in /etc/modprobe.d/. The options line was
Code:

options snd_hda_intel index=0 model=auto position_fix=3
So, strictly speaking, nothing has changed, for index=0 is implied in your line (missing index=0). And so, I think I shall still be the victim of random behavior across reboots.

Maybe the BIOS is broken, although the machine is brand new.

kkady32 01-06-2013 12:03 PM

and was must changed?
use the code without index=0 and position_fix=3 then

stf92 01-09-2013 03:32 AM

Still loosing audio when booting. But I made a great discovery. Card 0 is the builtin speaker, card 1 is the sound card. And by doing 'alsactl init 1' I initialize the sound card, as seen from this command output. Also, from /usr/src/linux-3.2.29/Documentation/sound/alsa/ALSA-Configuration.txt:
Code:

Common parameters for top sound card modules
  --------------------------------------------

    Each of top level sound card module takes the following options.

    index      - index (slot #) of sound card
                - Values: 0 through 31 or negative
                - If nonnegative, assign that index number
                - if negative, interpret as a bitmask of permissible
                  indices; the first free permitted index is assigned
                - Default: -1
    id          - card ID (identifier or name)
                - Can be up to 15 characters long
                - Default: the card type
                - A directory by this name is created under /proc/asound/
                  containing information about the card
                - This ID can be used instead of the index number in
                  identifying the card
    enable      - enable card
                - Default: enabled, for PCI and ISA PnP cards

It can be inferred that slot = card and index is the card.

I had
Code:

$ cat /etc/modprobe.d/alsa.conf
options snd_hda_intel index=0 model=auto

,
then switched to not using the index parameter. Now I'm using 'index=1'. But still no persistence across reboots.

A simple question. Is /etc/modprobe.d/<base_name>.conf read at each boot?

EDIT: Of course it is, because its a module and files in /etc/ terminated in .d are meant to be read at boot time.


All times are GMT -5. The time now is 05:37 PM.