summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
kibak.yoon [Tue, 12 Sep 2017 02:23:18 +0000 (11:23 +0900)]
sensor: hal: tw1: fix coding rule violations
Change-Id: I424f765ca19aa6f16ca24dd594ea93bd4c7b7904
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 8 Sep 2017 10:36:05 +0000 (10:36 +0000)]
Merge "sensor: hal: tw1: clean package spec file" into tizen_4.0
kibak.yoon [Fri, 8 Sep 2017 09:50:25 +0000 (18:50 +0900)]
sensor: hal: tw1: clean package spec file
- version 1.0.4
- fix group name
- clean %build section
- clean %install section
- use macro for /usr/lib directory
Change-Id: I6e2bd8b5749571c6a20d34beb7bc2068125c493d
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 8 Sep 2017 08:02:52 +0000 (17:02 +0900)]
sensor: hal: tw1: change readdir_r to readdir
- it should be changed because readdir_r() is deprecated function
- there is no thread issue because it guarantees that it runs in one thread.
Change-Id: I48fd42a49d68d94b1baa4591df32958f28227363
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 19 May 2017 09:26:40 +0000 (18:26 +0900)]
sensor-hal: tw1: remove key-related tags from sensor input devices
Change-Id: Ib7b1340abf13b88ec385bf748a065eccf3320145
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Thu, 20 Apr 2017 04:12:44 +0000 (13:12 +0900)]
Merge branch 'tizen_3.0' into tizen
* tizen_3.0:
sensor-hal: tw1: update the license macro and date
sensor-hal-tw1: initialize member in constructor
Change-Id: If27ddbbd0c4cf1e935be01d852934a6d3a36a70c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Wed, 22 Mar 2017 04:34:11 +0000 (13:34 +0900)]
sensor-hal: tw1: update the license macro and date
Change-Id: Ie3c67e39801fa7dbb3ac75e6f7e1eea5e9b12f80
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Wed, 22 Mar 2017 04:34:11 +0000 (13:34 +0900)]
sensor-hal: tw1: update the license macro and date
Change-Id: Ie3c67e39801fa7dbb3ac75e6f7e1eea5e9b12f80
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Thu, 16 Mar 2017 04:10:46 +0000 (13:10 +0900)]
sensor-hal-tw1: initialize member in constructor
Change-Id: I604ae729e5d6616bb0692347ae1a1e7cf8206473
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
MyungJoo Ham [Wed, 16 Nov 2016 06:10:21 +0000 (15:10 +0900)]
Do Not Use profile macro in 4.0 (trivial)
- This package should not be included in OBS Tizen:non-weaerable projects
if you do not want to build this package in Tizen:non-wearable, not
saying "ExcludeArch" based on profile macro. The profile macro is going
to be obsolste soon in Tizen 4.0.
Change-Id: Ic8f07dd7d306121ec0cfa0685c8447f33bcbe916
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
kibak.yoon [Thu, 30 Jun 2016 02:36:45 +0000 (11:36 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
sensor-hal: tw1: version 1.0.3
sensor-hal-tw1: remove useless config-related xml file
Change-Id: I188827818e76e6bece10d59f4dedd61d32ff0df7
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Thu, 30 Jun 2016 02:33:55 +0000 (11:33 +0900)]
sensor-hal: tw1: version 1.0.3
Change-Id: I61ae555388d8007b14029996abb08568e4b074e0
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Wed, 29 Jun 2016 05:37:15 +0000 (14:37 +0900)]
sensor-hal-tw1: remove useless config-related xml file
- remove sensor.xml.in
- remove useless dependencies
- move sensor device configurations from xml to source code directly
Change-Id: I5d65b78819364ef5322f1bc51fbb53bb6663e204
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 28 Jun 2016 12:58:00 +0000 (21:58 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
sensor-hal: include missing header files for monotonic timestamp
Change-Id: I9d55489ab5e74ab1476465c1937ae7861397cfac
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 28 Jun 2016 10:00:25 +0000 (19:00 +0900)]
sensor-hal: include missing header files for monotonic timestamp
- for using monotonic timestamp, "linux/input.h" has to be included.
Change-Id: I21246e7c95a56c5b524c6d17320a9ab67b50e351
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 24 Jun 2016 01:44:08 +0000 (10:44 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
sensor-hal-tw1: add udev rules for sensor/sensorhub
Change-Id: I28c88b3346b33c7b1c8ee00dd413a618f6a5d3f2
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Mon, 30 May 2016 09:34:35 +0000 (18:34 +0900)]
sensor-hal-tw1: add udev rules for sensor/sensorhub
- update permission/smack rules
Change-Id: Iafa332b60df33e727396b5efccc855344a000047
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Mon, 23 May 2016 06:59:52 +0000 (15:59 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
sensor-hal-tw1: sync with sensor-hal-tm1 HAL
sensor-hal-tw1: multiply HR value and raw_data_unit for the validation check
Change-Id: I8998c3ffc467aab7e1001274a830500573af3c6d
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Wed, 11 May 2016 09:40:58 +0000 (18:40 +0900)]
sensor-hal-tw1: sync with sensor-hal-tm1 HAL
- clean up the code for maintenance.
Change-Id: I0146cfbf84d0398673e12885b1078b221e68c693
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Wed, 11 May 2016 08:42:51 +0000 (17:42 +0900)]
sensor-hal-tw1: multiply HR value and raw_data_unit for the validation check
- although raw_data_unit is not multiplied, there is no problem on tw1.
because raw_data_unit of TW1 HRM sensor is 1.
- this patch is created to reduce mistakes.
Change-Id: I73524477548be1fce7c0eeec2d52414efd1d4e02
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Mon, 25 Apr 2016 09:05:45 +0000 (18:05 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
sensor-hal-tw1: version 1.0.2
sensor-hal-tw1: open data nodes with the read-only permission
sensor-hal-tw1: clean up sensor-hal-tw1 codes
sensor-hal: change char array to structure on receiving iio event
Change-Id: I0b89326354ed5e2450bf3c8f2300c926f914e1b8
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Mon, 25 Apr 2016 09:05:12 +0000 (18:05 +0900)]
sensor-hal-tw1: version 1.0.2
Change-Id: I1db82f037de0d2a282eda256012e19003f66ab04
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 19 Apr 2016 05:13:58 +0000 (14:13 +0900)]
sensor-hal-tw1: open data nodes with the read-only permission
- because sensord doesn't write something to those nodes,
WRITE permission is unnecessary.
Change-Id: I593e9b250399cd1490b34f98d5d0d95cd8b3eda5
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 8 Apr 2016 09:11:30 +0000 (18:11 +0900)]
sensor-hal-tw1: clean up sensor-hal-tw1 codes
* change event_ids to member variable
* move setting monotonic function to util.cpp
* update sensor.xml
Change-Id: I0878b0a164a6ff2b39943177df850f193a773f04
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Wed, 6 Apr 2016 08:30:02 +0000 (17:30 +0900)]
sensor-hal: change char array to structure on receiving iio event
- using structure instead of char array can remove useless memcpy()s.
- furthermore, it can replace the comment.
- this iio function is not used yet, but for the future, it has to be fixed.
Change-Id: Iae2d70e17b3d1fa8853adb57ded92a81ba86b0e9
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 5 Apr 2016 07:46:36 +0000 (16:46 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
sensor-hal-tw1: remove unused functions in accel_device
Change-Id: I88adb373d70da1c361ab4b18f4cd08a905245064
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 5 Apr 2016 07:43:14 +0000 (16:43 +0900)]
sensor-hal-tw1: remove unused functions in accel_device
Change-Id: Id84536b2f5ba19037e4a946679ad9575986b3c88
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 5 Apr 2016 06:38:44 +0000 (15:38 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
sensor-hal-tw1: remove useless code in pressure_device
sensor-hal-tw1: use _ERRNO macro instead of strerror
Change-Id: I1d4a2b6998dfda0643c5db6cb678e6f93a7515ec
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Mu-Woong Lee [Tue, 5 Apr 2016 06:36:20 +0000 (23:36 -0700)]
Merge "sensor-hal-tw1: remove useless code in pressure_device" into devel/tizen_3.0
kibak.yoon [Tue, 5 Apr 2016 06:26:31 +0000 (15:26 +0900)]
sensor-hal-tw1: remove useless code in pressure_device
Change-Id: Ic53b59890e8aea459326f9a9cf3ea1c810da5c58
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 5 Apr 2016 06:24:51 +0000 (15:24 +0900)]
sensor-hal-tw1: use _ERRNO macro instead of strerror
* this macro uses strerror_r() instead of strerror().
Change-Id: I8439e2d86f1a0d4e0aaf95adca3a9641a47575b4
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 5 Apr 2016 01:39:01 +0000 (10:39 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
sensor-hal: tw1: change readdir to readdir_r
sensor-hal: tw1: change strerror to strerror_r
Revert "sensor-hal: tw1: change strerror to strerror_r"
Revert "sensor-hal: tw1: change readdir to readdir_r"
sensor-hal: tw1: change readdir to readdir_r
sensor-hal: tw1: change strerror to strerror_r
Change-Id: I9d87bc1d01b1ec6d45e4eee4c3311d1d57bf8b07
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Mu-Woong Lee [Sun, 3 Apr 2016 04:57:58 +0000 (21:57 -0700)]
Merge "sensor-hal: tw1: change strerror to strerror_r" into devel/tizen_3.0
kibak.yoon [Fri, 1 Apr 2016 13:16:07 +0000 (22:16 +0900)]
sensor-hal: tw1: change readdir to readdir_r
- Although HAL is thread-safe now, but for later, this patch is applied.
- remove the assign statement in while loop
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: Id5d0c3ece1231e216a063cb6978295b5d1960831
kibak.yoon [Fri, 1 Apr 2016 12:59:40 +0000 (21:59 +0900)]
sensor-hal: tw1: change strerror to strerror_r
* use thread-safe function(strerror_r)
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: Ia09a12f6b7732ad49cdf8d1d14d74904b00584ab
kibak.yoon [Fri, 1 Apr 2016 13:27:02 +0000 (22:27 +0900)]
Revert "sensor-hal: tw1: change strerror to strerror_r"
This reverts commit
89c6bd75e0b2ed42b8ec9f82ce426810d7a2e055.
kibak.yoon [Fri, 1 Apr 2016 13:26:56 +0000 (22:26 +0900)]
Revert "sensor-hal: tw1: change readdir to readdir_r"
This reverts commit
05497ff6c919ed714342b5e7bbf3f9f8451fc6db.
kibak.yoon [Fri, 1 Apr 2016 13:16:07 +0000 (22:16 +0900)]
sensor-hal: tw1: change readdir to readdir_r
- Although HAL is thread-safe now, but for later, this patch is applied.
- remove the assign statement in while loop
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 1 Apr 2016 12:59:40 +0000 (21:59 +0900)]
sensor-hal: tw1: change strerror to strerror_r
* use thread-safe function(strerror_r)
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Wed, 16 Mar 2016 01:05:10 +0000 (10:05 +0900)]
sensor-hal-tw1: fix profile about ExcludeArch in spec
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: I48f23a01d3e9a63a6e3d3cefb7c075e5d1a5fc6f
kibak.yoon [Tue, 15 Mar 2016 08:23:59 +0000 (17:23 +0900)]
sensor-plugin-tw1: plugins for tw1
supported sensors on TW1:
accelerometer
gyroscope
light
hrm sensors
pressure
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Jinkun Jang [Tue, 15 Mar 2016 08:15:35 +0000 (01:15 -0700)]
Initial empty repository