summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
7 daysAdd vibration intensity controller for bezelsubmit/tizen_5.5/20200708.060217submit/tizen_5.5/20200707.101901submit/tizen_5.5/20200707.084952accepted/tizen/5.5/unified/20200713.130018tizen_5.5accepted/tizen_5.5_unifiedrefs/changes/94/237994/1Youngjae Cho1-0/+11
Change-Id: I9f59841bfeb88db49306c2e486174ad287413fac Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2020-06-22Remove comment of bezelrefs/changes/68/236768/1Youngjae Cho1-3/+1
It is possible to exist both HW/SW bezel function. Change-Id: I23b7c5c6db71115658092309ef808efe8e0dbe64 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2020-04-23Add charging threshold for get_aod_brightness()submit/tizen_5.5/20200424.054621accepted/tizen/5.5/unified/20200427.094530refs/changes/10/231610/1Youngjae Cho1-1/+1
Change-Id: I740aa8b11b9f486ea00b77303cf379539bceecb9 Signed-off-by: Youngjae Cho <y0.cho@samsung.com> (cherry picked from commit e73a15b7e745490c30da329ed2565a2b40e7ccee)
2020-04-08Mofidy indentrefs/changes/78/230178/1INSUN PYO1-2/+2
Change-Id: I4d4d349b51d7feeac6912e08ac79e0b2695d3e7e (cherry picked from commit 30379cb9470e47417a07250d28177c335b1f4e5c)
2020-04-07Refactoring usb function variable in usb gadgetrefs/changes/61/229961/1INSUN PYO4-49/+26
Change-Id: I494c5dbb285870f226fe64392b6b880797309761 (cherry picked from commit 8e03ec0d2c4b7beb09d8a49fa626fb807b991789)
2020-04-07Rework usb gadget validataionrefs/changes/54/229954/1INSUN PYO2-30/+35
On SLP : check if /sys/class/usb_mode/usb0/f_[sdb|mtp|acm|rndis|diag|dm] exists On CFS : check if /usr/lib/systemd/system/[sdb|mpt].service exists or the result of usbg_lookup_function_type() Change-Id: I2cc8acc3553a8734484d50cfc0ede7a963a363b0 (cherry picked from commit 3bb736815986e6433b2a94555c4ceb64b2abea7a)
2020-04-06Fix rndis not recognized in Windowssubmit/tizen_5.5/20200406.040657accepted/tizen/5.5/unified/20200407.015618refs/changes/47/229847/1INSUN PYO1-3/+3
Change-Id: I971a2378b6661038c034c7389e1f5155844f9411 (cherry picked from commit e1bcac1f94bbaa0b7cfb66a63776437863b4a7b7)
2020-03-30Remove unused usb_clientsubmit/tizen_5.5/20200331.081954submit/tizen_5.5/20200330.024853accepted/tizen/5.5/unified/20200331.180322accepted/tizen/5.5/unified/20200330.153516refs/changes/08/229108/1INSUN PYO2-14/+18
Change-Id: If2d574da915233d2849017892d64a7ea75191970 (cherry picked from commit 66aa88ba4c649532bef7c512eebdb24d9481568b)
2020-03-26Refactoring config's stringsubmit/tizen_5.5/20200326.062228submit/tizen_5.5/20200326.053433accepted/tizen/5.5/unified/20200326.232401refs/changes/45/228845/1INSUN PYO4-24/+7
The usb gadget's config uses only one string information. So instead of dynamically creating string information, only use one fixed. Change-Id: Ie7e5bb198a429c8ac766002711f6add47d06fa1e (cherry picked from commit f4221a979f17129610293fed809d7fd822d59f54)
2020-03-26Refactoring gadget's stringrefs/changes/44/228844/1INSUN PYO4-79/+66
The usb gadget uses only one string information. So instead of dynamically creating string information, only use one fixed. Change-Id: I01adf3d0c7ce498e516b08b5a284c63d2940bcb6 (cherry picked from commit 998f44215d67cdf7aa33d63f012369c3a413bfaa)
2020-03-26Refactoring usb gadgetrefs/changes/42/228842/1INSUN PYO4-53/+34
Move common USB gadget attribute value to header Change-Id: Id06fefc9af78876d46364b39893b4f25ebd9ed82 (cherry picked from commit a3a343526d84ad3c7097014bce38e7ca79bb3a0d)
2020-03-26Fixed incorrect use of errno in usb cfs clientrefs/changes/13/228813/1INSUN PYO1-6/+3
Change-Id: Ib091544138444c4108c7b09eb3e70e830661648e (cherry picked from commit d8d490bd8049ccad9e5a8bede183ce63bbb7e78d)
2020-03-25Fixed configfs not supporting multi-configurationrefs/changes/04/228704/1INSUN PYO1-12/+15
One usb function can be used in multiple config in configfs. So when you create a usb function, you have to check if it exists. Change-Id: I8f16fe4c542b277c12022d1c96d8ccb0aee32237 (cherry picked from commit 632729260576e9e7a81a18f8ef7dc9f51fe8c184)
2020-03-24Revert "Change global variable _available_funcs to const"submit/tizen_5.5/20200324.034815accepted/tizen/5.5/unified/20200325.144922refs/changes/65/228565/1INSUN PYO4-23/+24
This reverts commit 9065e52b99d5a10fa059c7337b7d693fa32584e5. The const variable is assigned to the read-only memory map area. So, we can not modify it. Change-Id: I8719eef3af23bd7c33e3419d94afdf4f5f19261c (cherry picked from commit 0eb9342b124760ee703d25bb4cd703338d58cdc1)
2020-03-20Change global variable _available_funcs to constsubmit/tizen_5.5/20200320.020709accepted/tizen/5.5/unified/20200320.124917refs/changes/38/228238/1INSUN PYO4-24/+23
Since the _available_funcs global variable is used in many places, it should be prevented from changing to const. Change-Id: I53404030e16361a70254fe2780176ac1441b1e13 (cherry picked from commit 9065e52b99d5a10fa059c7337b7d693fa32584e5)
2020-03-20Merge "Remove unnecessary functions to clone/fee usb_function" into tizen_5.5Hyotaek Shim2-62/+2
2020-03-20Remove unnecessary functions to clone/fee usb_functionrefs/changes/36/228236/2INSUN PYO2-62/+2
Change-Id: Ib6fcc7bd7ec2ed060e68a11b3837a0e2cd3f881b (cherry picked from commit b55a1f3108990c4dbeb6d11963487b55a659f963)
2020-03-20Rewrite usb_function to hide global variable _available_funcsrefs/changes/37/228237/1INSUN PYO4-125/+110
To prevent the global variable _available_funcs from being exposed. Change-Id: I26b09d3fa8fb5c8117c0029eb94dd3b7efe9a2c7 (cherry picked from commit 3d1a1c4e666cd31b88cd678968658368e988cbaa)
2020-03-20Rework reconfiguration configfs gadgetrefs/changes/35/228235/1INSUN PYO1-168/+111
Before : add new functions -> enable new functions as linking to configs -> delete unused configs -> deleted unused functions After : remove all configs -> remove all functions -> add new functions -> enable new functions as linking to configs Change-Id: If0fdcb9a1cda9afcb6d865bee7f0db1539d4df2b (cherry picked from commit e513020a513815371d18079de80c55f370aa6ed6)
2020-03-19Fixed a possibility that the function handler might be called twicerefs/changes/92/228092/1INSUN PYO1-45/+47
Configfs can use more than one configs. (/sys/kernel/config/usb_gadget/hal-gadget/configs/hal-config.1 and /sys/kernel/config/usb_gadget/hal-gadget/configs/hal-config.2) One usb function can be included in two config simultaneously. In this situation, a handler associated with function can be called twice for a usb function. To prevent duplicate calls, it handles only the handlers of functions enabled in configfs, not the usb functions included in all configs. Change-Id: I5e02dadc5d2688f0ad9210ad5ab149fb95ab05ba (cherry picked from commit 7803a3c5a1b0293a5bda490c26c95ae8b967e001)
2020-03-19Rework getting the currently enabled function list in the SLP gadget.refs/changes/85/228085/1INSUN PYO1-376/+91
Before Change: Obtain all information of gadget from the enabled gadget. After Change: Obtain only necessary function list from the enabled gadget. Change-Id: Ib6547209f443e7a58bbbdb87373e53d252cdbdb6 (cherry picked from commit 52e9dce09444267176cc1aade368944aadf8cc58)
2020-03-18Fix build errorsubmit/tizen_5.5/20200318.091346accepted/tizen/5.5/unified/20200318.225549refs/changes/37/228037/1Hyotaek Shim1-0/+3
Change-Id: I5af1d9f6b247ceae2475a04f7e95629f9e81f428 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2020-03-18Fix build errorsubmit/tizen_5.5/20200318.072527refs/changes/26/228026/1Hyotaek Shim1-0/+1
Change-Id: I26a3d3db3fecdd5303d99fa1b003e446ba75e002 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2020-03-17Remove unused usb_client hal featuresubmit/tizen_5.5/20200318.064104submit/tizen_5.5/20200318.033330refs/changes/62/227962/1INSUN PYO6-487/+19
Change-Id: I0d9f5c77a729ca706b85ab988aecd76ccb4c12cc (cherry picked from commit 94e1d8be764c68c97c6f2ec15a0dc07ce6e3837f)
2020-03-16Fixed misuse of const variablesubmit/tizen_5.5/20200316.083018submit/tizen_5.5/20200316.065201accepted/tizen/5.5/unified/20200316.155231refs/changes/05/227705/1INSUN PYO1-28/+30
Change-Id: I148b8b5b1463c3593f3f609c5ba137403b9272f9 (cherry picked from commit 2f3aa72c35df8b372a583701d477e42150e825c5)
2020-03-16Remove unused usb functions after changing usb modesubmit/tizen_5.5/20200313.073358refs/changes/89/227689/1INSUN PYO1-3/+107
After setting the new usb mode, the configfs functions that was not used remain. For example, changing from rndis mode to sdb mode, /sys/kernel/config/usb_gadget/hal-gadget/rndis.default remains. A functionfs has to do a few extra things. - The socket and service associated with functionfs must be terminated. - Umount /dev/usb-funcs/[sdb|mtp]/default - Delete /dev/usb-funcs/[sdb|mtp]/default recursively Change-Id: I2d66f033babd5bea20cfc74d8bf23eb9a89c3be1 (cherry picked from commit 19877fd6f2488dca79d89c5b06f1673a624a5f32)
2020-03-13Fixed using wrong usb function list when usb gadget enable/disable in configfsrefs/changes/10/227610/1INSUN PYO1-45/+51
When usb gadget is enabled/disabled in configfs, it retrieves the list of currently used usb functions in order to run the service handler. Before the modification, it retrieve a list of "all functions" used even once. So if you run "ifconfig" after changing usb mode to "sdb mode" -> "rndis mode" -> "sdb mode", even in sdb mode, the usb0 network interface appears. Change-Id: I83564591cd899197077823fdb2fbe25d034fcf46 (cherry picked from commit 25b632db82163a339c23ffafc1095be225816b25)
2020-03-12Refactoring: replace ffs_service to is_functionfsrefs/changes/09/227509/1INSUN PYO4-67/+46
Change-Id: Ibb74b5627ef1376be141fb23e56787e45b34c142 (cherry picked from commit c1ef88b5dc9a2e8014ebf290e802fb57c34fd5f0)
2020-03-12Add DISPLAY_DETACH display statesubmit/tizen_5.5/20200312.063422accepted/tizen/5.5/unified/20200313.004359refs/changes/50/227450/1Youngjae Cho1-0/+1
Change-Id: I9ca39908a04ea557e36f8598236489c1f8e53f6d Signed-off-by: Youngjae Cho <y0.cho@samsung.com> (cherry picked from commit ace7d369c1949819065b9e28143275f13760dc50)
2020-03-11Fixed to stop services of functionfs when gadget is disabledrefs/changes/64/227364/1INSUN PYO2-6/+25
sdb.service and mtp-responder.service are alive when the usb cable is unplugged in the configfs environment. If the usb cable is disconnected, gadget disable is called. These services are stopped when the gadget is disabled. Caution 1 Note that the socket units for these services should remain. The scoket unit has ep0 in the functionfs environment. If ep0 disappears because the socket unit is stopped, the functionfs can never be enabled. Caution 2 Since ffs_service works by socket activation, it will be started automatically when data is enqueued to the usb socket. So when enabling configfs gadget, it doesn't start ffs_service. Change-Id: I660e0cf157320f6a4e8f152a028772547dd701f6 (cherry picked from commit 5e9327a2d5b5215b4371b406339dc83a89891074)
2020-03-11Introduce 3 level AOD brightnesssubmit/tizen_5.5/20200311.031543accepted/tizen/5.5/unified/20200311.131001refs/changes/54/227254/1Youngjae Cho1-0/+3
Change-Id: Ie8d980be45455bb45e29f893592101a382247668 Signed-off-by: Youngjae Cho <y0.cho@samsung.com> (cherry picked from commit 3afe9b27685260317588ffc2b5b314bb68fdfaf8)
2020-03-03Delete usb mode not supported by tizensubmit/tizen_5.5/20200303.003248accepted/tizen/5.5/unified/20200303.170607refs/changes/42/226442/1INSUN PYO1-51/+6
usb mode supported ///////////////////////////////////////////////////////////////////////////////////////////////////////// {SET_USB_DEFAULT, USB_FUNCTION_MTP | USB_FUNCTION_ACM} {SET_USB_SDB, USB_FUNCTION_MTP | USB_FUNCTION_ACM | USB_FUNCTION_SDB} {SET_USB_NONE, USB_FUNCTION_NONE} {SET_USB_RNDIS, USB_FUNCTION_RNDIS} {SET_USB_RNDIS_DIAG, USB_FUNCTION_RNDIS | USB_FUNCTION_DIAG} {SET_USB_DIAG_RMNET, USB_FUNCTION_DIAG | USB_FUNCTION_RMNET} {SET_USB_ACM_SDB_DM, USB_FUNCTION_ACM | USB_FUNCTION_SDB | USB_FUNCTION_DM} {SET_USB_SDB_DIAG, USB_FUNCTION_MTP | USB_FUNCTION_ACM | USB_FUNCTION_SDB | USB_FUNCTION_DIAG} {SET_USB_DIAG_SDB, USB_FUNCTION_MTP | USB_FUNCTION_ACM | USB_FUNCTION_SDB | USB_FUNCTION_DIAG} {SET_USB_RNDIS_SDB, USB_FUNCTION_ACM | USB_FUNCTION_SDB | USB_FUNCTION_RNDIS} {SET_USB_RNDIS_TETHERING, USB_FUNCTION_ACM | USB_FUNCTION_SDB | USB_FUNCTION_RNDIS} {SET_USB_RNDIS_SDB_ACM, USB_FUNCTION_ACM | USB_FUNCTION_SDB | USB_FUNCTION_RNDIS} ///////////////////////////////////////////////////////////////////////////////////////////////////////// Change-Id: Ibec4c14fcde3e55d1b17cec1ba4e76884ddeaf6a (cherry picked from commit 6bbeb2c29ca623f148a3aefe5181580891183fec)
2020-02-25Add software bezel controlsubmit/tizen_5.5/20200226.105102accepted/tizen/5.5/unified/20200227.121139refs/changes/31/225831/1Youngjae Cho1-1/+8
Change-Id: I6eb441abc0ea10e96d14bb3b4d7f114e0689efe3 Signed-off-by: Youngjae Cho <y0.cho@samsung.com> (cherry picked from commit f66ad5ff8275412eab4c0bc4279764033ee81ad8)
2020-02-21Remove workaround code that it makes usb work in Artiksubmit/tizen_5.5/20200221.073347accepted/tizen/5.5/unified/20200224.123548refs/changes/11/225611/1INSUN PYO1-16/+0
Excon does not work perfectly in Artik. So I added the workaround code, which causes some strange USB initialization. This problem disappears when the extcon value is always fixed at 1. So I asked the kernel team to fix the extcon value to 1 and removed the workaround code. If extcon is always 1, deviecd will not recognize when usb is disconnected, but it will work normally. Conclusion: For targets where extcon does not work perfectly, deviced do not support usb connect/disconnect. Change-Id: Idf06c987f589218a458df6904d8fb8f9132f05c3 (cherry picked from commit f68550cd0c83a60621de5ef70de2a9edcba8b5d7)
2020-02-18Use mtp-responder-dummy.socket when there is no mtp-responser.socketsubmit/tizen_5.5/20200220.232939submit/tizen_5.5/20200218.230832accepted/tizen/5.5/unified/20200221.094219refs/changes/08/225208/1INSUN PYO7-0/+40
The mtp-responder.socket is special in the configfs environment. If mtp-responder.socket is missing, gadget configuration will fail. As a result, all usb operations do not work properly. So in environments that mtp doesn't support, use dummy mtp. Applied target : XU3, Artik headless, RPI4 Change-Id: I34bee7c1837ada478959407cd7c6500e219f28bc (cherry picked from commit 0202291b7c1b3be3db32bba3001d51d7efe6a362)
2020-02-12Extend USB gadget configuration for sync to MCD tizen 4.0submit/tizen_5.5/20200212.002753accepted/tizen/5.5/unified/20200214.050323refs/changes/86/224586/1INSUN PYO1-36/+27
static const unsigned int usb_mode_features[SET_USB_MODE_MAX] = { [SET_USB_NONE] = USB_FUNCTION_NONE, [SET_USB_DEFAULT] = USB_FUNCTION_MTP | USB_FUNCTION_ACM, [SET_USB_SDB] = USB_FUNCTION_MTP | USB_FUNCTION_ACM | USB_FUNCTION_SDB, [SET_USB_SDB_DIAG] = USB_FUNCTION_MTP | USB_FUNCTION_ACM | USB_FUNCTION_SDB | USB_FUNCTION_DIAG, [SET_USB_RNDIS_TETHERING] = USB_FUNCTION_RNDIS | USB_FUNCTION_SDB | USB_FUNCTION_ACM, [SET_USB_RNDIS] = USB_FUNCTION_RNDIS, [SET_USB_RNDIS_SDB] = USB_FUNCTION_RNDIS | USB_FUNCTION_SDB | USB_FUNCTION_ACM, [SET_USB_DIAG_SDB] = USB_FUNCTION_MTP | USB_FUNCTION_ACM | USB_FUNCTION_SDB | USB_FUNCTION_DIAG, [SET_USB_RNDIS_DIAG] = USB_FUNCTION_RNDIS | USB_FUNCTION_DIAG, [SET_USB_DIAG_RMNET] = USB_FUNCTION_DIAG | USB_FUNCTION_RMNET, [SET_USB_ACM_SDB_DM] = USB_FUNCTION_ACM | USB_FUNCTION_SDB | USB_FUNCTION_DM, [SET_USB_RNDIS_SDB_ACM] = USB_FUNCTION_RNDIS | USB_FUNCTION_ACM | USB_FUNCTION_SDB, }; Change-Id: I357240c37f5ceb694929c7f9cde6a04587212dec (cherry picked from commit 0c129c2561c2e62f2176e4435412a969b4617fb2)
2020-02-07Apply mac addres for rndis modesubmit/tizen_5.5/20200207.085239accepted/tizen/5.5/unified/20200210.131643refs/changes/63/224263/1Youngjae Cho1-0/+38
Change-Id: Ic3472d6b6da35b199704ca6150447cab05638a71 Signed-off-by: Youngjae Cho <y0.cho@samsung.com> (cherry picked from commit afc9e97d20d06918ade6e6cc555226bc30131889)
2020-02-06Extend USB gadget configuration for ACM mode.submit/tizen_5.5/20200206.042606accepted/tizen/5.5/unified/20200207.122810refs/changes/56/224056/1INSUN PYO1-5/+12
TV profile doesn't have mtp-responder.service. If mtp-responder.service does not exist in the configfs environment, usb initialization will fail. So, we check to see if mtp-responder.service exists and remove MTP from usb mode if it doesn't exist. If you do not build deviced in engineer mode and have a TV profile, ACM only mode exists. (Engineer mode always adds SDB to usb mode.) Change-Id: I0472ee10e572e36638d73df7b2be691c49d8f857 (cherry picked from commit 16d7f6721fe4650090cb94af21e001713956de7d)
2020-02-06Extend USB gadget configuration for MTP + ACM mode.submit/tizen_5.5/20200206.031849refs/changes/52/224052/1INSUN PYO1-0/+8
The usb default value in MCD is MTP + ACM. Change-Id: I46fb8b450029d061fb53da2e60c168c5a54b1fb6 (cherry picked from commit 6a9dfee0f087d09589556c2a81adc204eb3ffd0b)
2020-02-05Revert removing ARRAY_SIZE macrosubmit/tizen_5.5/20200205.062045accepted/tizen/5.5/unified/20200205.063450refs/changes/33/223933/1INSUN PYO1-0/+2
device-manager-plugin-sc7730 use ARRAY_SIZE as symbol instead of simple define. E/DEVICE_NODE( 350): common.c: hw_get_info(63) > fail to open module : /usr/lib/hw/external_connection.so: undefined symbol: ARRAY_SIZE E/DEVICED ( 350): extcon.c: extcon_probe(411) > There is no extcon class. E/DEVICED ( 350): devices.c: devices_init(118) > [extcon] Failed to probe. E/DEVICE_NODE( 350): common.c: hw_get_info(63) > fail to open module : /usr/lib/hw/led.so: undefined symbol: ARRAY_SIZE E/DEVICED ( 350): rgb.c: rgb_probe(387) > There is no LED HAL. E/DEVICED ( 350): devices.c: devices_init(118) > [rgbled] Failed to probe. E/DEVICE_NODE( 350): common.c: hw_get_info(63) > fail to open module : /usr/lib/hw/led.so: undefined symbol: ARRAY_SIZE E/DEVICED ( 350): torch.c: led_service_load(160) > Failed to load led shared library: -2 E/DEVICED ( 350): devices.c: devices_init(118) > [torchled] Failed to probe. E/DEVICE_NODE( 350): common.c: hw_get_info(63) > fail to open module : /usr/lib/hw/led.so: undefined symbol: ARRAY_SIZE Change-Id: I621dbca201a36681e23ece03fbb9d7c12eb5d127 (cherry picked from commit 9a038fa3dfa3b8aea9606a7b9586d8f6103ecdc5)
2020-02-03Extend USB gadget configuration for usb debug mode.submit/tizen_5.5/20200205.031401refs/changes/33/223733/1INSUN PYO1-0/+8
In MCD user mode binary, sdb is disabled and mtp mode is only enabled. When you enable debug mode(on Setting menu), both sdb is enabled. As a result, sdb and mtp are enabled. But, there were no configuration of SDB + MTP mode. Device log at this situation. ////////////////////////////////////////////////////////////////////// 01-15 22:25:31.787 I/DEVICED (P 2608, T 2608): usb-debug.c: usb_debug_changed(64) > USB debug ON. 01-15 22:25:31.788 I/DEVICED (P 2608, T 2608): usb-debug.c: usb_debug_mode_changed(81) > Previous mode(1). 01-15 22:25:31.788 I/DEVICED (P 2608, T 2608): usb-debug.c: usb_debug_mode_changed(88) > New mode(5). 01-15 22:25:31.789 E/DEVICED (P 2608, T 2608): usb.c: usb_change_gadget(244) > Unable to translate id into gadget: -22 01-15 22:25:31.789 E/DEVICED (P 2608, T 2608): usb.c: usb_change_mode(332) > Failed to change gadget: -22 /////////////////////////////////////////////////////////////////////// Change-Id: Ic3f5420603b8ef02411ed429540542710415685b
2020-01-30Fix bug - move _available_funcs to source code form header.submit/tizen_5.5/20200204.002631submit/tizen_5.5/20200131.024742accepted/tizen/5.5/unified/20200205.014419refs/changes/00/223500/1INSUN PYO3-118/+113
The _available_funcs is in header and static type. So, _Available_funcs variables are created for all sources that include the header. In this case, usb_cfs_clinet-common.c, usb_client_common.c and usb_gadget_common.c make its own static variable. Change-Id: I29d2bb9d8543dafd049bbb9145fc9e4e14c13394 (cherry picked from commit 9a571b90e16b68fdbe2cdcb7ec3ca6e14a1b8b3b)
2020-01-30Refactoring usb gadget header #2refs/changes/81/223481/1INSUN PYO5-45/+40
Change-Id: Ic9473dbbeee14d609e357c1d3fcc00dbea1dc434 (cherry picked from commit 1c426172aa3a5047914ee14bb0ade36bff0e6826)
2020-01-30Fix bugrefs/changes/67/223467/1INSUN PYO1-0/+7
Change-Id: I1ee04b2ca4927f71b5c96c5dcc7988893fc322d6 (cherry picked from commit 2e5bad8ab1f6280dc4149cc0792604f4df40180f)
2020-01-28Add USB rndis_handler for rndis modesubmit/tizen_5.5/20200128.093910refs/changes/02/223302/1INSUN PYO2-1/+13
Rndis mode needs rndis.service and sshd.service. Also, rndis.service should run first, and sshd.service should run later. The rndis_handler starts rndis.service and service trigger starts sshd.service. Change-Id: I1a2f3960b257ce56a7d49e47848ab11021ad418e (cherry picked from commit 90247ab0794ce0dde0d1bd5f8378fa0a055b5129)
2020-01-28Add USB enable/disable handlersubmit/tizen_5.5/20200128.045317accepted/tizen/5.5/unified/20200129.120429tizen_5.5_tvrefs/changes/55/223255/1INSUN PYO3-25/+44
Change-Id: I2a488ef551a3c92a36cfa428787cdfdd31f82cab (cherry picked from commit 2dbaad820b5f0ca6c9b59ac61c3c14460775f915)
2020-01-28Refactoring usb gadget for functionfssubmit/tizen_5.5/20200128.022624refs/changes/05/223105/2INSUN PYO3-91/+68
Change-Id: Ieb87a66543095a44773bdfba105c37b19b3b2cfa
2020-01-22Refactoring usb gadget headersubmit/tizen_5.5/20200122.234617accepted/tizen/5.5/unified/20200128.034023refs/changes/95/223095/1INSUN PYO3-181/+87
Merge "struct usb_function_witch_service" into "struct usb_function". Change-Id: I9ed616f7e5933594093e9a027dd7d56cf1b016c8 (cherry picked from commit c76e213a9ecef080b7dc3ae92105969e9d531deb)
2020-01-16Support touchscreen powersavingsubmit/tizen_5.5/20200121.093910submit/tizen_5.5/20200116.082815accepted/tizen/5.5/unified/20200121.165900refs/changes/75/222575/1Youngjae Cho1-0/+2
Change-Id: I5e0a6f77f1ae6cf8678b0240f3c68c907acf4f38 Signed-off-by: Youngjae Cho <y0.cho@samsung.com> (cherry picked from commit 4732d69638a25e1d142c50783200b919c0f35f2d)
2020-01-15Add code to run rndis.service(rndis) and data-route.service(acm) in configfs ↵submit/tizen_5.5/20200115.105138accepted/tizen/5.5/unified/20200116.120643refs/changes/90/222490/2INSUN PYO2-12/+47
environment Rndis and acm need their services to complete initialization. Change-Id: I24381f2e30a4cf1e3051ea4a304d65ad8eb59f50 Signed-off-by: INSUN PYO <insun.pyo@samsung.com> (cherry picked from commit c0fb89192952ca0806c26abddf5daf0e3f3acc30)