[ltp] Thinkpad 600E sound

arun kalmanje linux-thinkpad@linux-thinkpad.org
Tue, 23 Dec 2003 16:06:31 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_008B_01C3C96E.BABF7180
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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=3D1
alias synth0 opl3
options opl3 io=3D0x388
options cs4232 io=3D0x530 irq=3D5 dma=3D1 dma2=3D0 mpuio=3D0x330 =
mpuirq=3D9

whenever I try "modprobe cs4232", it returns with these messages=20

/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.=20


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)=3D=3D0xff) 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=20
/*=20
* 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.=20

Can anybody guess the problem. or suggest a solution. and save me from =
getting frustrated.

Thanks in advance=20

arun
------=_NextPart_000_008B_01C3C96E.BABF7180
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2>Hello =
All</FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have this IBM Thinkpad600E. On which =
windows 98,=20
is working fine &nbsp;lan , sound, display.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I installed RedHat 7.3, kernel 2.4.18 =
and tried=20
heaven and hell to bring up the sound and have failed miserably.&nbsp; I =
even=20
tried this Mandrake installation 8.2 that too is giving same errors as I =
was=20
getting with RedHat.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am putting down all the detail for my =

machine</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Details got by pressing F1 during =
system=20
startup:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Bios version ,date =
INET18WW</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Microprocessor Pentium(**) II processor =
300PE=20
MHz</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Memory is 64MB</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Model/Submodel/Revision =
FC/01/00</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Power management version =
1.00</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Bios version 1.03</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Setup version 1.01</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Video version 1.15</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>slave controller version =
1.05</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Linux version is 2.4.18, redhat =
7.3</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have referred to almost all sites(i =
guess)=20
discussing about setting up Linux on thinkpad 600E</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV>My modules.conf is</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial>alias sound-slot-0 cs4232<BR>post-install =
sound-slot-0=20
/bin/aumix-minimal -f /etc/.aumixrc -L &gt;/dev/null 2&gt;&amp;1 ||=20
:<BR>pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S=20
&gt;/dev/null 2&gt;&amp;1 || :<BR>options sound dmabuf=3D1<BR>alias =
synth0=20
opl3<BR>options opl3 io=3D0x388<BR>options cs4232 io=3D0x530 irq=3D5 =
dma=3D1 dma2=3D0=20
mpuio=3D0x330 mpuirq=3D9</FONT><BR></DIV>
<DIV>
<DIV><FONT size=3D2>whenever I try "modprobe cs4232", it returns with =
these=20
messages </FONT></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV><FONT face=3DArial =
size=3D2>/lib/modules/2.4.18/kernel/drivers/sound/cs4232.o=20
init_module: no such device</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Hint: insmod errors can be caused by =
incorrect=20
module parameters, including invalid IO or IRQ parameters</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>/lib/modules/2.4.18/kernel/drivers/sound/cs4232.o:=20
insmod /lib/modules/2.4.18/kernel/drivers/sound/cs4232.o =
failed</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial =
size=3D2>/lib/modules/2.4.18/kernel/drivers/sound/cs4232.o:=20
insmod cs4232</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I tried installing alsa.. again when i =
do modprobe=20
snd-cs4236( with modules.conf changed appropriately), it returns the=20
same&nbsp;error. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I did a trace of the how the cs4232 =
drivers comes=20
up.&nbsp; The init of this driver after initialization of chip calls=20
ad1848_detect() in file =
/usr/src/linux/drivers/sound/ad1848.c.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In function ad1848_detect() at line =
1618 the=20
call</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>if (inb(devc-&gt;base)=3D=3D0xff) is=20
failing.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>And subsequently all attempts till line =
1645 of=20
driver probing to this memory address devc-&gt;base. This address is =
passed from=20
modules.conf, which is basically the io parameter which is =
0x530.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>At line 1645 the drivers returns=20
unsuccessfully.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The comment above this code =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>/* </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>* check that the I/O address is in =
use</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>* The bit 0x80 of the base I/O port is =
sknow to be=20
0 after the chip has performed its power on initialization. Just assume =
this has=20
happened before the OS is starting</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>*</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>* if the I/O address is unused, it =
typically=20
returns 0xff</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>*/</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This comment tends towards suspecting =
hardware .=20
But since windows is detecting , probing at the same address =
successfully. And=20
is able to play songs perfectly, disproves any problem with=20
hardware.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I checked /proc/irq and the IRQ 5 is =
free which is=20
set in modules.conf, also the Ioport 0x530 is free.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I suspected the PCMCIA card so totally =
removed=20
PCMCIA card support from kernel aswell as the hardware(network) in the =
pcmcia=20
slot. Still the errors remain same. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can anybody guess the problem. or =
suggest a=20
solution. and save me from getting frustrated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>arun</FONT></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_008B_01C3C96E.BABF7180--