platform/core/system/system-server.git
10 years agoAdd new feature for screenlock/brightness up/brightness down key. 07/14907/1
sh.pi [Thu, 25 Apr 2013 13:53:51 +0000 (22:53 +0900)]
Add new feature for screenlock/brightness up/brightness down key.

BT keyboard has funtion keys like screenlock/brightness up & down.
And deviced supports this function key.
screenlock key turns on/off screen of phone.
brightness key ups/downs system brightness of phone.

Change-Id: Ia66c7ec8dec3924dcc3022b9f7bc3349a22e81b0
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoremove vfat check routine 94/14894/1
giyeol.ok [Thu, 25 Apr 2013 14:09:16 +0000 (23:09 +0900)]
remove vfat check routine

Change-Id: I014ad837570ea6c8e55681e63c90beff74aa33e6
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
10 years agochange umount option 93/14893/1
giyeol.ok [Thu, 25 Apr 2013 12:00:50 +0000 (21:00 +0900)]
change umount option

Change-Id: Ic9212dc42c9f8896b5e71c9f02c4dc606f6ac9b8
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
10 years agoRemove "add/remove input" from udev rules. 41/14741/2
sh.pi [Tue, 23 Apr 2013 15:40:12 +0000 (00:40 +0900)]
Remove "add/remove input" from udev rules.

udev rules/pm_event/heynoti are not used for new input device anymore.
now deviced gets input uevent by using methods of libudev.

Change-Id: I8ab44b29009ab119d3d19981373516b946ef15d6
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoseparate main handling routine and file system dependent codes 40/14740/2
Krzysztof Sasiak [Wed, 17 Jul 2013 10:24:57 +0000 (19:24 +0900)]
separate main handling routine and file system dependent codes

Change-Id: I2b626119f70f037f7008f81b82b84f7d1f8c31a1
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoAdd logic to block polling key when display logic is stop state. 26/14726/1
sh.pi [Tue, 23 Apr 2013 06:59:23 +0000 (15:59 +0900)]
Add logic to block polling key when display logic is stop state.

key polling logic can work during disply logic is stopping.
then block polling logic when display logic is stop state.

Change-Id: I03938aedb7c78034796d9932a6f72f0b33cf705c
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoMove define of DISP_CMD to header file. 25/14725/1
jy910.yun [Wed, 17 Jul 2013 10:11:27 +0000 (19:11 +0900)]
Move define of DISP_CMD to header file.

The same thing is defined in several sources.
And all shift bits're not changed, error occurs.

Change-Id: I1b7b14de081bb800183f289ebc3700d138e9898a
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoin case of low battery state, when called display release func., it should be dim... 24/14724/1
jy910.yun [Wed, 17 Jul 2013 10:07:36 +0000 (19:07 +0900)]
in case of low battery state, when called display release func., it should be dim state

Change-Id: Ifb37aeed2e8f80936052ea6899b745355a462b33
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agoModify mmc control logic. 23/14723/1
jy910.yun [Wed, 17 Jul 2013 10:01:29 +0000 (19:01 +0900)]
Modify mmc control logic.

mmc control logic is tested & fixed with MDM server.

Change-Id: Ic397e8a9985daba1cb8526e03cfc7e5eb1796718
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoforce to set dim brightness by application 22/14722/1
jy910.yun [Wed, 17 Apr 2013 09:22:04 +0000 (18:22 +0900)]
force to set dim brightness by application

0 is Dim state, it is promissed btw system f/w and kernel side.

Change-Id: I5284e7a6088541e9fccd1465dcaed7843a92c513
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agoinsert time log about time and timezone 21/14721/1
jy910.yun [Wed, 17 Jul 2013 09:56:39 +0000 (18:56 +0900)]
insert time log about time and timezone

Change-Id: I2e9d5a91b81f6838275900677a8e21bd9f86c7b3
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agojust update boilerplate for deviced 14/14714/1
jy910.yun [Mon, 1 Jul 2013 00:32:40 +0000 (09:32 +0900)]
just update boilerplate for deviced

Change-Id: Iea555d65a5ab33f43e877fc949804f75e80e3e14
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoAdd mmc control logic 13/14713/1
sh.pi [Tue, 16 Apr 2013 08:51:51 +0000 (17:51 +0900)]
Add mmc control logic

