[ltp] TP 600e Sound Problem.

David Josephsen linux-thinkpad@www.bm-soft.com
Tue, 12 Jun 2001 16:44:59 -0500


This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=_94CE846C.3F5E2CEE
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

ok so of course I have a breakthrough immediatly after posting to the =
list.  I finally found a conf.modules file on the web which did something =
other than write errors.. my conf.modules, now looks like this:

### ALSA sound ###
#
# ALSA native device support
#
alias char-major-116 snd
options snd snd_major=3D116 snd_cards_limit=3D1 snd_device_mode=3D0666 =
snd_device_gid=3D
0 snd_device_uid=3D0
#
alias snd-card-0 snd-card-cs4236
#
alias sound snd-card-0
options snd-card-cs4236 snd_port=3D0x530 snd_cport=3D0x538 snd_fm_port=3D0x=
388 snd_irq
=3D5 snd_dma1=3D1 snd_dma2=3D0 snd_isapnp=3D0 snd_mpu_port=3D0x300 =
snd_mpu_irq=3D9 # snd_dma
1_size=3Dxxx snd_dma2_size=3Dxxx
#
# OSS/Free emulation setup
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-minor-oss-0 snd-card-cs4236
alias snd-minor-oss-1 snd-opl3
alias snd-minor-oss-3 snd-pcm-oss

alias usb-interface usb-uhci


now I am able to play CD's, but Not MP3's.  I have tried through esd as =
well as through OSS.. why would this happen?

>>> djosephs@vha.com 06/12/01 02:38PM >>>

A while Ago I posted about the problems I've been having trying to get =
sound to work on my TP 600e, and im still haveing much the same problem.

 I updated to a 2.2.17 kernel and made sure to compile in sound support. I =
downloaded and compiled the newest ALSA and the first problem I had was =
that they changed the module name from cs4232 to snd_card_cs4232.  Second =
prob was that they changed the parameter syntax in conf.modules from =
"io=3D0x530 irq=3D5 dma=3D1 dma2=3D0" to "snd_port=3D0x530 snd_irq=3D5 =
snd_dma1=3D1 snd_dma2=3D0"  I changed all these accordingly, but The prob =
I have now is that when I try to load the module I get :

"int_module: Device or Resource busy."=20

So I cat /var/log/messages | grep sound and get:
"snd:CS4232 soundcard#1 not found at 0x530 or device busy"

ok.. So I cat /proc/ioports and get:
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0240-0247 : cops
0300-031f : 3c574_cs
0376-0376 : ide1
03c0-03df : vga+
03f0-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial(auto)
fcf0-fcf7 : ide0
fcf8-fcff : ide1

Sure enough No sound card.... It was here just one kernel ago, Where did =
it go?=20

As proof that I compiled in sound support I offer the tail end of my =
.config file from /usr/src/linux:
CONFIG_SOUND=3Dy
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_EMU10K1 is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_SOUND_OSS is not set

although sndconfig disagrees and says that Im running a kernel with =
modular sound support unavailable.. ack.=20

and finally here's my conf.modules:

alias sound snd-card-cs4232
options snd-card-cs4232 snd_port=3D0x530 snd_cport=3D0x538 snd_irq=3D5 =
snd_dma1=3D1 snd_dma2=3D0 snd_fm_port=3D0x388

Sorry for the long post but im trying to be as detailed as possible. Can =
anyone tell me what Im doing wrong? this is driving me batty..

thanks in advance

-dave

--=_94CE846C.3F5E2CEE
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 content=3D"text/html; charset=3Diso-8859-1" http-equiv=3DContent-Type=
>
<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff=20
style=3D"FONT: 10pt Arial; MARGIN-LEFT: 2px; MARGIN-TOP: 2px">
<DIV>ok so of course I have a breakthrough immediatly after posting to =
the=20
list.&nbsp; I finally found a conf.modules file on the web which did =
something=20
other than write errors.. my conf.modules, now looks like this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>### ALSA sound ###<BR>#<BR># ALSA native device support<BR>#<BR>alias=
=20
char-major-116 snd<BR>options snd snd_major=3D116 snd_cards_limit=3D1=20
snd_device_mode=3D0666 snd_device_gid=3D<BR>0 snd_device_uid=3D0<BR>#<BR>al=
ias=20
snd-card-0 snd-card-cs4236<BR>#<BR>alias sound snd-card-0<BR>options=20
snd-card-cs4236 snd_port=3D0x530 snd_cport=3D0x538 snd_fm_port=3D0x388 =
snd_irq<BR>=3D5=20
snd_dma1=3D1 snd_dma2=3D0 snd_isapnp=3D0 snd_mpu_port=3D0x300 snd_mpu_irq=
=3D9 #=20
snd_dma<BR>1_size=3Dxxx snd_dma2_size=3Dxxx<BR>#<BR># OSS/Free emulation=20=

