lkml.org 
[lkml]   [2004]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interface support
    From
    Date
    On Mon, 2004-09-20 at 18:12 -0500, Dmitry Torokhov wrote: 
    >
    > Hi Anil,
    >
    > I obviously failed to deliver my idea :) I meant that I would like add eject
    > attribute (along with maybe status, hid and some others) to kobjects in
    > /sys/firmware/acpi tree.
    >

    Dmitry,

    See the patch I just posted to acpi-devel and lkml (Subject:
    [PATCH/RFC] exposing ACPI objects in sysfs). It exposes acpi objects as
    you describe. Something simple like:

    # cat /sys/firmware/acpi/namespace/ACPI/_SB/LSB0/_EJ0

    Will call the _EJ0 method on the ACPI device. You can evaluate eject
    dependencies using the _EJD method.

    Alex



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

    \
     
     \ /
      Last update: 2005-03-22 14:06    [W:0.032 / U:65.728 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site