platform/core/system/libdevice-node.git
8 years agoexternal connection: add HAL interface for external connections 23/54723/1 accepted/tizen/ivi/20160218.023806 accepted/tizen/mobile/20151222.085717 accepted/tizen/tv/20151222.085737 accepted/tizen/wearable/20151222.085800 submit/tizen/20151221.233245 submit/tizen/20151222.023057 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Taeyoung Kim [Thu, 17 Dec 2015 11:35:46 +0000 (20:35 +0900)]
external connection: add HAL interface for external connections

- The hal will exchange extcon interface of kernel

Change-Id: I9ef2f9392a676b65140b3ef61d81f502c5e669be
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agotouchscreen: add touchscreen hal interface 98/53398/1 accepted/tizen/mobile/20151210.230516 accepted/tizen/tv/20151210.230536 accepted/tizen/wearable/20151210.230554 submit/tizen/20151210.084448
Taeyoung Kim [Fri, 4 Dec 2015 12:15:50 +0000 (21:15 +0900)]
touchscreen: add touchscreen hal interface

- If a target has touchscreen, the touchscreen
  can be enabled or disable by some scenarios.
  Thus the hal interface for touchscreen is
  added.

Change-Id: I037af46a8dbeff606655e4714fc37bd20a9e3f99
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
9 years agodisplay: remove codes related with vconf keys which are not used 72/42672/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150701.121247 accepted/tizen/tv/20150701.121613 accepted/tizen/wearable/20150701.123105 submit/tizen/20150630.051205 submit/tizen/20150701.112052 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Taeyoung Kim [Wed, 1 Jul 2015 11:06:53 +0000 (20:06 +0900)]
display: remove codes related with vconf keys which are not used

- The keys are related with display brightness according to the power.
  But the keys are removed from the vconf list. Thus the codes
  related with the vconf keys are also removed

Change-Id: I8d53a38e7e9eddec3328c75d65f5696989749a2e
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
9 years agodevice-node: add sensors hal interface 86/37186/5
Kibak Yoon [Fri, 20 Mar 2015 09:17:16 +0000 (18:17 +0900)]
device-node: add sensors hal interface

this interface is for sensors HAL.

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: If7ab8f5878228604676f13dd0809c1afce60f70e
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
9 years agodisplay: Add image effect and panel mode functions 82/36782/4
Jiyoung Yun [Fri, 13 Mar 2015 10:46:09 +0000 (19:46 +0900)]
display: Add image effect and panel mode functions

Image effect and panel mode can be mixed.
So I provides each api and enums.
It depends on the display hardware,
if some mode can't support in your hardware,
you can return -ENOTSUP error.

Change-Id: Ib59c5f6c79ff1edd05fc09261c303555043d862c
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agodisplay: Change the display hal version 76/36776/1
Jiyoung Yun [Fri, 13 Mar 2015 09:59:29 +0000 (18:59 +0900)]
display: Change the display hal version

Now it's a draft version,
so I modified the version to 0.1.
The final version will be v1.0 when Tizen 3.0 is released.

Change-Id: Ic7590c763f123ce9d80e6d1b8436a9e957ab79bb
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agodevice-node: Add display device structure 13/36013/5 tizen_3.0.2015.q2_common accepted/tizen/common/20150313.083718 accepted/tizen/mobile/20150313.084803 accepted/tizen/tv/20150313.084502 accepted/tizen/wearable/20150313.084633 submit/tizen/20150312.105238
Jiyoung Yun [Fri, 27 Feb 2015 10:51:46 +0000 (19:51 +0900)]
device-node: Add display device structure

Backlight structure will replace with display structure.
The role and mean of backlight is too restrictive.
Display will cover all function of drm, backlight and so on.

Change-Id: Icf0a45d2fb522f0f55b7210fabf4a8b5bd77ef3b
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agodevice-node: Add led structures 21/35321/2 accepted/tizen/common/20150226.084857 accepted/tizen/mobile/20150226.100152 accepted/tizen/tv/20150226.094255 accepted/tizen/wearable/20150226.095205 submit/tizen/20150225.080307
Jiyoung Yun [Fri, 30 Jan 2015 10:19:33 +0000 (19:19 +0900)]
device-node: Add led structures

Led device support to control the brightness level, color and duty.

There is an detail information in Tizen Wiki:
https://wiki.tizen.org/wiki/HAL_upgrade_for_Tizen_3.0#Device

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I70b0402fb528ba057ec782c4ba1718eb3dbd4225

