| 1 |
acpitool-0.5.1 - 13-08-2008 |
| 2 |
|
| 3 |
* toshiba.cpp, freq.cpp: |
| 4 |
|
| 5 |
- add #include <string.h>: needed for gcc 4.3.1, reported by Erwan <[email protected]>, Mandriva |
| 6 |
package maintainer. |
| 7 |
- merge various fixes provided by Sergei Trofimovich: removing limit on number of thermal zones, |
| 8 |
fixing memory leaks and adding asserts |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
acpitool-0.5.0 - 24/07/2008 |
| 13 |
|
| 14 |
* 1st version of acpitool that's compatible with kernel >= 2.6.24 : in 2.6.24, the information |
| 15 |
about batteries and AC adapter is moved from /proc/acpi to /sys/class/powersupply. You can still |
| 16 |
have everything in /proc, but in the future, this will dissapear. |
| 17 |
If acpitool finds the information in /proc, it will use that, just like before. Otherwise, it will |
| 18 |
look in /sys/class/... and use that information if found. |
| 19 |
|
| 20 |
* The acpitool -B option is not quite ready yet, but most of it works ;) |
| 21 |
|
| 22 |
* all/most .cpp files: |
| 23 |
|
| 24 |
- add #include <cstdlib> and <cstring>, |
| 25 |
- replace bzero with memset |
| 26 |
to avoid compilation problems on gcc 4.3. Thanks to Martin Michlmayr (http://www.cyrius.com/) and |
| 27 |
Patrice Dumas (Fedora package maintainer) for reporting this. |
| 28 |
|
| 29 |
* new files: ac_adapter.cpp , ac_adapter.h |
| 30 |
|
| 31 |
- split off from acpitool.cpp to keep things manageable |
| 32 |
|
| 33 |
|
| 34 |
acpitool-0.4.7 - 06/02/2007 |
| 35 |
|
| 36 |
* new files: battery.cpp, battery.h, cpu.cpp, cpu.h |
| 37 |
|
| 38 |
- split off from acpitool.cpp to keep things manageable |
| 39 |
|
| 40 |
* cpu.cpp: |
| 41 |
|
| 42 |
- Add support for frequency scaling. CPU info shows current speed, available speeds, governor and driver. |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
acpitool-0.4.6 - 09/08/2006 |
| 47 |
|
| 48 |
* acpitool.cpp : |
| 49 |
|
| 50 |
- CPU info : |
| 51 |
* fix output for Bogomips and C-state usage for everything that looks like an SMP system (Intel Core Duo, |
| 52 |
Pentium 4 with HyperThreading, AMD Opteron, . . .). |
| 53 |
Thanks to John Stembridge (University of Michigan, USA) for reporting this error. |
| 54 |
|
| 55 |
|
| 56 |
acpitool-0.4.5 - 14/02/2006 |
| 57 |
|
| 58 |
* acpitool.cpp : |
| 59 |
|
| 60 |
- CPU info : |
| 61 |
* fixed output for Bogomips (again) for AMD64 cpu's (well, at least the 3500+). |
| 62 |
* added cache size information |
| 63 |
|
| 64 |
- fixed bug causing acpitool to enter an infinite loop when trying to display c-state usage |
| 65 |
for AMD64 3500+ cpu. This should also fix the "0 (nan %)" output seen on cpu's reporting 00000000 usage |
| 66 |
for just 1 C-state (C1). Reported by Samuele Kaplun. |
| 67 |
|
| 68 |
|
| 69 |
acpitool-0.4.4 - 05/02/2006 |
| 70 |
|
| 71 |
* acpitool.cpp : |
| 72 |
|
| 73 |
- fixed "bug" where total battery runtime is calculated even if AC is online (but 1 battery is charging). |
| 74 |
It doesn't really make sense to calculate runtime if AC is online. Bug reported by Markus Melms. |
| 75 |
I should have tested this somewhat better. |
| 76 |
|
| 77 |
|
| 78 |
acpitool-0.4.3 - 29/01/2006 |
| 79 |
|
| 80 |
* acpitool.cpp : |
| 81 |
|
| 82 |
- if 2 batteries are installed, total battery time left is also calculated (estimation based on |
| 83 |
discharging rate of the battery in use). This was a feature request by Markus Melms (Germany). |
| 84 |
|
| 85 |
|
| 86 |
acpitool-0.4.2 - 19/01/2006 |
| 87 |
|
| 88 |
* main.cpp : |
| 89 |
- moved argument parsing from getopt to getopt_long. This allows the use of long options, |
| 90 |
you know, stuff like --version, or --help. This should make acpitool somewhat more idiot-proof |
| 91 |
(some people were very wondered about "acpitool --version" not doing what they expected :). |
| 92 |
So, while I was at it, I implemented the next long options: |
| 93 |
--version, --help, --battery, --Toshiba, --Asus, --wakeup, --cpu, --thermal, --fan |
| 94 |
|
| 95 |
|
| 96 |
acpitool-0.4.2 - 18/01/2006 |
| 97 |
|
| 98 |
* acpitool.cpp : |
| 99 |
|
| 100 |
- received a patch from Niko Ehrenfeuchter (University of Freiburg, Germany), which integrates |
| 101 |
c-state statistics in acpitool (-c option). It allows you to see the usage of the c-states supported |
| 102 |
by your machine. Very nice patch. He even made the effort of reformatting the indentation nicely :) |
| 103 |
|
| 104 |
|
| 105 |
acpitool-0.4.1 - 08/01/2006 |
| 106 |
|
| 107 |
* acpitool.cpp : |
| 108 |
|
| 109 |
- acpitool segfaulted when it found number of thermal zones > 3. Raised to 5 thermal zones now. |
| 110 |
Unfortunately, the person filing the bugreport, did not provide any feedback to confirm this fix. |
| 111 |
I am pretty confident however the fix is OK. If not, let me know. |
| 112 |
|
| 113 |
|
| 114 |
acpitool-0.4.0 - 31/10/2005 |
| 115 |
|
| 116 |
* thinkpad.cpp, thinkpad.h : |
| 117 |
|
| 118 |
- added initial support for IBM Thinkpad ACPI driver, provided by Narayan Desai (mcs.anl.gov). |
| 119 |
Many thanks to Narayan for providing valuable information, testing and adding code to the project. |
| 120 |
|
| 121 |
* main.cpp : |
| 122 |
|
| 123 |
- new option added (-j) : eject Thinkpad ultrabay device |
| 124 |
- adapted -l option : now integrates setting brightness level on Toshiba and Thinkpad laptops |
| 125 |
- adapted -f option : now integrates Toshiba and Thinkpad fan support |
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
acpitool-0.3.0 - 23/10/2005 |
| 130 |
|
| 131 |
* acpitool.cpp : |
| 132 |
|
| 133 |
- CPU info : fixed output for Bogomips and PM capabilities for CPU with very long flags information |
| 134 |
Many thanks to Giuseppe Della Ricca (once again) for reporting and fixing this bug. |
| 135 |
|
| 136 |
* asus.cpp : |
| 137 |
|
| 138 |
- added initial support for Asus ACPI extensions. Many thanks to "ufoalien" (Nicolas Weyland) for providing |
| 139 |
valuable information, testing and adding code to the project. |
| 140 |
|
| 141 |
* main.cpp : |
| 142 |
|
| 143 |
- 5 new options added (-A, -m, -n , -o , -z), all related to the Asus ACPI driver. |
| 144 |
|
| 145 |
* some more minor code cleanups |
| 146 |
|
| 147 |
|
| 148 |
acpitool-0.2.8 - 06/10/2005 |
| 149 |
|
| 150 |
* acpitool.cpp : |
| 151 |
|
| 152 |
- CPU info : added Bogomips (I know, totally useless, but nevertheless cool ;) |
| 153 |
|
| 154 |
- battery : when battery is charging, calculate time as time needed untill battery is charged |
| 155 |
|
| 156 |
- the -e option now also shows CPU and wakeup capable devices information |
| 157 |
|
| 158 |
* main.cpp : |
| 159 |
|
| 160 |
- added a -v option, gives more verbose output when something is not found. Note that |
| 161 |
the -v option only makes sense when used in conjunction with other options. |
| 162 |
|
| 163 |
- Version information is now given by the -V option |
| 164 |
|
| 165 |
* minor code cleanups in most files |
| 166 |
|
| 167 |
|
| 168 |
acpitool-0.2.7 - 03/03/2005 |
| 169 |
|
| 170 |
* acpitool.cpp : |
| 171 |
|
| 172 |
- from Jeremy "Mad Lunatic" Janssens (Belgium) : thermal zone information displayed |
| 173 |
some weird garbish for the 2nd thernal zone of his Fujitsu laptop. Turned out to |
| 174 |
be an error in the looping code which caused interpretation of the wrong files |
| 175 |
for the 2nd thermal zone. Is fixed now. |
| 176 |
|
| 177 |
- battery : capacity loss is displayed only if there do is any capacity loss. |
| 178 |
|
| 179 |
|
| 180 |
acpitool-0.2.7b2 - 24/01/2005 |
| 181 |
|
| 182 |
* acpitool.cpp : |
| 183 |
|
| 184 |
- from Patrick "Padde" (Germany) : description for the -F option was not entirely correct, |
| 185 |
that is, -F1 forces the fan on, but -F0 only switches it off IF it was forced on first, |
| 186 |
not if was switched on by auto mode. Help text is adapted to reflect this. He also |
| 187 |
noted that acpitool works perfectly on his Toshiba Satellite A50, running Gentoo. |
| 188 |
|
| 189 |
|
| 190 |
acpitool-0.2.7b1 - 13/01/2005 |
| 191 |
|
| 192 |
* acpitool.cpp : |
| 193 |
|
| 194 |
- from Alan Pope (UK) : the batteries of his Dell laptop report a remaining capacity higher |
| 195 |
than their last full capacity or their design capacity ! |
| 196 |
This lead acpitool to report funny stuff like 107% battery percentage. To avoid |
| 197 |
this silliness, remaining percentage will be "capped" to 100% if calculation |
| 198 |
yields a value > 100%. |
| 199 |
Making the calculation with the higher remaining capacity as the last full capacity would |
| 200 |
be better, but is impractical since there is no way of "knowing" what the highest remaining |
| 201 |
capacity was. Dell would better start using decent batteries . . . |
| 202 |
|
| 203 |
|
| 204 |
acpitool-0.2.7b1 - 15/12/2004 |
| 205 |
|
| 206 |
* acpitool.cpp : |
| 207 |
|
| 208 |
- more meaningfull error message for Toggle_Wakeup_Device if user has insufficient |
| 209 |
permissions on /proc/acpi/wakeup |
| 210 |
|
| 211 |
|
| 212 |
acpitool-0.2.6 - 28/11/2004 |
| 213 |
|
| 214 |
* added support for trip_points information (ro), shown with option -t. |
| 215 |
|
| 216 |
* added calculation of battery capacity loss, it is computed as the difference between |
| 217 |
the design capacity and the last full capacity of a battery. If you think this is |
| 218 |
wrong, let me know. |
| 219 |
|
| 220 |
* extended CPU information option (option -c) : now also reports power throttling status, |
| 221 |
if the CPU has throttling support. |
| 222 |
|
| 223 |
|
| 224 |
acpitool-0.2.5 - 13/09/2004 |
| 225 |
|
| 226 |
* added initial support for CPU information : type, speed, PM capabilities. |
| 227 |
|
| 228 |
|
| 229 |
acpitool-0.2.4 - 31/08/2004 |
| 230 |
|
| 231 |
* added support for enabling/disabling wakeup devices |
| 232 |
|
| 233 |
* we now use autoconf/automake for compiling, building and installation. |
| 234 |
|
| 235 |
* for all you RPM lovers out there, I included acpitool.spec, generously contributed by Robert Ambrose. |
| 236 |
|
| 237 |
|
| 238 |
acpitool-0.2.3 - 22/08/2004 |
| 239 |
|
| 240 |
* acpitool.cpp : |
| 241 |
|
| 242 |
- fixed really stupid bug that prevented battery status to be calculated if only 1 entry |
| 243 |
is found in /proc/acpi/battery (logical error of mine, mea culpa) |
| 244 |
|
| 245 |
- Do_Fan_Info function rewritten to enumerate all possible entries |
| 246 |
in /proc/acpi/fan, like was done already for AC, THRM and batteries. |
| 247 |
|
| 248 |
- cleaned up unused and/or uninitialised variables |
| 249 |
|
| 250 |
- battery Model_Number and Serial are shown only if non-empty values are found since |
| 251 |
not all batteries seem to report these |
| 252 |
|
| 253 |
- when charging state returns "unknown", report it as "charged" (happens on older kernels) |
| 254 |
|
| 255 |
- a battery is now considered to be absent if it reports it's last full capacity as "unknown" |
| 256 |
(solves a quirk on some Dell laptops that report a 2nd battery as present when there obviously |
| 257 |
isn't one. All values for this battery are then however reported as "unknown"). |
| 258 |
|
| 259 |
- if battery is charged, and present rate returns "unknown", then report 0 for the present rate |
| 260 |
|
| 261 |
* main.cpp : added #include <unistd.h>, on some systems, this is needed to declare |
| 262 |
the getopt function. Without it, compilation breaks on these systems. |
| 263 |
|
| 264 |
* Makefile : added -Wall to compile flags, it catches a lot of warnings |
| 265 |
|
| 266 |
|
| 267 |
acpitool-0.2.2 - 20/08/2004 |
| 268 |
|
| 269 |
* Added support (ro) for wakeup capable devices. Currently available in the |
| 270 |
ACPI patch for kernel 2.6.8 (ACPI version 20040715). |
| 271 |
|
| 272 |
|
| 273 |
acpitool-0.2.1 - 04/08/2004 |
| 274 |
|
| 275 |
* Use Toshiba_Fan function for fan info if Toshiba ACPI is available. |
| 276 |
|
| 277 |
|
| 278 |
acpitool-0.2.1 - 15/07/2004 |
| 279 |
|
| 280 |
* Added support for fan control to the Toshiba ACPI extensions. |
| 281 |
|
| 282 |
* Updated the manpage. |
| 283 |
|
| 284 |
* Fixed a few embarassing typos. |
| 285 |
|
| 286 |
|
| 287 |
acpitool-0.2 - 13/07/2004 |
| 288 |
|
| 289 |
* Added initial support for Toshiba ACPI extensions. |
| 290 |
|
| 291 |
* Added a manpage. |
| 292 |
|
| 293 |
|
| 294 |
acpitool-0.1 - 05/06/2004 |
| 295 |
|
| 296 |
* Initial Release. |
| 297 |
|