platform/adaptation/samsung_exynos/device-manager-plugin-odroid.git
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