SWsuspend in 2.6.9 - sound card does not work
Hi all,
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.
Thanks,
-Yenya
Signature · 3 lines
| 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/ |Quoted 2 lines
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 <
Hi!
Quoted 11 lines
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?
Signature · 1 line
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms
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
Signature · 3 lines
| 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/ |Quoted 2 lines
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 <
Hi!
Quoted 14 lines
: > 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?
Quoted 2 lines
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
Is there any difference between -rc1 and -rc2 snd-atiixp?
Pavel
Signature · 2 lines
People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!