ALSA & Crystal 4237B Revisited

I’ve writ­ten before about try­ing to get sound work­ing on my ancient lap­top. When Ubuntu Breezy (5.10) was released; I wiped my lap­top and reloaded it from scratch. Unfor­tu­nately, this ver­sion of Ubuntu also failed to auto-detect/setup my laptop’s sound­card. After much googling and read­ing of the Ubuntu Forums, I finally got the sound working!

Below, I’ve sum­ma­rized every­thing I read and tried in get­ting this working:

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

Mind you that sum­mary leaves out dozens of pages of instruc­tions, includ­ing the var­i­ous diag­nos­tics I ran to try fig­ur­ing out what was wrong. Some of those diag­nos­tics were:

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

Addi­tion­ally, I ran across sev­eral rec­om­men­da­tions for the options line in /etc/modprobe.d/alsa but the ver­sion of the file listed in the foot­notes is the only one which worked for me.

Lastly, if you have this lap­top there is a con­sid­er­able amount of good infor­ma­tion still avail­able on Dell’s web­site for it. For exam­ple, appar­ently there is a Windows/DOS util­ity for con­fig­ur­ing the IRQs and what­not that the sound­card uses. For­tu­nately, I didn’t have to try down­load­ing it and find­ing 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

Similar Posts

About Mark McKibben

Mark works as a [REDACTED] for [REDACTED], currently residing in Iowa. CoffeeBear.net is a place for him to blather on about whatever strikes his fancy. He currently spends his "free" time working on a photography project, playing with his cat and attempting to keep his wife happy (not necessarily in that order).

21 Comments

  1. cea says:
    December 27th, 2005 at 1:23 am

    libsdl.2debian-alsa ? not found

  2. Mark says:
    December 27th, 2005 at 2:28 pm

    Hmm, I’ve prob­a­bly enabled the uni­verse & mul­ti­verse repos­i­to­ries for APT/Synaptic on my lap­top but I don’t have it handy to check that right now.

  3. cea says:
    December 28th, 2005 at 3:32 am

    I have same lap­top (Dell Lat­i­tude CPi D300XT) but with ker­nel 2.6.12.10.686 not work… Excuse by my Eng­lish poor, I am of Chile and speak Spanish

  4. Mark says:
    December 28th, 2005 at 4:11 pm

    I’ve been a bit busy with the hol­i­days, but if I get a chance I’ll see about boot­ing up my lap­top tonight* and double-check what ker­nel it’s running.

    By the way, your Eng­lish has been quite under­stand­able; so there’s no need to apologize.

    *Since the lap­top is so slow I don’t use it very often.

  5. Mark says:
    December 29th, 2005 at 10:04 am

    While check­ing through some notes, I found I was using ker­nel 2.6.12–9-386 at the time I wrote this. If I get a chance over the week­end, I’ll boot the lap­top up and see if there’s a newer ker­nel avail­able via Ubuntu’s update man­ager. If so, I’ll update to it and see if my sound still works.

  6. cea says:
    December 29th, 2005 at 2:11 pm

    finally I found the file libsdl1.2debian-alsa via Synap­tic that has a 1 dif­fer­ent from the file which you men­tion. When installing it , Synap­tic it requests to elim­i­nate libsdl1.2debian-oss. that is well?

  7. Mark says:
    December 29th, 2005 at 2:20 pm

    The OSS or OSS/Free is the Open Sound Sys­tem, which is no longer being main­tained (well, there is a com­mer­cial ver­sion out there). Think of ALSA as a replace­ment for it. You should be fine in let­ting Synap­tic remove libsdl1.2debian-oss.

  8. Mark says:
    January 16th, 2006 at 6:49 pm

    It was a busy hol­i­day sea­son and it was just last night that I had a chance to get to look­ing at this. After upgrad­ing to the 2.6.12–10 ker­nel sound no longer works. Nei­ther does my wire­less card. *sigh*

    I spent a cou­ple of hours try­ing to fix it last night but was unable to do so. From my expe­ri­ences with this lap­top & ker­nel upgrades on Ubuntu 5.04, I’ll wager that I won’t be able to fix whatever’s wrong short of a fresh install, doing an upgrade to the lastest pack­ages and then slowly work­ing my way through recon­fig­ur­ing everything.

  9. Tim says:
    February 18th, 2006 at 11:39 pm

    Inter­est­ing. I am try­ing to get my sound work­ing on the same lap­top with Breezy as well. I am using the 2.6.12–9-386 ker­nel and fol­lowed what you had done, but the sys­tem still won’t rec­og­nize the sound card. It’s too late for me to work on this any­more right now. Per­haps after some sleep .…

  10. jacco says:
    March 18th, 2006 at 7:44 am

    Very good pro­ce­dure, worked like a charm on my Dell Opti­plex GX1 with Crys­tal Sound­card cs4236

  11. Mark says:
    March 19th, 2006 at 3:03 am

    Glad I could help somebody. :)

  12. Dan says:
    October 12th, 2006 at 8:34 pm

    I’ve done every­thing that you’ve sug­gested… I have a DELL GX1 and will reboot now and try it… I hope that it works… cheers…

  13. Mark says:
    October 13th, 2006 at 8:57 am

    Good luck with your Dell!

  14. Ted says:
    October 19th, 2006 at 9:06 am

    Your instruc­tions worked flaw­lessly on my ancient desktop:

    - Dell Opti­Plex GX1 400MHz / 640MB RAM
    – On-board Crys­tal Sound­card cs4236
    – Ubuntu Linux 6.06 LTS (Dap­per Drake) for x86
    – Ker­nel 2.6.15–27-386

    The only thing I adjusted was the Synap­tic search for the “libsdl.2debian-alsa” file — it is actu­ally “libsdl1.2debian-alsa” (note the 1 after the L) as pointed out by an ear­lier post by another user. I found it by search­ing for “.2debian-alsa”. The file is actu­ally already installed in Ubuntu Linux 6.06 LTS — I rein­stalled it anyway.

    I must say that it was quite a relief when I learned that this was going to work as well as it does — this is fan­tas­tic and will allow mul­ti­me­dia use of the GX1 with Ubuntu.

    Thank you very much for this bril­liant information!

  15. Mark says:
    October 19th, 2006 at 1:08 pm

    Glad I could help out. And I guess I should cor­rect the pack­age name above. :)

  16. Ryan says:
    October 30th, 2006 at 12:02 am

    did you ever get sound to work after updat­ing the ker­nel? because this dell lap­top is cur­rently my only com­puter (sad i know) and id really like to have sound…

  17. Mark says:
    October 30th, 2006 at 12:09 pm

    Sorry, no. My Dell lap­top isn’t my only com­puter and I’ve been too busy with other things to go back and work on this. I started look­ing into load­ing Ubuntu 6.06 on it, but got stuck about halfway (since I don’t have enough RAM to boot it into the LiveCD).

  18. Ryan says:
    October 30th, 2006 at 4:51 pm

    aww… oh well thanks anyways..

  19. David Kieras says:
    February 20th, 2007 at 7:18 am

    Dell Opti­plex GX1 p2/350…another suc­cess, this time with Edgy. Thank you very much for post­ing this information!

  20. Sean Homan says:
    March 26th, 2007 at 5:29 pm

    Do bios options for have to be man­u­ally adjusted to match /etc/modprobe.d/alsa for this to work? Or should sound be set on auto detect in the BIOS

  21. Mark says:
    March 26th, 2007 at 5:47 pm

    I believe I had the BIOS set to auto-detect when I was work­ing on this, but it was quite some time ago.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.