[ltp] Ubuntu on T40: no sound after APM wake

Konstantin Filtschew linux-thinkpad@linux-thinkpad.org
Wed, 12 Jan 2005 01:11:42 +0100


--Signature_Wed__12_Jan_2005_01_11_42_+0100_1Os3.=L3aIz1esF4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

hi,

try this instead of removing all modules:

/usr/sbin/alsactl power off 

and after wake up:

/usr/sbin/alsactl power on


Greetz

Konstantin


On Tue, 11 Jan 2005 15:42:45
-0800 jm@jmason.org (Justin Mason) wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Hi all --
> 
> Anyone running Ubuntu Hoary on a T40 or similar?
> 
> Generally, it's working pretty well, but I've run into one
> wierd thing -- sound doesn't seem to fix itself up after an APM
> suspend/wake cycle, whereas it did under Debian unstable.
> 
> Both were running with a vanilla (non-distro) kernel.
> 
> The following seems to fix it:
> 
>   killall artsd polypaudio esd mixer_applet
>   sleep 1
>   sudo modprobe -r snd snd_intel8x0 snd_ac97_codec snd_pcm_oss \
>     snd_mixer_oss snd_pcm snd_timer soundcore snd_page_alloc
>   sleep 1
>   sudo modprobe sound
>   polypaudio
> 
> 
> but I was wondering if there's a neater fix...
> 
> - --j.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.5 (GNU/Linux)
> Comment: Exmh CVS
> 
> iD8DBQFB5GR0MJF5cimLx9ARAhaUAJ9KVKOhKRIeqxHDjaqKu4pzX2SpRgCfcK71
> ZU3dqpYrNA6wwE8i4dabTBM=
> =4uQt
> -----END PGP SIGNATURE-----
> 
> -- 
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad


------------------------
Building an operation system without source code,
is like buying a  self assemble space shuttle without
instructions.

--Signature_Wed__12_Jan_2005_01_11_42_+0100_1Os3.=L3aIz1esF4
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFB5GtCc0o44ckMUNURApulAJ9ylM1TY/6dAo1ICj52E8Bau6a3/QCfXg5O
WvFBnV1NkHbq6F5AaFU8Zec=
=Xa5t
-----END PGP SIGNATURE-----

--Signature_Wed__12_Jan_2005_01_11_42_+0100_1Os3.=L3aIz1esF4--