Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I9adfd7018964fb14b73f1453876ee0fc3d5b78ea
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit f4b5c461351d5b207fb25633419c366a681f6b5d)
|
|
To enable USB tethering, you must run the following two commands after configuring the USB endpoint.
1. /sbin/ifconfig usb0 192.168.129.3 up
2. /Sbin/route add -net 192.168.129.0 netmask 255.255.255.0 dev usb0
These commands are not directly executed by deviced, but are delegated to rndis.service.
The reason is to use the already implemented structure (sdbd.service and mtp-response.service).
The patch has been split into deviced and libdeivce-node.
The rndis.service is in deviced, and the code to run rndis.service is in libdevice-node.
Connected patch: "Support USB tethering" commit on libdevice-node.
Change-Id: I9fdc8424c94ee1f7e29a9a2cc37958d24373d74c
|
|
Change-Id: If68cd575a30886d75678edf82992c4e647d0c1e3
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
|
|
Change-Id: I3a637a43ce0aba64b50093b24d4e8a13a7b91f33
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: Ic719ce9f2156bdaebedb5cda60643e7462dce792
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: I29a241fad703080b55d02d5bc7267e7a0832e719
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: I89309dec1f198a5fbac3e4fbbbee484bcb6f5bf2
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: I4b4ec163a271a2da0909dd9e379b016962710367
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
|
|
dpms
Change-Id: I69e62ebbc8083a40fc383d2c2f36a63d7c975ebe
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Call common check_system_boot_finished function, instaed of local implement.
Change-Id: Iafec48599499be4263e9e6383e8bdfc21ded0e87
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
|
|
Cool-down algorithm is changed as below.
1. Cool-down is changed from broadcasting signal to sending dbus method.
2. Deviced don't have to request pop-ups to system-servant.
Because SIOP or PASS will do it according to it's own scenarios.
Change-Id: I8cf6c949911533c77620dd38087836b4eaaf36f8
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: Ie685d3a9fa2037fae96e2468e21abb039f9edbc1
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
The location should be /usr/lib/systemd/deviced-shutdown (for both 32-bit and 64-bit build)
Change-Id: Ic31de51f4b2f848d2602f1dbc42d34283cc0f624
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
When dump signal is received, dump logs are saved under /var/log/deviced.log
Change-Id: Idde9ce3bb02430e5373dbd953134e8e4acf46616
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: I7170c14e46cdd8ccbbcfcede18232bb10a62c8e9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
This commit provides special binary that is going to handle
Tizen system shutdown.
This utility is called by systemd, not deviced.
The final shutdown scheme is going to look like following:
1. deviced receivies request to shutdown/reboot the system,
- preparation is performed (send signals, etc)
- operation start is marked in /run/
- hardcoded actions are started
- depending on shutdown type following is performed:
+ direct shutdown: system is rebooted immidietly (end of flow)
+ other: dbus request to systemd is sent
2. systemd receives the "poweroff" request
- supported requests are Reboot, PowerOff & Halt
- systemd (pid1) replaces it's own process with shutdown binary
(execve("/usr/lib/systemd/systemd-shutdown"))
- shutdown binary is provided by deviced package by alternatives
mechanism
# ls -l systemd-shutdown
systemd-shutdown -> /etc/alternatives/systemd-shutdown
# ls -l /etc/alternatives/systemd-shutdown
/etc/alternatives/systemd-shutdown -> /usr/lib/systemd/deviced-shutdown
(alternatives allow both systemd and deviced to "provide" same
binary, with deviced having higher priority being selected as
the one to use)
3. /usr/lib/systemd/systemd-shutdown becomes pid1
- original systemd1 manager is no longer available, meaning no restart,
watchdog, socket/path/etc activation is handled.
- depending on systemd-provided params it performs reboot or poweroff
Change-Id: I46b4d0f375a1a6e7fc3e1d74b0530d7ec73ccb12
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Firstly, thermal value depends on hardware.
So, we have to apply different temp table for each targets.
Secondly, change the name on temp table as products.
ex) Critical -> Limt
Danger -> Shutdown
Lastly, change condition in thermal_get_temp_enum
Change-Id: If25be071e000dfaa1d5e68d205538cd2332d1d9b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: I3a6e0336d699f9a006cbe47fa920603e33d2d956
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
|
|
Change-Id: I6b848799d6a5f568350becac14c3d85c10b6b3e9
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
files
Change-Id: I31f7cc6eb5577e92d1668eb43a45779cf0b6f929
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I524ab65b1ec77f472249d86c2c6611cdb30412f1
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: Ib4d7eea6ccc78eb4cd1bdc803f32a8006524a1f9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I4f05b4da3f3067878b07779870013b1d0ea24731
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I65811fb7958cb4865c5e5c616953ca9267bbfd76
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Starting and stopping usb operation is specific to the implementation.
This responsibility is moved to USB HAL.
Change-Id: I8a729a1343d27dc04e5a5611c9fd6ccdf394d4a4
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: I706f6f55accc9858939fc8ae3e621b489f637b15
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
This reverts commit f50deea1efd5062415f43eb0722983daae77413f.
Change-Id: I3dc62a8c786376039dcc2592ecc61d8f348a6885
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
This revert was only temporary solution and with updated HAL implementation
deviced should not start any services itself.
This reverts commit 64bec949084f2bff0dce333052eda84d0244ee3f.
Change-Id: Ifd5ccb3b2bbdf764ef0f3a2a191755494cdb7b64
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: Ifc95d7062cf63674032fdf6e2684fc0a4437ef2f
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I3afd64a2f7603e5e63c0db1b0c46bc661f6f8b0a
Signed-off-by: pr.jung <pr.jung@samsung.com>
|
|
Change-Id: I5eb0781aaa8a09039d37f6c8264315a891b050d0
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
socket: deviced.socket
function: deviced_call_predef_action
Change-Id: Ie09f1e8f913f95f95fb64146392ff9929447d2cf
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: Ia9d1c38bc5d8baad1e0660fb5dcb3fa5e0721691
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
This reverts commit 48763fe1d4173f68803e941acf8c605a66ccbfe4.
Change-Id: I6e20e9f2fce3e1b79a63c6a292840b24a7ab0d68
|
|
Starting and stopping usb operation is specific to the implementation.
This responsibility is moved to USB HAL.
Change-Id: I1c9135f40ea203ff529c3699b442e947a6cf50a9
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
|
|
Change-Id: I2a5dcb56c82e8c4b10196e2624057a8e94d2735c
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: Ia9eb3346109a97a89ba8dd99caa389fcb8204ed8
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: I20f5ec0d70f9426fa4764fa952bd905aaf9dc15d
Signed-off-by: pr.jung <pr.jung@samsung.com>
|
|
Change-Id: I5a2b1e08fcdddd3ef6d15ad4170fcf755a208729
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
/plugins directory has been added.
Change-Id: Ie1550e2d76fb20fb204134c8c25a04584dd48355
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I678fa8b6c941def34248787bf094209de64fcdf5
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I013a02fdc716b1bc42aae5c6740acb381d0e81d6
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: If95b8f48d52ca38e2e56181427b659a69cd6e4dd
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: I2903d8111ff125f37bb9e0bead2c713e73ea286c
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
Change-Id: Ief4f13d7ac80fbb25355520baab5dd4d08a69534
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
When pass is enabled, the structure for thermal status has to be changed.
Because temp data will be delivered from pass.
It will be updated, when temp status is changed.
Change-Id: I0b940b00d650198cdfcf333d622a360f227fb9f8
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
deviced-auto-test package was added.
Now it supports battery dbus method test only.
(other module will be updated.)
This is optional package.
If you want to use this, install device-auto-test package manually
and run below command. Then you can see detail usage for this tool.
$/usr/bin/deviced-auto-test
usage: deviced-auto-test [PROFILE] [MODULE] [UNIT-METHOD] [OPTS]
Change-Id: Id8824459e88286d8f0074b05b2e1f93690a6e4d2
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
|
|
ecore is too heavy, so change it to ecore-core to remove
dependancy.
Change-Id: Id93b8bd0a36ab50d7e9d1804ac65045e4d32aced
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
|
|
Change-Id: If4deccc8074594689894e44d866d6955b528f904
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
|
|
- This is for Tizen 4.0.
- We are going to merge emulator repository into standard repositoryi.
Change-Id: If7b2a2762c5b4b57a052b8137b30fdaa22e1d6ea
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
|