9 years agolibdevice-node: Add HARDWARE_MODULE_STRUCTURE define 92/34992/1 accepted/tizen/common/20150213.145211 accepted/tizen/mobile/20150215.073624 accepted/tizen/tv/20150215.072632 accepted/tizen/wearable/20150215.072952 submit/tizen/20150213.103227
Jiyoung Yun [Thu, 5 Feb 2015 12:00:39 +0000 (21:00 +0900)]
libdevice-node: Add HARDWARE_MODULE_STRUCTURE define

Change-Id: I3ab9e9455eeba8a6d2cd5ca3a65b2cc069d7b894
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agolibdevice-node: Remove unnecessary cflag options 31/34731/1
Jiyoung Yun [Mon, 2 Feb 2015 05:56:57 +0000 (14:56 +0900)]
libdevice-node: Remove unnecessary cflag options

Change-Id: Ib7f12d92093b46e05843ef49a820824f67824387
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agodevice-node: Add HAL common and backlight structures 08/33908/10
Jiyoung Yun [Fri, 16 Jan 2015 09:59:38 +0000 (18:59 +0900)]
device-node: Add HAL common and backlight structures

Each device shuld be contained struct hw_info_t module as a first variable.
It is a common interface among multiple device HAL structures.

Backlight HAL structure is for controlling the brightness of backlight.
You can set the birhgntess value using it and it also support to sensor mode.
It makes backlight display to be changed by light sensor value.

Developers can make their own HAL structure.
The HAL library should be located in $LIB_INSTALL_DIR/hw/.

There is an detail information in Tizen Wiki:
https://wiki.tizen.org/wiki/HAL_upgrade_for_Tizen_3.0#Device

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: Id73f5517e659a652a634cfa86c3137f5aca859c7

9 years agodevice-node: Fix build under 64-bit architecture 96/32996/3 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0_ivi accepted/tizen/common/20150115.180507 accepted/tizen/ivi/20150116.082010 accepted/tizen/mobile/20150116.011319 accepted/tizen/tv/20150116.010705 accepted/tizen/wearable/20150116.010358 submit/tizen/20150115.095403 submit/tizen_ivi/20150116.111111 tizen_3.0_ivi_release
Jiyoung Yun [Thu, 15 Jan 2015 05:21:07 +0000 (14:21 +0900)]
device-node: Fix build under 64-bit architecture

A problem of int to pointer cast was raising
an error when building for 64 bits archs.

Change-Id: I5e9aa7b850370440c11e1c5ee3e58c381a1d71fc
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agodevice-node: Add null check operation of interface function 95/32995/5
Jiyoung Yun [Fri, 2 Jan 2015 02:10:39 +0000 (11:10 +0900)]
device-node: Add null check operation of interface function

If there is no interface for something to do,
it will return -ENOTSUP error instead of segfault.

Bug-Tizen: TC-1932
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: If9dfdaecf53c88e14879dc66986e12cdcd1c2355

10 years agodevice-node: Add get_max_brightness and set_irled functions 80/30080/1 submit/tizen/20141112.104554
jy910.yun [Fri, 7 Nov 2014 12:40:20 +0000 (21:40 +0900)]
device-node: Add get_max_brightness and set_irled functions

Support to get the max brightness value of display
Support to set command to irled

Change-Id: I789e608a56371acc973fff2038eb4efa8ff5cbd1
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agodevice-node: Enable Werror compiler flag 91/29891/4
jy910.yun [Fri, 7 Nov 2014 11:34:13 +0000 (20:34 +0900)]
device-node: Enable Werror compiler flag

To remove the warnning messages and latent bugs

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I48ef0ea78dbd93bef5ebf44ac9d519822e955681

10 years agodevice-node: Replace system() with the combination of fork/exec 20/30020/1
jy910.yun [Fri, 7 Nov 2014 09:11:10 +0000 (18:11 +0900)]
device-node: Replace system() with the combination of fork/exec

As per man page, it cautions against using system() in a program.
It can make a problem like a ruin of system intergrity
by strange values for some environment variables.

Change-Id: I5d77931c3fbb5fd1851219aaf8e8578d8ed9d255
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agodevice-node: Rename the logging macros 72/29872/3
jy910.yun [Wed, 5 Nov 2014 12:42:00 +0000 (21:42 +0900)]
device-node: Rename the logging macros

Change DEVERR/DEVLOG macros to _E/_D macros

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Idd4593e6b271addfb2f0ee8a091223b0267161cf

