[ltp] 600X Sound After Resume

Florian Reitmeir linux-thinkpad@linux-thinkpad.org
Fri, 14 Jul 2006 13:56:08 +0200


On Fre, 14 Jul 2006, Chris Schumann wrote:

> I'm running FC5 on two 600X's that exhibit the same problem: No sound after
> a resume. I know I can rmmod the snd_cs46xx module and modprobe it, but I
> can't do that (even as root) when I'm logged in an X session because it's in
> use. lsmod shows that it's being used by one process, but gives no name.

lsof should give the names of processes...

lsof | grep /dev/snd | awk '{print $2}' | xargs kill
sleep 2
lsof | grep /dev/snd | awk '{print $2}' | xargs kill -9

after that you should be able to remove the module


> As a work-around, I can log out, use a console session and stop and start
> the module. When I log back in, sound is back.
> Is there a way to 1) automate the work-around, 2) fix the driver or 3) use
> some other driver/tool?
> 
> I'm afraid I might miss responses to the list, so please try to copy me.
> I'll post any solution to thinkwiki.

the question is.. after resume, is the soundcard only silent, or do you get
an error when trying to play some music? maybe a
alsactl restore
could do the trick after resume.

-- 
Florian Reitmeir