summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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
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>
Signed-off-by: Marek Szyprowski <m.szyprowski@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>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Marek Szyprowski [Thu, 8 Mar 2018 13:15:18 +0000 (14:15 +0100)]
Start services for legacy functions
Change-Id: Ie5913698b135e45f3e55267d6830f2aa996e96a4
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@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>
Signed-off-by: Marek Szyprowski <m.szyprowski@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>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
INSUN PYO [Wed, 27 Sep 2017 05:05:23 +0000 (14:05 +0900)]
udev: Increase udev monitor buffer size
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I8fe581db7f06dd786f3dd6c6d18da1179dbb731a
lokilee73 [Thu, 21 Sep 2017 02:13:06 +0000 (11:13 +0900)]
Common: initialize and modify exception for n_configs
Change-Id: I433e9d5a28353cdf5b69837ec6d2f5939369cbbd
INSUN PYO [Mon, 11 Sep 2017 04:31:41 +0000 (13:31 +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: I188a49d5b8a01b145ad421d20ee936503f0084e0
(cherry picked from commit
8a6aa43bf479e645fbccbe4611611ad083c4acca)
lokilee73 [Fri, 8 Sep 2017 06:08:43 +0000 (15:08 +0900)]
usb: fix indentation warning
Change-Id: I029d042e356e6ad62d5eb2f6afb67d6705b7d405
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
(cherry picked from commit
541250e5c67282e071b542657dae1d8345bd4e10)
lokilee73 [Fri, 21 Apr 2017 04:07:03 +0000 (13:07 +0900)]
usb : initialize n_configs and limits configs value
Change-Id: I9e21eb8fdc2ddd0d8f9ce0f1f6a753cffec27798
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
taeyoung [Thu, 29 Dec 2016 01:57:48 +0000 (10:57 +0900)]
Merge branch 'tizen_3.0' into tizen
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Change-Id: I1fcaf81b0802d8bc2e9771ea136cb15dd0b44eab
taeyoung [Fri, 9 Dec 2016 11:47:21 +0000 (20:47 +0900)]
battery: add battery HAL
Change-Id: Ib16aa5f95b05787a36251724e7d995522fec0977
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 24 Nov 2016 12:09:34 +0000 (21:09 +0900)]
led: add notification led (rgb)
Change-Id: Iccb5d75dfc8d20f32aa7e86e341c3d6672fc08db
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 29 Sep 2016 10:11:18 +0000 (19:11 +0900)]
usb client: do not set serial
The serial is used to distinguish devices for testing.
Thus the serial is not set.
Change-Id: Icc1687321aab176298aacbed9be715679173a217
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Krzysztof Opasiak [Sat, 13 Aug 2016 13:52:33 +0000 (15:52 +0200)]
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: I64240565efc5798bc029f04ec9efcc959d4f4ca1
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Krzysztof Opasiak [Sat, 13 Aug 2016 13:52:07 +0000 (15:52 +0200)]
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: I23e5bb1ab18d59e9827a2c764aae9819a68adf9c
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
pr.jung [Mon, 8 Aug 2016 07:39:27 +0000 (00:39 -0700)]
Merge "Remove build warning" into tizen
pr.jung [Fri, 5 Aug 2016 08:19:26 +0000 (17:19 +0900)]
Remove build warning
Change-Id: Ic2b250b37cf1b5a7cdc07f05abdd54a3e9b6b9b6
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Thu, 7 Jul 2016 01:30:16 +0000 (10:30 +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: I7b8de881c8035731b20d847d64100d52e4b55e8e
Signed-off-by: taeyoung <ty317.kim@samsung.com>
pr.jung [Wed, 6 Jul 2016 04:15:14 +0000 (13:15 +0900)]
ir: Initialize pattern variable
Change-Id: Iea9d4339a7e735aea68fed1b29e8cbcbe2d9c84a
Signed-off-by: pr.jung <pr.jung@samsung.com>
pr.jung [Wed, 22 Jun 2016 12:18:43 +0000 (21:18 +0900)]
ir: Add IR HAL implementation
Change-Id: Ic2dcb947b640305c9c0d3c7f17f9a95c0958f9b6
Signed-off-by: pr.jung <pr.jung@samsung.com>
Taeyoung Kim [Wed, 30 Dec 2015 07:01:13 +0000 (16:01 +0900)]
touchscreen: fix the invalid return value
Change-Id: I486d17b96cf539f78d379c048cfa4f9cd12a4370
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Taeyoung Kim [Wed, 30 Dec 2015 06:54:06 +0000 (15:54 +0900)]
common: remove thread unsafe function strerror()
- strerror() is thread unsafe function. Thus the
functions are removed.
Change-Id: Ibdd01e0350b91ae9f6292d929494d8b150fbf4f0
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Taeyoung Kim [Fri, 4 Dec 2015 12:18:39 +0000 (21:18 +0900)]
touchscreen: add touchscreen hal library
- touchscreen device can be changed and thus
touchscreen hal is required to manage it.
Change-Id: I36223743ae7f31c256710e306421f591cc29c75b
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Jiyoung Yun [Tue, 2 Jun 2015 03:47:18 +0000 (12:47 +0900)]
led: Support touchkey led
When user press the touch key on the bottom,
deviced turns on light during a given timeout (default 1.5s).
Change-Id: I88a08c69231ba465b9cab8f527e9113903a5cc8e
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Jiyoung Yun [Fri, 8 May 2015 10:07:14 +0000 (19:07 +0900)]
led: Change the camera led node
Change-Id: Idafd3ca7212af22bbc6a3b8dae1fec260d1e455e
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Jiyoung Yun [Wed, 6 May 2015 12:36:49 +0000 (21:36 +0900)]
display: Do not control dpms in HAL
It will control by deviced.
Because it depends on display solution, not hardware.
Change-Id: I3041a0af3c1a8336b1c1d35b79367f8d16487dce
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Jiyoung Yun [Tue, 28 Apr 2015 08:44:30 +0000 (17:44 +0900)]
device-plugin: Fix the bcond with option
Change-Id: Ic0e4afb82cb91d2f12bd005b10baa1da5a8b8c0c
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Jiyoung Yun [Tue, 28 Apr 2015 08:05:58 +0000 (17:05 +0900)]
device-plugin: Do not create display.so on the wayland repository
Will support display package for wayland soon.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I21b62637654b6bcffad23037c26778a284f9cf5d
Jiyoung Yun [Tue, 31 Mar 2015 07:52:38 +0000 (16:52 +0900)]
display: Add display implementation
Detail info:
https://wiki.tizen.org/wiki/HAL_upgrade_for_Tizen_3.0
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I841d00ccefcbde88773558929cb887916bcf0e50
Jiyoung Yun [Thu, 12 Feb 2015 02:51:04 +0000 (11:51 +0900)]
HAL: Add led HAL structure
Currently it only support to control back camera flash.
You can change the brightness level using new led HAL structure.
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: Ia9ef8d4d462d28bce678514f0e09122ea175bbbd
KyungMi Lee [Tue, 3 Feb 2015 04:21:11 +0000 (20:21 -0800)]
Initial empty repository