platform/adaptation/samsung_exynos/device-manager-plugin-artik.git
5 years agoAdd thermal module for device_thermal_get_temperature 69/196969/4 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.014833 accepted/tizen/5.5/unified/mobile/hotfix/20201027.082345 accepted/tizen/unified/20190219.154158 accepted/tizen/unified/20190221.165812 submit/tizen/20190218.105211 submit/tizen/20190220.073046 submit/tizen_5.5/20191031.000001 submit/tizen_5.5_mobile_hotfix/20201026.185101 tizen_5.5.m2_release
lokilee73 [Tue, 8 Jan 2019 08:26:00 +0000 (17:26 +0900)]
Add thermal module for device_thermal_get_temperature

Change-Id: Idaec06e25703d32f773a6f0f7a984ccea8731d61
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
5 years agoRemove executable flag from non-executable files 70/196270/1 accepted/tizen/unified/20181231.125026 submit/tizen/20181227.070601 submit/tizen/20181231.010834 submit/tizen/20181231.070821
lokilee73 [Thu, 27 Dec 2018 02:06:44 +0000 (11:06 +0900)]
Remove executable flag from non-executable files

Change-Id: Idee810863ae5750b64617b091dcb9d8e2964ddfa
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agousb_client: Move common code to hwcommon library 01/182901/1 accepted/tizen/5.0/unified/20181102.012640 accepted/tizen/unified/20180712.092602 submit/tizen/20180710.030326 submit/tizen_5.0/20181101.000001
Paweł Szewczyk [Thu, 28 Jun 2018 11:09:48 +0000 (13:09 +0200)]
usb_client: Move common code to hwcommon library

Change-Id: I42d5f0f48f1fc0a2600c3532464e8b1f792b3c26
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoMove shared files to hwcommon package 00/182900/1
Paweł Szewczyk [Thu, 28 Jun 2018 10:58:23 +0000 (12:58 +0200)]
Move shared files to hwcommon package

Change-Id: Ieafe89155a1a4b54bb5368fae9b8aef24f96a248
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoMove systemd-related code to common library 99/182899/1
Paweł Szewczyk [Thu, 28 Jun 2018 10:20:28 +0000 (12:20 +0200)]
Move systemd-related code to common library

Change-Id: I3de92bdc9ec5308cff875f30c22d70d307e00002
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoAdd board HAL 98/182898/1
Paweł Szewczyk [Thu, 28 Jun 2018 10:58:30 +0000 (12:58 +0200)]
Add board HAL

Change-Id: Ifcc9256bb722b32f8c3db3bdb873a4e6c88c8ef8
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agousb_gadget: Move common code to hwcommon 80/182880/1
Paweł Szewczyk [Thu, 28 Jun 2018 10:27:53 +0000 (12:27 +0200)]
usb_gadget: Move common code to hwcommon

Change-Id: Icc1e965e889d9d73667198120667bd55fbea0df7
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoModify blinkm_led_stop_script 60/182660/1 accepted/tizen/unified/20180628.130518 submit/tizen/20180628.005923
lokilee73 [Wed, 27 Jun 2018 02:34:22 +0000 (11:34 +0900)]
Modify blinkm_led_stop_script

peripherial_i2c_byte_write() was removed, So replaced it with peripherial_i2c_write().

Change-Id: I4fa3388489e23fdedc7e2c95c23272e65c6a949a
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoAdd display_get_state to remove dependency with enlightenment 68/181968/1 accepted/tizen/unified/20180619.142112 submit/tizen/20180619.082644
lokilee73 [Tue, 19 Jun 2018 08:17:10 +0000 (17:17 +0900)]
Add display_get_state to remove dependency with enlightenment

Change-Id: I826e14589707f1a2e58c6105b7658ddbb4d8a108
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agousb_gadget: Retrieve device serial number 98/179098/1 accepted/tizen/unified/20180516.065542 submit/tizen/20180516.045726
Paweł Szewczyk [Tue, 15 May 2018 15:10:05 +0000 (17:10 +0200)]
usb_gadget: Retrieve device serial number

