[lkml]   [2009]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[PATCH 0/3] Generic sysfs support for ACPI ALS and other ALS devices
    Hi, all,

    This is the patch set I made to introduce ACPI ALS device driver
    and a generic sysfs I/F for all the ALS devices, like ACPI ALS,
    platform ALS, etc.

    Patch 01 introduces the ACPI ALS device driver.

    Patch 02 introduces ALS sysfs class.
    Two sysfs I/F are created for each ALS device.
    the amount of light incident upon a specified surface area.
    ambient light illuminance to display luminance mappings
    that can be used by an OS to calibrate its ambient light policy
    this is what I got on a test box:
    cat /sys/class/als/als0/mappings
    Illuminance Adjustment
    0 70
    10 73
    80 85
    300 100
    1000 150
     - noting that display luminance adjustment values are specified
    using relative percentages in order simplify the means by which
    these adjustments are applied in lieu of changes to the user’s
    display brightness preference.

    Patch 03 introduces the generic sysfs I/F for ACPI ALS devices.

    Patch 02/03 are RFC patches because I'm not sure if these sysfs I/F are
    generic enough for other ALS devices, and if there is any attribute that
    I missed.
    For example, ACPI ALS has some optional properties like ambient light
    temperature and ambient light color chromaticity, but I'm not sure if
    they should be exported to user spaces via ALS sysfs class.

    Any comments are welcome.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-08-03 11:13    [W:0.028 / U:5.452 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site