10 years agoAdded missing APIs from devman_plugin_intf to default plugin : 46/22346/1
Romuald Texier-Marcadé [Mon, 2 Jun 2014 09:42:54 +0000 (11:42 +0200)]
Added missing APIs from devman_plugin_intf to default plugin :
- OEM_sys_get_hardkey_backlight
- OEM_sys_set_hardkey_backlight

Change-Id: I2ae36fc149504cf6ea35c3b8f6d614fa1d2657ed
Signed-off-by: Romuald Texier-Marcadé <romuald.texier-marcade@open.eurogiciel.org>
10 years agoadd hardkey backlight OAL functions 71/15371/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_3.0.2014.q3_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_ivi_release accepted/tizen/generic/20140303.073251 accepted/tizen/generic/20140313.075157 accepted/tizen/ivi/20140303.181336 accepted/tizen/ivi/20140313.165708 accepted/tizen/ivi/panda/20140318.013829 accepted/tizen/ivi/release/20140315.004849 accepted/tizen/mobile/20140303.022917 accepted/tizen/mobile/20140702.063336 submit/tizen/20140303.000000 submit/tizen/20140313.024924 submit/tizen_ivi_release/20140315.005117 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release
jy910.yun [Mon, 24 Jun 2013 01:48:49 +0000 (10:48 +0900)]
add hardkey backlight OAL functions

- 'OEM_sys_get/set_hardkey_backlight'

Change-Id: I153ddfe42132c5e3e3baf45fb44bcaa61fbc49cf
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agocopy license file to /usr/share/license/ 01/10001/3
jy910.yun [Fri, 13 Sep 2013 12:10:40 +0000 (21:10 +0900)]
copy license file to /usr/share/license/

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Ia477c4b0f52247cb55d5e33e01147b9f1459d493

11 years agochangelog accepted/tizen/ivi/genivi accepted/tizen/ivi/stable tizen_ivi_genivi accepted/tizen/20130710.213930 accepted/tizen/20130912.094045 accepted/tizen/20130912.095652 accepted/tizen/20130912.150210 accepted/tizen/20130912.191738 accepted/tizen/20130912.195839 accepted/tizen/generic/20140312.095150 accepted/tizen/ivi/20140304.035304 accepted/tizen/ivi/genivi/20140131.041826 accepted/tizen/ivi/panda/20140312.104328 accepted/tizen/ivi/release/20140312.123634 accepted/tizen_ivi_stable/20131116.111750 ivi_oct_m2 submit/accepted/tizen_generic/20140303.232254 submit/tizen/20130710.221205 submit/tizen/20130912.075939 submit/tizen/20130912.090248 submit/tizen/20140303.232406 submit/tizen/20140312.070706 submit/tizen_ivi_genivi/20140131.040713 submit/tizen_ivi_release/20140312.071143 submit/tizen_ivi_stable/20131116.100744
William Douglas [Wed, 10 Jul 2013 22:11:49 +0000 (15:11 -0700)]
changelog

Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agoClean up udev and Smack rules 64/4364/1
William Douglas [Fri, 28 Jun 2013 00:30:50 +0000 (17:30 -0700)]
Clean up udev and Smack rules

Smack rules for device nodes should be applied in the udev package.
Security team should audit permissions for device nodes that are
needed to be changed that were being kept in this package (but again
should be done in the udev package as there were a broad grouping of
devices that may even conflict with default udev rules).

This change is likely a breaking change and will need corresponding
changes to other packages (including udev rules and manifest).

Change-Id: I509035ace21163e24231e825f44a9f96a988c47e
Signed-off-by: William Douglas <william.douglas@intel.com>
11 years agoTIVI-1050: set several Smack rules to floor in 95-devices.rules 32/4232/2 submit/tizen/20130624.230646
Patrick McCarty [Mon, 24 Jun 2013 22:54:25 +0000 (15:54 -0700)]
TIVI-1050: set several Smack rules to floor in 95-devices.rules

Now that the systemd patch is integrated that supports setting Smack
labels for device nodes (via udev), several device nodes have rules set
that are breaking sound applications (e.g. Pulseaudio).

For the moment, we will set the default labels to "_" (floor), and we
will adjust them when the domain architecture has been settled.

Change-Id: Ie0098026ff8d0917d54ee1f367c20feda8d3b4e7

11 years agoUpdate Changelog 15/4115/1 submit/tizen/20130619.153728
Baptiste DURAND [Wed, 19 Jun 2013 15:36:43 +0000 (17:36 +0200)]
Update Changelog

