[ltp] Sound on Thinkpad 600
JP Shipherd
linux-thinkpad@linux-thinkpad.org
Mon, 28 Feb 2005 19:39:16 -0800
This is a multi-part message in MIME format.
------_=_NextPart_001_01C51E10.3F42ECE9
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
There comes a time when one must admit they need help. I did my first
ever linux install on my Thinkpad 600 and I must confess I'm fumbling
around a bit trying to get sound working. There has been a lot of
useful information in the archives to this list but being such a newbie
I think I need to back up a step to understand what I'm doing.
=20
I'm running RedHat kernel 2.4.21-15.EL
=20
I *think* that I have built and installed the ALSA drivers, libraries
and tools (ie: the make installs all worked) but am not sure how to
tell.
=20
Thanks to some of the archives I've tried putting a few things in the
/etc/modprobe.conf file. Currently it looks like
alias snd-card-0 snd-cs4236
alias sound-slot-0 snd-cs4236
options snd-cs4236 index=3D0 id=3DCARD_0 port=3D0x530 cport=3D0x538
sb_port=3D0x220 fm_port=3D0x388 isapnp=3D0 dma1=3D1 dma2=3D0 irq=3D5 =
mpu_port=3D0x330
mpu_irq=3D9 enable=3D1
=20
When I run=20
/sbin/modprobe snd-cs4236
I get a bunch of warnings and dmesg tells me:
CS4236+ soundcard not found or device busy
=20
I saw one thread that suggested I run
/sbin/modprobe snd-cs4236 index=3D0 port=3D0x530 cport=3D0x538 =
irq=3D5 dma1=3D1
dma2=3D0 isapnp=3D0=20
=20
This does generate some warnings, but no dmesg's. It also causes the
line:
5: 0 XT-PIC CS4231
To appear when I run: cat /proc/interrupts. (It wasn't there before the
second modprobe command).
=20
Note that /sbin/lscpci does not seem to show any soundcards though.
=20
So, should my soundcard work now? I don't even know how to tell. If I
try to run:
play /usr/share/sounds/email.wav
I get:
sox: Can't open output file '/dev/dsp': No such device
=20
I get a similar complaint from xmms, (something like "can't find
device")
=20
And the soundcard detection program (In the System Settings folder from
the "red hat menu") say "No soundcards were detected".
=20
I feel like I'm swinging around without really understanding what is
going on. I realize that this issue has been answered before in this
forum, but if anyone has the inclination, I could use some step-by-step
help.
=20
Thanks,
--jp
=20
=20
=20
------_=_NextPart_001_01C51E10.3F42ECE9
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>There comes a time when one must admit they need =
help.
I did my first ever linux install on my Thinkpad 600 and I must confess =
I’m
fumbling around a bit trying to get sound working. There has been =
a lot
of useful information in the archives to this list but being such a =
newbie I
think I need to back up a step to understand what I’m =
doing.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I’m running RedHat kernel =
2.4.21-15.EL<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I *<b><span =
style=3D'font-weight:bold'>think</span></b>* that
I have built and installed the ALSA drivers, libraries and tools (ie: =
the make
installs all worked) but am not sure how to =
tell.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks to some of the archives I’ve tried =
putting a
few things in the /etc/modprobe.conf file. Currently it looks =
like<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> alias snd-card-0 =
snd-cs4236<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> alias sound-slot-0 =
snd-cs4236<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> options snd-cs4236 index=3D0 id=3DCARD_0 =
port=3D0x530
cport=3D0x538 sb_port=3D0x220 fm_port=3D0x388 isapnp=3D0 dma1=3D1 =
dma2=3D0 irq=3D5 mpu_port=3D0x330
mpu_irq=3D9 enable=3D1<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>When I run <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> /sbin/modprobe =
snd-cs4236<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I get a bunch of warnings and dmesg tells =
me:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> CS4236+ soundcard not found or device =
busy<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I saw one thread that suggested I =
run<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> /sbin/modprobe snd-cs4236 index=3D0 =
port=3D0x530
cport=3D0x538 irq=3D5 dma1=3D1 dma2=3D0 isapnp=3D0 =
<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>This does generate some warnings, but no =
dmesg’s.
It also causes the line:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> 5: =
0 XT-PIC
CS4231<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>To appear when I run: cat /proc/interrupts. (It =
wasn’t
there before the second modprobe command).<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Note that /sbin/lscpci does not seem to show any =
soundcards
though.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>So, should my soundcard work now? I don’t =
even
know how to tell. If I try to run:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> play =
/usr/share/sounds/email.wav<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I get:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> sox: Can’t open output file =
‘/dev/dsp’:
No such device<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I get a similar complaint from xmms, (something like =
“can’t
find device”)<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>And the soundcard detection program (In the =
System
Settings folder from the “red hat menu”) say “No =
soundcards
were detected”.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I feel like I’m swinging around without really
understanding what is going on. I realize that this issue has been
answered before in this forum, but if anyone has the inclination, I =
could use
some step-by-step help.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>--jp<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------_=_NextPart_001_01C51E10.3F42ECE9--