mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Kasprzak <kas@fi.muni.cz>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: SWsuspend in 2.6.9 - sound card does not work
Date: Tue, 2 Nov 2004 22:38:44 +0100	[thread overview]
Message-ID: <20041102213844.GA13012@fi.muni.cz> (raw)
In-Reply-To: <20041102212539.GC996@openzaurus.ucw.cz>

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 <

  reply	other threads:[~2004-11-02 21:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-27 11:18 Jan Kasprzak
2004-11-02 21:25 ` Pavel Machek
2004-11-02 21:38   ` Jan Kasprzak [this message]
2004-11-02 21:53     ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041102213844.GA13012@fi.muni.cz \
    --to=kas@fi.muni.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®