1. 12 Sep, 2019 1 commit
    • spiiroin's avatar
      [mce-hybris] Enablers for masking hybris plugin features. JB#46746 · e0d23627
      spiiroin authored
      In some cases functionality from mce-plugin-libhybris that works and
      is needed in some devices can cause problems in other devices - for
      example using android hwc2 interface for display blank/unblank purposes
      can interfere with minui based unlock/upgrade UIs on devices that use
      kms/drm instead of legacy frame buffer.
      Make it possible to use configuration files for enabling / disabling
      features implemented in the hybris plugin.
      Keep all features enabled by default.
      Install configuration file that keeps enabled those features that actually
      might be used by mce and disables the rest.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
  2. 17 May, 2019 1 commit
    • spiiroin's avatar
      [mce] Unify license blurbs. JB#33684 · 091d6e7e
      spiiroin authored
      MCE uses LGPL v2.1 (without "or later") license, but due to missing / use
      of different license blurbs this is not always clear enough.
      Replace blurbs referring to "LGPLv2" short form which could be either
      LGPL v2.0 or v2.1 without "or later" with the same blurb that is used
      in mce.c file.
      Similarly add blurb to source files that are missing one altogether.
      Add all authors that can be derived from git logs.
      Update Jolla Ltd. copyright statements to match git activity.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
  3. 08 Aug, 2014 1 commit
  4. 03 Jun, 2014 1 commit
    • spiiroin's avatar
      Control led brightness and color separately · df16f7aa
      spiiroin authored
      Now that the mce libhybris plugin supports controlling led brightness
      separately from led color, make mce utilize it.
      [mce] Control led brightness and color separately. Fixes JB#19788
  5. 27 May, 2014 1 commit
  6. 13 May, 2014 1 commit
    • spiiroin's avatar
      Fix white space issues in mce code base · 9cc0f544
      spiiroin authored
      No functional changes.
      Files where majority of lines are indented with tabulators are changed
      so that every beginning of line uses tabulators for 8 character skips.
      The rest of the files use only space characters for indentation.
      Remove excess empty lines from all source files.
      Make indentation levels uniform within each source file.
      [mce] Fix white space issues in mce code base. Fixes JB#18915
  7. 29 Apr, 2014 1 commit
    • spiiroin's avatar
      Add option to use breathing led patterns · 134be265
      spiiroin authored
      Adds two new runtime configuration values
      * sw breathing enable flag
      * sw breathing battery level limit
      These can be modified with mcetool options
        --set-sw-breathing-limit=<0 ... 100>
      The led patterns that are configured to use the fully on / fully off
      blinking mode supported by the pwm led controller will oscillate
      smoothly along the first half of sine wave.
      For the smooth transitions to work frequent timer wakeups are needed
      and the device can't be suspended. As this will increase the battery
      consumption the sw breathing happens only if breathing is enabled and
      battery level exceeds the limit or the device is connected to charger.
      [mce] Add option to use breathing led patterns. Contributes to JB#17229
  8. 14 Mar, 2014 1 commit
    • spiiroin's avatar
      Handle io watch error conditions gracefully · 7a56637c
      spiiroin authored
      All calls to g_io_add_watch() request error condition reporting, and
      all related callback functions at minimum will not create a virtual
      busyloop by leaving the io watch active and ignoring the error state.
      The mce io monitoring subsystem is modified so that instead of using
      separate io watches for data and error handling + optional error
      recovery callback it now has one io watch that first deals with
      possible errors and then handles possible input via monitor type
      specific logic and enforces delete notification callbacks for making
      clean up at upper level logic. This should allow mce to gracefully
      handle situations like adding/removing bluetooth keyboards.
      [mce] Handle io watch error conditions gracefully
  9. 14 Jan, 2014 1 commit
  10. 12 Aug, 2013 1 commit
  11. 03 May, 2013 1 commit
  12. 30 Apr, 2013 1 commit
    • spiiroin's avatar
      Add support for mce-plugin-libhybris · 42ec99bc
      spiiroin authored
      The mce-hybris module provides interface that can use Android
      libhardware functionality via libhybris if mce-plugin-libhybris
      package is installed on the device.
      [mce] Added support for mce-plugin-libhybris