[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Thinkpad sound problem



Hello All
 
I have this IBM Thinkpad600E. On which windows 98, is working fine  lan , sound, display.
 
I installed RedHat 7.3, kernel 2.4.18 and tried heaven and hell to bring up the sound and have failed miserably.  I even tried this Mandrake installation 8.2 that too is giving same errors as I was getting with RedHat.
 
I am putting down all the detail for my machine
 
Details got by pressing F1 during system startup:
 
Bios version ,date INET18WW
Microprocessor Pentium(**) II processor 300PE MHz
Memory is 64MB
Model/Submodel/Revision FC/01/00
Power management version 1.00
Bios version 1.03
Setup version 1.01
Video version 1.15
slave controller version 1.05
 
Linux version is 2.4.18, redhat 7.3
 
I have referred to almost all sites(i guess) discussing about setting up Linux on thinkpad 600E
 
My modules.conf is
 
alias sound-slot-0 cs4232
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -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=1 dma2=0 mpuio=0x330 mpuirq=9

whenever I try "modprobe cs4232", it returns with these messages
 
/lib/modules/2.4.18/kernel/drivers/sound/cs4232.o init_module: no such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.18/kernel/drivers/sound/cs4232.o: insmod /lib/modules/2.4.18/kernel/drivers/sound/cs4232.o failed
/lib/modules/2.4.18/kernel/drivers/sound/cs4232.o: insmod cs4232
 
I tried installing alsa.. again when i do modprobe snd-cs4236( with modules.conf changed appropriately), it returns the same error.
 
 
I did a trace of the how the cs4232 drivers comes up.  The init of this driver after initialization of chip calls ad1848_detect() in file /usr/src/linux/drivers/sound/ad1848.c.
In function ad1848_detect() at line 1618 the call
if (inb(devc->base)==0xff) is failing.
And subsequently all attempts till line 1645 of driver probing to this memory address devc->base. This address is passed from modules.conf, which is basically the io parameter which is 0x530.
 
At line 1645 the drivers returns unsuccessfully.
 
The comment above this code
/*
* check that the I/O address is in use
* The bit 0x80 of the base I/O port is sknow to be 0 after the chip has performed its power on initialization. Just assume this has happened before the OS is starting
*
* if the I/O address is unused, it typically returns 0xff
*/
 
This comment tends towards suspecting hardware . But since windows is detecting , probing at the same address successfully. And is able to play songs perfectly, disproves any problem with hardware.
 
I checked /proc/irq and the IRQ 5 is free which is set in modules.conf, also the Ioport 0x530 is free.
 
I suspected the PCMCIA card so totally removed PCMCIA card support from kernel aswell as the hardware(network) in the pcmcia slot. Still the errors remain same.
 
Can anybody guess the problem. or suggest a solution. and save me from getting frustrated.
 
Thanks in advance
 
arun

Reply to: