Permalink
Switch branches/tags
Nothing to show
Commits on Oct 18, 2011
  1. Print message when unloading, add __exit macro

    Lekensteyn committed Oct 18, 2011
    __exit makes the function being executed for dynamic modules only since an exit
    function is not meaningful if statically compiled. It's added for best coding
    practises
Commits on Oct 11, 2011
  1. parse_acpi_args: respect BUFFER_SIZE, do not hardcode it

    Lekensteyn committed Oct 11, 2011
    Replaced the hardcoded size for the arguments list by 2 * BUFFER_SIZE. Twice
    because the method has a maximum length of BUFFER_SIZE. The arguments list is
    not limited by BUFFER_SIZE, but let's assume that the arguments list does not
    grow over BUFFER_SIZE.
  2. parse_acpi_args: show duplicate arg error only once

    Lekensteyn committed Oct 11, 2011
    - Break out of the loop and clear arguments if the buffer is too small for the
      data to fit
    
    - Clarify error message if the temporary buffer is full
Commits on Oct 10, 2011
  1. Protect against buffer overflow on sprintf

    Lekensteyn committed Oct 10, 2011
    - The size of temporary_buffer and result_buffer is set in BUFFER_SIZE
    
    - sprintf is replaced by snprintf where necessary
    
    - The result buffer of an acpi call is truncated and ',' is shown instead of
      '}' when the source result buffer is larger than the target result buffer
Commits on Sep 21, 2011
  1. Merge remote-tracking branch 'origin/master'

    ArchangeGabriel committed Sep 21, 2011
    Conflicts:
    	Makefile
    
    Solved conflicting merge
Commits on Sep 17, 2011
  1. Remove sudo from load target

    Lekensteyn committed Sep 17, 2011
    inserting / removing modules is a privileged task. It's not our job to run is
    as root. Rather, the user should know that (s)he has to run "sudo make load"
    just like "sudo make install"
  2. Make /proc/acpi/call not world-writable

    Lekensteyn committed Sep 17, 2011
    Improper use of ACPI calls may crash or even damage the system, therefore its
    access should be restricted to privileged users only.
Commits on Aug 28, 2011
  1. Cleaned README

    ArchangeGabriel committed Aug 28, 2011
  2. Removed unused files

    ArchangeGabriel committed Aug 28, 2011
Commits on Jun 25, 2011
  1. Merge pull request #9 from avilella/master

    mkottman committed Jun 25, 2011
    multiple additions
  2. Merge github.com:mkottman/acpi_call

    avilella committed Jun 25, 2011
    Conflicts:
    	test_off.sh
Commits on May 1, 2011
Commits on Apr 23, 2011
Commits on Apr 20, 2011
  1. adding query_dsdt.pl

    avilella committed Apr 20, 2011
Commits on Apr 4, 2011
Commits on Mar 23, 2011
Commits on Mar 3, 2011
Commits on Dec 13, 2010
Commits on Dec 6, 2010
Commits on Nov 23, 2010
  1. adding method Samsung Q330

    avilella committed Nov 23, 2010
Commits on Nov 6, 2010
  1. added method Dell Vostro 3500

    avilella committed Nov 6, 2010
Commits on Oct 14, 2010
Commits on Oct 11, 2010
  1. Merge git://github.com/peberlein/acpi_call

    mkottman committed Oct 11, 2010
    Now, the buffer parameters also support the syntax from Pete Eberlein.
  2. added support for buffer parameters

    mkottman committed Oct 11, 2010
    Now, parameters of type ACPI_BUFFER can be passed to acpi_call, using
    the following syntax: bXXXX, where b is the lowercase letter 'b' and
    XXXX is a hex string - a continuous string of characters 0-9A-F, ended
    by a space or end of input. Length of XXXX has to be even (2, 4, ...).
    Example (int, string, buffer):
    
    echo '\_SB.XXX.METHOD 1234 "hello, world" bBAADCODE' > /proc/acpi/call
Commits on Oct 10, 2010
  1. Added Asus 1215N Optimus power control script.

    peberlein committed Oct 10, 2010
    Added M11X R2 power control script.
  2. Added load target to Makefile.

    peberlein committed Oct 10, 2010
    Added buffer arguments and return objects to acpi_call.
    Updated test script.
Commits on Oct 8, 2010
  1. Merge branch 'master' of git://github.com/mkottman/acpi_call

    Pete committed Oct 8, 2010
    Conflicts:
    	test_off.sh
  2. testoff.sh fixes

    Pete committed Oct 8, 2010