Dell Latitude CPI - no sound :-(

Problems and successes with specific brands/models of computer audio hardware
Post Reply
Message
Author
jmantra
Posts: 2
Joined: Tue 07 Aug 2007, 01:21

Dell Latitude CPI - no sound :-(

#1 Post by jmantra »

Greetings,

First off I just want to say, what a great distro, runs like a dream on this ancient pentium II 128 megs RAM Dell latitude, sadly though I can't my soundcard to work. I am running 2.17 the soundcard is a Crystal 4237b chipset, tried Alsaconf, tried to have it probe one of the legacy drivers, and tried soundblaster pro since crystal is a soundblaster bro chipset, tried probing the thing just sat their and did nothing. :( Anybody have an ideas or am I SOL and just going to have to stick with windows? :( Don't want to give this up, beautiful OS!

dino9832
Posts: 9
Joined: Tue 31 Jul 2007, 19:34

#2 Post by dino9832 »

At least yours has 128M of ram. Mine ( I call it Craptop ) only has 64M. Imagine how surprised I was that Puppy actually runs on it.
There is new hope for Craptop! If only I could get sound working. I could use it to connect to the internet through my cell phone and play music with Streamtuner.
The older Dell's are notorious for sound being difficult to set up. I've been working on getting sound on mine with Puppy 2.15CE. Here are some notes on what I'll try as soon as I get a chance. I have to warn you, they are not organized. Just copies of post I've found on the subject.
If anyone gets sound on an older Dell, please post your settings.
COPIED FROM:
http://coffeebear.net/archives/2005/11/ ... revisited/
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=0×530 cport=0×210 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
5.3.4. CS4235/CS4236/CS4236B/CS4237B/CS4238B/CS4239 chips

According to the INSTALL file you need to supply the main port and
control ports for this card. Note that with a CS4237B card, I ended up
supplying all information (except DMA-size), otherwise the driver did
not work. So you may as well use the whole command line to insert the
driver, and not only supply snd_port and snd_cport. If you initialized
the card with the isapnp-tools, you can probably get info from the
/etc/isapnp.conf file for the following values:


snd_port - port # for CS4232 chip (PnP setup - 0x534)
snd_cport - control port # for CS4232 chip (PnP setup - 0x120)
snd_mpu_port - port # for MPU-401 UART (PnP setup - 0x300), -1 = disable
snd_fm_port - FM port # for CS4232 chip (PnP setup - 0x388), -1 = disable
snd_jport - joystick port for CS4232 chip (PnP setup - 0x200), -1 = disable
snd_irq - IRQ # for CS4232 chip (5,7,9,11,12,15)
snd_mpu_irq - IRQ # for MPU-401 UART (9,11,12,15)
snd_dma1 - first DMA # for CS4232 chip (0,1,3)
snd_dma1_size - max first DMA size in kB (4-64kB)
snd_dma2 - second DMA # for Yamaha CS4232 chip (0,1,3), -1 = disable
snd_dma2_size - max second DMA size in kB (4-64kB)



You would do a "modprobe snd-card-cs4236 snd_port=0x534
snd_cport=0x120 snd_mpu_port=-1 snd_fm_port=0x388 snd_jport=-1
snd_irq=5 snd_dma1=0 snd_dma1_size=NN snd_dma2=1 snd_dma2_size=NN" to
load the driver. (Without midi-support, see the note at Yamaha OPL-3,
and no joystick support). Notes:

· the "NN" values need to be supplied, only I do not know what would
be reasonable values.

· my CS4237B works fine without explicit dma size option.


##################################################

alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-cs4236
options snd-cs4236 port=0×530 cport=0×210 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
###################################################
Got the sound working. Here's what I added to modprobe.conf:

(my chipset is cs4237B)

alias char-major-116 snd
alias snd-card-0 snd-cs4236
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 snd_device_uid=0
options snd cards_limit=1
options snd-cs4236 index=0 id=CARD_0 port=0x530 cport=0x210 mpu_port=0x330 fm_port=0x388 irq=5 mpu_irq=9 dma1=0 dma2=1 isapnp=0

Took me a second to realize it was working after the reboot because the volume was muted. doh!
####################################################

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.4.2 ---
alias char-major-116 snd
alias snd-card-0 snd-card-cs4236
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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-12 snd-pcm-oss
options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660
snd_device_gid=29 snd_device_uid=0
options snd-card-cs4236 snd_index=0 snd_id=CARD_1 snd_port=0x534\
snd_cport=0x120 snd_mpu_port=0x300 snd_fm_port=0x388 snd_irq=11\
snd_mpu_irq=9 snd_dma1=0 snd_dma1_size=4 snd_dma2=3 snd_dma2_size=4
# --- END: Generated by ALSACONF, do not edit. ---
alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
options snd-cs4236 port=0x530 cport=0x210 isapnp=0 dma1=1 dma2=0 irq=5

jmantra
Posts: 2
Joined: Tue 07 Aug 2007, 01:21

#3 Post by jmantra »

Hmmm looks I might have to go back to windows for now, can;t live without my sound sorry guys plus mozilla keeps crashing on me. (both seamonkey and firefox). I tried to load Damn Small linux but then I couldn;t my wifi to work.

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#4 Post by tempestuous »

Your ALSA module should be snd-cs4236.
In the ALSA wizard you should select "cs4236"

If this doesn't work, follow my manual setup instructions here -
http://www.murga-linux.com/puppy/viewto ... 335#110335

roppert
Posts: 34
Joined: Mon 09 Feb 2009, 16:50

#5 Post by roppert »

hallo tempestuous,

mein Dell Latitude CPI 233 mit derselben Soundkarte arbeitet auch nicht.

In wie weit kann ich die Anleitung http://www.murga-linux.com/puppy/viewto ... 335#110335 für mein DELL Laptop übernehmen, bzw. was muss ich ändern

Welche Puppy-Version muss ich verwenden?

Post Reply