Skip to contentSkip to conversation

snd_trident in 2.6.5 doesn't work after suspending to disk.

DISCUSSION Jakob Lell 3 participants 3 messages Apr 9, 2004 – Apr 13, 2004

lore
Share & tools
lore

Jakob Lell

author
#0 lore raw

Hi,
I'm using Linux 2.6.5 and the driver snd_trident. When I suspend to disk (echo -n 4 > /proc/acpi/sleep) and resume again, the sound driver won't work any more. It will work again after running rmmod snd_trident;modprobe snd_trident. However, to do so I have to kill all programs using sound (i.e. artsd, mplayer,...). Is there any way to make sound work again after suspending without terminating all this programs?

Regards
Jakob Lell

PS:
I'm using the onboard sound chip on my K7SEM motherboard.

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#1 lore raw
Quoted 8 lines · Jakob Lell

Hi,
I'm using Linux 2.6.5 and the driver snd_trident. When I suspend to disk (echo -n 4 > /proc/acpi/sleep) and resume again, the sound driver won't work any more. It will work again after running rmmod snd_trident;modprobe snd_trident. However, to do so I have to kill all programs using sound (i.e. artsd, mplayer,...). Is there any way to make sound work again after suspending without terminating all this programs?

The trident driver does not have suspend/resume code yet.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click

#2 lore raw

At Fri, 9 Apr 2004 13:18:42 +0200 (CEST),

Quoted 12 lines · Jaroslav
Quoted 8 lines · Jakob Lell

Hi,
I'm using Linux 2.6.5 and the driver snd_trident. When I suspend to disk (echo -n 4 > /proc/acpi/sleep) and resume again, the sound driver won't work any more. It will work again after running rmmod snd_trident;modprobe snd_trident. However, to do so I have to kill all programs using sound (i.e. artsd, mplayer,...). Is there any way to make sound work again after suspending without terminating all this programs?

Quoted 1 line

The trident driver does not have suspend/resume code yet.

it does, but IIRC it's untested...

BTW, ACPI suspend on 2.6.x seems problematic with the current ALSA implementation. i'll work on this, too.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click