ALSA hates me - a cry for help!
I'm trying to get an ESS 1868 card working (as you can see from a thread some ways down) however, I'm now changing my approach.
I'm trying to use the alsa drivers to do this, since I see there is specific support via the es18xx driver. I've configured, compiled, and installed everything as per this guide: http://www.alsa-project.org/alsa-doc...&module=es18xx When I get to this part: Quote:
Code:
root@radioclient1:~# modprobe snd-es18xx |
You probably need to pass configuration options to the snd-es18xx module. The list of options are available near the top of the page you provided an URL to.
This can be quite tricky and unless you're using music applications the advantages the Alsa provider provides over the kernel driver are somewhat limited. So if the sound works OK with the kernel driver and you don't need a specific Alsa feature you might be better off staying with the kernel driver. I recently posted a little howto on getting the sound on a Thinkpad 600E working using Alsa at the VectorLinux forum here. You might want to look at it to get some ideas. Basically you need to supply hardware-specific parameters to the module so it will recognize the chip and be able to use it. Håkan |
Well, I tried using the built in kernel, and it didn't work. Here's the thread where I tried that.
http://www.linuxquestions.org/questi...hreadid=113565 How do I pass options via modprobe? |
Errr...did you really read the Alsa docs for this module (the page you linked to)? ;)
It's all there - "Setting up modprobe and kmod support" is very helpful. You should try passing command line options to the module first though, so you know that the options you're putting in modules.conf work - you can try something like modprobe snd-es18xx index=0 enable=1 mpu=0x330, and so on. Håkan |
Well excuse me for being a total newbie.
This is the first time I've ever used ISA sound, or sound at all, under linux. I've never had to use modprobe before. I'm off to go scrutinize the page I linked, and poke blindly in the dark until I break something. |
Err...did you really read my post?
When I do the modprobe, it gives me those errors. I really don't see how the section of the document you're pointing to has any relevance. That is after the part that I am hanging up on. Also, what is towards the top of the page that should help... this?: Quote:
|
OK, Ok, let's try this.
Using the info from this link, http://www.linuxquestions.org/questi...02/10/4/33928, and your link http://www.alsa-project.org/alsa-doc...&module=es18xx and let's take a shot in the dark and try the following: modprobe snd-es18xx isapnp=1 index=1 enable=1 io=220 irq=5 dma1=1 dma2=3 mpu_port=330 fm_port=388 and post exactly what it says. |
Sorry for perhaps being harsh.
Modprobe will spit out evil error messages at you if you try to load a module which requires some parameters to be passed along with it, and you're not doing that or the parameters are incorrect. It can take a while to figure out what values you need to pass for the module to load correctly but it's certainly not impossible. fahey's advice sounds good, so start with that and we can take it from there. Håkan |
Alright, I've never used modprobe before..... so here's to nothing!
Quote:
Also, I don't think the io parameter is correct, should it be "port"? |
Yes, it seems that there is no option called "io" anymore, so it's most likely port - in the example faheyd provided the value is the 220 port so try replacing "io" with "port" when you try to load the module.
Finding the correct values for the module parameters can be tricky, but it's mostly a case of trying to find the technical documents for your computer. What model and version is it? It helps a lot when you're Googling. :) Håkan |
Argh, this is a IBM 300GL, borrowed from my school for the weekend while I get the radio up.....
Why isn't there some nice way to detect this stuff? Isn't it called plug 'n play for a reason? I liked original ISA (jumpers own) and PCI soooo much better. I tried it with port right after I posted the results of your command, but it didn't help at all. |
I just went and checked the model number. It is a 6282-74U
|
I found the technical docs over at IBM's support site but they don't mention the sound much (IRQs 10 and 11 are only listed as PCI/ISA...).
I did, however, find this and it seems pretty helpful and straightforward: http://bmiller.customer.netspace.net...s1868-2.4.html I know it's not the Alsa route, but it seems like it's not out of the question to have the kernel detect and configure the soundcard without having to performa a voodoo ritual (or figure out the correct options for the Alsa module...). I thik you should consider trying that. Håkan |
I just gave up on the ESS 1868, and up in an ISA vibra16c. Seems to work. All I did was recompile alsa. argh... so unpredictable.
|
Your welcome.
|
All times are GMT -5. The time now is 04:53 AM. |