public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Hamie <hamish-CM5YN7r2dWBr4tq51QLIbdBPR1lH4CV8@public.gmane.org>
Cc: Alexander Gran
	<alex-4mRm4CWMOdkHuPwBo6/EyUB+6BGkLq7r@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: No APIC interrupts after ACPI suspend
Date: Sun, 27 Jun 2004 21:27:05 +0100	[thread overview]
Message-ID: <40DF2D99.6030704@travellingkiwi.com> (raw)
In-Reply-To: <40DF1D22.2010406-CM5YN7r2dWBr4tq51QLIbdBPR1lH4CV8@public.gmane.org>

Hamie wrote:

> Alexander Gran wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Am Sonntag, 27. Juni 2004 19:57 schrieb Hamie:
>>  
>>
>>> FWIW the sound & networking appear to run fine for a while after
>>> resuming. But I just started a DVD. It ran fine for about 30 seconds 
>>> and
>>> then the sound went. About 30 seconds later the video froze and the app
>>> (xine) has frozen also. (kill -9 time...).
>>>   
>>
>> <>
>> I can confirm that here:
>> after resuming, network completely works (yeah!).
>> Sound doesn't.
>> unloading/reloading the sound driver does not help.
>> USB works jumpy (perhaps 5-10hz)
>> Reloading does the trick for usb.
>>
>
> Since it sounds like a different bug to 2643, (Similiar but the patch 
> that fixes the ethernet doesn't appear to doa  lot for the sound). 
> I've opened a new one... #2965.
>

Seeing as sound was on IRQ5 and the patch for 2643 fixed the ethernet, I added a
(big hack here :) call to 

                acpi_pic_sci_set_trigger(5, acpi_sci_flags.trigger);

in  acpi_pm_finish(u32 state); just after the call to set the IRQ trigger for
the acpi irq... 

Results in (kern.log) 

Jun 27 21:15:28 ballbreaker kernel: ACPI: IRQ9 SCI: Edge set to Level Trigger.
Jun 27 21:15:28 ballbreaker kernel: ACPI: IRQ5 SCI: Edge set to Level Trigger.


and then sound works after resume... Obviously not a very good fix as it won't
fix anything that uses somethign other than IRQ5.

So... What should the correct fix be? Obviously some IRQ's triggers aren't
surviving the resume... But why... The timer (IRQ 0) obviously does... 




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

  parent reply	other threads:[~2004-06-27 20:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-25 10:48 No APIC interrupts after ACPI suspend Matthew Garrett
2004-06-26  0:05 ` Hamie
2004-06-26 16:42 ` [ACPI] " David Eriksson
2004-06-26 18:03   ` Hamie
     [not found]     ` <40DDBA7A.6010404-CM5YN7r2dWBr4tq51QLIbdBPR1lH4CV8@public.gmane.org>
2004-06-27 17:57       ` Hamie
     [not found]         ` <40DF0A98.9040604-CM5YN7r2dWBr4tq51QLIbdBPR1lH4CV8@public.gmane.org>
2004-06-27 18:49           ` Herman Sheremetyev
     [not found]             ` <1088362159.2163.38.camel-l85cmlzfk8I@public.gmane.org>
2004-06-29 21:19               ` Pavel Machek
2004-06-27 18:52           ` Alexander Gran
     [not found]             ` <200406272052.43326-qgpBcDF1kIxsXm07kNcISIFwBlHcXKVlHZ5vskTnxNA@public.gmane.org>
2004-06-27 19:16               ` Hamie
     [not found]                 ` <40DF1D22.2010406-CM5YN7r2dWBr4tq51QLIbdBPR1lH4CV8@public.gmane.org>
2004-06-27 20:27                   ` Hamie [this message]
2004-06-27 22:06                 ` [ACPI] " Karol Kozimor
2004-06-27 19:22               ` Alexander Gran
2004-06-27 16:27   ` [ACPI] " Matthew Garrett
  -- strict thread matches above, loose matches on Subject: below --
2004-06-28  6:20 Li, Shaohua
     [not found] ` <B44D37711ED29844BEA67908EAF36F032D566A-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-06-28  8:48   ` Hamie

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=40DF2D99.6030704@travellingkiwi.com \
    --to=hamish-cm5yn7r2dwbr4tq51qlibdbpr1lh4cv8@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=alex-4mRm4CWMOdkHuPwBo6/EyUB+6BGkLq7r@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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