summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
SangYoun Kwak [Wed, 22 Jan 2025 10:50:05 +0000 (19:50 +0900)]
sensorhub: Fix parameter of member function of sensorhub_sensor
'get_data' is a member function of sensorhub_sensor class and its second
parameter is 'size_t *' but it was not changed from 'int *' by mistake.
To fix this issue, passing parameter is fixed.
Change-Id: I9e9f7a14f000efb95f759352d2dd16d6c76b72cb
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Tue, 24 Dec 2024 07:14:48 +0000 (16:14 +0900)]
Change C++ class to C structure of functions for sensor devices
The hal interface between backend and api is changed to use C functions
rather than giving C++ object directly.
To accomplish that, codes are changed as below:
* Functions for api calls are added
* Device id is added to distinguish between the target sensor devices.
Device id is required since it is hard to know which device should be
used for a random api call.
Change-Id: Iaf474e4a7dfcb596995d95fb3bd96a25444d7c34
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Fri, 3 Jan 2025 07:12:55 +0000 (16:12 +0900)]
Modify to install udev rules under /hal/lib
The udev rules should be installed under /hal/lib since it has no
dependency on architectures.
To install udev rules under /hal/lib, "/hal/lib" is used instead of
%{buildroot}.
Change-Id: I7ab907d9d4fcc282d09bcc1abcf73037aa7d20df
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Wed, 3 Jul 2024 07:35:20 +0000 (16:35 +0900)]
Modify to use hal_backend_sensor_funcs allocated from caller
With HAL ABI versioning, the hal_backend_sensor_funcs, which is a
container of sensor backend functions is allocated from hal-api-sensor.
Thus, it is modified to use hal_backend_sensor_funcs allocated from the
caller(hal-api-sensor).
Change-Id: I6ad5c106f6848d8a2064ede8d90bfb5eb11e4adf
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
SangYoun Kwak [Mon, 24 Jun 2024 07:43:19 +0000 (16:43 +0900)]
Modify to be buildable with hal-rootstrap
To use hal-rootstrap as a only BuildRequires package, with contains
every package that hal backends need, spec file and cmake file are
modified.
Also, hal-rootstrap does not have 'dlog-internal.h'(it should be used
only for internal), symbols from it like SLOGE are replaced by functions
provided by 'dlog.h'.
Change-Id: I078befbec7ddae394bf657631e3ae28571242c18
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
Chanwoo Choi [Wed, 19 Jun 2024 07:26:15 +0000 (16:26 +0900)]
Initialize major_version and minor_version as v1.0
Initialize major_version and minor_version as v1.0
in order to support the new HAL API versioning method
and then remove the deprecated abi_version field.
Change-Id: Ie655d7dc3a5798b4738052826b174b43feb8a42e
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
wchang kim [Wed, 19 Jun 2024 00:00:28 +0000 (09:00 +0900)]
Exclude riscv64
Change-Id: Id31a6afd28e546ed05275a3c718a634d4310488d
Chanwoo Choi [Wed, 20 Sep 2023 09:07:10 +0000 (18:07 +0900)]
packaging: Add support of aarch64 architecture type build
Change-Id: I268867ea09fdc1ac09abf4b3d5b78f1c7514c77b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
TaeminYeom [Tue, 15 Feb 2022 07:28:20 +0000 (16:28 +0900)]
Update ABI version
Change-Id: Ie3bdff3f5e5ece435fac80439da7c0dd4a984aeb
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
Hyotaek Shim [Thu, 13 Jan 2022 01:25:40 +0000 (10:25 +0900)]
Fix build issue regarding cmake 3.21.3
Change-Id: I82357f79a6e63cfde80d137554f342149138a0cd
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
taemin.yeom [Mon, 27 Sep 2021 06:28:03 +0000 (15:28 +0900)]
Fix SHUB_INST macro values with kernel
Change-Id: I7f4812b89d1174dd852032ecb1e8b29f7b116d84
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
Yunmi Ha [Wed, 8 Sep 2021 05:29:48 +0000 (14:29 +0900)]
Upgrade sensorhub modules including pedometer sensor
Change-Id: I459f25679c366c387f7ac78680b4bf3837e737a0
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Hyotaek Shim [Wed, 14 Jul 2021 02:29:14 +0000 (11:29 +0900)]
Add .gitignore
Change-Id: I2db76fb5c3473ee2899b6964c6d3515d182f34ed
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Yunmi Ha [Tue, 13 Jul 2021 10:38:58 +0000 (19:38 +0900)]
Disable debug log
Change-Id: I341c3febad35c0a8fe285f540ac99e1901d68e31
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Hyotaek Shim [Mon, 7 Jun 2021 08:28:56 +0000 (17:28 +0900)]
Initialization for platform/hal/backend/emulator/sensor-emulator
Change-Id: Ia6f148b12db6175d22f4b681d6b9e4faeb4aacdd
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Yunmi Ha [Tue, 27 Apr 2021 07:52:37 +0000 (16:52 +0900)]
Change dlog tag as HAL_BACKEND_SENSOR
Change-Id: I36bb6ec42b2a29f63a3dcd721dd0d3ca72d99b35
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Yunmi Ha [Tue, 20 Apr 2021 08:01:22 +0000 (17:01 +0900)]
Change install path of udev rules
- For separation of HAL.img, change udev rule files path to under /hal
https://code.sec.samsung.net/jira/browse/TSYSTEM-1039
Change-Id: I17160800909374176b7ba8a2bc93d4becdb59e2c
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Boram Bae [Tue, 2 Feb 2021 05:20:18 +0000 (14:20 +0900)]
Use hal-sensor-types
* Use hal-sensor-types instead of hal-sensor-interface
* This change required by plan of Next HAL
Change-Id: Ie2acbdfc16533007f931e0aa1b74ea39d59de1a9
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
Boram Bae [Wed, 27 Jan 2021 04:25:51 +0000 (13:25 +0900)]
Use hal-api-sensor instead of legacy interface
* This change is for Tizen Next-HAL
* Now, all implementations of sensor device inherit sensor device interface of the hal-api-sensor
* Move sensor_hal and sensor_hal_types to hal-api-sensor
* Name sensor_loader`s existing HAL as Legacy HAL
* Change an install path for libsensorhub-hal to /hal/lib/sensorhub/
Change-Id: I4c4df4b7e72eebcb86116ea49c7addf12b95b573
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
srinivasa.m [Tue, 11 Dec 2018 11:18:36 +0000 (16:48 +0530)]
Fixing build error with new dlog format
Change-Id: I410ed778a5050aab48ffbaedc89b750f8addee74
Signed-off-by: srinivasa.m <srinivasa.m@samsung.com>
kibak.yoon [Tue, 24 Oct 2017 15:29:28 +0000 (00:29 +0900)]
sensor-hal-emulator: hot fix to get data from pedometer
Change-Id: I8ef694dbd85c4b7f043174589d476c61ade428cd
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
(cherry picked from commit
e94ca9a101e9ae2ed2f08303156ca98c015199e9)
kibak.yoon [Tue, 12 Sep 2017 03:24:37 +0000 (12:24 +0900)]
sensor: hal: emul: 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: I5c95399fe77df95d09bf149cacce05d2f8e40995
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 12 Sep 2017 03:22:00 +0000 (12:22 +0900)]
sensor: hal: emul: 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: Ie5a7694936c6d1f8093e8cd5513dfb236c173ea7
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 12 Sep 2017 03:16:51 +0000 (12:16 +0900)]
sensor: hal: emul: fix coding rule violations
Change-Id: I2bad9fe102fa444afbbebf190772ac6902d68fe6
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Thu, 20 Jul 2017 09:11:33 +0000 (18:11 +0900)]
sensor: lib: rebuild so libraries with toolchain ABI update
base repo :
http://download.tizen.org/snapshots/tizen/base/tizen-base_20170711.1
Change-Id: If0e6fadbfd0a8a75ff89e70eeb30175dabeac706
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Fri, 19 May 2017 09:33:33 +0000 (18:33 +0900)]
sensor-hal: emul: remove key-related tags from sensor input devices
Change-Id: Ib497fcefee4b28eddc01778043713d40b4a58e3d
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Wed, 22 Mar 2017 04:27:51 +0000 (13:27 +0900)]
sensor-hal: emul: update the license macro and date
Change-Id: Ie94ad5884ffbc86f17fa0f04231609b63c9be1ab
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 13 Dec 2016 09:39:07 +0000 (18:39 +0900)]
sensor-hal: emul: enable pedometer sensor
Change-Id: I7fc17769f3ee7ef259115f48868400621c3811c8
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Thu, 23 Feb 2017 06:27:31 +0000 (15:27 +0900)]
sensor: modify sensor udev rule
- the node providing the specific event(e.g., HWHEEL, WHEEL) is assumed
to be INPUT_KEY by systemd.
- so this patch modify the rule so that it is not skipped.
- systemd udev patch :-
https://lists.freedesktop.org/archives/systemd-devel/2015-April/030662.html
Change-Id: I88e707d410a92cfb893e7a1a55f26e56224ee7d0
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Mon, 31 Oct 2016 05:54:44 +0000 (14:54 +0900)]
sensor-hal-emul: change libdir to the hard coded path(/usr/lib) for udev
udev uses the fixed path(/usr/lib/udev/rules.d) regardless of 32/64bit platform.
Change-Id: I90733781729e404fbe639de50ad5718f7da9d74a
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Thu, 30 Jun 2016 02:38:22 +0000 (11:38 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
sensor-hal: emul: version 1.0.3
sensor-hal-emul: remove useless config-related xml file
Change-Id: I448fcf0fd682fbd108d33a55bcb7b28e4518d198
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Thu, 30 Jun 2016 02:34:42 +0000 (11:34 +0900)]
sensor-hal: emul: version 1.0.3
Change-Id: I1bd6069c651f9ae7e1d75b61801c88ebb79bb7b0
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Wed, 29 Jun 2016 07:36:46 +0000 (16:36 +0900)]
sensor-hal-emul: 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: I6b88f28582d64f4014c0eb46ae00857ecbe5b99e
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Tue, 28 Jun 2016 12:58:24 +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
Rename the rpm to sensor-hal-emulator
Change-Id: Id1abd22b845df499a3bd2ca283497f895d239a1b
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>
Mu-Woong Lee [Fri, 17 Jun 2016 00:52:04 +0000 (09:52 +0900)]
Rename the rpm to sensor-hal-emulator
Change-Id: I371825541c708c24c584b5b63751d3a27cd2d6ba
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
Mu-Woong Lee [Fri, 17 Jun 2016 00:52:04 +0000 (09:52 +0900)]
Rename the rpm to sensor-hal-emulator
Change-Id: I371825541c708c24c584b5b63751d3a27cd2d6ba
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
kibak.yoon [Thu, 16 Jun 2016 10:00:57 +0000 (19:00 +0900)]
Merge branch 'devel/tizen_3.0' into tizen
* devel/tizen_3.0:
sensor-hal-emul: add udev rules for sensor device node
Change-Id: I5e4cca8136980f5194d11cf6e3620f1b304df9bf
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Mon, 30 May 2016 11:18:27 +0000 (20:18 +0900)]
sensor-hal-emul: add udev rules for sensor device node
- update permission/smack rules
Change-Id: I5ef165c6c75eeb05bebd87548499b63143622567
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
kibak.yoon [Wed, 11 May 2016 08:21:00 +0000 (17:21 +0900)]
sensor-hal-emul: initial commit for emulator sensor HAL
Change-Id: I0786cff7c9c8427ef0c974906b0685b439cd03d1
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
KyungMi Lee [Wed, 16 Dec 2015 23:25:37 +0000 (15:25 -0800)]
Initial empty repository