summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
lokilee73 [Wed, 13 Jan 2021 05:50:32 +0000 (14:50 +0900)]
Apply next HAL architecture (hal api + backend)
Change-Id: Ib2a0884986e20d4ef5a65651e5bd0a872c666f13
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
INSUN PYO [Mon, 6 Apr 2020 22:17:25 +0000 (07:17 +0900)]
Remove unnecessary #ifdef
Change-Id: I7cdb2d29af1080623a3f9af4aa5df0fdd82951f3
Hyotaek Shim [Mon, 17 Feb 2020 06:28:39 +0000 (06:28 +0000)]
Revert "Fix coverity issue"
This reverts commit
74fcdd2aa28ea28cd6c91a26673d859fcbad7ebf.
Change-Id: I1f0d89cedddb2f67be79b63117a972bb04fd9c77
Youngjae Cho [Thu, 13 Feb 2020 08:34:57 +0000 (17:34 +0900)]
Fix coverity issue
CID 1095159 (#1 of 1): Resource leak (RESOURCE_LEAK)
Change-Id: I185433f9079dbffa69f8b2673fdbe380f1a60804
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
INSUN PYO [Fri, 7 Feb 2020 07:17:19 +0000 (16:17 +0900)]
Remove unused module
Change-Id: Ibdb713172b157e8063de24484a8b276522e40a7d
Youngjae Cho [Wed, 5 Feb 2020 08:01:23 +0000 (17:01 +0900)]
Add build option -Wall -Werror
Change-Id: I40035cde88b5549f0300ed61661982718cf9c047
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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
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
lokilee73 [Tue, 26 Sep 2017 04:03:29 +0000 (04:03 +0000)]
Merge "Common: initialize and modify exception for n_configs" into tizen
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>
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)
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)
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>
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>
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>
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>
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>
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>
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>
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>
Jinkun Jang [Fri, 17 Jun 2016 07:36:58 +0000 (00:36 -0700)]
Initial empty repository