Serial number is retrieved from
/sys/firmware/devicetree/base/serial-number file.

Change-Id: I3e8251bd1ce916b72d45102017b3533420ef9f54
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoChange sdb+acm configuration's idProduct 91/176491/1 accepted/tizen/unified/20180420.081924 submit/tizen/20180420.035134
Paweł Szewczyk [Thu, 19 Apr 2018 12:34:09 +0000 (14:34 +0200)]
Change sdb+acm configuration's idProduct

Change-Id: I8b8381c910da9d7ce4641515389ca2b1c0b8fb3b
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoAdd .gitignore 27/176427/1 accepted/tizen/unified/20180419.134322 submit/tizen/20180419.065300
Hyotaek Shim [Thu, 19 Apr 2018 06:52:20 +0000 (15:52 +0900)]
Add .gitignore

Change-Id: Ic21080f08ae17cc5983c3b79708d72067d7ad136
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoAdd sdb+acm configuration 39/176339/1
Paweł Szewczyk [Wed, 18 Apr 2018 11:48:45 +0000 (13:48 +0200)]
Add sdb+acm configuration

Change-Id: I59e70efcf7c6126dce60efeadbb7b75940332fdb
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agousb_cfs_client: Enable gadget at reconfiguration 79/175579/1 accepted/tizen/unified/20180412.073814 submit/tizen/20180411.015824
Paweł Szewczyk [Tue, 10 Apr 2018 14:56:20 +0000 (16:56 +0200)]
usb_cfs_client: Enable gadget at reconfiguration

Extcon support for artik is bound to the gadget, so we need to need to
enable it to start monitoring usb connection. This does not do much
harm, but can cause some functionfs daemons to run long before they are
actually needed.

Change-Id: I7a5eaacaa476539a7cf1c237f811163be4d9b7d5
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoAdd error logs 44/175244/1
Paweł Szewczyk [Mon, 9 Apr 2018 09:44:18 +0000 (11:44 +0200)]
Add error logs

Change-Id: Ibadac25cdec2972a172e8bb893e3a010c4659eb6
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agousb: Assign new functions to legacy gadget 70/175070/3
Paweł Szewczyk [Thu, 15 Mar 2018 17:51:51 +0000 (18:51 +0100)]
usb: Assign new functions to legacy gadget

Change-Id: I86df0d0db29813781c8b49dc111f726b24b82041
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agousb: patches to selectively support both slp and functionfs 69/175069/3
INSUN PYO [Wed, 14 Mar 2018 01:23:57 +0000 (10:23 +0900)]
usb: patches to selectively support both slp and functionfs

If /sys/class/usb_mode/usb0/enable exists, it is slp usb_hal.
Otherwise it is configfs usb_hal.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I8e6b74ffbc6287fe7b5f0a7ab475edff16b2fd88

6 years agoFix minor issues 43/175243/1
Paweł Szewczyk [Wed, 21 Mar 2018 16:59:01 +0000 (17:59 +0100)]
Fix minor issues

Change-Id: I78dd77f031b4cda871a758687d4518a5ac22dc43
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agousb_client: fix bug 68/175068/2
INSUN PYO [Wed, 14 Mar 2018 04:45:36 +0000 (13:45 +0900)]
usb_client: fix bug

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I70670d18ae5ae128ef0785ac79f220e3aa5c42b0
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoAdd support for FunctionFS-based function 58/174858/3
Krzysztof Opasiak [Fri, 2 Mar 2018 20:40:56 +0000 (21:40 +0100)]
Add support for FunctionFS-based function

Both mtp-responder and sdbd have FunctionFS backend now what
allows to use them in ConfigFS implementation of HAL.
We use systemd socke activation with special socket type
which starts the service when needed. There is an assumption
that each of those services provides a suitable .socket file.

Change-Id: Ib073ac10f6d12bb75f20e4b9f3961bcdbd21520c
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
6 years agoFix getting ints from sysfs 57/174857/3
Paweł Szewczyk [Wed, 28 Feb 2018 15:08:21 +0000 (16:08 +0100)]
Fix getting ints from sysfs

