Gossamer Commons, 16 Nov 2006

To borrow “snarkism”, somebody deserves a tasty, tasty biscut for today’s bit of hilarity over at Gossamer Commons.

If you do not regularly follow the strip; Malachite saved Keith from a Barghast by summoning forth Apokoryfoma. She’s a Neriad and the Viceroy of the Cul-de-Sac. She also happens to be Malachite’s ex-girlfriend. *laugh* If that were not bad enough by her code Keith is now required to make some sort of sacrifice to her, as a token of gratitude for saving him. Unfortunately, he’s not exactly overburned with resources at the moment and offers up a candy bar. Today’s strip is Appie’s reaction. Greg Holkan‘s art and Eric Burns‘ one line of text in this strip blend beautifully. Malachite’s reaction in the background of the strip is particularly worth paying attention to. 😀

I’ve written before about trying to get sound working on my ancient laptop. When Ubuntu Breezy (5.10) was released; I wiped my laptop and reloaded it from scratch. Unfortunately, this version of Ubuntu also failed to auto-detect/setup my laptop’s soundcard. After much googling and reading of the Ubuntu Forums, I finally got the sound working!

Below, I’ve summarized everything I read and tried in getting this working:

  1. Edit /boot/grub/menu.lst and add acpi=off to the end of the options for the kernel1.
  2. Install libsdl1.2debian-alsa via Synaptic.
  3. Removed /etc/modprobe.d/alsa-base.
  4. Created /etc/modprobe.d/alsa2.
  5. Added snd-cs4236 to the bottom of /etc/modules.

Mind you that summary leaves out dozens of pages of instructions, including the various diagnostics I ran to try figuring out what was wrong. Some of those diagnostics were:

  • lspci -v — No help to me as my soundcard is connected via ISA and not PNP.
  • lspnp -v — This would only detect my soundcard after I turned off acpi.
  • dmesg | grep -i "isa\|multi\|sound\|audio" — This might give you more info about the soundcard, but didn’t help me.
  • pnpdump — This might give you more info about the soundcard, but didn’t help me

Additionally, I ran across several recommendations for the options line in /etc/modprobe.d/alsa but the version of the file listed in the footnotes is the only one which worked for me.

Lastly, if you have this laptop there is a considerable amount of good information still available on Dell’s website for it. For example, apparently there is a Windows/DOS utility for configuring the IRQs and whatnot that the soundcard uses. Fortunately, I didn’t have to try downloading it and finding some way to run it but the option is there if you need it.

1/boot/grub/menu.lst
title Ubuntu, kernel 2.6.12-9-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.12-9-386 root=/dev/hda1 ro quiet splash acpi=off
initrd /boot/initrd.img-2.6.12-9-386
savedefault
boot

2/etc/modprobe.d/alsa
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-cs4236
options snd-cs4236 port=0x530 cport=0x210 isapnp=0 dma1=1 dma2=0 irq=5
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-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

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

options snd cards_limit=1