summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Yunhee Seo [Tue, 13 Dec 2022 06:50:51 +0000 (15:50 +0900)]
input: add getter/setter for controlling input device event
Add a getter and setter function of input device event status
Input device event can be enabled/disabled by kernel inhibited node
which exist under the /sys/class/input/input(id) path.
These are function prototype to be added.
int hal_backend_device_common_input_set_event_state(int input_device_id, int on);
-> As follow above path, "(id)" will be replaced to input_device_id.
and this function will set the on parameter value to inhibited node(path)
int hal_backend_device_common_input_get_event_state(int input_device_id, int* on);
-> As follow above path, this function will read the inhibited node value
through the input_device_id.
Change-Id: I742edbbaec64cb7aeb2428aca7c50b0e7872accc
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
(cherry picked from commit
2b1bd811c34ffc5bdef9baeabc48b778e55dfcfe)
Youngjae Cho [Tue, 12 Apr 2022 00:24:59 +0000 (17:24 -0700)]
usb-gadget: move usb-gadget to deviced
Change-Id: I50188a374b64bf8e388668295756456f4afa7bbc
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Mon, 28 Mar 2022 05:07:25 +0000 (22:07 -0700)]
usb-gadget: access external symbol using dlsym(), not extern keyword
The variable declared as extern storage class must be resolved when the
symbol is loaded onto memory regardless of lazy binding. Therefore if
a symbol doesn't exist on being loaded, the whole library loading will
fail. To avoid this, explicitly load a symbol using dlsym(), which is
able to handle undefined symbol error.
This is mainly because the device-common shared library contains both
of udev and usb-gadget, making them always be loaded onto memory
together even if a caller only wants to use udev, not usb-gadget. This
structure should be revamped later.
Change-Id: Ia2bd7801123c812976ce79f0e0b880e6f1e67463
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Youngjae Cho [Fri, 18 Mar 2022 02:39:29 +0000 (11:39 +0900)]
usb-gadget: introduce configurable usb-gadget
Change-Id: I9e71df155d10c7d2a413546b97a2a6ab2993a50e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
INSUN PYO [Mon, 6 Dec 2021 06:15:48 +0000 (15:15 +0900)]
usb_gadget: to support diag mode for ffs
gems requires diag mode, which should operate in ffs.
Change-Id: I9ee7714c016add5ef42abb0b6fc03f1e0a1266bf
INSUN PYO [Wed, 21 Jul 2021 01:23:35 +0000 (10:23 +0900)]
udev: change the name of udev monitor buffer size
Change-Id: I31a9d54c6aab0ef09fb843dd9e40815e37f210a3
Youngjae Cho [Tue, 4 May 2021 10:10:13 +0000 (19:10 +0900)]
Bug fix
udev_control_kernel_start() can be invoked multiple times
from multiple hal-backend modules. Therefore do not return
error for duplicate invocation.
Change-Id: Icd3586aec4281ad23b39c26a21d7cff13a8ca80b
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Hyotaek Shim [Fri, 19 Mar 2021 10:38:47 +0000 (19:38 +0900)]
Change include path for libsystemd.h
Change-Id: Ia8546cb21b3f3c59a2160ba04617fb7dd8dc2f8b
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
insun.pyo [Mon, 15 Feb 2021 08:35:14 +0000 (17:35 +0900)]
usb_gadget: use common header - EXPORT macro
Change-Id: I081bfc5252e718601325e6c243e739e79c88ebb5
lokilee73 [Tue, 16 Feb 2021 09:14:15 +0000 (18:14 +0900)]
Add udev files used in HAL
Change-Id: Id2ab1ea18209c255c0cbaf2081db19e9874436d2
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
insun.pyo [Mon, 15 Feb 2021 07:49:42 +0000 (16:49 +0900)]
usb_gadget: use libsyscommon package
funcs
- sys_read_buf(), sys_write_buf(), sys_get_str()
- sys_set_str(), sys_get_int(), sys_set_int()
Change-Id: I7f303d631d8154deeb64eef71ff7b1d487ccc1a3
lokilee73 [Wed, 10 Feb 2021 05:33:27 +0000 (14:33 +0900)]
Add hal-backend-device-common.h for common macro used in HAL
Change-Id: Ia5f36dd43fdb1928a0913957a876f70f71fea4b9
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
INSUN PYO [Wed, 10 Feb 2021 00:50:14 +0000 (09:50 +0900)]
Change file name of hal-common-interface.h to hal-backend-common-usb_gadget.h
/usr/include/hal/device/hal-common-interface.h ==> /hal/include/device/hal-common-interface.h
Change-Id: I754eaa873264a707dc420cc43a52a5384fed11d3
INSUN PYO [Thu, 28 Jan 2021 11:08:25 +0000 (20:08 +0900)]
usb_gadget: apply next HAL architecture #3
- support usb serial for sdb devices
---------------------------------------------------
$ sdb devices
List of devices attached
530MWC2R10400764 device artik
---------------------------------------------------
- remove temporary "BuildRequires: pkgconfig(dlog)" dependency
Change-Id: Iae4944b6848efda105396d718ad7fb73a994cd4a
Yunmi Ha [Tue, 26 Jan 2021 01:21:16 +0000 (10:21 +0900)]
Apply rpm macro of hal install path
Change-Id: I3aab6da90dce81e08af4ba15ba51a6d32aac2136
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
INSUN PYO [Mon, 25 Jan 2021 12:01:50 +0000 (21:01 +0900)]
usb_gadget: apply next HAL architecture #2
bug fix : legacy usb client
Change-Id: I615ffd167f127e45221ae6ffc01491a4a85193f9
INSUN PYO [Fri, 22 Jan 2021 10:03:19 +0000 (19:03 +0900)]
usb_gadget: apply next HAL architecture
Change-Id: Ie79da201e2aba0c6007b553f142713b3110872ab
Hyotaek Shim [Fri, 22 Jan 2021 07:49:15 +0000 (16:49 +0900)]
Initialization
Change-Id: Ie86481b77efdb65ae4123dac1ee91441aa3f007a
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Tizen Infrastructure [Fri, 22 Jan 2021 07:16:52 +0000 (07:16 +0000)]
Initial empty repository