Your message dated Thu, 14 Dec 2006 01:59:08 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#402948: No sound on resume from suspend (both to disk and 
ram) (plus solution)
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: powersaved
Version: 0.14.0-5

On resuming from suspends to disk or ram I had no sound on my Inspiron
b130.  This may be a hardware bug, since I have anecdotal evidence that
this happens with the laptops stock install of XP as well.  Regardless
of cause, adding the following snippet to powersaved's resume scripts
has fixed the problem.

## This is a terrible hack for what is probably a bug somewhere else

if [ -x /etc/init.d/alsa-utils ]; then
  /etc/init.d/alsa-utils restart
fi

____________
Nate Eastman



--- End Message ---
--- Begin Message ---
Nate Eastman wrote:
> Package: powersaved
> Version: 0.14.0-5
> 
> On resuming from suspends to disk or ram I had no sound on my Inspiron
> b130.  This may be a hardware bug, since I have anecdotal evidence that
> this happens with the laptops stock install of XP as well.  Regardless
> of cause, adding the following snippet to powersaved's resume scripts
> has fixed the problem.
> 
> ## This is a terrible hack for what is probably a bug somewhere else
> 
> if [ -x /etc/init.d/alsa-utils ]; then
>   /etc/init.d/alsa-utils restart
> fi
> 

Hi Nate,

I hope you understand, that I can't add such a hack to powersaved. The
real solution would be to fix the hardware or the driver. If that is not
possible, we would need a hardware database, where problematic hardware
is listed (plus it's proposed workarounds). So if your hardware is found
in this database, the corresponding action is taken. Maybe HAL will
provide such functionality in the future, but it doesn't atm and I'm
reluctant to add a alsa-utils restart, even for hardware, which doesn't
need it (which is the vast majority).
Luckily for you, powersaved provides proper hooks, for your case:

Open /etc/powersave/sleep, and add "alsa-utils" to the following
variables like:
SUSPEND2DISK_RESTART_SERVICES="alsa-utils"
SUSPEND2RAM_RESTART_SERVICES="alsa-utils"

This should solve your problem. Given the reasoning above and the
proposed solution, I'm closing this bug now.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to