slackware and cs4232/arts fight!!
ok, so i recently decided to finally fire windows (!!), and installed slack 8.1 (kernel 2.4.18) on my Dell Inspiron 3200. after reading thousands of man pages and countless HOWTO's and usr/docs and usr/src/linux/Documentation files, ive still come up with no answer. here it all is:
ive recompiled the kernel with OSS sound support and cs4232 both as modules. ive added the appropriate lines to BIOS and to /etc/rc.d/rc.modules:
insmod cs4232 io=0x530 irq=9 dma=1 dma2=0
now, it will boot correctly, the kernel identifies and loads the module, KDE boots properly, and Kmix shows my correct card, but when trying to play mp3s or wavs, it does this weird echo...1-2-3-4 would come out as 1-1-2-1-2-3-2-3-3-4-4 or something. no settings in the sound server configuration would change this.
the only way ive found it to play is if i _don't_ load the module at boot, start up KDE, (it gives an error of '/dev/dsp does not exist, loading to /dev/null instead' or something), open the terminal and then
it, close out KDE and then restart it.
it seems as though loading the arts server needs to be done first, then the soundcard. is there any way of doing this? i tried putting
into etc/rc.d/rc.S, but to no avail. also tried
artsd -f (which forces it to run, even though no card)
but then it sticks on the 'dev/dsp' error message and won't continue booting. it also gives some errors about not being able to load some of it's correct modules anyway. ive also tried every possible irq value - and making them the same (and different!) in BIOS and /etc/rc.d/rc.modules
how can i remedy this?
I've had a similar problem with an nvidia chipset. After starting up KDE, xmms would often hang, even though mpg321 worked. I figured that it had something to do with mmapped IO, so I just disabled aRts. Of course that means that I cannot play a divx with sound and an mp3 simultaneously but it doesn't bother me that much.
Why don't you try using "modprobe cs4232" instead of "insmod cs4232 io=0x530 irq=9 dma=1 dma2=0". Modprobe calls insmod and is designed to be a dynamic loader or modules, you then put any module options in /etc/modules.conf.
I have an old Intel Providence motherboard with onboard crystal sound and I never went through all that hoopla of putting settings in, all I did was uncomment this line from rc.modules:
# Crystal CS4232 based (PnP) cards:
And I've never had any problems with it except the fact that it has NO amplification so if I don't use powered speakers I can barely hear it.
well, hate to disappoint all three of ya, but ive (1) tried modprobe, and it seems to create problems as well, besides there's no reason to edit yet another config file until i figure out what the settings i _actually_ need_, are. (2) simply uncommenting that line in rc.modules is the exact same thing, and (3) turning off arts..hmm. well, ive checked the box in the sound server config that says 'run arts server at KDE start' or something to that extent, but then the sound is still choppy/echoey. so i assumed that this meant that arts was just autoloading itself once i began to use the sound card. so either arts does autoload, and you know another way to turn it off (tell me please!), or it's as i assume and there's something weird and it really _does_ need to have it in this order:
arts loaded up,
here's a good question: what happens with arts when KDE closes? maybe i just need to load the few modules (excuse me if my terminology is off, im still new to linux) that remain open when KDE closes..
oh and im pretty sure that its not simply disabling arts, since ive tried running xfce once ive done the insmod, and it gives me the same chop-chop sound...????? i dunno!!
I can't play sound from some apps unless I kill artsd. xine, xmovie etc. work fine with artsd running, but I have a problem with Windows media player under crossover-plugin and with the echolinux Hamradio program unless I kill artsd. I have a feeling that apps need to be arts aware for them to run. As previously understood, artsd is supposed to service sound to any app requiring it.
|All times are GMT -5. The time now is 08:48 AM.|