Date: Fri, 9 Jun 2006 08:20:33 -0400 From: John Baldwin <jhb@freebsd.org> To: freebsd-acpi@freebsd.org Cc: Norikatsu Shigemura <nork@freebsd.org> Subject: Re: FYI: Panasonic Toughbook CF-R4 can suspend/resume Message-ID: <200606090820.33793.jhb@freebsd.org> In-Reply-To: <20060604200834.8db4782c.nork@FreeBSD.org> References: <20060604200834.8db4782c.nork@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 04 June 2006 07:08, Norikatsu Shigemura wrote:
> I confirmed 3rd generation CF-R4 (Panasonic Toughbook/
> Let's Note series, 2006 Spring Model) can suspend/resume:-)
> with following settings.
>
> Add to /boot/loader.conf
> - - - - - - - - - - - - - - - -
> hint.apic.0.disabled="1"
> hint.psm.0.flags="0x2000"
> - - - - - - - - - - - - - - - -
Does it work if you don't disable APIC?
> And, mita-san (mita@FreeBSD.org) has CF-W4 (3rd
> generation). It can suspend/resume:-), too. But Ume-san
> (ume@) has CF-R4(1st generation), it cannot suspend/resume:-(.
> Takahashi-san(nyan@) has CF-R3, same too:-(.
>
> I read /usr/src/sys/i386/i386/io_apic.c, and I'm suprised
> following code:
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> #define TODO printf("%s: not implemented!\n", __func__)
>
> static void
> ioapic_suspend(struct intsrc *isrc)
> {
> TODO;
> }
>
> static void
> ioapic_resume(struct intsrc *isrc)
> {
> ioapic_program_intpin((struct ioapic_intsrc *)isrc);
> }
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> Hum....................
It's actually implemented. However, the atpic isn't being reinitialized on
resume and that's probably the problem.
--
John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606090820.33793.jhb>