setup<BR>alias char-major-14 soundcore<BR>alias sound-slot-0 snd-card-0<BR>=
alias=20
sound-slot-1 snd-card-0<BR>alias sound-service-0-0 snd-mixer-oss<BR>alias=
=20
sound-service-0-1 snd-seq-oss<BR>alias sound-service-0-3 snd-pcm-oss<BR>ali=
as=20
sound-service-0-12 snd-pcm-oss<BR>alias snd-minor-oss-0 snd-card-cs4236<BR>=
alias=20
snd-minor-oss-1 snd-opl3<BR>alias snd-minor-oss-3 snd-pcm-oss</DIV>
<DIV>&nbsp;</DIV>
<DIV>alias usb-interface usb-uhci<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>now I am able to play CD's, but Not MP3's.&nbsp; I have tried through =
esd=20
as well as through OSS.. why would this happen?<BR><BR>&gt;&gt;&gt;=20
djosephs@vha.com 06/12/01 02:38PM &gt;&gt;&gt;<BR></DIV>
<DIV>A while Ago I posted about the problems I've been having trying to =
get=20
sound to work on my TP 600e,&nbsp;and im still haveing much the same=20
problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;I updated to a 2.2.17 kernel and made sure to compile in =
sound=20
support. I downloaded and compiled the newest ALSA and the first problem I =
had=20
was that they changed the module name from cs4232 to snd_card_cs4232.&nbsp;=
=20
Second prob was that they changed the parameter syntax in conf.modules =
from=20
"io=3D0x530 irq=3D5 dma=3D1 dma2=3D0" to "snd_port=3D0x530 snd_irq=3D5 =
snd_dma1=3D1=20
snd_dma2=3D0"&nbsp; I changed all these accordingly, but The prob I have =
now is=20
that when I try to load the module I get :<BR><BR>"int_module: Device =
or=20
Resource busy." <BR><BR>So I cat /var/log/messages | grep sound and=20
get:<BR>"snd:CS4232 soundcard#1 not found at 0x530 or device busy"<BR><BR>o=
k..=20
So I cat /proc/ioports and get:<BR>0000-001f : dma1<BR>0020-003f :=20
pic1<BR>0040-005f : timer<BR>0060-006f : keyboard<BR>0080-008f : dma =
page=20
reg<BR>00a0-00bf : pic2<BR>00c0-00df : dma2<BR>00f0-00ff : fpu<BR>0170-0177=
 :=20
ide1<BR>01f0-01f7 : ide0<BR>0240-0247 : cops<BR>0300-031f :=20
3c574_cs<BR>0376-0376 : ide1<BR>03c0-03df : vga+<BR>03f0-03f5 :=20
floppy<BR>03f6-03f6 : ide0<BR>03f7-03f7 : floppy DIR<BR>03f8-03ff :=20
serial(auto)<BR>fcf0-fcf7 : ide0<BR>fcf8-fcff : ide1<BR><BR>Sure enough No =
sound=20
card.... It was here just one kernel ago, Where did it go? </DIV>
<DIV>&nbsp;</DIV>
<DIV>As proof that I compiled in sound support I offer the tail end of =
my=20
.config file from /usr/src/linux:</DIV>
<DIV>CONFIG_SOUND=3Dy<BR># CONFIG_SOUND_CS4281 is not set<BR># CONFIG_SOUND=
_FUSION=20
is not set<BR># CONFIG_SOUND_EMU10K1 is not set<BR># CONFIG_SOUND_ES1370 =
is not=20
set<BR># CONFIG_SOUND_ES1371 is not set<BR># CONFIG_SOUND_MAESTRO is =
not=20
set<BR># CONFIG_SOUND_ESSSOLO1 is not set<BR># CONFIG_SOUND_ICH is not =
set<BR>#=20
CONFIG_SOUND_SONICVIBES is not set<BR># CONFIG_SOUND_TRIDENT is not =
set<BR>#=20
CONFIG_SOUND_MSNDCLAS is not set<BR># CONFIG_SOUND_MSNDPIN is not =
set<BR>#=20
CONFIG_SOUND_VIA82CXXX is not set<BR># CONFIG_SOUND_OSS is not set<BR></DIV=
>
<DIV>although sndconfig disagrees and says that Im running a kernel with =
modular=20
sound support unavailable.. ack. </DIV>
<DIV>&nbsp;</DIV>
<DIV>and finally here's my conf.modules:</DIV>
<DIV>&nbsp;</DIV>
<DIV>alias sound snd-card-cs4232<BR>options snd-card-cs4232 snd_port=3D0x53=
0=20
snd_cport=3D0x538 snd_irq=3D5 snd_dma1=3D1 snd_dma2=3D0 snd_fm_port=3D0x388=
</DIV>
<DIV>&nbsp;</DIV>
<DIV>Sorry for the long post but im trying to be as detailed as possible. =
Can=20
anyone tell me what Im doing wrong? this is driving me batty..</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks in advance</DIV>
<DIV>&nbsp;</DIV>
<DIV>-dave</DIV></BODY></HTML>

--=_94CE846C.3F5E2CEE--

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html