Some integers are represented in hex, without leading 0x.

Change-Id: If6b950a24496eae52a34623b2fa9735390e26795
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoStart services for legacy functions 56/174856/3
Paweł Szewczyk [Fri, 6 Apr 2018 13:53:22 +0000 (15:53 +0200)]
Start services for legacy functions

Change-Id: Ie5913698b135e45f3e55267d6830f2aa996e96a4
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoAdd implementation of usb_client HAL using libusbgx 54/174854/1
Krzysztof Opasiak [Thu, 24 Nov 2016 16:12:38 +0000 (17:12 +0100)]
Add implementation of usb_client HAL using libusbgx

Currently this implementation doesn't support FFS based functions
so it is disabled by default to not casue sdb connection failures.

Change-Id: Ie7e9a3c1a8e3e430d625ffb24df3d16aa7074682
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
6 years agousb gadget: Fix default value of bcdDevice 53/174853/1
Krzysztof Opasiak [Wed, 24 Jan 2018 11:57:01 +0000 (12:57 +0100)]
usb gadget: Fix default value of bcdDevice

0xffff is not a correct BCD value thus let's replace it with 0x0100.

Change-Id: I6312575da80a2670fcbb62db79d2ed4d040ae367
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
7 years agoRemove unnecessary HAL module 61/156661/4 accepted/tizen/unified/20171024.071502 submit/tizen/20171024.012423
INSUN PYO [Thu, 19 Oct 2017 09:51:14 +0000 (09:51 +0000)]
Remove unnecessary HAL module

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I469cf83da514c2f55916f41506bba7787853ba9d

7 years agoudev: Increase udev monitor buffer size 55/152755/1 accepted/tizen/unified/20170928.150159 submit/tizen/20170927.065426 submit/tizen/20170927.232137 submit/tizen/20170928.054844
INSUN PYO [Wed, 27 Sep 2017 04:55:02 +0000 (13:55 +0900)]
udev: Increase udev monitor buffer size

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I0388c075d8a22639100b3b0a41b9bf1d9581ecba

7 years agoMerge "Common: initialize and modify exception for n_configs" into tizen
lokilee73 [Tue, 26 Sep 2017 04:03:29 +0000 (04:03 +0000)]
Merge "Common: initialize and modify exception for n_configs" into tizen

7 years agoCommon: initialize and modify exception for n_configs 86/152386/1 submit/tizen/20170926.040557
lokilee73 [Tue, 26 Sep 2017 03:58:58 +0000 (12:58 +0900)]
Common: initialize and modify exception for n_configs

Change-Id: I230d273c5ca65874f67164a7063964577b53e498
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoModification of coding rule violation 11/149211/1 accepted/tizen/unified/20170912.191908 submit/tizen/20170912.020543
INSUN PYO [Tue, 12 Sep 2017 01:53:29 +0000 (10:53 +0900)]
Modification of coding rule violation

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I21e21fb7444722f7559b3dc8de7b2540e00e7ef8
(cherry picked from commit b688a4a641f3d0582cd9a9ffd0bf66254fbf3294)

7 years agoremove build warning 46/149146/1 submit/tizen/20170911.223142
INSUN PYO [Mon, 11 Sep 2017 04:21:42 +0000 (13:21 +0900)]
remove build warning

Touchscreen_init calls the open function of hal at the beginning of the boot with the call stack below.
So the open function of hal is never called at the same time in multi-thread.

Therefore, we can use safely readdir in deviced.

0  touchscreen_init
1  0x2a00b02c in devices_init (data=0x0) at /usr/src/debug/deviced-2.0.0/src/core/devices.c:102
2  0x2a00e424 in deviced_main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/deviced-2.0.0/src/core/main.c:93
3  0x2a0078f4 in main (argc=1, argv=0xbefffe64) at /usr/src/debug/deviced-2.0.0/src/core/main.c:123

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ieb4ded94379c01592cabd85a5ed6eb525042bc97
(cherry picked from commit 4a8b1ec8da47eb05d58d1b67fcb678cc7755d27e)

