From: HvR <hvrietsc@yahoo.com>
To: linux-sound@vger.kernel.org
Subject: Re: Sound problem after suspend. Kernel version 2.3.99-pre3
Date: Tue, 28 Mar 2000 05:51:36 +0000 [thread overview]
Message-ID: <marc-linux-sound-95422288524824@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-95419175303519@msgid-missing>
i had the same problems with 2.2.15 i needed the
following presuspend script:
#!/bin/sh
# need to unload sound modules before suspend
# kill any sound makers
killall -9 xmms
killall -9 mpg123
killall -9 mixer_applet
#/usr/bin/esdplay /etc/sysconfig/sounds/presuspend.wav
# kill mouse to quiet sound, seriously
killall -9 gpm
# save soundlevels
/usr/bin/aumix -f /etc/.aumixrc -S
/sbin/ifdown eth0 # free card
/sbin/cardctl eject
/sbin/rmmod opl3
/sbin/rmmod opl3sa2
/sbin/rmmod mpu401
/sbin/rmmod ad1848
/sbin/rmmod sound
/sbin/rmmod soundcore
/sbin/rmmod soundlow
/sbin/rmmod -as
the gpm killing is really necessary without this the
sound module will not unload!!!
then my postsuspend script is:
#!/bin/sh
# what we do after we get back from suspend
/sbin/cardctl insert
/sbin/rmmod opl3 2>/dev/null
/sbin/rmmod opl3sa2 2>/dev/null
/sbin/rmmod mpu401 2>/dev/null
/sbin/rmmod ad1848 2>/dev/null
/sbin/rmmod sound 2>/dev/null
/sbin/rmmod soundcore 2>/dev/null
/sbin/rmmod soundlow 2>/dev/null
# ok now put sound back
modprobe sound
/usr/bin/aumix -f /etc/.aumixrc -L > /dev/null
#/usr/bin/esdplay
/etc/sysconfig/sounds/postsuspend.wav
# restart at daemon it might have lost time
/etc/rc.d/init.d/atd restart
# put 2 button mouse back
/usr/sbin/gpm -t ps/2
good luck...
--- Dave Caswell <davec@apocalypse.org> wrote:
> With kernel version 2.3.99-pre3 sound words until I
> suspend my Toshiba
> Satellite Pro 445CDX, but after resuming it will
> produce no sound.
> This problem came in with the sound clean-ups after
> version 2.3.49.
>
> I've appended what sound related information I've
> got to the end of
> this message.
>
> Thanks,
> davec
>
> Append line in lilo.conf:
> append = "ppa=0x378 parport=0x378,7,3
> opl3sa2=0x370,5,1,0,0x530,0x330 "
>
> Log entries:
>
> Mar 26 14:17:52 krypton kernel: ad1848/cs4248 codec
> driver Copyright (C) by Hannu Savolainen 1993-1996
> Mar 26 14:17:52 krypton kernel: Found OPL3-SA3
> (YMF715)
> Mar 26 14:17:52 krypton kernel: <MS Sound System
> (CS4231)> at 0x534 irq 5 dma 1,0
> Mar 26 14:17:52 krypton kernel: <MPU-401 0.0 Midi
> interface #1> at 0x330 irq 5 dma 1,0
>
>
> Config File set-up
> #
> # Sound
> #
> CONFIG_SOUND=y
> # CONFIG_SOUND_CMPCI is not set
> # CONFIG_SOUND_ES1370 is not set
> # CONFIG_SOUND_ES1371 is not set
> # CONFIG_SOUND_ESSSOLO1 is not set
> # CONFIG_SOUND_MAESTRO 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_OSS=y
> CONFIG_SOUND_TRACEINIT=y
> CONFIG_SOUND_DMAP=y
> # CONFIG_SOUND_AD1816 is not set
> # CONFIG_SOUND_SGALAXY is not set
> # CONFIG_SOUND_ADLIB is not set
> # CONFIG_SOUND_ACI_MIXER is not set
> # CONFIG_SOUND_CS4232 is not set
> # CONFIG_SOUND_SSCAPE is not set
> # CONFIG_SOUND_GUS is not set
> # CONFIG_SOUND_VMIDI is not set
> # CONFIG_SOUND_TRIX is not set
> # CONFIG_SOUND_MSS is not set
> # CONFIG_SOUND_MPU401 is not set
> # CONFIG_SOUND_NM256 is not set
> # CONFIG_SOUND_MAD16 is not set
> # CONFIG_SOUND_PAS is not set
> # CONFIG_PAS_JOYSTICK is not set
> # CONFIG_SOUND_PSS is not set
> # CONFIG_SOUND_SOFTOSS is not set
> # CONFIG_SOUND_SB is not set
> # CONFIG_SOUND_AWE32_SYNTH is not set
> # CONFIG_SOUND_WAVEFRONT is not set
> # CONFIG_SOUND_MAUI is not set
> # CONFIG_SOUND_VIA82CXXX is not set
> # CONFIG_SOUND_YM3812 is not set
> # CONFIG_SOUND_OPL3SA1 is not set
> CONFIG_SOUND_OPL3SA2=y
> # CONFIG_SOUND_UART6850 is not set
> # CONFIG_SOUND_AEDSP16 is not set
>
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
prev parent reply other threads:[~2000-03-28 5:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-27 19:48 Sound problem after suspend. Kernel version 2.3.99-pre3 Dave Caswell
2000-03-28 5:51 ` HvR [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-sound-95422288524824@msgid-missing \
--to=hvrietsc@yahoo.com \
--cc=linux-sound@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox