aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/temperature/tempget.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* e tempget module - mode to using threads instead of tempget binaryCarsten Haitzler (Rasterman)2016-12-011-634/+0
| | | | | | this should reduce mem usage by a sub binary and aso solve the sub shell kill issue too nd still keep the polling of system status out of the mainloop and keep it unblocked.
* Add temperature support for DragonFly BSD.Al Poole2016-11-281-8/+8
| | | | | | | | | | | Reviewers: zmike! Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4432 Notes: last backport before 21.4
* Clean up some header inclusionDerek Foreman2016-04-071-7/+1
| | | | | | | | | | Including certain headers in the wrong order can cause problems if we're configured to use beta api (right now wayland forces this). In most cases we should just be including e.h and not the individual EFL headers anyway. This fixes some of that. fix T3426, T3428
* tempget: Add lm75(4) temperature source for non-x86 FreeBSDConrad Meyer2015-04-141-0/+1
| | | | | | | | | | | | | | Summary: Another suggestion from Dmitry Luhtionov. I am told this sensor (on the i2c bus) is more likely to be present on non-x86 systems (ARM, etc). Reviewers: zmike, q66 Reviewed By: q66 Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D2345
* tempget: Add more temperature sources for FreeBSDDaniel Kolesa2015-04-131-11/+33
| | | | | | | | | | | | | | | | | | | | Summary: Not all motherboards have 'hw.acpi.thermal.tz0.temperature' sensor. Fallback to 'dev.cpu.0.temperature' (provided by coretemp(4) or amdtemp(4)), or 'dev.aibs.0.temp.0' (aibs(4)) (per suggestion of Dmitry Luhtionov). Test Plan: Ran `src/modules/temperature/tempget` manually with some debugging printfs and various sensors commented out. I can only test tz0 and dev.cpu (coretemp(4)) on my system. Reviewers: zmike, q66 Reviewed By: q66 Subscribers: seoz Projects: #enlightenment-git Differential Revision: https://phab.enlightenment.org/D2335
* __UNUSED__ -> EINA_UNUSEDMike Blumenkrantz2015-03-181-1/+1
| | | | this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
* From: Maxime Villard <rustyBSD@gmx.fr>Maxime Villard2012-12-151-11/+2
| | | | | | | | | | Subject: Re: [E-devel] [e] [patch] Leak (was FreeBSD patch) I would also move some {free(x); x = null} to E_FREE. SVN revision: 81023
* fix filedesc leak in tempget when errs happen - based on info fromCarsten Haitzler2012-12-141-14/+14
| | | | | | | | maxime, but written differently. SVN revision: 80914
* some small leaks in tempgetMike Blumenkrantz2012-12-131-7/+4
| | | | SVN revision: 80876
* formatting fx.Carsten Haitzler2012-12-101-1/+2
| | | | SVN revision: 80562
* formatting by requestMike Blumenkrantz2012-12-011-247/+276
| | | | SVN revision: 79962
* E17: fix warning on freebsdVincent Torri2012-12-011-2/+2
| | | | | | | Patch by Maxime Villard (rustyBSD) SVN revision: 79961
* giant header overhaul which removes all the stupid one line function ↵Mike Blumenkrantz2012-11-301-5/+1
| | | | | | prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes SVN revision: 79908
* e/temperature: Support AMD K10 sensor on OpenBSDSebastian Dransfeld2012-11-231-0/+4
| | | | | | | | From #1808 Patch by stsp SVN revision: 79574
* patch from rustyBSD with tempget fixesMike Blumenkrantz2012-11-121-1/+2
| | | | SVN revision: 79136
* more PATH_MAX cleanupsMike Blumenkrantz2012-08-221-1/+1
| | | | SVN revision: 75520
* tempget: Check return values from fgets()Stefan Schmidt2012-05-261-6/+12
| | | | | | Without this checking we might operate on wrong data read in. Better check. SVN revision: 71445
* add eina include to tempget and batgetCarsten Haitzler2011-11-171-0/+1
| | | | SVN revision: 65337
* E17: add temperature module for OpenBSDVincent Torri2011-10-311-1/+60
| | | | | | | Patch by Laurent Fanis <laurent@openbsd.org> SVN revision: 64574
* warnings--Mike Blumenkrantz2011-08-261-1/+4
| | | | SVN revision: 62869
* tempget -> also do /sys.Carsten Haitzler2011-07-241-80/+124
| | | | SVN revision: 61626
* This adds thinkpad support to the temperature module. The temperature isLars Munch2011-01-161-0/+9
| | | | | | | | | accessible through the thinkpad_acpi kernel module. Signed-off-by: Lars Munch <lars@segv.dk> SVN revision: 56192
* close file sooner so we don't leak fdsMike Blumenkrantz2011-01-161-1/+1
| | | | SVN revision: 56153
* Add UNUSED where needed.Christopher Michael2010-08-191-51/+49
| | | | | | | | Fix formatting. SVN revision: 51405
* FORMATTINGLucas De Marchi2010-08-041-4/+0
| | | | | | | | | | | | | | | | * Remove vim modelines: find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \; find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \; * Remove leading blank lines: find . -name '*.[cxh]' -exec sed -i '/./,$!d' If you use vim, use this in your .vimrc: set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0 SVN revision: 50816
* * e: remove warning due to Ecore API change.Cedric BAIL2010-06-241-3/+3
| | | | SVN revision: 49833
* add full udev support for temp module:Mike Blumenkrantz2010-05-201-22/+22
| | | | | | | | | | if e is compiled with eeze as the preferred backend, a new config page will appear in the settings for the temperature module where internal and udev are selectable options. udev mode should support ALL possible hardware, so if you've been having issues with the current temp module, try udev mode! also note that udev mode provides an extra amount of precision for hahas; it also still obeys the configurable polling intervals. please test and report all bugs! SVN revision: 49062
* patch from Ticket #543Carsten Haitzler2010-04-271-2/+3
| | | | SVN revision: 48353
* make clang happySebastian Dransfeld2010-01-151-4/+4
| | | | SVN revision: 45191
* tempget:Vincent Torri2009-12-171-2/+11
| | | | | | | | | | | * small cleanup * allow compilation on opensolaris This modules does not work on opensolaris. I don't know that stuff, so I have no idea of what to do to fix that SVN revision: 44522
* * estickies,Cedric BAIL2009-02-251-45/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | * etk, * PROTO/exalt, * E-MODULES-EXTRA/diskio, * E-MODULES-EXTRA/drawer, * E-MODULES-EXTRA/penguins, * E-MODULES-EXTRA/slideshow, * E-MODULES-EXTRA/mail, * E-MODULES-EXTRA/forecasts, * E-MODULES-EXTRA/iiirk, * E-MODULES-EXTRA/places, * e, * ewl, * ecore, * elitaire, * entrance, * e_dbus, * efreet: Here we go, move from Ecore_List to Eina_List. NOTE: This patch is huge, I did test it a lot, and I hope nothing is broken. But if you think something change after this commit, please contact me ASAP. SVN revision: 39200
* Fix up some nasty formatting :)Christopher Michael2008-11-121-39/+41
| | | | SVN revision: 37591
* temp module patches to make it work again.Carsten Haitzler2008-02-061-8/+85
| | | | SVN revision: 33685
* use -null- to avoid shell parsing stuff with (null)Carsten Haitzler2008-01-221-1/+1
| | | | SVN revision: 33549
* formattingSebastian Dransfeld2008-01-201-2/+2
| | | | SVN revision: 33541
* Remove unused variable.Sebastian Dransfeld2008-01-121-1/+0
| | | | SVN revision: 33459
* and commit tempget.cCarsten Haitzler2008-01-111-0/+410
SVN revision: 33449