No applications that I've tried will play sound after a suspend/resume. 

Even if I reboot, play sound OK, suspend/resume...  doing nothing else,
sound is dead...

Everything I check seems "normal".  I even found that kmix will change the
level of the background hiss; both Volume and PCM can change the hiss
level.

So the sound card *is* working and can be controlled, if only hiss.

The problem appears to be between the applications and arts.  

# ll `which soundwrapper`
-rwxr-xr-x    1 root     root          136 Sep 10 11:37
/usr/bin/soundwrapper*

Right...  it's not suid...  that bit won't stick...  probably msec; but
the lack of suid does not affect sound -- only suspend/resume does that.

play /usr/share/sounds/KDE_Startup_new.wav does 'something'**; but takes
longer to return the prompt after suspend/resume (without sound output).

** "$ strace !!" ends like this:
...
getgroups32(0x20, 0x8124008)            = 3
stat64("/usr/bin/sox", {st_mode=S_IFREG|0755, st_size=251608, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [RTMIN], 8) = 0
fork()                                  = 4735
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0
rt_sigaction(SIGINT, {0x807af90, [], SA_RESTORER, 0x40054358}, {SIG_DFL},
8) = 0
wait4(-1,
### pauses here...
[WIFEXITED(s) && WEXITSTATUS(s) == 0], 0, NULL) = 4735
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0
--- SIGCHLD (Child exited) ---
wait4(-1, 0xbffff0cc, WNOHANG, NULL)    = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [RTMIN])
rt_sigaction(SIGINT, {SIG_DFL}, {0x807af90, [], SA_RESTORER, 0x40054358},
8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "", 4931)                     = 0
_exit(0)                                = ?


Turned on debug via CC>Sound>Sound Server, Test Sound does not play
anything; but a few seconds later, a "sound server suspended" dialog
popped up (once).  No other information, if any, is of any help.

Before testing via reboots, I noticed /dev/sound/dspW was listed with
group 'root'; chown pfortin.audio doesn't work on devfs...?  I suspect
this dspW may show up after a lengthy suspend.

The other thing I encounter with suspend/resume is that if the suspend is
more than an hour, like when I travel between NC & SC, the resume will
work; but the next suspend/resume will die a horrible death requiring a
hard reset (no display, all keys dead). If the trip is in town (short
suspend), subsequent suspend/resumes work.

Before somebody shoots from the hip on the last paragraph above, read it
again...  the resume after the long trip is OK; it's the next one that
dies.

Pierre




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to