Change-Id: I724d6cdab3955c3f84b468c4d91d929d9311a3b6
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoMove display to src folder 12/14712/1
jy910.yun [Sun, 30 Jun 2013 11:03:03 +0000 (20:03 +0900)]
Move display to src folder

Change-Id: I413a43ccff78de44afc89e65a393d30882d5ac72
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoChange lcdoff & lock lcdon time. 11/14711/1
sh.pi [Mon, 15 Apr 2013 11:27:32 +0000 (20:27 +0900)]
Change lcdoff & lock lcdon time.

lcdoff : 5 seconds -> 1 seconds
lock lcdon time : 10 seconds -> 5 seconds

Change-Id: Ib48e08db5ccd526ae7148c6bc22ef85e379e4b27
Signed-off-by: Seunghun Pi <sh.pi@samsung.com>
10 years agopatch crashed mmc notification popup routine 10/14710/1
giyeol.ok [Mon, 15 Apr 2013 07:05:28 +0000 (16:05 +0900)]
patch crashed mmc notification popup routine

Change-Id: I42631ba3b4b175ba85f2de52d3a93a60bbf2b178
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
10 years agojust change the position of define 09/14709/1
jy910.yun [Sun, 30 Jun 2013 10:34:39 +0000 (19:34 +0900)]
just change the position of define

Change-Id: I3d4b37cf8bb9b2d22ee10e544a3df71082d6e673
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agodelete redundant variable and add broadcast dbus signal API 08/14708/1
jy910.yun [Sun, 30 Jun 2013 10:23:42 +0000 (19:23 +0900)]
delete redundant variable and add broadcast dbus signal API

Change-Id: Ic0674a7f9c8098d41d362c9eccfbbc67e9f9b758
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agoMove notifier logic to core 88/14688/1
sh.pi [Thu, 11 Apr 2013 02:17:14 +0000 (11:17 +0900)]
Move notifier logic to core

It's need for internal interface among device modules.

Change-Id: I994d56ac2f33718253e98bf9f4cd05036ab66d22
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoAdd control logic for start/stop device. 87/14687/1
sh.pi [Wed, 10 Apr 2013 11:22:16 +0000 (20:22 +0900)]
Add control logic for start/stop device.

Change-Id: I9d2d8767fbf12b0ee993e0f4ad4f993322ed7fb9
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agocore: Add start/stop function to devices_ops structure 86/14686/1
Chanwoo Choi [Wed, 10 Apr 2013 06:17:49 +0000 (15:17 +0900)]
core: Add start/stop function to devices_ops structure

Change-Id: I77a1ff04e601a713734febfb60b50d871d5aac09
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
10 years agoapply device registration 85/14685/1
jy910.yun [Sun, 30 Jun 2013 08:57:59 +0000 (17:57 +0900)]
apply device registration

details:
sysnoti, noti, core, signal, predefine, lowmem, lowbat, device change handler,
power, bs, process monitor, time handler, cpu, usb, ta, process manager, mmc,
heynoti, powermanager and vibrator changed

before changing, to invoke a initialize function, it must call directly in main func.
So if some function deleted, we have to delete related part on each files.
but after applying this patchset, we only have to delete just one file regarding function you want delete.

Change-Id: I7283b9ed48afbf0c3ba05d383993610a4ac154d5
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agoAdd dbus methods to lock/unlock/change display 84/14684/1
jy910.yun [Sun, 30 Jun 2013 07:25:34 +0000 (16:25 +0900)]
Add dbus methods to lock/unlock/change display

Change-Id: I394bea1ee71aed294bf10bf44af4787407f89503
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoAdd dbus interface for method call. 83/14683/1
sh.pi [Thu, 4 Apr 2013 02:30:31 +0000 (11:30 +0900)]
Add dbus interface for method call.

Change-Id: I87e8937de041e19fcc6c5dddf069c47757be6046
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoremove including 'util.h' in core.h 82/14682/1
sh.pi [Wed, 3 Apr 2013 07:38:56 +0000 (16:38 +0900)]
remove including 'util.h' in core.h

there is conflict with definition of dlog.
then util.h is removed in core.h

