Sound problem after suspend. Kernel version 2.3.99-pre3
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 setCONFIG_SOUND_OSS=yCONFIG_SOUND_TRACEINIT=yCONFIG_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 setCONFIG_SOUND_OPL3SA2=y
# CONFIG_SOUND_UART6850 is not set
# CONFIG_SOUND_AEDSP16 is not set
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...
Quoted 66 lines · --- Dave Caswell
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,
davecAppend 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 Midiinterface #1> at
0x330irq 5 dma 1,0Config File set-up
#
# Sound
#CONFIG_SOUND=y
#CONFIG_SOUND_CMPCIis not set
#CONFIG_SOUND_ES1370is not set
#CONFIG_SOUND_ES1371is not set
#CONFIG_SOUND_ESSSOLO1is not set
#CONFIG_SOUND_MAESTROis not set
#CONFIG_SOUND_SONICVIBESis not set
#CONFIG_SOUND_TRIDENTis not set
#CONFIG_SOUND_MSNDCLASis not set
#CONFIG_SOUND_MSNDPINis not setCONFIG_SOUND_OSS=yCONFIG_SOUND_TRACEINIT=yCONFIG_SOUND_DMAP=y
#CONFIG_SOUND_AD1816is not set
#CONFIG_SOUND_SGALAXYis not set
#CONFIG_SOUND_ADLIBis not set
#CONFIG_SOUND_ACI_MIXERis not set
#CONFIG_SOUND_CS4232is not set
#CONFIG_SOUND_SSCAPEis not set
#CONFIG_SOUND_GUSis not set
#CONFIG_SOUND_VMIDIis not set
#CONFIG_SOUND_TRIXis not set
#CONFIG_SOUND_MSSis not set
#CONFIG_SOUND_MPU401is not set
#CONFIG_SOUND_NM256is not set
#CONFIG_SOUND_MAD16is not set
#CONFIG_SOUND_PASis not set
#CONFIG_PAS_JOYSTICKis not set
#CONFIG_SOUND_PSSis not set
#CONFIG_SOUND_SOFTOSSis not set
#CONFIG_SOUND_SBis not set
#CONFIG_SOUND_AWE32_SYNTHis not set
Quoted 10 lines
#
CONFIG_SOUND_WAVEFRONTis not set
#CONFIG_SOUND_MAUIis not set
#CONFIG_SOUND_VIA82CXXXis not set
#CONFIG_SOUND_YM3812is not set
#CONFIG_SOUND_OPL3SA1is not setCONFIG_SOUND_OPL3SA2=y
#CONFIG_SOUND_UART6850is not set
#CONFIG_SOUND_AEDSP16is not set
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com