Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:intel_hda_realtime_howto [2013/06/02 15:45] – external edit 127.0.0.1wiki:intel_hda_realtime_howto [2014/03/09 01:28] (current) j_e_f_f_g
Line 61: Line 61:
   * Periods/Buffer 3   * Periods/Buffer 3
  
 +===== Debian (9 sept 2013) =====
 +  * Realtime does not have to be compiled anymore into the kernel: it is already by default. I know at least on "Debian 7.1 //Wheezy// amd64" & latest UbuntuStudio, perhaps more.
 +  * On Debian the location of the config file is **/etc/modprobe.d/alsa-base.conf**
 +  * Further config files are located at **~/.asoundrc** (userwide) and **/etc/asound.conf** (systemwide). Note that ~/.asoundrc works out as /home/CURRENTUSERNAME/.asoundrc so be aware that using ~ while being root (or su in a terminal) works out as /home/root/.asoundrc, which might not be what you want.
 +  * The 'index=' setting seems to not work properly, and give errors during boot about //card not ready for slot// or something ( I will try to reproduce later). The solution is to not use the line with 'index=', but instead use '**options snd slots=snd-hda-intel**'. This will put snd-hda-intel in slot 0. If you have more cards, like me, you can sum them all up, 'options snd slots=snd-ca0106,snd-hda-intel' will assign my SB Audigy (ca0106) to slot 0, and my motherboard audio (hda-intel) to slot 1. You can also keep slot 0 'open', and only assign slot 1: 'options snd slots=,snd-hda-intel' will put the hda-intel in slot 1, keeping slot 0 open for any takers. Note the comma.
 +  * The '**nice**' option is not needed, it is commented out on my setup.
 +  * Example of /etc/asound.conf that will capture sound from device 0 on 'CA0106', and playbacks sound to device 1 on 'Intel':
 +  Use '**aplay -l**' to list all playback devices, and '**arecord -l**' to list all capture devices. Results are like '//card 1: **Intel** [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital]// ', where the part made bold is the name used. Case sensitive.
 +  pcm.!default {                   # declare the default PCM device
 +    type asym                      # combine playback and capture devices
 +    playback.pcm {                 ### Playback object ###
 +      type plug                    # convert audio to mixer format
 +      slave.pcm {
 +        type dmix                  # mix multiple audio streams
 +        ipc_key 69569              # shared memory key; must be unique, just make one up
 +        ipc_key_add_uid true       # add UID to shared mem key
 +        ipc_perm 0600              # shared mem file permissions
 +        slave {
 +          pcm {
 +            type hw                # define the playback hardware
 +            card "Intel"           # YOUR playback card name
 +            device 1               # YOUR playback device on that card
 +          }
 +          format S32_LE            # YOUR bits per sample format
 +          rate 48000               # YOUR samples per second
 +          channels 2               # number of audio channels
 +        }
 +      }
 +    }
 +    capture.pcm {                  ### Capture object ###
 +      type plug                    # convert audio format from the hardware
 +      slave {
 +        pcm {
 +          type hw                  # define the capture hardware
 +          card "CA0106"            # YOUR capture card name 
 +          device 0                 # YOUR capture device on that card
 +        }
 +      }
 +    }
 +  }
 ===== Comments ===== ===== Comments =====
  
Line 68: Line 108:
  
 !-- Comments end here --! !-- Comments end here --!
-{{tag>Sound_Cards_and_Drivers jack howtos_and_faqs}}+{{tag>Sound_Cards_and_Drivers jack howtos_and_faqs hardware_linux}}
wiki/intel_hda_realtime_howto.1370180714.txt.gz · Last modified: 2013/09/09 10:32 (external edit)