platform/adaptation/samsung_exynos/device-manager-plugin-odroid.git
3 years agousb: disable usb_gadget and usb_client 27/252427/1 accepted/tizen_unified tizen accepted/tizen/unified/20210129.002226 submit/tizen/20210127.032903
INSUN PYO [Thu, 28 Jan 2021 04:07:15 +0000 (13:07 +0900)]
usb: disable usb_gadget and usb_client

This hal is not used in tizen 6.5 but is built.
To remove build error, disable code.

Change-Id: I49a9359721792899ac2c8a17c97120f51e9ee2aa

4 years agoRemove unnecessary #ifdef 49/229949/1 accepted/tizen/unified/20201106.130145 submit/tizen/20201103.015640 submit/tizen/20201104.011652
INSUN PYO [Mon, 6 Apr 2020 22:33:43 +0000 (07:33 +0900)]
Remove unnecessary #ifdef

Change-Id: I6ac4aae99ad382278ac76d570690c40c60d4fb57

4 years agoAdd build option -Wall -Werror 67/223967/1
Youngjae Cho [Wed, 5 Feb 2020 08:02:06 +0000 (17:02 +0900)]
Add build option -Wall -Werror

Change-Id: Ib6c6b61340caa7f059b8eb0febd3127adae7f888
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix logging location 75/218175/1
Youngjae Cho [Wed, 20 Nov 2019 05:52:50 +0000 (14:52 +0900)]
Fix logging location

Change-Id: I0c9d1c7b19c02a2bd4cf8fb4fb74ebeca6c5cbcc
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd dummy display HAL 53/215953/2
Youngjae Cho [Fri, 18 Oct 2019 01:53:34 +0000 (10:53 +0900)]
Add dummy display HAL

Change-Id: I6fa9b2f13594d8097a1d3051e8948e4daa9150bf
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
5 years agoAdd thermal module for device_thermal_get_temperature 60/196960/6 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0_hotfix accepted/tizen/5.5/unified/20191031.025652 accepted/tizen/5.5/unified/mobile/hotfix/20201027.081640 accepted/tizen/5.5/unified/wearable/hotfix/20201027.123019 accepted/tizen/6.0/unified/20201030.123800 accepted/tizen/6.0/unified/hotfix/20201103.051529 accepted/tizen/unified/20190219.154142 accepted/tizen/unified/20190221.165804 submit/tizen/20190218.105211 submit/tizen/20190220.073046 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185101 submit/tizen_5.5_wearable_hotfix/20201026.184301 submit/tizen_6.0/20201029.205101 submit/tizen_6.0_hotfix/20201102.192501 submit/tizen_6.0_hotfix/20201103.114801 tizen_5.5.m2_release tizen_6.0.m2_release
lokilee73 [Tue, 8 Jan 2019 07:30:04 +0000 (16:30 +0900)]
Add thermal module for device_thermal_get_temperature

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

Change-Id: I1472ae8c9de7b9db785af35d129d3b1651f592f8
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
5 years agousb_gadget: Move common code to hwcommon 03/182503/2 accepted/tizen/5.0/unified/20181102.012700 accepted/tizen/unified/20180712.092557 submit/tizen/20180628.074924 submit/tizen/20180710.030326 submit/tizen_5.0/20181101.000001
Paweł Szewczyk [Mon, 25 Jun 2018 11:17:57 +0000 (13:17 +0200)]
usb_gadget: Move common code to hwcommon

Change-Id: I92391b979a379c7c0e827721479b4ce9be8cb47d
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
5 years agoAdd board HAL 02/182502/3
Paweł Szewczyk [Mon, 25 Jun 2018 10:42:28 +0000 (12:42 +0200)]
Add board HAL

Change-Id: I83180a22b97805113ac8e43e6df536611a5de85c
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
5 years agousb_client: Move common code to hwcommon library 01/182501/2
Paweł Szewczyk [Fri, 22 Jun 2018 14:15:19 +0000 (16:15 +0200)]
usb_client: Move common code to hwcommon library

