summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Elly Jones [Fri, 6 Apr 2012 17:31:41 +0000 (13:31 -0400)]
[acpi] add OWNERS
TEST=None
BUG=chromium-os:22007
Change-Id: I19560c843c0f42d655ed05617e22c1931d244c55
Signed-off-by: Elly Jones <ellyjones@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/19754
Mario Limonciello [Wed, 22 Jun 2011 13:00:24 +0000 (08:00 -0500)]
Move acpid.conf from init to acpi as it's only used on x86.
BUG=chromium-os:16792
TEST=Build chromeos-acpi on x86, make sure package owns acpid.conf
Change-Id: Ibf338502521f3de08442110d9332faf9e6dc8f7f
Reviewed-on: http://gerrit.chromium.org/gerrit/2983
Tested-by: Mario Limonciello <mario_limonciello@dell.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Scott James Remnant <keybuk@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
Benson Leung [Wed, 1 Sep 2010 00:35:51 +0000 (17:35 -0700)]
Remove lid events and actions.
Power manager now gets this event from the input layer.
This cl is from a batch of related cls for power manager repartitioning:
*3230002 - Remove lid events and actions, acpi
3126026 - Power Manager Repartitioning - power_manager
3169033 - Add powerm.conf - init
3195027 - Added more dbus service constants - libchromeos
3132027 - Add to power_manager ebuild - chromiumos-overlay
BUG=6149
TEST=None
Change-Id: I4ce18fb02793bec494df07bd341207cc944724f0
Signed-off-by: Benson Leung <bleung@chromium.org>
Review URL: http://codereview.chromium.org/3230002
J. Richard Barnette [Thu, 5 Aug 2010 21:13:48 +0000 (14:13 -0700)]
Add LICENSE file
David James [Thu, 24 Jun 2010 22:46:57 +0000 (15:46 -0700)]
Delete power button script, since this is now handled by the power manager.
BUG=chromium-os:4284
TEST=Deleted acpi scripts on device in combination with power manager change.
Review URL: http://codereview.chromium.org/2832024
David James [Mon, 7 Jun 2010 03:53:45 +0000 (20:53 -0700)]
Update action_lid.sh to use new RequestSuspend signal (6 of 7).
Depends on the following change:
- Issue 2701001: Update power manager to support suspend (5 of 7).
BUG=chromium-os:3694
TEST=Emerged to device and tested it with the new power manager change.
Review URL: http://codereview.chromium.org/2626006
Anush Elangovan [Sat, 5 Jun 2010 20:12:29 +0000 (13:12 -0700)]
Setup code review inheritance
Change-Id: I97f31727c4aa6acc7a7d4b8ef0c1bf133d8de722
Darin Petkov [Wed, 19 May 2010 20:02:59 +0000 (13:02 -0700)]
Log time in suspend.
Review URL: http://codereview.chromium.org/2079014
Sameer Nanda [Tue, 27 Apr 2010 22:52:01 +0000 (15:52 -0700)]
Check for lid state being "closed" instead of not "open".
This fixes issue seen on Dell Vostro where the lid state was being
reported as "unsupported" on some occasions.
BUG: http://crosbug.com/2676
TEST: Tested on Dell Vostro and Asus EEEPC
Review URL: http://codereview.chromium.org/1753012
Darin Petkov [Tue, 27 Apr 2010 18:02:18 +0000 (11:02 -0700)]
Log time between network drops -- from online to offline.
Rewrite most of metrics_daemon. Convert to low-level D-Bus API -- this
simplifies the code a little and also allows us to catch the power
state signal. I still suspect we may be abusing D-Bus a little but it
seems to work.
snanda@ -- please review the power state code specifically.
BUG=none
TEST=tested on target platform and arm-generic builds
Review URL: http://codereview.chromium.org/1799001
Daniel Erat [Thu, 22 Apr 2010 00:02:48 +0000 (17:02 -0700)]
acpi: Give WM time to draw xscreensaver window on suspend.
This is just a hacky workaround for a race where we suspend
before the screen gets updated, resulting in the previous
contents being briefly visible on resume. xscreensaver
avoids this in non-compositing setups by syncing with the X
server, but screen updates are asynchronous when compositing
is being used.
BUG=chromium-os:2250
TEST=tried it
Review URL: http://codereview.chromium.org/1690003
Sameer Nanda [Wed, 31 Mar 2010 18:27:37 +0000 (11:27 -0700)]
Added mute key handling to the WM. Also removed ACPI hotkey handler
since all the hotkeys it was handling (volume up, down, mute) are
now handled by the WM.
TESTED: eeepc 1008ha, x200
BUG: 2192
Review URL: http://codereview.chromium.org/1593003
Sameer Nanda [Fri, 19 Mar 2010 22:49:05 +0000 (15:49 -0700)]
Added check to ensure LID is in a closed state before proceeding
with suspend-to-RAM. This is to fix a race condition where if
the LID is reopened instantaneously after being closed, two LID
events get generated (first for LID close and second for LID open).
The second event makes the system go back to sleep since the LID
state is not being checked.
BUG=1961
TEST=manual testing on x200 to make system go to suspend on closing LID
Review URL: http://codereview.chromium.org/1084013
Will Drewry [Tue, 9 Mar 2010 15:51:51 +0000 (09:51 -0600)]
Add support to auto-shutdown on lid close if no one is logged in
Since there should be no background processing going on and boot is fast, we
shouldn't waste battery sleeping when no one is logged in. This is implemented
using simple state files and upstart events. It is simplistic but minimizes
suspend dependencies at the cost of some minor login+lid-close raciness.
As a side benefit, this ensures that if a user types in a passphrase, then
shuts the lid before pressing enter, the password won't stay resident in the
password box for the next person that opens it.
BUG=1780
TEST=none
Review URL: http://codereview.chromium.org/671023
Albert J. Wong [Mon, 8 Mar 2010 20:29:21 +0000 (12:29 -0800)]
Reapply
97758de2adf4eb8c861b66826e890e5c3479e071.
Original description:
Create a pulseaudio upstart job that starts pulseaudio on entrance
into runlevel 2. Also, setup some default client configurations.
Specifically:
1) Disable autospawning by clients. upstart should
spawn the only job.
2) Put the runtime dir in /var/run/pulse instead of
${HOME}/.pulse to work around HOME being reset
during window manager login.
3) Put the state directory in /home/chronos/.pulse
explicitly for the same reason.
4) Add a basic script for first-run volume configuration.
Review URL: http://codereview.chromium.org/661389
TBR=albertb
Review URL: http://codereview.chromium.org/672002
Albert Bachand [Mon, 8 Mar 2010 19:26:48 +0000 (11:26 -0800)]
This reverts commit
97758de2adf4eb8c861b66826e890e5c3479e071.
TBR=ajwong
BUG=none
TEST=build suceeds
Review URL: http://codereview.chromium.org/668272
Albert J. Wong [Mon, 8 Mar 2010 18:51:49 +0000 (10:51 -0800)]
Create a pulseaudio upstart job that starts pulseaudio on entrance into runlevel 2. Also, setup some default client configurations. Specifically:
1) Disable autospawning by clients. upstart should
spawn the only job.
2) Put the runtime dir in /var/run/pulse instead of
${HOME}/.pulse to work around HOME being reset
during window manager login.
3) Put the state directory in /home/chronos/.pulse
explicitly for the same reason.
4) Add a basic script for first-run volume configuration.
Review URL: http://codereview.chromium.org/661389
tedbo [Wed, 3 Mar 2010 04:05:00 +0000 (20:05 -0800)]
Remove some old packaging stuff.
Review URL: http://codereview.chromium.org/660429
Albert J. Wong [Tue, 2 Mar 2010 18:36:31 +0000 (10:36 -0800)]
Add a hack to deal with needing to spawn pulseaudio, and deal with the changes HOME of chronos.
The volume key events need to modify the pulseaudio daemon for the chronos
user. For amixer to identify the right daemon, it needs to run a chronos,
and it needs to know where ~/.pulse is. The "su" handles changing users,
however, depending on what stage you are in login, ${HOME} changes values.
The only other processes that talk to pulseaudio currently happen inside UI
session, where HOME has been overridden to be /home/chronos/user. We
normalize on this value of HOME to avoid starting 2 unrelated daemons.
BUG=1720
Review URL: http://codereview.chromium.org/661352
Sameer Nanda [Mon, 1 Mar 2010 21:46:50 +0000 (13:46 -0800)]
Modified power upstart script to launch laptop-mode tools.
Also added ACPI event handlers for AC adapter state change.
Review URL: http://codereview.chromium.org/660195
Chris Sosa [Mon, 11 Jan 2010 23:40:43 +0000 (15:40 -0800)]
Fix setting of sound with Asus 1008/1005 controls
Review URL: http://codereview.chromium.org/546012
Colin Watson [Tue, 5 Jan 2010 18:22:21 +0000 (18:22 +0000)]
acpi: Switch to new packaging style
Use dh(1).
Review URL: http://codereview.chromium.org/525029
sleffler@google.com [Tue, 24 Nov 2009 21:09:48 +0000 (21:09 +0000)]
remove suspend/resume hack now that mac80211 dtrt
Review URL: http://codereview.chromium.org/436030
git-svn-id: svn://chrome-svn/chromeos/trunk@314
06c00378-0e64-4dae-be16-
12b19f9950a1
sosa@google.com [Thu, 19 Nov 2009 02:06:17 +0000 (02:06 +0000)]
Fix to xscreensaver so that you don't have to press a key twice to show lock
screen
Review URL: http://chromereview.prom.corp.google.com/1188086
git-svn-id: svn://chrome-svn/chromeos/trunk@289
06c00378-0e64-4dae-be16-
12b19f9950a1
tedbo@google.com [Fri, 13 Nov 2009 00:04:19 +0000 (00:04 +0000)]
Add acpi pacakge for our acpi scripts.
This removes the acpi stuff from customize_rootfs and should make it easier
to do more acpi stuff in the future as needed. We still need to figure out
how to handle acpi across different devices.
Review URL: http://chromereview.prom.corp.google.com/1186038
git-svn-id: svn://chrome-svn/chromeos/trunk@220
06c00378-0e64-4dae-be16-
12b19f9950a1