#
# /etc/modprobe.conf (for v2.6 kernels)
#
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-cs4236
# module options should go here
options snd-cs4236 port=0x530 cport=0x210 irq=5 dma1=0 dma2=1 isapnp=0
# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
# 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
I have no sound... Any ideas?
]]>andy
]]>By the way, when you said you couldn't get sound to work with modprobe, how did it not work? Did it pop? Did it say no such device? Having to restart to try something every time is kind of a drag
]]>Also make sure that teh snd-cs4236 is the first module thats loaded in your modules list. I don't know why but it seems that if you don't load it first then it just won't work. I've never been able to get the module to load by modprobing it manually. The only way it would work for me was from rc.conf as the first module.
andy
]]>Also, interestingly enough, alsaconf set my cport to 0xf00, and although there still isn't any sound from my card, it doesn't display error messages. Also, when I try to play something in xmms, it emits a pop from the speakers. Sounds like it's close ... but it still doesn't work.
I've tried a few different address/irq/dma settings in the bios too, no luck. I've heard success stories where people say "I got it working!" then post the usual modprobe snd-cs4236 isapnp=0 port=0x530 etc etc ... but none of the success story combinations I've come across has worked for my card as of yet.
]]>That's really cool that you got it to work though, hopefully I'll be able to get there too eh?
My friend says that not having any sound means you're 1337. I'm too 1337 to have sound! lawl ...
]]>First off I had to go into the bios and change the post to "thorough". This was what the setting was called in my bios any way. You want it to do a full post, no fast boot, or if it has the option, tell it its a non-pnp aware system. I also had to set the sound card to half duplex mode while I was in there.
In rc.conf add to MOD_BLACKLIST snd-cs4232. Udev seems to try to load that for some reason and it messes everything up. In the modules array add snd-cs4236 and make sure its FIRST. If the module isn't loaded first it will fail, don't know why, but it will. Udev will find and try to load snd-cs4236 on its own if you don't list it in modules, but it will fail. I don't know why, I assume it has something to do with plug and play and something not being setup correctly. I dunno, its over my head.
Then you need to add the following to /etc/modprobe.conf:
options snd-cs4236 port=0x530 cport=0x210 irq=5 dma1=0 dma2=1 isapnp=0
That may be more info then you need to specify but it works on my system.
That should do it. Reboot the system, it won't work if you try to modprobe it, and you should have sound. Atleast thats how it went for me, well after several hours of googling and alot of trial and error head banging anyway.
By the way, I can't seem to get dmix to work with this card. If anyone figures it out let me know.
andy
Resource list:
http://www.alsa-project.org/alsa-doc...
http://hardware.mcse.ms/archive42-2005-1-124574.html
http://kerneltrap.org/node/2386
http://home.nedlinux.nl/~bart/?page=11
synthead wrote:But ... I need those
I'll give it a shot temporarily to see what it does though.
You don't need those. The corresponding /etc/rc.d files most likely don't exist on your system. Unless of course you use kernel 2.4
Ahhh, ok. Yeah, the rc.d entries for those are blank. I was kinda curious about that since I saw those options in the ncurses configurator for the kernel (and when I noticed my PCMCIA was still working ).
]]>But ... I need those
I'll give it a shot temporarily to see what it does though.
You don't need those. The corresponding /etc/rc.d files most likely don't exist on your system. Unless of course you use kernel 2.4
]]>I'll give it a shot temporarily to see what it does though.
]]>DAEMONS=(syslog-ng hotplug pcmcia network netfs crond)
put exclamation marks before hotplug and pcmcia like this :
DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond)
----------------
those exclamation marks will disable hotplug & pcmcia.
I don't know why they are still in the daemons line, but every rc.conf i've seen has exclamation marks before those 2.
You may wonder (as i did) why the pcmcia daemon should be disabled on a laptop, but i have it disabled and the pcmcia slot on my laptop works fine.
]]>