Change-Id: Id3b49a4ad97a0bbce8c0cea6a8a6807502b2cb0b
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agosupport battery cf pole status control routine 81/14681/1
giyeol.ok [Wed, 3 Apr 2013 05:25:43 +0000 (14:25 +0900)]
support battery cf pole status control routine

Change-Id: I4fe46508e3ead686522a4fb8dd72dd4ed4c41b6e
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
10 years agoAdd pm_listener/talker for sharing state with other deviced services. 80/14680/1
sh.pi [Wed, 3 Apr 2013 05:01:07 +0000 (14:01 +0900)]
Add pm_listener/talker for sharing state with other deviced services.

Change-Id: I18852b32b6a538de2c57df28541a89bb66d03033
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agorefactoring src diretory structure 79/14679/1
jy910.yun [Wed, 26 Jun 2013 02:08:10 +0000 (11:08 +0900)]
refactoring src diretory structure

forder structure changed like systemd.
default directory of codes is 'src'.
other directory was made by functions under 'src'.

directory details :
src/core - common, core, edbus-handler, device-change, launch, main, predefine, sig-handler, noti
src/cpu - cpu-handler
src/led - led
src/mmc - mmc
src/power - power, lowbat
src/proc - lowmem, process monitor, process manager
src/ta - ta
src/time - time
src/usb - usb

Change-Id: If5b117b7f4d21bac446f7018241fba788252fae0
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoinsert resourced into permanent group 65/14565/1
giyeol.ok [Fri, 29 Mar 2013 10:36:30 +0000 (19:36 +0900)]
insert resourced into permanent group

Change-Id: I164f0dce8ee00f1eade52da5d1763696fbb50fd8
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
10 years agoPatch to block turning off auto brightness during power-off. 64/14564/1
sh.pi [Thu, 28 Mar 2013 09:06:47 +0000 (18:06 +0900)]
Patch to block turning off auto brightness during power-off.

deviced checks lux value from light sensor every second when auto brightness is on.
If there is fail to get light sensor value over 5 times, deviced turn off auto brightness.
In case that sensor-framework is destroyed before deviced, auto brightness is off.
Now deviced don't change auto brightness setting during power-off state.

Change-Id: I70976d52dd484b8cdf01d39cf3e025e85eed86de
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoAdd patch not to open the same device file many times. 63/14563/1
sh.pi [Wed, 27 Mar 2013 12:39:45 +0000 (21:39 +0900)]
Add patch not to open the same device file many times.

There is the error that one input device file is opened many times.
If udev or kernel layer send wrong uevent, deviced can register devices abnomally.
Now deviced(pm) receives uevent and add all input device to internal list.
and check that device file is already registered in list.

Change-Id: I7b97eb4c1fd9890ccc218d428342c5b141a06e39
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agowhen called display_release_brightness, also update VCONFKEY_PM_CURRENT_BRIGHTNESS... 62/14562/1
jy910.yun [Thu, 28 Mar 2013 04:42:16 +0000 (13:42 +0900)]
when called display_release_brightness, also update VCONFKEY_PM_CURRENT_BRIGHTNESS value

Change-Id: Ic07de48bd257ca4be6dad977b45559043f7b7c13
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agochange system header file from dd-system to dd-deviced 61/14561/1
giyeol.ok [Wed, 27 Mar 2013 13:02:38 +0000 (22:02 +0900)]
change system header file from dd-system to dd-deviced

Change-Id: I27b1ce78f9813604a18eb85e7bddbaebff35c0f4
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
10 years agosupport led indicator func 60/14560/1
jy910.yun [Mon, 24 Jun 2013 12:50:35 +0000 (21:50 +0900)]
support led indicator func

libdeviced export led_set_mode, led_set_mode_with_color function.
system server controls real operation regarding led mode.

Change-Id: I2412fd4179230fceac49dfbcac4f4b47b2dde3a2
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoFix the error that LCDOFF lock/unlock is not working. 59/14559/1
sh.pi [Fri, 22 Mar 2013 10:34:14 +0000 (19:34 +0900)]
Fix the error that LCDOFF lock/unlock is not working.

Argument of active/inactive process was wrong.
Then Phone entered sleep state although LCDOFF lock was enabled.
Now active/inactive logic is working well.