Change-Id: I0c08e9cb8d29ec5ccfa86fdc5dd0e0c20738fb87
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
5 years agoMove shared files to hwcommon package 22/181422/2
Paweł Szewczyk [Wed, 13 Jun 2018 12:37:24 +0000 (14:37 +0200)]
Move shared files to hwcommon package

Change-Id: I49b4ac260254416d4c5a6a00255e702f70fb4568
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
5 years agoMove systemd-related code to common library 21/181421/2
Paweł Szewczyk [Wed, 30 May 2018 12:33:58 +0000 (14:33 +0200)]
Move systemd-related code to common library

Change-Id: I51c470b0c058cb509c91358e8a207c86b988d66f
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
5 years agoFix build warning 08/182608/1 accepted/tizen/unified/20180628.130512 submit/tizen/20180628.005528
lokilee73 [Tue, 26 Jun 2018 11:46:38 +0000 (20:46 +0900)]
Fix build warning

Change-Id: Ie5a5590291f92470e006052f82164cdda9347966
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
5 years agousb_gadget: Retrieve device serial number 97/179097/1 accepted/tizen/unified/20180516.065547 submit/tizen/20180516.042321
Paweł Szewczyk [Tue, 15 May 2018 14:32:56 +0000 (16:32 +0200)]
usb_gadget: Retrieve device serial number

The serial number is retrieved from /proc/cpuinfo and used as USB serial
number string.

Change-Id: Ibac051862011f697d7a63e8efeb5f50d0ea16c29
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoRemove unused dependency to capi-system-info 87/174287/4 accepted/tizen/unified/20180403.060233 submit/tizen/20180330.143105 submit/tizen/20180403.011657
Hyotaek Shim [Thu, 29 Mar 2018 14:25:18 +0000 (23:25 +0900)]
Remove unused dependency to capi-system-info

Change-Id: Ib9afc9472a6a53747e3d6b07077b2c27649a311a
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoMove usb configuration for TV profile to deviced 51/174151/2 accepted/tizen/unified/20180330.060804 submit/tizen/20180329.061644
lokilee73 [Wed, 28 Mar 2018 13:10:08 +0000 (22:10 +0900)]
Move usb configuration for TV profile to deviced

Change-Id: Ie23d0506aee1349131ff4827e4c50c17751d29c8
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoffs: Do not check for slp-gadget in ffs backend 12/172912/5
Paweł Szewczyk [Fri, 16 Mar 2018 16:57:22 +0000 (17:57 +0100)]
ffs: Do not check for slp-gadget in ffs backend

Change-Id: I1d08c7b778d906f151cec3524754f513d7386898
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agousb: Assign new functions to legacy gadget 11/172911/5
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 agoRevert "usb: workaround code for legacy usb client" 10/172910/4
Paweł Szewczyk [Thu, 15 Mar 2018 17:43:09 +0000 (18:43 +0100)]
Revert "usb: workaround code for legacy usb client"

This reverts commit 35171555725ea09c7ef09df8747075e8976a7540.

Change-Id: I732aa18d6e4d3d140a88947f47814a1a54442104
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoFix minor issues 60/173460/3
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: mtp disable in tv profile 05/172705/2 accepted/tizen/unified/20180315.150809 submit/tizen/20180315.085746
INSUN PYO [Thu, 15 Mar 2018 08:48:51 +0000 (17:48 +0900)]
usb: mtp disable in tv profile

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

6 years agousb: workaround code for legacy usb client 82/172482/6 accepted/tizen/unified/20180314.141510 submit/tizen/20180314.081248
INSUN PYO [Wed, 14 Mar 2018 06:43:10 +0000 (15:43 +0900)]
usb: workaround code for legacy usb client

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

6 years agousb_client: fix bug 50/172450/1
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

6 years agousb: patches to selectively support both slp and functionfs 15/172415/1
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 agoAdd support for FunctionFS-based function 50/171850/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 10/171310/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 09/171309/3
Paweł Szewczyk [Fri, 16 Feb 2018 14:49:41 +0000 (15:49 +0100)]
Start services for legacy functions

