usb: enable sdb at booting time 94/52394/1
authortaeyoung <ty317.kim@samsung.com>
Mon, 23 Nov 2015 07:02:57 +0000 (16:02 +0900)
committertaeyoung <ty317.kim@samsung.com>
Mon, 23 Nov 2015 07:02:57 +0000 (16:02 +0900)
- Currently, udev rule is used to detect usb cable and
  to enable sdb. However, usb cable is connected during booting,
  udevd cannot receive the kernel uevent and sdb cannot
  be enabled before re-connecting the usb cable. Thus
  sdb is enabled during booting time.

Change-Id: I0c1bf4bb8fdc2bbf07df1b2f6fc4ba0973a64cab
Signed-off-by: taeyoung <ty317.kim@samsung.com>
packaging/deviced.spec

index a575b97..f11ea98 100644 (file)
@@ -18,7 +18,7 @@
 %define usbhost_module off
 
 #Just For debugging
-%define sdb_prestart off
+%define sdb_prestart on
 
 %if "%{?profile}" == "mobile"
 %define battery_module on
@@ -34,6 +34,7 @@
 %endif
 %if "%{?profile}" == "tv"
 %define block_module on
+%define sdb_prestart off
 %endif
 
 Name:       deviced