Change-Id: I11596eb7b65418c991b00dda3aabbb4d3d191dbc
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoembody 'sysman' in libdeviced 58/14558/1
jy910.yun [Mon, 24 Jun 2013 12:23:13 +0000 (21:23 +0900)]
embody 'sysman' in libdeviced

Change-Id: Ic9eb8f1643288f36fa2fcf03fc0fc2207749bf21
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoAdd code for that minimum lcd on time is 30 seconds during booting. 68/14368/3
sh.pi [Thu, 21 Mar 2013 06:23:14 +0000 (15:23 +0900)]
Add code for that minimum lcd on time is 30 seconds during booting.

Some model booting time is slow and There are some case that
It takes long time during booting abnomally.
then add minimum lcd on time for normal booting.

Change-Id: Id37933c2a31de91a92292e6716d6dada32c5e6a2
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoembody 'haptic' in libdeviced 67/14367/3
jy910.yun [Mon, 24 Jun 2013 11:44:09 +0000 (20:44 +0900)]
embody 'haptic' in libdeviced

Change-Id: I4901c5cc307615214bd8757e0b40c0f6e0ea3dd6
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoembody 'pm' in libdeviced. 66/14366/3
jy910.yun [Mon, 24 Jun 2013 05:28:27 +0000 (14:28 +0900)]
embody 'pm' in libdeviced.

Change-Id: I6c27fc93a205084053814cfc3a59d481e5c3d6c5
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoAdd logic for app brightness 07/14307/3
jy910.yun [Fri, 21 Jun 2013 12:38:16 +0000 (21:38 +0900)]
Add logic for app brightness

In case that App has its brightness, pm doesn't control brightness.
and app have to know brightness, if brightness is changed
in auto brightness on state or in low battery state.

Change-Id: Icb19dbd07ce82b5840bd7e14536f0f82e015d313
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoembody 'devman' in libdeviced 06/14306/3
jy910.yun [Fri, 21 Jun 2013 12:06:39 +0000 (21:06 +0900)]
embody 'devman' in libdeviced

libdevman is only wrapper library to libdeviced.
All of real operation is in libdeviced.

Change-Id: I506b599851c4d96f271390d9e4997f6b4aae125b
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoAdd D-bus interface for pm lock/unlock. 05/14305/3
jy910.yun [Fri, 21 Jun 2013 10:10:37 +0000 (19:10 +0900)]
Add D-bus interface for pm lock/unlock.

Change-Id: I34868d5c786abdbd15386d67edbeb26611aab8ce
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoversion up to release all pkg of the merged 04/14304/3
jy910.yun [Fri, 21 Jun 2013 07:57:26 +0000 (16:57 +0900)]
version up to release all pkg of the merged

system-server

Change-Id: I54be79c20f1c0e422f8bca4922f98484343704ef
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agomerge 'libdevman' into system-server 03/14303/3
jy910.yun [Fri, 21 Jun 2013 07:54:55 +0000 (16:54 +0900)]
merge 'libdevman' into system-server

all of the devman code was simply copied to system-server

Change-Id: Idfa9c9677596f4f394bb0bad9b16637d8199cf01
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agomerge 'libhaptic' into system-server 02/14302/2
jy910.yun [Fri, 21 Jun 2013 07:21:47 +0000 (16:21 +0900)]
merge 'libhaptic' into system-server

all of the haptic code was simply copied to system-server

Change-Id: Icc3420de80662d135bd9d8d1fdcdc8195a2b80e9
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoFix x86-64 build 01/14301/1
jy910.yun [Fri, 21 Jun 2013 05:17:10 +0000 (14:17 +0900)]
Fix x86-64 build

-> Use %cmake macro
-> Fix libraries path in pc file
-> Fix installation for libraries

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I3917df7fe3509e6a51e674f4e55d7d22e6c96e2f
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoMove libslp-pm package to system-server 00/14300/1
jy910.yun [Thu, 20 Jun 2013 10:50:26 +0000 (19:50 +0900)]
Move libslp-pm package to system-server

Remove libslp-pm dependency of system-server
and move libslp-pm to system-server

Change-Id: I95d205b04f181bb270e94b73d654121c84946144
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agomerge sysman library in system-server repo 73/14273/1
jy910.yun [Wed, 19 Jun 2013 13:27:34 +0000 (22:27 +0900)]
merge sysman library in system-server repo

