Re: ACPI on Macbook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Ryan Lortie <desrt <at> desrt.ca> writes:
> I have been working on getting my new Macbook working with Ubuntu dapper
> for suspend.
>[...]
> After this fix I noticed that ACPI was non-functional after reboot.
> This is because the irq9 handler gets disabled with the "nobody cared"
> message.
> 
> This happens because when the machine comes up, irq9 is high
> (level-triggered) but the ACPI code doesn't think it has anything to do.
> It therefore returns IRQ_NONE instead of IRQ_HANDLED and the kernel
> starts ignoring irq9 (preventing ACPI from working).
> 
> I found that the cause of this problem is that when the laptop returns
> from sleep the SCI_EN bit has been cleared.  
> [...]
> Currently in my custom-patched kernel I have a quick outw(1, 0x404); as
> soon as the system comes back from sleep (before re-enabling interrupts,
> even).  This fixes the problem and no spurious irq9's are issued.

Same symptoms for me on an Intel Core Duo Mac Mini (I had filed a bug about it
http://bugzilla.kernel.org/show_bug.cgi?id=6670 ). Ryan's hack does fix it as
well for me; anybody has any clue how to fix that properly ?

Fred.


-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux