Stefan Schmidt
ae81bcdcd5
eeze/sensor: Fix fake module to set timestamp to microseconds since epoch.
...
Seconds is not really a suitable resolution for sensor data read outs. This
also aligns it with the tizen module and the public API.
The sleep is no longer needed in the test program either.
SVN revision: 77191
2012-09-28 09:10:47 +00:00
Stefan Schmidt
33e20cf2a0
eeze/sensor: Be more failure tolerant in example.
...
If the sensor does not exist we should not ask for its properties.
SVN revision: 76918
2012-09-20 15:46:36 +00:00
Stefan Schmidt
ccde4dce02
eeze/sensor: Wehn using sleep() we should include the header for declaration
...
SVN revision: 76865
2012-09-19 13:34:57 +00:00
Stefan Schmidt
535ef37087
eeze: Add sensor API
...
Extend eeze to read out sensor data from various sources with a simple API to
access for application developers. The sensor backends are eina modules. For
now we support a tizen module as well as a fake module for testing.
Modules for plain sysfs on a desktop or other sensor frameworks could get
integrated.
The api is not fixed until 1.8 is out so let me know what you think. Having
small wrappers for all kind of infos like eeze_sensor_light_get or
eeze_sensor_proximity_get are possible but I did not want to bloat the api
from the beginning.
SVN revision: 76825
2012-09-18 14:14:48 +00:00
Carsten Haitzler
28bb07e852
and eezes-scaanner didnt del the polelr it added per device(cdrom one)
...
when the dev is deleted.. crash waiting to happen. in addition it
didnt start a new polelr when it added one again. start one too.
SVN revision: 74263
2012-07-21 09:24:11 +00:00
Carsten Haitzler
e174bc3c99
1. let us not install eeze_scanner in e17's utils dir. really not nice
...
to do that.
2. just use regular ecore-con naming of the socket. it will handle if
someone else has it. no need to do tmpdir and filename stuff by hand.
SVN revision: 74261
2012-07-21 09:11:00 +00:00
Mike Blumenkrantz
96cf95a174
print correct socket file for eeze_scanner when file already exists
...
SVN revision: 73553
2012-07-11 08:42:04 +00:00
Mike Blumenkrantz
06d0a924ba
eeze_scanner now prints debug info when CHANGE events occur
...
SVN revision: 73519
2012-07-10 10:40:59 +00:00
Mike Blumenkrantz
d25753a386
remove log level setting in eeze scanner and efm
...
SVN revision: 73024
2012-06-29 07:57:58 +00:00
Mike Blumenkrantz
dac620ca80
eeze scanner log dom -> ERR
...
SVN revision: 72994
2012-06-28 10:23:11 +00:00
Mike Blumenkrantz
9cff510760
change perms on eeze scanner socket to be readable by all
...
SVN revision: 71951
2012-06-11 14:22:01 +00:00
Mike Blumenkrantz
875ea74374
add helper macro for eeze scanner edd setup
...
SVN revision: 65388
2011-11-18 19:24:01 +00:00
Mike Blumenkrantz
4770057ebe
make all binaries have configure options to disable them
...
SVN revision: 65359
2011-11-18 03:13:33 +00:00
Mike Blumenkrantz
3b29c961f6
fix DSO issue pointed out by Jochen Schröder
...
SVN revision: 65356
2011-11-18 03:13:28 +00:00
Mike Blumenkrantz
f614bbaad7
__UNUSED__
...
SVN revision: 61778
2011-07-26 21:20:30 +00:00
Mike Blumenkrantz
e4e0c27836
fix const warning
...
SVN revision: 61773
2011-07-26 20:36:40 +00:00
Cedric BAIL
afa692034f
eeze: add v4l device discovery.
...
SVN revision: 61410
2011-07-15 17:28:13 +00:00
Mike Blumenkrantz
b0180cdeb9
shuffle signal handler setup and remove job, fix startup file check
...
SVN revision: 60864
2011-06-30 06:49:54 +00:00
Mike Blumenkrantz
87c3fdfe67
add signal handlers
...
SVN revision: 60857
2011-06-30 03:57:49 +00:00
Mike Blumenkrantz
9466b75d4d
make eeze_scanner suid
...
SVN revision: 60856
2011-06-30 03:57:47 +00:00
Mike Blumenkrantz
234b200068
whoops, forgot to actually add the scanner last time
...
SVN revision: 60838
2011-06-29 19:54:39 +00:00
Mike Blumenkrantz
b06075acf2
eeze_scanner seems to finally be complete, have at it
...
SVN revision: 60833
2011-06-29 18:53:40 +00:00
Mike Blumenkrantz
5a886f7c30
fix wording here
...
SVN revision: 59632
2011-05-23 21:56:27 +00:00
Mike Blumenkrantz
1fb3a2469b
huge bugfix patch for eeze 1.0 stuff: I fubared disk detection pretty hard initially, I think this fixes it all
...
SVN revision: 59458
2011-05-17 00:14:44 +00:00
Christopher Michael
685daa2188
Eeze: Fix 'mount_point may by used uninitialized'.
...
SVN revision: 58076
2011-03-24 20:27:55 +00:00
Mike Blumenkrantz
8c29186b5a
sed -i 's/[\t ]\+$//' **/*.{c,h}
...
SVN revision: 57709
2011-03-12 18:41:03 +00:00
Mike Blumenkrantz
6e1be20e6c
+EEZE_UDEV_TYPE_NET, thanks to Clement Battin
...
SVN revision: 57708
2011-03-12 18:39:33 +00:00
Mike Blumenkrantz
fa6231f7f2
fix missing ! because I'm a moron.
...
not backporting because this never gets installed anyway
no changelog update for the same reason
SVN revision: 57497
2011-03-03 15:52:43 +00:00
Mike Blumenkrantz
4697916227
add new option for verbose to print some debug info, parse options a bit better, grab+use fstab mount opts where available
...
SVN revision: 56946
2011-02-11 03:12:34 +00:00
Mike Blumenkrantz
345e17dbfa
demonstrate eeze_disk_mountopts_get for coverage
...
SVN revision: 56883
2011-02-09 21:36:37 +00:00
Mike Blumenkrantz
178cda4124
implement actual handling of mountopts, add utf8 to default mountopts, allow iso automounting in eeze_mount
...
+EEZE_DISK_MOUNTOPT_UTF8 = (1 << 2)
+EEZE_DISK_MOUNTOPT_NOEXEC = (1 << 3)
+EEZE_DISK_MOUNTOPT_NOSUID = (1 << 4)
+EEZE_DISK_MOUNTOPT_REMOUNT = (1 << 5)
+EAPI Eina_Bool eeze_disk_mountopts_set(Eeze_Disk *disk, int opts);
+EAPI int eeze_disk_mountopts_get(Eeze_Disk *disk);
SVN revision: 56879
2011-02-09 21:31:11 +00:00
Mike Blumenkrantz
a2b2f60c07
slightly more descriptive error messages for TAsns who think mount apps magically know where disks should be mounted
...
SVN revision: 56875
2011-02-09 20:44:21 +00:00
Mike Blumenkrantz
259f8aad73
make text output slightly more descriptive to avoid false bug reports
...
SVN revision: 56714
2011-02-04 18:28:01 +00:00
Michael Jennings
5a1858d066
Add spec file. Don't install test program.
...
SVN revision: 56642
2011-02-02 03:12:08 +00:00
Mike Blumenkrantz
516fbcfae6
fix makefiles
...
q66: SPANK SPANK SPANK!
SVN revision: 56386
2011-01-29 21:17:44 +00:00
Mike Blumenkrantz
c9e2fc434e
eeze 1.1 in trunk: disk mounting is now possible
...
SVN revision: 56362
2011-01-29 04:21:53 +00:00
Mike Blumenkrantz
1707697d8a
ecrustified for formatting
...
SVN revision: 55898
2011-01-05 18:46:32 +00:00
Vincent Torri
d8765063db
* fix DSO problem
...
* simplify a bit the autotools
* add the possibility to disable the test
SVN revision: 55499
2010-12-11 17:04:34 +00:00
Davide Andreoli
ebf52e3f5f
Fix stringshare usage in eeze_udev_test
...
SVN revision: 51941
2010-09-07 10:48:25 +00:00
Sebastian Dransfeld
a8fe3f85ec
Don't double loop
...
SVN revision: 51728
2010-08-29 13:46:49 +00:00
Luis Felipe Strano Moraes
2c70f0e1c9
Ops, fixing break done by r50927 (forgot to include these two files).
...
SVN revision: 50928
2010-08-09 14:27:10 +00:00
Mike Blumenkrantz
e48c3cdc31
forgot to commit this earlier
...
SVN revision: 50699
2010-07-31 03:21:55 +00:00
Mike Blumenkrantz
5223f0573d
patch from vtorri for autotools, a couple compile warning shutups
...
SVN revision: 49142
2010-05-22 18:50:27 +00:00
Mike Blumenkrantz
6ad3256a01
completely change directory structure, lib name, includes, don't even bother trying to use this unless your e is the latest version
...
SVN revision: 49129
2010-05-22 07:04:00 +00:00
Mike Blumenkrantz
2e71c06192
BIG change, api break (again).
...
watches now return an int value that can be can be bitwise checked with & to reduce usage of strcmp
overall memory allocation should be less (I think), some related bugs fixed along the way
small memory leak in test app that I'm too lazy/blind to figure out
**this should be the last commit that causes an api break
SVN revision: 49118
2010-05-22 01:55:14 +00:00
Mike Blumenkrantz
e13e6ce071
pretty huge overhaul:
...
test app should be a bit more robust now
udev compat code is done (I think?)
added udev walk functions for easier device checking
fixed some potential segv in cases where errors checking was not complete enough
SVN revision: 49081
2010-05-21 04:11:58 +00:00
Mike Blumenkrantz
db7da9bab1
add event filtering to watches
...
SVN revision: 49045
2010-05-20 04:28:05 +00:00
Mike Blumenkrantz
567664a1a3
massive update. strbuf fixes, new functions, more compat for old udev, updates to test app, version bump, use config.h, split more functions into other files
...
SVN revision: 48935
2010-05-17 02:59:07 +00:00
Mike Blumenkrantz
77fa364241
more eudev->eeze_udev cleanup, add even more legacy udev code (hurgh)
...
SVN revision: 48854
2010-05-14 07:02:50 +00:00
Mike Blumenkrantz
90b028d63c
move/rename all files/functions/variables to eeze_udev for proper namespacing
...
SVN revision: 48845
2010-05-14 05:21:52 +00:00