[ltp] alsa and pcmcia

J Lentin linux-thinkpad@www.bm-soft.com
Fri, 26 Apr 2002 14:31:53 +0100 (BST)


>Using C4232 kernel driver, the sound on my Thinkpad 600E work very good.
>If I use my 2 PCMCIA cards (3com ethernet adapter and Iomega click) the
>sound work...
>I have installed ALSA 0.5.12a... the sound work but if I put in just 1 of my
>2 PCMCIA cards, the sound not work... just strange noice !
>If I return to CS4232 kernel driver and reboot, all work very good !
>I wish to use ALSA to ibernate and /or suspend my ThinkPad.

I have a 770x, using the Beta version of the Alsa driver.  The problem
sounds suspiciously like hardware resource issues.  My first step would
be to boot up with no PCMCIA cards in, and see what resources your
Soundcard is using, through /proc/interrupts, /proc/ioports, etc.  Then
edit /etc/pcmcia/config (I think, either that or config.opts), either
way, the file should have some lines saying exclude irq..... -- add some
more so that the soundcard's resources are protected from PCMCIA.

Soundcards can also be fussy about interrupts - voodoo happens if you
try to use IRQ 9 with your soundcard, so it's a good thing to avoid.

Are you trying to use plug & play, or set resources manually?

>Besides Thomas Hood on his web page wrote: "The 0.5.10 or later alsa-base
>package includes a file /etc/apm/event.d/alsa which "kill -STOP"s processes
>with sound device files open before a suspend and "kill -CONT"s them after
>resume."
>I have ALSA driver 0.5.12a version but I not found this file !

I did have the scripts around to do this, but I found that it wasn't
actually necessary to shut down the driver when you hibernate my
Thinkpad-

>Can you help me ?
>
>
>
>
>----- The Linux ThinkPad mailing list -----
>The linux-thinkpad mailing list home page is at:
>http://www.bm-soft.com/~bm/tp_mailing.html
>


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