Sound on Toshiba Tecra 8000

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=0x388 irq=5 \
midi_port=0x330 port=0x538 sb_port=0x220 wss_port=0x530 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.