7 years agoled: Add LED HAL interface for ARTIK blinkm led device 10/140910/2
scott park [Wed, 26 Jul 2017 12:04:57 +0000 (21:04 +0900)]
led: Add LED HAL interface for ARTIK blinkm led device

This is the initial implementation of LED HAL using PIO interface.
The implemeted API is set_state.

Change-Id: I7d9fbaf6b990ea886fe736046686e070d761adcd
Signed-off-by: scott park <scott.park@dignsys.com>
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
8 years agousb client: do not set serial 02/90302/1 accepted/tizen_common tizen_3.0.m2 accepted/tizen/3.0/common/20161114.105113 accepted/tizen/4.0/unified/20170816.013722 accepted/tizen/4.0/unified/20170828.224357 accepted/tizen/common/20160930.174631 accepted/tizen/unified/20170310.075604 submit/tizen/20160929.102549 submit/tizen_3.0_common/20161104.104000 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.110001 submit/tizen_unified/20170310.010401 tizen_4.0.m1_release
taeyoung [Thu, 29 Sep 2016 10:09:38 +0000 (19:09 +0900)]
usb client: do not set serial

The serial is used to distinguish devices for testing.
Thus the serial is not set.

Change-Id: I49b139878c68ac8769eb7d7f5d1424145eb78dd7
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoAdd USB config HAL implementation for slp-gadget 18/87918/3 submit/tizen/20160927.110043
taeyoung [Fri, 9 Sep 2016 11:30:02 +0000 (20:30 +0900)]
Add USB config HAL implementation for slp-gadget

This implementation of USB config HAL allows to apply
abstract gadget description received from USB gadget HAL
to USB gadget subsystem in Kernel via slp-gadget sysfs
interface.

Change-Id: I3a621c9af78339b582bb46a5c3939bd52ab3e6d2
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
8 years agoAdd USB gadget HAL implementation 17/87917/2
taeyoung [Fri, 9 Sep 2016 11:27:41 +0000 (20:27 +0900)]
Add USB gadget HAL implementation

USB gadget HAL is an abstraction layer which translates
set of functions into full USB gadget description specific
for this particular device.

Change-Id: I41d38c3d6dfd0c732b3c3a22b71713069618c309
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
8 years agocommon: add libudev dependency 99/86799/1 accepted/tizen/common/20160907.154336 submit/tizen/20160907.035120
taeyoung [Mon, 5 Sep 2016 02:38:11 +0000 (11:38 +0900)]
common: add libudev dependency

- Add libudev dependency explicitly

Change-Id: I89ebd7a66e800d1a66224143620d440cc3991129
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agodisplay: return raw brightness value 89/78789/2 accepted/tizen/common/20160804.174410 submit/tizen/20160803.081834
taeyoung [Thu, 7 Jul 2016 01:42:02 +0000 (10:42 +0900)]
display: return raw brightness value

- The brightness value from driver is returned to device daemon.
  device daemon will calculate it for users

Change-Id: I8823352e0b3f85c3b563c75725e0e8b46aea7841
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agobattery: change sysfw nodes according to the artik driver 94/78894/1 accepted/tizen/common/20160707.172245 submit/tizen/20160707.123548
taeyoung [Thu, 7 Jul 2016 08:33:23 +0000 (17:33 +0900)]
battery: change sysfw nodes according to the artik driver

- Artik driver is little bit different with other devices.
  Thus HAL needs to be changed according to the artik driver.

Change-Id: I9252da1658a9bbfec60f954e384adc2aac688a2f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoInitial update for artik device-manager-plugin 00/75300/1 accepted/tizen/common/20160617.122044 submit/tizen/20160617.091718
wansu.yoo [Fri, 17 Jun 2016 09:07:51 +0000 (18:07 +0900)]
Initial update for artik device-manager-plugin

Change-Id: I42640d91a5509f755cdd99a1ab4f5ad55cc22573
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
8 years agoInitial empty repository master
Jinkun Jang [Fri, 17 Jun 2016 07:36:58 +0000 (00:36 -0700)]
Initial empty repository