Change-Id: Ie5913698b135e45f3e55267d6830f2aa996e96a4
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agodisplay: add dummy HAL for unified deviced 01/170801/1 accepted/tizen/unified/20180223.062113 submit/tizen/20180223.015425
INSUN PYO [Thu, 22 Feb 2018 07:31:34 +0000 (16:31 +0900)]
display: add dummy HAL for unified deviced

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

6 years agoAdd implementation of usb_client HAL using libusbgx 98/99998/4
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 58/168158/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>
6 years agoFix build warning 35/148535/1 accepted/tizen/unified/20170911.060230 submit/tizen/20170908.055554
INSUN PYO [Fri, 8 Sep 2017 05:49:17 +0000 (14:49 +0900)]
Fix build warning

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

7 years agochecking unsupported usb function combination. 42/91542/2 accepted/tizen_3.0.m2_tv accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_tv accepted/tizen_common accepted/tizen_ivi accepted/tizen_tv tizen_3.0 tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/tv/20170104.100353 accepted/tizen/3.0/common/20161114.105118 accepted/tizen/3.0/ivi/20161028.123013 accepted/tizen/3.0/tv/20161028.122602 accepted/tizen/4.0/unified/20170816.011524 accepted/tizen/4.0/unified/20170828.224215 accepted/tizen/common/20161011.154305 accepted/tizen/ivi/20161011.234141 accepted/tizen/tv/20161011.234112 accepted/tizen/unified/20170309.031041 submit/tizen/20161011.055923 submit/tizen_3.0.m2/20170104.093748 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.110001 submit/tizen_unified/20170308.100403 tizen_4.0.m1_release
taeyoung [Mon, 10 Oct 2016 06:34:28 +0000 (15:34 +0900)]
checking unsupported usb function combination.
refer to : https://review.tizen.org/gerrit/#/c/91714/

Change-Id: Ie8e9a4cbf8e3e4c0d625f8b24df3d16aa7074682
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agousb client: do not set serial 94/90294/1 accepted/tizen/3.0/ivi/20161011.043807 accepted/tizen/3.0/tv/20161016.003946 accepted/tizen/common/20160929.163651 accepted/tizen/ivi/20160930.000801 accepted/tizen/tv/20160930.000746 submit/tizen/20160929.094731 submit/tizen/20160929.111000 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_tv/20161015.000001
taeyoung [Thu, 29 Sep 2016 09:42:57 +0000 (18:42 +0900)]
usb client: do not set serial

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

Change-Id: I7391ee80c101c6335faa31f0e27a7a184249fe9b
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agocommon: remove OAL 11/86011/3 submit/common/20160929.040724 submit/tizen/20160927.110043
taeyoung [Tue, 30 Aug 2016 06:33:22 +0000 (15:33 +0900)]
common: remove OAL

Tizen 3.0 uses HAL. Thus all codes for the OAL are removed

Change-Id: I228df379b1fb15100c28d8e522f67cb4dc08d020
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoAdd USB config HAL implementation for slp-gadget 54/86054/6
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: I5eeb0a8b9cc616e0e10263abc85893f250137d9f
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoAdd USB gadget HAL implementation 12/86012/4
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: I9920a8e400aa3c16df9a650e7611d9eb920ae623
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: taeyoung <ty317.kim@samsung.com>
9 years agoFix build under 64-bit architecture 47/36447/3
Jiyoung Yun [Fri, 6 Mar 2015 10:27:11 +0000 (19:27 +0900)]
Fix build under 64-bit architecture

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: Ice5bb4559b6c97e50b86753d5562f1f09bd79dad

9 years agoDevice manager plugin for Odroid development board submit/tizen/20140627.104705
Łukasz Stelmach [Mon, 12 May 2014 12:57:17 +0000 (14:57 +0200)]
Device manager plugin for Odroid development board

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
9 years agoInitial empty repository
Sriram Ramkrishna [Thu, 26 Jun 2014 22:05:06 +0000 (15:05 -0700)]
Initial empty repository