I’m reinstalling debian on my laptop after another brief experiment with Ubuntu, and once more I had to spend several minutes digging around for the correct magic incantation to get sound to work. So I thought I’d better stick the relevant data up here so at least I’ll know where to look next time (and hopefully google will too as I’m bound to forget).
/etc/modprobe.d/sound: (I’ve split some lines into two so they don’t mess up my website layout)
alias snd-card-0 snd-opl3sa2
options snd-opl3sa2 dma1=1 dma2=0 fm_port=0×388 irq=5 \
midi_port=0×330 port=0×538 sb_port=0×220 wss_port=0×530 isapnp=0
# some stuff for the OSS drivers
alias char-major-14 snd-pcm-oss
alias sound-slot-0 snd-card-0
# aliases for sound 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
Then run update-modules to get debian to notice the change, load the module, check that the relevant channels are unmuted in alsamixer and we should be ready to boogy.
Related Posts
No related posts.

![[Google]]( http://blog.trollgod.org.uk/wp-content/plugins/easy-adsenser/google-light.gif)