previous patch merged power-manager into system-server and it will be "deviced" daemon.
a daemon provides a library for daemon if it doesn't have any special reason.
So this patch merge sysman into libdeviced.
and before long other library such as libslp-pm(pmapi) and devman merged into a libdeviced.

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: Idd5077216894ba41de91959a74d04844306f9e41
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agopower-manager logic is running in system-server. 38/14138/4
jy910.yun [Wed, 19 Jun 2013 13:08:23 +0000 (22:08 +0900)]
power-manager logic is running in system-server.

Refactor system fw (pm is merged to system-server). Currently there are
two daemons: power-manager and system-server.  The plan is to provide
only one daemon to control all devices on a target.  This patch merges
power-manager into system-server.

Change-Id: Ifa9bb4f7a21dc33600cce94b99a68b530d3e813b
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
10 years agoinsert edbus server routine 05/13705/5
jy910.yun [Wed, 19 Jun 2013 12:40:07 +0000 (21:40 +0900)]
insert edbus server routine

Change-Id: Idcd667900ea73a594d1ad7b907221ebb8edb32c4
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
10 years agoReset Smack manifest to Tizen 3.0 defaults 04/13704/7
Jacek Pielaszkiewicz [Thu, 13 Jun 2013 11:29:16 +0000 (13:29 +0200)]
Reset Smack manifest to Tizen 3.0 defaults

Change-Id: Id69d28d6720033279e526e25f3811fa094a8fce1
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
10 years agoFix build for x64 : Remove hardcoded library path 06/12406/1 accepted/tizen/ivi/stable accepted/tizen/mobile accepted/tizen/20131211.180935 accepted/tizen/mobile/20131216.220256 submit/tizen/20131211.163538
Baptiste DURAND [Thu, 14 Nov 2013 18:33:06 +0000 (19:33 +0100)]
Fix build for x64 : Remove hardcoded library path

Change-Id: Ia2f938444db9050754a2b7cfcbcb743028e1e1dc
Signed-off-by: Baptiste DURAND <baptiste.durand@eurogiciel.fr>
10 years agoinsert edbus server routine 70/11470/1
giyeol.ok [Mon, 28 Oct 2013 10:43:42 +0000 (19:43 +0900)]
insert edbus server routine

- system-server will use dbus to communicate other process

Change-Id: I98141f9b5bb6711319f7536e35e282ca71cfd68a
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agochange the log macro to be simply 54/11454/2
jy910.yun [Mon, 28 Oct 2013 08:50:08 +0000 (17:50 +0900)]
change the log macro to be simply

- there are many log macro in system-server:PRT_TRACE, PRT_ERR, ERR and so on.
- from now on, system-server uses just _D,_E,_I,_W,_SD,_SE,_SI and _SW.

Change-Id: I1101a3ae4a19cee74d258dae5c7f1f13d8e22e5e
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agorefactoring system-server code structure 21/11421/2
jy910.yun [Mon, 28 Oct 2013 01:51:52 +0000 (10:51 +0900)]
refactoring system-server code structure

make some directory depending on the type of device
 :core(main), battery, bs, cpu, mmc, cpu, proc, ta, time, usb and vibrator
each "c" file move into suitable directory

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

10 years agoMove rc.shutdown from system-plugin-slp 38/8538/5
Maciej Wereski [Thu, 24 Oct 2013 03:07:05 +0000 (12:07 +0900)]
Move rc.shutdown from system-plugin-slp

Change-Id: Ic26101c5a423c1aef3639ce3378b55f2f2ad7fb2
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
10 years agocopy license file to /usr/share/license/ 97/9997/2
jy910.yun [Fri, 13 Sep 2013 11:52:41 +0000 (20:52 +0900)]
copy license file to /usr/share/license/

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

10 years agoRemove debian packaging stuff 06/8606/2 accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130912.151502 accepted/tizen/20130912.191509 accepted/tizen/20130912.195534 accepted/tizen/ivi/genivi/20140131.041653 accepted/tizen_ivi_stable/20131116.111703 ivi_oct_m2 submit/tizen/20130912.080432 submit/tizen/20130912.090731 submit/tizen_ivi_genivi/20140131.040826 submit/tizen_ivi_stable/20131116.100759
Chengwei Yang [Sun, 25 Aug 2013 01:53:39 +0000 (09:53 +0800)]
Remove debian packaging stuff

