Re: [Pcihpd-discuss] Re: [patch 2/3] acpiphp: add dock event handling

From: MUNEDA Takahiro
Date: Thu Mar 02 2006 - 06:48:32 EST


At Fri, 24 Feb 2006 09:29:37 -0800,
Kristen Accardi <kristen.c.accardi@xxxxxxxxx> wrote:
>
> I added this because I found that in some laptops the dsdt reported a
> bus present that wasn't actually, so the bus would be added at boot
> time, but the PRT not read if the laptop was booted undocked. Initially
> I tried to get a handle to the existing bus, and then if the bus already
> was added, just call acpi_bus_start() - but this did not cause the PRT
> to be read in this case - the only thing that worked for me was to
> remove the bus and readd it. If there's a better way to handle this,
> I'd appreciate the suggestion.

Hi Kristen,

I'm sorry for my late reply.
I understood the issue which you are encountered. When the
_STA is not defined, acpi assumes that the device is always
there. But actually, the device is not connected. So, when
the device is added, acpi_device structure has already exist.
Is my understanding right?

I've tried to solve this issue. But I could not find better
solution, unfortunately. So I think your idea is good now,

Thanks,
MUNE
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/