[ltp] Need help w/ sound on TP770 RH7.2
Adam Benjamin
linux-thinkpad@www.bm-soft.com
Tue, 29 Jan 2002 21:14:48 -0500 (EST)
You're in luck - I've had to deal with this problem quite a bit on my
TP 770E. I don't know what the real cause of the problem is (and I'm
too lazy to really figure it out.) Here's the poop:
When my laptop first reboots, something about the process leaves the
sound really unhappy. However if I either:
a) suspend, then resume (includes hybernate)
b) unload, then reload the sound modules
then all is well. I don't know why (as I said) but it works. Here's
what I have in a script:
----------------------
#!/bin/sh
sudo rmmod cs4232
sudo modprobe cs4232
----------------------
You could make that a one-liner, but I left it that way out of
visibility (and sudo caches your success for becoming root.) If you
don't understand the whole sudo thing, then just become root and
execute:
rmmod cs4232
modprobe cs4232
Like I said, you can also close the lid, wait for the suspend, and then
open it (assuming you have the bios set to suspend on close.)
I hope that helps,
Adam Benjamin
On Tue, 29 Jan 2002, Daniel Tasch wrote:
> I have a IBM Thinkpad 770 and am having trouble getting sound to work with
> redhat 7.2. I need some help. After I use the redhat sndconfig program
> sound works ok. I get both the audio "Heloooo, this is leeenus ..." and
> the midi piano scale sample played back ok. After this sound works ok
> untill reboot. But after I reboot I only hear the first second or so of
> any audio I try to play. Any help would be appreciated.
>
>
> Here are some items to help diagnose:
>
> I have audio enabled using the DOS ps2 setup program.
>
> Audio: enabled
> Address: 530
> IRQ: 5
> Sounblast Add: 220
> DMA: 0,1
>
> MIDI
> Address: 330
> irq: 9
>
>
> When I use redhat sndconfig no pnp is found. I manually select Crystal
> cs423x sound chip and use:
>
> I/O PORT IRQ DMA 1 DMA 2 MPU I/O MPU IRQ
> 0x530 5 1 0 0x330 9
>
>
> >From lsmod (partial):
>
> Module Size Used by
> cs4232 3968 0
> ad1848 19008 0 [cs4232]
> uart401 6528 0 [cs4232]
> sound 59724 0 [cs4232 ad1848 uart401]
> soundcore 4388 5 [sound]
>
>
> >From dmesg (partial):
>
> ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
> ad1848: No ISAPnP cards found, trying standard ones...
> cs4232: set synthio and synthirq to use the wavefront facilities.
>
>
>
>
>
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html