Comment 3 for bug 279383

Revision history for this message
Mikaael (mikael-cylinderlabs) wrote : Re: [Bug 279383] Re: Sound dissapears after suspend

Thanks for the info but unfortunately it did not help.After I resume the
eeePc I also have to give my password, if that has anything to do with this
(but probably not).

On Tue, Oct 7, 2008 at 2:30 AM, Carlos Jenkins Pérez <<email address hidden>
> wrote:

> How to fix this:
>
> 1) Create the file: /usr/lib/pm-utils/sleep.d/45sound
>
> cd /usr/lib/pm-utils/sleep.d/
> touch 45sound
>
> 2) Edit it with:
>
> sudo gedit 45sound
>
> And paste this:
>
> #!/bin/bash
> if [ ! -x /sbin/alsa ]; then
> exit 0;
> fi
>
> case "$1" in
> hibernate|suspend)
> /sbin/alsa suspend
> ;;
> thaw|resume)
> /sbin/alsa resume
> ;;
> *)
> ;;
> esac
>
> exit $?
>
> 3) Finally give the execution permission.
>
> sudo chmod +x /usr/lib/pm-utils/sleep.d/45sound
>
> This should fix the problem. gnome-volume-manager will complain
> everytime, but just reload it.
>
> Cheers
>
> --
> Sound dissapears after suspend
> https://bugs.launchpad.net/bugs/279383
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in NiceeePC eeePC automatization script: Confirmed
>
> Bug description:
> Hi,
>
> Thx for a great script.
>
> I used the 1.3 script tu update my clean Ubuntu installation on my 900 and
> as far as I've seen almost everything works fine.
> The system dos not go to suspend when I close the lid so I use the OS
> suspend instead.
> When I wake up the pc I use the on button because it does not start by
> opening the lid.
> I get two errors displayed, kbd and aux something, and when the system has
> restarted it has no sound any more.
>
> The sound icon looks OK and it des not help to toggle mute so I have to
> reboot to get the sound back.
>
> Cheers,
>
> Mikael
>

--
MVH / Regards
Mikael Hedengren

CORPORATE / www.cylinderlabs.com / Cylinder Labs AB, Sommargatan 24, 272 37
Simrishamn, Sweden