PDA

View Full Version : Dell Latitude CPi , but no sound



Reverend
02-27-2004, 10:06 AM
:?

Knoppix 3.3 works great except for there being no sound.

My laptop is a Dell Latitude CPi D233ST w/ 128 megs of ram.

The Audio Controller is a Crystal 4237B.

When I try to use sndconfig I get an error message after choosing,

Crystal CS423x sound chip.

The error message is Segmentation fault

I've tried the alsa cheatcode but it didn't help.

Any advice would greatly be appreciated.

Thanks.

pau1knopp
08-26-2004, 11:51 AM
Same problem here. However, I DO have a modules.conf from an old version of Knoppix (3.3 v6-6-3 as i recall) where sound worked. Not much help though. I manually updated modules.conf (after making the symlink on the CD a "real" file) with the desired configuration as follows:

### update-modules: start processing /etc/modutils/sndconfig
alias sound-slot-0 cs4232
post-install sound-slot-0 /usr/bin/aumix -f /etc/aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /usr/bin/aumix -f /etc/aumixrc -S >/dev/null 2>&1 || :
options sound dmabuf=1
alias synth0 opl3
options opl3 io=0x388
options cs4232 io=0x530 irq=5 dma=0 dma2=1 mpuio=0x330 mpuirq=5

### update-modules: end processing /etc/modutils/sndconfig

But when I run update-modules I get the error "depmod: Can't open /lib/modules/2.4.27/modules.dep for writing"

It appears that modules.dep is a real file on the read only file system (not a symlink) so I can't do a work around like I did with modules.conf.

Sound would really be nice on this old beast. Any suggestions greatly appreciated.

~pau1

pau1knopp
08-26-2004, 12:05 PM
Also tried running from the insmod command (as root) using:

insmod cs4232.o io=0x530 irq=5 dma=0 dma2=1 mpuio=0x330 mpuirq=5

and receive the following error messages:

cs4232.o: cs4232.o: unresolved symbol ad1848_detect
cs4232.o: cs4232.o: unresolved symbol ad1848_init
cs4232.o: cs4232.o: unresolved symbol probe_uart401
cs4232.o: cs4232.o: unresolved symbol ad1848_control
cs4232.o: cs4232.o: unresolved symbol ad1848_unload
cs4232.o: cs4232.o: unresolved symbol unload_uart401
cs4232.o: cs4232.o: unresolved symbol audio_devs
cs4232.o: cs4232.o: unresolved symbol sound_unload_audiodev

Any help greatly appreciated.

~pau1

pau1knopp
08-27-2004, 08:14 PM
Fixed... almost...

These commands load the appropriate drivers

modprobe sound
insmod ad1848
insmod uart401
insmod cs4232 io=220 irq=5 dma=1

And things like sound from KsCD and MPlayer will work. However, KDE system sounds and XMMS do not work. KDE just "acts" like its playing the sound (with all kmix / aumix settings turned up) but no sound comes out. XMMS says that the sound card is not configured properly.

I have tried starting knoppix in text only mode (knoppix 2), loading the drivers as root, and then starting KDE as knoppix. That did not work.

I also tried starting the sound service in KDE, hitting control-alt-backspace to start KDE again, but no success.

Any suggestions on how to get the sound working within KDE (and presumable XMMS)?

Thanks in advance,

~pau1

pau1knopp
09-04-2004, 07:31 AM
okay, here's the fix... a LOT of trial and error. with knoppix 3.4 (5-17-4) and 3.6 (8-17) i just run these commands (as root)...

modprobe sound
insmod ad1848
insmod uart401
insmod cs4232 io=0x530 irq=5 dma=1
rm -rf /dev/dsp
mknod /dev/dsp c 14 3
chown knoppix.knoppix /dev/dsp

all works well after this.

reisyboy
10-25-2004, 08:53 PM
Hey i have the same laptop and im tryin todo this with a HD install of Knoppix 3.6 (because is has ndiswrapper).... i cannot make your steps work it says the moudles arnt there and im abit of a newbie so could you explaim on how todo it? or what i have missed out :)?

mike85gn
11-11-2004, 11:32 PM
okay, here's the fix... a LOT of trial and error. with knoppix 3.4 (5-17-4) and 3.6 (8-17) i just run these commands (as root)...

modprobe sound
insmod ad1848
insmod uart401
insmod cs4232 io=0x530 irq=5 dma=1
rm -rf /dev/dsp
mknod /dev/dsp c 14 3
chown knoppix.knoppix /dev/dsp

all works well after this.

Ok, I ran thu this on my fresh HD install, XMMS no longer gives me the error window, but stil will not play music. When I type:

chown knoppix.knoppix /dev/dsp

I get:

chown: 'knoppix.knoppix' invalid user

I assume this is because I ran it as a different user. So I typed:

chown <valid username> /dev/dsp

And now it looks to try and load, but XMMS will not play the song. It will load it without errors, but won't play anything. I can even scroll the position cursor and it wil display the current position within the song, but still won't play it. I'm using a Dell Latitude CPi D300XT, should be the same sound chip, no?

Any thoughts?

UndyingProphecy
11-18-2004, 07:27 AM
Hello, I have been living under a rock for the past 24 years and am completly new to Linux. I have been trying a series of Linux OS's to see what I would like to start with. Haven't found out yet but I really like how Knoppix runs right off the CD. Ngenious. As it seems I cannot get the sound working. If someone can assist me in getting the right driver for it, that would be great. I have a Dell Dimension 2400 with a PCI aftermarket Sound Blaster Live, which I threw in to try and see if that would fix the problem. It didn't. Not too familiar with the command line as of yet. So please consider me a noob. I am a quick learner and if someone tells me once it is implanted into the sixth membrane and I will never forget.

Cheers.