--- Begin Message ---
tags 679579 + patch
thanks
Hello,
I attached a patch which should fix the bug. I will ask on the Debian mentors
list for a sponsor for a NMU.
With best regards,
Julian Wollrath
diff -Nru powertop-2.0/debian/changelog powertop-2.0/debian/changelog
--- powertop-2.0/debian/changelog 2012-06-30 16:13:48.000000000 +0200
+++ powertop-2.0/debian/changelog 2012-06-30 23:39:17.000000000 +0200
@@ -1,3 +1,10 @@
+powertop (2.0-0.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add package containing the debugging symbols (Closes: #679579)
+
+ -- Julian Wollrath <jwollr...@web.de> Sat, 30 Jun 2012 23:38:09 +0200
+
powertop (2.0-0.2) unstable; urgency=low
* Non-maintainer upload.
diff -Nru powertop-2.0/debian/control powertop-2.0/debian/control
--- powertop-2.0/debian/control 2012-06-26 01:01:00.000000000 +0200
+++ powertop-2.0/debian/control 2012-06-30 23:44:29.000000000 +0200
@@ -24,3 +24,24 @@
information from the kernel into one convenient screen so that you can
see how well your system is doing, and which components are the
biggest problem.
+
+Package: powertop-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: powertop (=${binary:Version}), ${misc:Depends}
+Description: debugging symbols for powertop
+ PowerTOP is a Linux tool that finds the software component(s) that
+ make your laptop use more power than necessary while it is idle. As of
+ Linux kernel version 2.6.21, the kernel no longer has a fixed 1000Hz
+ timer tick. This will (in theory) give a huge power savings because
+ the CPU stays in low power mode for longer periods of time during
+ system idle.
+ .
+ However... there are many things that can ruin the party, both inside
+ the kernel and in userspace. PowerTOP combines various sources of
+ information from the kernel into one convenient screen so that you can
+ see how well your system is doing, and which components are the
+ biggest problem.
+ .
+ This package contains the debugging symbols for powertop.
diff -Nru
powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/changelog.Debian
powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/changelog.Debian
---
powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/changelog.Debian
1970-01-01 01:00:00.000000000 +0100
+++
powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/changelog.Debian
2012-06-30 23:39:17.000000000 +0200
@@ -0,0 +1,289 @@
+powertop (2.0-0.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add package containing the debugging symbols (Closes: #679579)
+
+ -- Julian Wollrath <jwollr...@web.de> Sat, 30 Jun 2012 23:38:09 +0200
+
+powertop (2.0-0.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Drop debian/patches/fix_libnl_version.patch. This patch actually doesn't
+ make any sense and only causes a FTBFS on ia64 since it modifies
+ configure.ac without properly updating the build system afterwards.
+ (Closes: #679629)
+
+ -- Michael Biebl <bi...@debian.org> Sat, 30 Jun 2012 16:13:46 +0200
+
+powertop (2.0-0.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * New upstream version (Closes: #665695, #672555, #652466, #638300)
+ * Build against libnl3 (Closes: #656421)
+ * Add manpage, cherry-picked from upstream sources (Closes: #564847)
+ * Update watch and copyright file (Closes: #650063, #634218)
+ * Bump standards version to 3.9.3 (no changes needed)
+ * Change debian/compat to 9
+ * Add patch to fix issues with building against libnl-3
+ * Change build depencies from libnl2-dev to libnl-3-dev and libnl-genl-3-dev
+ * Drop no longer needed patches fix_prefix_in_manpage.patch,
+ fix_NR_perf_event_open_on_ia64.patch, fix_csstoh_on_sparc
+ * Change priority from optional to extra, hence the problem on the QA page
+ is addressed which states, that there is a override from optional to
+ extra.
+
+ -- Julian Wollrath <jwollr...@web.de> Tue, 26 Jun 2012 01:02:30 +0200
+
+powertop (1.97-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+
+ [ Cyril Brulebois ]
+ * Fix FTBFS with gcc 4.7 by fixing missing <unistd.h> includes
+ (Closes: #667329).
+
+ -- gregor herrmann <gre...@debian.org> Sun, 27 May 2012 14:34:09 +0200
+
+powertop (1.97-2) unstable; urgency=low
+
+ * Fix a build failure on ia64
+ * Add a return(0) at the end of csstoh.c to
+ as sparc seems to defaults to exit code 3
+
+ -- Patrick Winnertz <win...@debian.org> Thu, 17 Mar 2011 16:24:40 +0100
+
+powertop (1.97-1) unstable; urgency=low
+
+ * Imported Upstream version 1.97
+ * Correct watch file to point to the correct place
+ * Switch to source/format 3.0 (quilt)
+ * Bump standards-version to 3.9.1 - no further changes needed
+ * Acknowlegde NMU of Serafeim Zanikolas (Closes: #570662)
+ * Fix build-deps (Added pkg-config, libnl2-dev & libpci-dev)
+ * Fix typo
+ * Remove make uptrans from build as it's not working in 2.0 beta
+ * Remove manpage as the manpage was removed from upstream
+ * Fix path for /var/cache/powertop (remove ${PREFIX})
+
+ -- Patrick Winnertz <win...@debian.org> Fri, 11 Feb 2011 22:05:15 +0100
+
+powertop (1.13-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add missing include to fix FTBFS on ia64 and alpha (Closes: #570662)
+
+ -- Serafeim Zanikolas <s...@debian.org> Fri, 15 Oct 2010 00:07:37 +0200
+
+powertop (1.13-1) unstable; urgency=low
+
+ * New upstream version
+ + Should fix FTBFS an alpha (Closes: #570662)
+ + Fix crash with too long config files (Closes: #589438)
+
+ -- Patrick Winnertz <win...@debian.org> Thu, 29 Jul 2010 11:32:48 +0200
+
+powertop (1.13~pre20100125-1) unstable; urgency=low
+
+ * Package git snapshot from 2010-01-25 (Closes: #563498)
+ - fix reporting of incorrect wattage
+ (Closes: #497929, #558776)
+ - doesn't exit when xterm is resized (Closes: #488973)
+ - show P-states again in some rare cases (Closes: #562516)
+ at least this bug is not longer reproducable with this
+ new version
+ - number of wakeups should be now correct (Closes: #502596)
+ - manpage contains now more informations (Closes: #470498)
+ * remove now unneeded patches and dropped dpatch build system
+ * bumped standards version to 3.8.3, no further changes needed
+ * fix lintian warning about copyright template
+
+ -- Patrick Winnertz <win...@debian.org> Mon, 25 Jan 2010 23:20:55 +0100
+
+powertop (1.11-1) unstable; urgency=low
+
+ * New upstream release
+ + reports now correct wattage (at least for me) (Closes: #497929)
+ * Add patch in order to remove bashism in output (Closes: #509811)
+ * Removed patches as they are now applied upstream:
+ + patches/fix-eof.dpatch
+ + patches/add-support-for-charge_now.dpatch
+ + patches/fix-suggest-usb-autosuspend.dpatch
+ + patches/fix-hal-disable-polling.dpatch
+
+
+ -- Patrick Winnertz <win...@debian.org> Tue, 13 Jan 2009 00:02:01 +0100
+
+powertop (1.10-2) unstable; urgency=high
+
+ * Support batteries that do not report energy_now, by reading change_now.
+ (Closes: #486873, #495638, #495348)
+
+ -- Patrick Winnertz <win...@debian.org> Mon, 01 Sep 2008 20:31:51 +0200
+
+powertop (1.10-1) unstable; urgency=low
+
+ * New upstream version (Closes: #486510)
+ - changed from proc to sys interface (Closes: #462796, #483603)
+ * Build a PO template on package build (Closes: #471852)
+ * spell Linux correctly: Linux (control file)
+ * powertop now quits if it get a EOF (Closes: 458984)
+ * Updated watch file (Closes: #486509)
+ * Removed usb patch, source has changed completely. hopefully it was fixed
+ by upstream.
+
+ -- Patrick Winnertz <win...@debian.org> Mon, 16 Jun 2008 23:55:10 +0200
+
+powertop (1.9-2) unstable; urgency=low
+
+ * Changed my maintainer address
+ * Bumped Standards-Version to 3.7.3.
+ * Instead of using /dev/scd0 as disk drive use /dev/cdrom for
+ hal-disable-polling (Created patch fix-hal-disable-polling.dpatch)
+ (Closes: #443594)
+ * This time fix really the usb autosuspend issue. (Closes: #444817)
+ * Add a Homepage field to control.
+
+ -- Patrick Winnertz <win...@debian.org> Sun, 16 Dec 2007 23:33:32 +0100
+
+powertop (1.9-1) unstable; urgency=low
+
+ * Packaging new upstream release. (Closes: #451370)
+ * Fix the wrong implementation of usb autosuspend (Closes: #444817)
+
+ -- Patrick Winnertz <patrick.winne...@skolelinux.org> Thu, 22 Nov 2007
13:17:38 +0100
+
+powertop (1.8-1) unstable; urgency=low
+
+ * Packaging new upstream release.
+ * Correct the dependency to laptop-mode-tools. (Closes: #438616)
+ * Correct the command line syntax of hal-disable-polling (Closes: #435882)
+ * Allow powertop to build on all archs since some information are still
+ there (wakeup counts).
+
+ -- Patrick Winnertz <patrick.winne...@skolelinux.org> Mon, 20 Aug 2007
22:23:53 +0200
+
+powertop (1.7~svn-r227-3) unstable; urgency=low
+
+ * debian/control:
+ + Changed the `arch" field to: `i386 amd64 ia64'. (Closes: #435972)
+ * debian/copyright:
+ + Fixed the license related issue, updated to just GPL2 including the
+ license address to `/usr/share/common-licenses/GPL-2'. (Closes: #436367)
+
+ -- Jose Luis Rivas <ghostba...@gmail.com> Thu, 16 Aug 2007 23:01:09 -0400
+
+powertop (1.7~svn-r227-2) unstable; urgency=low
+
+ * Thanks to Krzysztof Burghardt for the new package release, but
+ remove him as co-maintainer, as he is none after all
+
+ -- Patrick Winnertz <patrick.winne...@skolelinux.org> Fri, 13 Jul 2007
20:39:21 +0200
+
+powertop (1.7~svn-r227-1) unstable; urgency=low
+
+ * New co-maintainer
+ * New upstream (closes: #429305, #430035, #427345)
+ * Moved binary to /usr/sbin as it need to be run by root (closes: #427548)
+ * debian/copyright:
+ + changed a bit to fulfill standard look
+
+ -- Krzysztof Burghardt <krzysz...@burghardt.pl> Sat, 23 Jun 2007 20:30:02
+0200
+
+powertop (1.5-2) unstable; urgency=low
+
+ * debian/control:
+ + Two leading spaces for Homepage (Closes: #426606)
+ * debian/changelog:
+ + Fixed typo on "Cooperation" now "Corporation" (Closes: #426605)
+
+ -- Jose Luis Rivas <ghostba...@gmail.com> Wed, 30 May 2007 08:46:08 -0400
+
+powertop (1.5-1) unstable; urgency=low
+
+ * New upstream release available (Closes: #426507)
+ * Adding Build-Depends: libncursesw5-dev since powertop fails to build
without it.
+ * Modified debian/copyright:
+ - added (c) 2007 Intel Corporation
+ - powertop is licensed under GPL v2 (added v2)
+
+ -- Patrick Winnertz <patrick.winne...@skolelinux.org> Tue, 29 May 2007
13:43:06 +0200
+
+powertop (1.4-2) unstable; urgency=low
+
+ [ Jose Luis Rivas ]
+ * debian/control:
+ + Fixed the Homepage field (Closes: #426205)
+ + Modified the uploader name to "Jose Luis Rivas"
+
+ [ Patrick Winnertz ]
+ * Fixed FTBFS, by depending on libncurses5-dev (Closes: #426235)
+ * Uses $(CURDIR) instead of `pwd` in rules.
+ * Upload sponsored by Petter Reinholdtsen
+
+ -- Patrick Winnertz <patrick.winne...@skolelinux.org> Sun, 27 May 2007
17:59:38 +0200
+
+powertop (1.4-1) unstable; urgency=low
+
+ * New upstream release
+ * Now powertop uses the full width of a terminal. (Fixed by upstream)
+ (Closes: #423735)
+ * Changed the destdir in debian/rules so that the locale files are installed
correctly
+ to debian/powertop/usr/share/locale/:
+ - DESTDIR=debian/powertop --> DESTDIR=`pwd`/debian/powertop
+ * Upload sponsored by Petter Reinholdtsen
+
+ -- Patrick Winnertz <patrick.winne...@skolelinux.org> Sat, 26 May 2007
17:24:27 +0200
+
+powertop (1.3-1) unstable; urgency=low
+
+ * New upstream release (Closes: #425498)
+ * Suggests cpufrequtils (Closes: #423986)
+ * Clean up debian/rules:
+ - removes simple-patchsys.mk since it not used
+ - remove the installation of the manpage since we now use debian/manpages
+ ( Thanks to Jose )
+
+ -- Patrick Winnertz <patrick.winne...@skolelinux.org> Fri, 25 May 2007
16:48:52 +0200
+
+powertop (1.2-1) unstable; urgency=low
+
+ * New upstream release available.
+ * Took the package from pere, and added me as Maintainer and Jose Luis
+ Rivas Contreras into the Uploader field.
+ * Removed the manpage from the debian-dir since it is now upstream and
adjusted
+ the install command in debian/rules.
+ * Removed the makefile patch, since it is now upstream
+
+ -- Patrick Winnertz <patrick.winne...@skolelinux.org> Wed, 16 May 2007
12:35:58 +0200
+
+powertop (1.1-3) unstable; urgency=low
+
+ * Add watch file written by Ralf Meyer for Ubuntu. Removed
+ most of the examples.
+
+ -- Petter Reinholdtsen <p...@debian.org> Mon, 14 May 2007 08:08:24 +0200
+
+powertop (1.1-2) unstable; urgency=low
+
+ * Add powertop(1) manual page. Written by Carlo
+ Segre. (Closes: #423607)
+
+ -- Petter Reinholdtsen <p...@debian.org> Sun, 13 May 2007 21:13:00 +0200
+
+powertop (1.1-1) unstable; urgency=low
+
+ * New upstream release.
+ * Rewrite debian/rules to use cdbs and simple-patchsys.
+ * Change section from x11 to utils. It make more sense
+ for this tool.
+ * Rewrite 10_makefile.patch as most of the changes are
+ included upstream.
+
+ -- Petter Reinholdtsen <p...@debian.org> Sun, 13 May 2007 12:10:15 +0200
+
+powertop (1.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #423504)
+
+ -- Petter Reinholdtsen <p...@debian.org> Sat, 12 May 2007 23:13:05 +0200
+
diff -Nru powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/copyright
powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/copyright
--- powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/copyright
1970-01-01 01:00:00.000000000 +0100
+++ powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/copyright
2012-06-12 16:42:57.000000000 +0200
@@ -0,0 +1,108 @@
+This package was debianized by Petter Reinholdtsen <p...@hungry.com> on
+Sat May 12 23:22:21 CEST 2007.
+
+It was downloaded from https://01.org/powertop/
+
+Upstream Author:
+
+ Arjan van de Ven <ar...@linux.intel.com>
+
+Copyright:
+
+ Copyright 2010 Intel Corporation
+
+License:
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation version 2 of the License.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The files pevent/* are Copyright 2009, 2010 Red Hat Inc, Steven Rostedt
+<srost...@redhat.com>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General Public
+License can be found in `/usr/share/common-licenses/LGPG-2.1'.
+
+The file src/perf/perf_event.h is Copyright by 2008-2009 Thomas Gleixner
+<t...@linutronix.de>; 2008-2009 Red Hat, Inc., Ingo Molnar;
+2008-2009 Red Hat, Inc., Peter Zijlstra; 2010 Intel Corporation
+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation version 2 of the License.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The files src/tuning/iw.* are Copyright 2007, 2008 Johannes Berg
+<johan...@sipsolutions.net>; 2007 Andy Lutomirski; 2007 Mike Kershaw;
+2008-2009 Luis R. Rodriguez
+
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+The file src/tuning/nl80211.h is Copyright 2006-2010 Johannes Berg
+<johan...@sipsolutions.net>; 2008 Michael Wu <flaming...@sourmilk.net>;
+2008 Luis Carlos Cobo <lui...@cozybit.com>; 2008 Michael Buesch
+<m...@bu3sch.de>; 2008, 2009 Luis R. Rodriguez <lrodrig...@atheros.com>;
+2008 Jouni Malinen <jouni.mali...@atheros.com>; 2008 Colin McCabe
+<co...@cozybit.com>
+
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+The Debian packaging is copyrighted 2007, Petter Reinholdtsen
<p...@hungry.com> and
+is licensed under the GPL, see above.
diff -Nru powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/README
powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/README
--- powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/README
1970-01-01 01:00:00.000000000 +0100
+++ powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/README
2012-05-04 19:44:29.000000000 +0200
@@ -0,0 +1,121 @@
+
+
+
+Building & Installing PowerTOP
+------------------------------
+
+To build and install PowerTOP type the following commands,
+ ./autogen.sh
+ ./configure
+ ./make
+ ./make install
+
+Note: For Android (running Intel Architecture ) there is a Android.mk
+that was provided by community members, and at this time is supported
+ mostly by community members.
+
+Build dependencies
+------------------
+
+PowerTOP uses C++, and expects g++ and libstdc++ to be functional
+along with a glibc/pthreadsi, autoconf, automake, and libtool in the
+development environment.
+
+
+in addition to that, PowerTOP requires the following components:
+
+pciutils-devel
+ncurses-devel
+zlib-devel
+libnl-devel
+
+
+Kernel Parameters:
+------------------
+
+PowerTOP needs some kernel config options enabled in order function properly.
+As of linux-3.3.0 these are (list probably incomplete):
+
+CONFIG_NO_HZ
+CONFIG_HIGH_RES_TIMERS
+CONFIG_HPET_TIMER
+CONFIG_CPU_FREQ_GOV_ONDEMAND
+CONFIG_USB_SUSPEND
+CONFIG_SND_AC97_POWER_SAVE
+CONFIG_TIMER_STATS
+CONFIG_PERF_EVENTS
+CONFIG_PERF_COUNTERS
+CONFIG_TRACEPOINTS
+CONFIG_TRACING
+CONFIG_EVENT_POWER_TRACING_DEPRECATED
+ACPI_PROCFS_POWER
+
+The patches in the patches/ sub-directory are required for PowerTOP to function
+fully.
+
+
+
+Outputting a report
+-------------------
+When invoking PowerTOP without arguments, PowerTOP starts in interactive mode.
+However, for reporting bugs etc there is a special reporting modes:
+
+For an HTML formatted report simply execute PowerTOP with the following,
+
+powertop --html
+
+which will create a "powertop.html" file which is static and can be sent to
+others to help diagnose power issues. Additionally has the feature of showing
+the tunables executions withing the report as a reference.
+
+Note for the developers: If you make changes on the report format please
+make sure that the output can be cleanly validated by the W3C Markup
+Validation Service and W3C CSS Validation Service:
+ * http://validator.w3.org/#validate_by_upload
+ * http://jigsaw.w3.org/css-validator/#validate_by_upload
+
+For a CVS formatted report, simply execute PowerTOP with the following,
+
+Powertop --csv
+
+which will create a âÂÂpowertop.csvâ file which is static and can be
used in
+reporting, diagnoses, and analytical data analysis.
+
+Also you can set the number of iterations, and duration of test, in which case
+all reports will time stamp for you.
+
+Calibrating & Power Numbers
+---------------------------
+PowerTOP will, when running on battery, track your power consumption as well
+as your activity on the system. Once there are sufficient such measurements,
+PowerTOP can start to report power estimates for various activities.
+You can help get this estimation more accurate by running a calibration
+cycle:
+
+powertop --calibrate
+
+at least once; this will cycle through various display brightness levels
+(including "off") as well as USB device activities and some other workloads.
+
+
+Code from other open source projects
+------------------------------------
+PowerTOP contains some code from other open source projects; we'd like to
+thank the authors of those projects for their work.
+Specifically PowerTOP contains code from
+
+Parse Event Library - Copyright 2009, 2010 Red Hat Inc Steven Rosted
<srost...@redhat.com>
+nl80211 userspace tool - Copyright 2007, 2008 Johannes Berg
<johan...@sipsolutions.net>
+
+
+Extech Power Analyzer / Datalogger support
+------------------------------------------
+I use, and our analysis teams use, the Extech Power Analyzer/Datalogger
+(model number 380803) quite a lot, and PowerTOP supports using this
+device over the serial cable. Just pass the device node on the command line
+like this
+
+powertop --extech=/dev/ttyUSB0
+
+(where ttyUSB0 is the devicenode of the serial-to-usb adapter on my system)
+
diff -Nru powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/TODO
powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/TODO
--- powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/TODO
1970-01-01 01:00:00.000000000 +0100
+++ powertop-2.0/debian/powertop-dpg/usr/share/doc/powertop-dpg/TODO
2012-05-04 18:03:54.000000000 +0200
@@ -0,0 +1,89 @@
+
+
+
+
+Needed between beta and 2.0 final
+----------------------------------
+
+
+* MUST use the 2.6.38 new stable tracepoints where available
+* we're somehow broken on 64 bit. again.
+* more translations / strings
+* end user documentation
+* investigate tick_sched_timer and why it wakes up
+* find if we can do more detailed reporting about tasklet(softirq)
+ * deal with tasklets -- needs kernel patch
+* device events/sec into the process view
+* USB urbs as events/sec counter
+* check various tunables (see powertop 1.x) into a tunable checklist
+ - needs porting over of all the powertop 1.x tunables:
+ - hpet timer? (is that still relevant?)
+ - tv out??
+ - noatime
+* pretty print estimate to only do 2 decimal places instead of 3
+
+
+
+postponed to 2.1
+----------------
+* delta mode (Tony)
+* audio calibration? Need appropriate sample
+* have a "show me my process" page
+
+done
+----
+* on NHM, cpu P state stats accumulate and don't reset at measurment time
+* rescan for USB devices each measurement
+* brightness calibration
+* rfkill calibration
+* wakeup calibration
+* disk calibration
+* in learning, find the biggest delta and only adjust that parameter, not
+ all of them as they go
+* in learning, try slightly lower base power
+* display device power in power top 20
+* find out why CPU power and sum of components doesn't add up
+* exclude xorg/etc from wakeup blame backcounting
+* GPU ops in interrupt context -> do not account special ?
+* try to see if we can account graphics ops done by X to the guy who woke up
+ X
+* don't save measurements < 5 seconds
+* auto save every 10 or so measurements
+* between 500 - 1000 measurements, start replacing (at random) existing ones
+ with a hard cap at 1000
+* network interfaces as device
+* network interfaces -- packet counters as events
+ from /proc/net/dev
+* identify kernel threads in the process list for visual differentiation
+* deal with the "no measurements" case better with default values
+* add device runtime PM stats for pci, spi and i2c
+* looks like events/sec keep adding up for processes
+* Readable PCI names for runtime PM pci devices
+* debug why wakeups sometimes go to all 0's
+ -looks like I fixed it, keep an eye on it
+* pretty print estimates to only show 2 significant places cleanly
+* pretty print various kernel pieces
+* deal with debugfs not being in /sys/kernel/debug
+* if you plug in the AC during a run, the battery code is not detecting that
+* status bar at the bottom
+* health report (reporting mode, not interactive) needs to include devices
that don't support runtime PM
+* for unknown USB devices, list VID/PID
+* move the 2 data files somewhere sane
+* inode dirty trace point
+* find out why CPU %age and C state C0 %age don't mesh sometimes
+* "report" mode
+* detect missing kernel options for PERF / too old kernels and report
+ something helpful to the user
+* detect not running as root and exit gracefully
+* usage documentation / readme sufficient for people to get going
+* internationalization!
+* show "enter" is a toggle key in the tunables tab
+* lsof to show who is keeping the audio busy
+* Add battery time left estimation back
+* there is a filedescriptor leak! -- or so it seems. Can't reproduce the
+ report anymore
+* find "underlying device" and group power by that in the overview
+* htmlize UTF8 mu
+* fix memory leaks
+ -- growth in memory seems to not be there.. it's just exit leaks...
+ yawn.
diff -Nru powertop-2.0/debian/rules powertop-2.0/debian/rules
--- powertop-2.0/debian/rules 2012-05-28 18:39:50.000000000 +0200
+++ powertop-2.0/debian/rules 2012-06-30 23:38:04.000000000 +0200
@@ -5,3 +5,4 @@
DEB_MAKE_INSTALL_TARGET = install BINDIR=/usr/sbin
DESTDIR=`pwd`/debian/powertop
DEB_MAKE_EXTRA_ARGS =
+DEB_DH_STRIP_ARGS := --dbg-package=powertop-dbg
--- End Message ---