summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-06-01usb-gadget: remove usb-gadget and add configuration filesubmit/tizen_6.5/20220531.085836accepted/tizen/6.5/unified/20220602.131753tizen_6.5accepted/tizen_6.5_unifiedHyotaek Shim5-101/+23
The actual operation of usb-gadget is not hal dependent anymore. Instead, deviced is now in charge of running usb-gadget. The hal backend has changed to provide only target specific usb-gadget configurations. If there is no target specific configuration, deviced runs usb-gadget with default configurations. Change-Id: I178544240994750c3bdd987893218b934c691c57 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-08-02thermal: rename device_thermal_e to hal_device_thermal_etizen_6.5.m2_releasesubmit/tizen_6.5/20220504.080738submit/tizen_6.5/20220504.075813submit/tizen_6.5/20211028.163201submit/tizen/20210802.064402accepted/tizen/unified/20210804.085633accepted/tizen/6.5/unified/20211028.115258tizenaccepted/tizen_unifiedYoungjae Cho1-2/+2
Change-Id: I02d8d4f3a1f43a9b15e1b6e96aec09895b3a0b54 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-18board: fix parameter of get_device_serial_number()submit/tizen/20210618.075427accepted/tizen/unified/20210621.123219Youngjae Cho1-10/+9
Change-Id: I33b2e37cc1b7b48c6cac7145d87e3077d46e7009 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-17Add libsyscommon to required package to provide linker flagYoungjae Cho2-2/+2
For haltest, it cannot run by itself because it is not able to resolve sys_get_int() symbol of libsyscommon. Therefore, provide ldflag to locate libsyscommon.so Change-Id: Ic9b4cedce88c888a9925264cfd22ff3504ee5193 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-14board: renaming get_device_serial_numbersubmit/tizen/20210614.021455accepted/tizen/unified/20210615.120354Youngjae Cho1-2/+2
Change-Id: I0ca0e340484a563541283501b87d80456c0ecdb7 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-07Initialization for platform/hal/backend/artik/device-artiksubmit/tizen/20210607.051609accepted/tizen/unified/20210607.124302Hyotaek Shim3-5/+4
Change-Id: Ie68905de84fbcd1068059cbd07b0e8764349f229 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-03-24Fix coverity issuesubmit/tizen/20210607.045000Youngjae Cho1-3/+4
Change-Id: Ifaca1fa283a5afaada79945e012fae8a11ce3d1f Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-03-12memory: change return value when node is not supportedYunmi Ha1-2/+2
Change-Id: I4f4c4acc1b19c9b74f211c96205b24c1ddda129e Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-02-18memory: add new halapi backendYunmi Ha3-0/+83
Change-Id: I56283c733ed215637fc64416f0de03f6e269d92b Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-02-15Move common macro to device-commonlokilee7316-68/+16
Change-Id: I43143884efe740b42e9b04e0f9f682c17de2f6f6 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-02-10Apply new hal-backend-common-usb_gadget.h headerINSUN PYO2-5/+2
Change-Id: I522e916033c9bb7865ece58641d199a53fe48827
2021-02-03spec: remove unused pkgconfig(libudev) build dependencyINSUN PYO4-345/+2
Change-Id: I5059b296de19ba403b16bf46541da1cc35f631ea
2021-01-26Apply rpm macro of hal install pathYunmi Ha9-10/+14
Change-Id: I8f3b380e545446751d43074e53a3f02ef7d797ce Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-01-25usb_gadget: apply next HAL architecture (hal api + backend)INSUN PYO8-116/+72
Change-Id: I839eb4fd883facb066ab5730fda063f6032b3c0a
2021-01-19Use file library of libsyscommonYunmi Ha3-110/+5
Change-Id: I48c998553b56c8ee70886b40c88afa7c26850aeb Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-01-18Rework led hallokilee731-10/+31
Change-Id: Iacc7d4aeb99039c47b05a5fee1d37d1eeab392e8 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-01-14Add FEATURE_DLOG and change LOG_TAGlokilee733-2/+6
Change-Id: Ia9dbb0510d59d0c96bf66bbc9970d7a1040daa9e Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2021-01-14haptic: apply next HAL architecture (hal api + backend)Yunmi Ha3-0/+378
Change-Id: Ideaad92b19eec1b417f3c2a73146b0cfb1dbd2dc Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
2021-01-13Apply next HAL architecture (hal api + backend)lokilee7313-180/+295
Change-Id: Ib2a0884986e20d4ef5a65651e5bd0a872c666f13 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2020-04-07Remove unnecessary #ifdefINSUN PYO1-4/+0
Change-Id: I7cdb2d29af1080623a3f9af4aa5df0fdd82951f3
2020-02-17Revert "Fix coverity issue"Hyotaek Shim1-1/+0
This reverts commit 74fcdd2aa28ea28cd6c91a26673d859fcbad7ebf. Change-Id: I1f0d89cedddb2f67be79b63117a972bb04fd9c77
2020-02-13Fix coverity issueYoungjae Cho1-0/+1
CID 1095159 (#1 of 1): Resource leak (RESOURCE_LEAK) Change-Id: I185433f9079dbffa69f8b2673fdbe380f1a60804 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2020-02-07Remove unused moduleINSUN PYO5-560/+0
Change-Id: Ibdb713172b157e8063de24484a8b276522e40a7d
2020-02-05Add build option -Wall -WerrorYoungjae Cho1-1/+3
Change-Id: I40035cde88b5549f0300ed61661982718cf9c047 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2019-02-18Add thermal module for device_thermal_get_temperaturelokilee733-0/+176
Change-Id: Idaec06e25703d32f773a6f0f7a984ccea8731d61 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-12-27Remove executable flag from non-executable fileslokilee7315-0/+0
Change-Id: Idee810863ae5750b64617b091dcb9d8e2964ddfa Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-06-28usb_client: Move common code to hwcommon libraryPaweł Szewczyk2-1621/+4
Change-Id: I42d5f0f48f1fc0a2600c3532464e8b1f792b3c26 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28Move shared files to hwcommon packagePaweł Szewczyk18-190/+16
Change-Id: Ieafe89155a1a4b54bb5368fae9b8aef24f96a248 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28Move systemd-related code to common libraryPaweł Szewczyk5-182/+4
Change-Id: I3de92bdc9ec5308cff875f30c22d70d307e00002 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28Add board HALPaweł Szewczyk3-0/+111
Change-Id: Ifcc9256bb722b32f8c3db3bdb873a4e6c88c8ef8 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-28usb_gadget: Move common code to hwcommonPaweł Szewczyk1-394/+0
Change-Id: Icc1e965e889d9d73667198120667bd55fbea0df7 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-06-27Modify blinkm_led_stop_scriptlokilee731-1/+4
peripherial_i2c_byte_write() was removed, So replaced it with peripherial_i2c_write(). Change-Id: I4fa3388489e23fdedc7e2c95c23272e65c6a949a Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-06-19Add display_get_state to remove dependency with enlightenmentlokilee731-0/+55
Change-Id: I826e14589707f1a2e58c6105b7658ddbb4d8a108 Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
2018-05-15usb_gadget: Retrieve device serial numberPaweł Szewczyk1-1/+29
Serial number is retrieved from /sys/firmware/devicetree/base/serial-number file. Change-Id: I3e8251bd1ce916b72d45102017b3533420ef9f54 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-19Change sdb+acm configuration's idProductPaweł Szewczyk1-1/+1
Change-Id: I8b8381c910da9d7ce4641515389ca2b1c0b8fb3b Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-19Add .gitignoreHyotaek Shim1-0/+3
Change-Id: Ic21080f08ae17cc5983c3b79708d72067d7ad136 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-04-18Add sdb+acm configurationPaweł Szewczyk1-0/+7
Change-Id: I59e70efcf7c6126dce60efeadbb7b75940332fdb Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-10usb_cfs_client: Enable gadget at reconfigurationPaweł Szewczyk1-0/+7
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>
2018-04-09Add error logsPaweł Szewczyk1-13/+49
Change-Id: Ibadac25cdec2972a172e8bb893e3a010c4659eb6 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-09usb: Assign new functions to legacy gadgetPaweł Szewczyk1-0/+5
Change-Id: I86df0d0db29813781c8b49dc111f726b24b82041 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-09usb: patches to selectively support both slp and functionfsINSUN PYO5-1/+32
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
2018-04-09Fix minor issuesPaweł Szewczyk1-5/+6
Change-Id: I78dd77f031b4cda871a758687d4518a5ac22dc43 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-06usb_client: fix bugINSUN PYO1-2/+5
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I70670d18ae5ae128ef0785ac79f220e3aa5c42b0 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-06Add support for FunctionFS-based functionKrzysztof Opasiak1-21/+287
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>
2018-04-06Fix getting ints from sysfsPaweł Szewczyk1-10/+10
Some integers are represented in hex, without leading 0x. Change-Id: If6b950a24496eae52a34623b2fa9735390e26795 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-04-06Start services for legacy functionsPaweł Szewczyk3-5/+122
Change-Id: Ie5913698b135e45f3e55267d6830f2aa996e96a4 Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
2018-03-23Add implementation of usb_client HAL using libusbgxKrzysztof Opasiak1-0/+771
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>
2018-03-23usb gadget: Fix default value of bcdDeviceKrzysztof Opasiak1-1/+1
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>
2017-10-19Remove unnecessary HAL moduleINSUN PYO1-2/+2
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I469cf83da514c2f55916f41506bba7787853ba9d
2017-09-27udev: Increase udev monitor buffer sizeINSUN PYO1-1/+2
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I0388c075d8a22639100b3b0a41b9bf1d9581ecba