Change-Id: I4004564bb423271a4011f1b351c48d0437128665
Signed-off-by: Baptiste DURAND <baptiste.durand@eurogiciel.fr>
11 years agoFix installation of systemd service 14/4114/1
Baptiste DURAND [Wed, 19 Jun 2013 15:36:24 +0000 (17:36 +0200)]
Fix installation of systemd service

Use %{_unitdir} macro

Change-Id: I01cfb2449dc38aac79d5b7567d7640c97f84253e
Signed-off-by: Baptiste DURAND <baptiste.durand@eurogiciel.fr>
11 years agoMake it build on 64bit and general cleanup for 3.0 accepted/tizen/20130520.103455 submit/tizen/20130518.192543
Anas Nashif [Sat, 18 May 2013 19:25:38 +0000 (15:25 -0400)]
Make it build on 64bit and general cleanup for 3.0

11 years agoadd smack labels regarding dialout, printer, nfc and hall tizen_2.1 accepted/tizen/20130520.101238 submit/tizen/20130517.045152 submit/tizen_2.1/20130510.103623 submit/tizen_2.1/20130514.052922 submit/tizen_2.2/20130604.075338 submit/tizen_2.2/20130613.151757
jy910.yun [Fri, 10 May 2013 09:05:24 +0000 (18:05 +0900)]
add smack labels regarding dialout, printer, nfc and hall

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Ib09734774327effb7bab5b0c98352043aca5e2f4

11 years agoresolve prevent issue about not initializing value on power saving func. 2.1b_release accepted/tizen_2.1/20130425.032924 submit/tizen_2.1/20130405.061453 submit/tizen_2.1/20130424.233031
jy910.yun [Fri, 5 Apr 2013 06:06:37 +0000 (15:06 +0900)]
resolve prevent issue about not initializing value on power saving func.

Change-Id: Ib0abb8986504f2a7e5900046f2cf5109fe011182

11 years agoset smack label of device node when booted with systemd.
jy910.yun [Mon, 25 Mar 2013 13:35:25 +0000 (22:35 +0900)]
set smack label of device node when booted with systemd.

Change-Id: I34ae8bf7d987e5a90f52ed4de5341c681cc606f7

11 years agoMerge branch 'master' into tizen_2.1 submit/tizen_2.1/20130320.090312
jy910.yun [Wed, 20 Mar 2013 09:02:06 +0000 (18:02 +0900)]
Merge branch 'master' into tizen_2.1

Change-Id: I100e99ee29bd04a90d0e417ff7cda55d7b645a99

11 years agoadd default smack label using udev rule and revise brightness_by_lux's param. submit/trunk/20130320.090347
jy910.yun [Wed, 20 Mar 2013 08:47:31 +0000 (17:47 +0900)]
add default smack label using udev rule and revise brightness_by_lux's param.

add 51-devices-priv.rules for controling default device node
change the position to add smack label to udev rules file

Change-Id: I4285b5897cb80d1bd5ca4d3bf7edf75f9cdda2fb

11 years agoadd smack label for haptic driver (device::haptic) submit/tizen_2.1/20130316.123608 submit/tizen_2.1/20130316.144627 submit/trunk/20130304.111756
jy910.yun [Mon, 4 Mar 2013 11:17:01 +0000 (20:17 +0900)]
add smack label for haptic driver (device::haptic)

Change-Id: If40eef0ca802ceebb068025800eaf045e430917b

11 years agorestore to add devman_plugin.pc file. submit/trunk/20130304.020433
jy910.yun [Wed, 27 Feb 2013 05:31:35 +0000 (14:31 +0900)]
restore to add devman_plugin.pc file.

Change-Id: I8fb76484a4f51fdfcc9625cc0ecb411d9a64d9be

11 years agoresolve build break issue submit/trunk/20130227.031531
jy910.yun [Wed, 27 Feb 2013 03:14:11 +0000 (12:14 +0900)]
resolve build break issue

currently, different module has same pc file(devman_plugin)

Change-Id: I4c7607fd36444e4909953e0cd85cba4c5760211e

11 years agoCreate new Library to control OAL APIs submit/trunk/20130226.073610
jy910.yun [Tue, 26 Feb 2013 07:06:47 +0000 (16:06 +0900)]
Create new Library to control OAL APIs

separate some code about OAL from devman
This module is a Library to control OAL APIs only used by system f/w

Change-Id: I8ea27904950f402922d4df315c02881c70fb65ac

11 years agoInitial empty repository
HyungKyu Song [Sat, 16 Feb 2013 05:51:05 +0000 (14:51 +0900)]
Initial empty repository