mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* SWsuspend in 2.6.9 - sound card does not work
@ 2004-10-27 11:18 Jan Kasprzak
  2004-11-02 21:25 ` Pavel Machek
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kasprzak @ 2004-10-27 11:18 UTC (permalink / raw)
  To: linux-kernel

	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

-- 
| 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 <

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SWsuspend in 2.6.9 - sound card does not work
  2004-10-27 11:18 SWsuspend in 2.6.9 - sound card does not work Jan Kasprzak
@ 2004-11-02 21:25 ` Pavel Machek
  2004-11-02 21:38   ` Jan Kasprzak
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2004-11-02 21:25 UTC (permalink / raw)
  To: Jan Kasprzak; +Cc: linux-kernel

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?
-- 
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SWsuspend in 2.6.9 - sound card does not work
  2004-11-02 21:25 ` Pavel Machek
@ 2004-11-02 21:38   ` Jan Kasprzak
  2004-11-02 21:53     ` Pavel Machek
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kasprzak @ 2004-11-02 21:38 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel

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 <

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SWsuspend in 2.6.9 - sound card does not work
  2004-11-02 21:38   ` Jan Kasprzak
@ 2004-11-02 21:53     ` Pavel Machek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2004-11-02 21:53 UTC (permalink / raw)
  To: Jan Kasprzak; +Cc: linux-kernel

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

Is there any difference between -rc1 and -rc2 snd-atiixp?
									Pavel
-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-02 22:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-27 11:18 SWsuspend in 2.6.9 - sound card does not work Jan Kasprzak
2004-11-02 21:25 ` Pavel Machek
2004-11-02 21:38   ` Jan Kasprzak
2004-11-02 21:53     ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®