Messages in this thread | | | Date | Tue, 2 Nov 2004 22:38:44 +0100 | From | Jan Kasprzak <> | Subject | Re: SWsuspend in 2.6.9 - sound card does not work |
| |
Pavel Machek wrote: : Hi! : : > I have an Asus M6R laptop (http://www.fi.muni.cz/~kas/m6r/) with ATI IXP : > integrated sound card. Under 2.6.8.1 I was able to use the sound card : > after software suspend (just had to restore mixer settings using alsactl). : > With 2.6.9 the sound card does not work after suspend/restore: No output no : > matter how I change mixer settings, and the playback is not timed properly : > (e.g. when mplayer tries to synchronize audio and video stream, the video : > goes too fast using all CPU time and no output to speakers/phones. : > : > I will do a binary search over 2.6.9-pre patches, but I want to ask : > whether this problem looks familiar to anybody. : > : : Are there any changes in the sound module?
Yes, the difference is between 2.6.9-rc1 (works) and -rc2 (does not work). Removing the snd-atiixp module after resume and inserting it back again helps, but this means killing every app which uses audio interface (so you cannot keep mplayer running over suspend/resume cycle, and gnome-settings-daemon keeps /dev/mixer opened all the time too).
I have tried to add printk() to linux/sound/pci/atiixp.c:snd_atiixp_suspend() and _resume(), but I cannot see it in dmesg(8) output after resume. Maybe those functions are not called at all in 2.6.9-rc2 and newer.
-Yenya
-- | Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> | | GPG: ID 1024/D3498839 Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E | | http://www.fi.muni.cz/~kas/ Czech Linux Homepage: http://www.linux.cz/ | > Whatever the Java applications and desktop dances may lead to, Unix will < > still be pushing the packets around for a quite a while. --Rob Pike < - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |