Hulin Thibaud wrote:

>>     cat /sys/devices/pnp0/00:0f/resources
> 
> I obtain :
> state = active
> io 0x210-0x217

>>     cat /sys/devices/pnp0/00:10/resources
> 
> OK, I actived that and I obtain with the cat command :
> state = active
> io 0x530-0x537
> io 0x388-0x38b
> io 0x220-0x22f
> irq 5
> dma 1
> dma 0

In a previous post you showed 00:0f to be the codec (to have id CSC0000, 
that is) and 00:10 to be the CTRL port (CSC0010). Seems like it's the 
other way around now...

> I used sudo modprobe snd-cs4236 isapnp=0 port=0x530 cport=0x388 irq=5 
> dma1=1 dma2=0

Try:

modprobe snd-cs4236 isapnp=0 port=0x530 cport=0x210 irq=5 dma1=1 dma2=0

With both devices actived as you showed above, this should really work. 
If not, also try 0x534 instead of 0x530 for the port= value; I remember 
some confusion there with sometimes a +4 offset and sometimes not.

That 0x388 is just the onboard OPL3 -- you can ignore it, or pass it as 
fm_port=0x388. sb_port=0x220 can also be passed, but isn't necessary either.

> And with snd-cs4232 :
> ALSA 
> /home/hulin/alsa-driver-1.0.11rc5/isa/cs423x/../../alsa-kernel/isa/cs423x/cs4236.x:294:
>  
> CS4232 WSS PnP manual resources are invalid, using auto config
> CS4232 WSS PnP configure failed for WSS (out of resources ?)
> PnP BIOS detection failed for CS4232
> CS4232 soundcard not found or device busy
> FATAL: Error inserting snd_cs4232 
> (/lib/modules/2.6.15-23-386/kernel/sound/isa/cs423x/snd-cs4232.ko): No 
> such device

With just "modprobe snd-cs4232", or using the same parameters as above 
with snd-cs4236? (please also comment out any paramters you may have 
placed in /etc/modprobe.conf or /etc/modprobe.d/sound while you try)

With the 1.0.11-rc5 driver, things should be detected. Unless ofcourse 
the device IDs really are swapped between codec and CTRL port; this 
would be very odd. snd-cs4232 expects CSC0000 (or CSC0100 or GIM0100) 
to be the codec. CSC0010 is always the CTRL port...

Please verify by supplying the output of:

cat /sys/devices/pnp0/00:0f/id
cat /sys/devices/pnp0/00:0f/options
cat /sys/devices/pnp0/00:0f/resources

cat /sys/devices/pnp0/00:10/id
cat /sys/devices/pnp0/00:10/options
cat /sys/devices/pnp0/00:10/resources

If there really is something odd there, we can add your IDs to 
snd-cs4236 in the future.

You have now installed the 1.0.11-rc5 drivers onto your system (why -rc5 
and not 1.0.11 final, by the way?). Given that the 1.0.11-rc5 snd-cs4232 
thinks it should be driving CSC0000 you'd probably still get complaints 
about PnP failures, but:

modprobe snd-cs4232 isapnp=0 port=0x530 cport=0x210 irq=5 dma1=1 dma2=0

should still work as well. It's better to use snd-cs4236 though. After 
things work, I'll be sure to get PnP BIOS support with these IDs into 
snd-cs4236 as well. For now, specifying the values hopefully works okay.

Rene.



_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to