Skip to content

Instantly share code, notes, and snippets.

@kergalym
Created November 18, 2016 16:28
Show Gist options
  • Save kergalym/63f8a971c5aac5344291286ecacf8901 to your computer and use it in GitHub Desktop.
Save kergalym/63f8a971c5aac5344291286ecacf8901 to your computer and use it in GitHub Desktop.
#cat /etc/modprobe.d/alsa.conf
# Alsa kernel modules' configuration file.
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
options snd-hda-intel model=3stack power_save=0 index=0
# options snd-hda-intel index=0 position_fix=1
options snd-usb-audio index=2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment