Use mtp-responder-dummy.socket when there is no mtp-responser.socket 08/225208/1 accepted/tizen/5.5/unified/20200221.094219 submit/tizen_5.5/20200218.230832 submit/tizen_5.5/20200220.232939
authorINSUN PYO <insun.pyo@samsung.com>
Tue, 18 Feb 2020 04:41:52 +0000 (13:41 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 18 Feb 2020 06:26:36 +0000 (06:26 +0000)
commitb54461f39296454dd32075e8ed84983199ce8d88
tree2f9976cf3edcc50fe3444dace7a52ae18e2a6f86
parent1f97debf475742c1f30ea0136b1622dad1a5d434
Use mtp-responder-dummy.socket when there is no mtp-responser.socket

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)
CMakeLists.txt
hw/usb_gadget_common.c
mtp-responder-dummy/descs [new file with mode: 0644]
mtp-responder-dummy/mtp-responder-dummy.service [new file with mode: 0644]
mtp-responder-dummy/mtp-responder-dummy.socket [new file with mode: 0644]
mtp-responder-dummy/strs [new file with mode: 0644]
packaging/libdevice-node.spec