Change-Id: I952c2d7eb11144badc1c8aef7f2c7b9bb7992736
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
10 years agoMerge branch 'tizen_2.2' into tizen tizen_3.0 submit/tizen/20130904.062602
jy910.yun [Tue, 3 Sep 2013 12:11:11 +0000 (21:11 +0900)]
Merge branch 'tizen_2.2' into tizen

Conflicts:
packaging/system-server.manifest
packaging/system-server.spec
ss_predefine.c

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agofix typo in udev rules 37/8537/2
Maciej Wereski [Mon, 8 Jul 2013 14:23:28 +0000 (16:23 +0200)]
fix typo in udev rules

Change-Id: I69a057b55be8898b3b29a11e2ecc8fbec0d395ee
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
10 years agoRemove initscripts 34/8534/2
Maciej Wereski [Thu, 22 Aug 2013 10:14:28 +0000 (12:14 +0200)]
Remove initscripts

Change-Id: Icdbc96c6aec23650c5a35c09599c679c06a1c340
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
10 years agoAdd retry operation in case target can not get the battery capacity submit/tizen_2.2/20130808.070344
jy910.yun [Thu, 8 Aug 2013 06:56:44 +0000 (15:56 +0900)]
Add retry operation in case target can not get the battery capacity

previous operation was 'power off'.

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

10 years agothe permission of /opt/storage/sdcard directory is changed only when mmc filesystem... submit/tizen_2.2/20130801.065330
jy910.yun [Thu, 1 Aug 2013 06:51:30 +0000 (15:51 +0900)]
the permission of /opt/storage/sdcard directory is changed only when mmc filesystem is ext4. (755 -> 777)

on emulator, application can not access /opt/storage/sdcard directory.

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agosupport async function but just for power_manager submit/tizen_2.2/20130726.150255
jy910.yun [Fri, 26 Jul 2013 14:54:13 +0000 (23:54 +0900)]
support async function but just for power_manager

to avoid deadlock problem between system-server and power-manager

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

10 years agochange the default value of memory/sysman/mmc to 0(zero) submit/tizen_2.2/20130726.090003
jy910.yun [Fri, 26 Jul 2013 08:59:10 +0000 (17:59 +0900)]
change the default value of memory/sysman/mmc to 0(zero)

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agoin case mmc is already inserted on booting time, target doesn't work properly submit/tizen_2.2/20130723.102003
jy910.yun [Tue, 23 Jul 2013 08:26:27 +0000 (17:26 +0900)]
in case mmc is already inserted on booting time, target doesn't work properly

emul occurs uevent twice unlike target
it has a routine to ignore twice uevent,
but in this part, it failed to consider the situation of mounting sd-card on booting time.

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

10 years agorevise not to format on emulator cause of fail to make partition submit/tizen_2.2/20130723.063821
jy910.yun [Tue, 23 Jul 2013 05:02:58 +0000 (14:02 +0900)]
revise not to format on emulator cause of fail to make partition

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agoMerge "Fix the issue in which lowbat popup cannot be launched" into tizen_2.2 submit/tizen_2.2/20130712.102833
MyungJoo Ham [Fri, 12 Jul 2013 10:24:24 +0000 (10:24 +0000)]
Merge "Fix the issue in which lowbat popup cannot be launched" into tizen_2.2

10 years agoFix the issue in which lowbat popup cannot be launched
Jae-young [Tue, 9 Jul 2013 09:02:20 +0000 (18:02 +0900)]
Fix the issue in which lowbat popup cannot be launched

Signed-off-by: Jae-young <jae-young@mylinux.(none)>
10 years agofix typo in udev rules submit/tizen_2.2/20130709.092216
Maciej Wereski [Mon, 8 Jul 2013 14:23:28 +0000 (16:23 +0200)]
fix typo in udev rules

Change-Id: I69a057b55be8898b3b29a11e2ecc8fbec0d395ee
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
10 years agoFix the issue in which abnormal operation is occurred when connecting/disconnecting...
Jae-young [Tue, 9 Jul 2013 07:28:03 +0000 (16:28 +0900)]
Fix the issue in which abnormal operation is occurred when connecting/disconnecting charger with low battery

