http://bugzilla.kernel.org/show_bug.cgi?id=2884


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|/proc/acpi/battery/BAT1 not |/proc/acpi/battery/BAT1 not
                   |created on hot-add          |created on hot-add - IBM
                   |                            |T40/T41/R50p




------- Comment #47 from [EMAIL PROTECTED]  2008-10-17 00:05 -------
the "dock" branch is queued for linux-2.6.28:

commit 0a918a9432cc30aede10f904253b66ea6ab485ac
Author: Thomas Renninger <[EMAIL PROTECTED]>
Date:   Sat Oct 11 00:15:04 2008 -0400

    Subject: ACPI dock: Use ACPI_EXCEPTION instead of printk(KERN_ERR

    lenb: stripped patch down to what still applied to new dock.c

    Signed-off-by: Thomas Renninger <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit c5d191b8e531e33b823242f3d2c6b81d765e96dd
Author: Len Brown <[EMAIL PROTECTED]>
Date:   Wed Sep 24 02:53:25 2008 -0400

    dock: Shaohua Li is new maintainer

    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit 8652b00fd6416773f113dab3dfa0d4509def825b
Author: Shaohua Li <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:07:45 2008 +0800

    dock: add 'type' sysfs file

    add a sysfs file to present dock type. Suggested by Holger.

    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit 61b836958371c717d1e6d4fea1d2c512969ad20b
Author: Shaohua Li <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:07:14 2008 +0800

    dock: fix for ATA bay in a dock station

    an ATA bay can be in a dock and itself can be ejected separately.
    This patch handles such eject bay. Found by Holger.

    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit 4be9309d15e88e4a1e4a78deb52eb88c7da38c99
Author: Shaohua Li <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:06:44 2008 +0800

    bay: remove driver, all functions now handled by dock driver

    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit 1253f7aabfebc51446dbec5c8895c5c8846dfe06
Author: Shaohua Li <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:06:16 2008 +0800

    dock: introduce .uevent for devices in dock, eg libata

    dock's uevent reported itself, not ata. It might be difficult to find an
    ata device just according to a dock. This patch introduces docking ops
    for each device in a dock. when docking, dock driver can send device
    specific uevent. This should help dock station too (not just bay)

    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Acked-by: Tejun Heo <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit f730ae1838635a02aa60834762c61566911d004c
Author: Shaohua Li <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:05:45 2008 +0800

    libata: remove functions now handed by ACPI dock driver

    dock driver can handle ata(bay) hotplug now. dock driver already handles
    _EJ0 and _STA, so remove them. Also libata doesn't need register
    notification handler anymore.

    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Acked-by: Tejun Heo <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit 19cd847ab24fefe9e50101ec94479e0400a08650
Author: Zhang Rui <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:05:06 2008 +0800

    ACPI: fix hotplug race

    The hotplug notification handler and drivers' notification handler all
    run in one workqueue.  Before hotplug removes an acpi device, the
    device driver's notification handler is already be recorded to run just
    after global notification handler.  After hotplug notification handler
    runs, acpica will notice a NULL notification handler and crash.

    So now we run run hotplug in another workqueue and wait
    for all acpi notication handlers finish.
    This was found in battery hotplug, but actually all
    hotplug can be affected.

    Signed-off-by: Zhang Rui <[EMAIL PROTECTED]>
    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit 6bd00a61ab63d4ceb635ae0316353c11c900b8d8
Author: Shaohua Li <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:04:29 2008 +0800

    ACPI: introduce notifier change to avoid duplicates

    The battery driver already registers notification handler.
    To avoid registering notification handler again,
    introduce a notifier chain in global system notifier handler
    and use it in dock driver.

    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit db350b084dc2cf816288643861ce07b0562dd723
Author: Shaohua Li <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:03:58 2008 +0800

    dock: add bay and battery hotplug support

    Make the dock driver support bay and battery hotplug.
    They are all regarded as dock, so handling can be unified.

    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit 406f692d0803d73acd3984c1e11719d3a913fd5e
Author: Shaohua Li <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:03:26 2008 +0800

    dock: add _LCK support

    support _LCK method, which is a optional method for hotplug

    lenb: we have not seen _LCK used in the field yet

    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>

commit 82545394e0690aaef446cb262aa5dac0f9c7156e
Author: Shaohua Li <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:02:41 2008 +0800

    dock: fix eject request process (2.6.27-rc1 regression)

    commit 2a7feab28d3fc060d320eaba192e49dad1079b7e introduces a bug.
    My thinkpad actually will send an eject_request and we should follow the
    eject process to finish the eject, otherwise system still thinks the bay
    is present.

    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
commit 8b59560a3baf2e7c24e0fb92ea5d09eca92805db
Author: Shaohua Li <[EMAIL PROTECTED]>
Date:   Thu Aug 28 10:02:03 2008 +0800

    ACPI: dock: avoid check _STA method

    In some BIOSes, every _STA method call will send a notification again,
    this cause freeze. And in some BIOSes, it appears _STA should be called
    after _DCK. This tries to avoid calls _STA, and still keep the device
    present check.

    http://bugzilla.kernel.org/show_bug.cgi?id=10431

    Signed-off-by: Shaohua Li <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to