Signed-off-by: Jae-young <jae-young@mylinux.(none)>
10 years agoNoti files to use heynoti related to the device attachment are added
Jae-young [Tue, 9 Jul 2013 06:03:38 +0000 (15:03 +0900)]
Noti files to use heynoti related to the device attachment are added

- System-server was already changed to receive uevent directly for device attachement,
  but emulator still uses heynoti to notice to the system-server
- Until emulator changes handling device event, system-server should support heynoti

10 years agoRemove dependency for libsvi submit/tizen_2.2/20130704.051757
Taeyoung Kim [Thu, 4 Jul 2013 04:16:47 +0000 (13:16 +0900)]
Remove dependency for libsvi

Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
10 years agoremove the build dependency btw system-server and libsvi submit/tizen_2.2/20130702.095906
jy910.yun [Tue, 2 Jul 2013 09:58:07 +0000 (18:58 +0900)]
remove the build dependency btw system-server and libsvi

sys_device_noti directory moved into system-popup

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agoresetting manifest requested domain to floor 17/4517/1 accepted/tizen/20130710.221248 submit/tizen/20130710.124834
Alexandru Cornea [Fri, 28 Jun 2013 15:13:41 +0000 (18:13 +0300)]
resetting manifest requested domain to floor

10 years agoMerge "add to check return value and delete incorrectly code" into tizen_2.2
MyungJoo Ham [Fri, 28 Jun 2013 10:35:42 +0000 (10:35 +0000)]
Merge "add to check return value and delete incorrectly code" into tizen_2.2

10 years agoMerge "Merge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/framework/system...
MyungJoo Ham [Fri, 28 Jun 2013 10:33:08 +0000 (10:33 +0000)]
Merge "Merge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/framework/system/system-server into tizen_2.2" into tizen_2.2

10 years agoadd to check return value and delete incorrectly code submit/tizen_2.2/20130627.045845
jy910.yun [Thu, 27 Jun 2013 04:55:37 +0000 (13:55 +0900)]
add to check return value and delete incorrectly code

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agoMerge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/framework/system/system...
jy910.yun [Thu, 27 Jun 2013 02:34:12 +0000 (11:34 +0900)]
Merge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/framework/system/system-server into tizen_2.2

10 years agoapply notification user smack submit/tizen_2.2/20130625.054301
jy910.yun [Tue, 25 Jun 2013 05:42:16 +0000 (14:42 +0900)]
apply notification user smack

add data-provider-master::notification and data-provider-master::notification.client rules

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agosystem-server - adaptation to systemd and socket activation.
Jacek Pielaszkiewicz [Wed, 12 Jun 2013 08:46:20 +0000 (10:46 +0200)]
system-server - adaptation to systemd and socket activation.

The following changes have been implemented:
1. Enable socket activation. Function ss_sysnoti_server_init() (file ss_sysnoti.c)
   has been modified to get sockets created by systemd.

2. Enable sd_notify call after process initialization to report initialization status
   to systemd.

Change-Id: Ia5aced408d8956e720d70e003477ac428b1fd108
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
10 years agochange predefine action param from pid to sockfd
jy910.yun [Mon, 10 Jun 2013 06:16:37 +0000 (15:16 +0900)]
change predefine action param from pid to sockfd

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
10 years agoinsert heynoti to notify target restart
giyeol.ok [Mon, 4 Mar 2013 06:26:37 +0000 (15:26 +0900)]
insert heynoti to notify target restart

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I355157460d3290e78e408c30c6e3f0bf3e244ec4

10 years agobug fix of system-server code about smack disable kernel and lowbat check routine
jy910.yun [Mon, 10 Jun 2013 05:54:31 +0000 (14:54 +0900)]
bug fix of system-server code about smack disable kernel and lowbat check routine

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
10 years agoSystem server only works first time event, ignore second event submit/tizen_2.2/20130617.061617
jy910.yun [Fri, 7 Jun 2013 03:45:00 +0000 (12:45 +0900)]
System server only works first time event, ignore second event

when changed mmc status, udev event occurs twice everytime by emulator kernel
The reason is the structure of emulator kernel

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
10 years agosystem-server DO NOT kill the background application submit/tizen_2.2/20130605.090956 submit/tizen_2.2/20130613.152118
jy910.yun [Wed, 5 Jun 2013 08:51:43 +0000 (17:51 +0900)]
system-server DO NOT kill the background application

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

11 years agochange device node control api from plugin to device-node
jy910.yun [Tue, 4 Jun 2013 13:39:42 +0000 (22:39 +0900)]
change device node control api from plugin to device-node

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
11 years agoinsert direct power off routine to support lowbat power off
giyeol.ok [Mon, 25 Feb 2013 06:33:02 +0000 (15:33 +0900)]
insert direct power off routine to support lowbat power off

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
11 years agoumount all ext4 partitions with rw permission for preventing to access filesystem...
Byungsoo Kim [Fri, 22 Feb 2013 11:00:19 +0000 (20:00 +0900)]
umount all ext4 partitions with rw permission for preventing to access filesystem during power off

previously we used to write /proc/sysrq-trigger in order to remount all rw partition with only ro permission.
But emergency remount was not general approach.
So we sent sigterm signal to all processes using each rw partition and unmount it.

Change-Id: Ie520aeeaa8391889749a908ae3b18fc2fbb54677
Signed-off-by: Byungsoo Kim <bs1770.kim@samsung.com>
11 years agochange lowbat power off control routine to support the force poweroff
jy910.yun [Tue, 4 Jun 2013 12:30:03 +0000 (21:30 +0900)]
change lowbat power off control routine to support the force poweroff

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I0840a09b47436a78711bf6a6b9b73747c5f4b79a

11 years agotizen code is in sync with recently product code
jy910.yun [Tue, 4 Jun 2013 08:57:47 +0000 (17:57 +0900)]
tizen code is in sync with recently product code

delete unneccessary initailize
remove redundant log
add retry code

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agoinsert uevent direct control routine to clear the udevd message fail issue
jy910.yun [Tue, 4 Jun 2013 07:35:53 +0000 (16:35 +0900)]
insert uevent direct control routine to clear the udevd message fail issue

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agoMerge branch 'tizen_2.1'
jy910.yun [Sat, 1 Jun 2013 04:00:25 +0000 (13:00 +0900)]
Merge branch 'tizen_2.1'

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agoMerge "Add Changelog" into tizen
Anas Nashif [Wed, 29 May 2013 13:07:47 +0000 (06:07 -0700)]
Merge "Add Changelog" into tizen

11 years agoMerge "Fix compatibility for x64 arch." into tizen
Anas Nashif [Wed, 29 May 2013 13:07:35 +0000 (06:07 -0700)]
Merge "Fix compatibility for x64 arch." into tizen

11 years agoAdd Changelog 23/3723/1 accepted/tizen/20130529.151351 submit/tizen/20130529.144518
Baptiste DURAND [Wed, 29 May 2013 11:55:44 +0000 (13:55 +0200)]
Add Changelog

11 years agoFix compatibility for x64 arch. 22/3722/1
Baptiste DURAND [Wed, 29 May 2013 11:54:32 +0000 (13:54 +0200)]
Fix compatibility for x64 arch.

Fix various hardcoded path

11 years agoapply system::ext_storage label to ext4 file system submit/tizen_2.1/20130527.123047 submit/tizen_2.2/20130604.080324
jy910.yun [Mon, 27 May 2013 12:26:23 +0000 (21:26 +0900)]
apply system::ext_storage label to ext4 file system

All of the files on ext4 file system is removed the execute permission to prevent security issue.
Also All directory on ext4 file system is gived the transmutable option of smack by system-server shell.

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agoin emulator, support ext4 format for mmc control submit/tizen_2.1/20130524.100951
jy910.yun [Thu, 23 May 2013 05:18:21 +0000 (14:18 +0900)]
in emulator, support ext4 format for mmc control

before in emulator it can not support MMC because of IP issue
but we found other way, so we support ext4 format now

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agofix manifest tizen_2.1 accepted/tizen/20130520.101316 submit/tizen/20130517.045238 submit/tizen_2.1/20130511.022908 submit/tizen_2.1/20130514.055013
Kidong Kim [Sat, 11 May 2013 02:29:00 +0000 (11:29 +0900)]
fix manifest