From 4361c7c1e73f2e2ef8ad3554d06d13aee02a7411 Mon Sep 17 00:00:00 2001 From: Daniel Hillenbrand Date: Sat, 16 Jun 2012 01:43:50 +0200 Subject: initial commit --- Android.mk | 29 + AndroidProducts.mk | 18 + BoardConfig.mk | 30 + BoardConfigCommon.mk | 106 ++++ CleanSpec.mk | 60 ++ board-info.txt | 3 + cm.dependencies | 10 + cm.mk | 37 ++ configs/egl.cfg | 1 + configs/gps.conf | 6 + configs/gps.xml | 69 +++ configs/media_profiles.xml | 467 ++++++++++++++ configs/vold.fstab | 89 +++ configs/wpa_supplicant.conf | 9 + extract-files.sh | 79 +++ full_p5100.mk | 26 + init.espresso.usb.rc | 70 +++ init.espresso10.rc | 357 +++++++++++ liblights/Android.mk | 33 + liblights/lights.c | 142 +++++ .../base/core/res/res/values-large/config.xml | 24 + .../base/core/res/res/values-sw600dp/config.xml | 24 + .../frameworks/base/core/res/res/values/config.xml | 115 ++++ .../base/core/res/res/xml/power_profile.xml | 62 ++ .../base/core/res/res/xml/storage_list.xml | 51 ++ .../SettingsProvider/res/values/defaults.xml | 21 + .../base/packages/SystemUI/res/values/config.xml | 27 + p5100.mk | 28 + p51xx-common.mk | 133 ++++ recovery.fstab | 13 + setup-makefiles.sh | 63 ++ system.prop | 6 + ueventd.espresso10.rc | 35 ++ usr/keychars/Generic.kcm | 672 +++++++++++++++++++++ usr/keychars/Virtual.kcm | 544 +++++++++++++++++ usr/keychars/espresso-gpio-keypad.kcm | 15 + usr/keychars/qwerty.kcm | 508 ++++++++++++++++ usr/keychars/qwerty2.kcm | 505 ++++++++++++++++ usr/keylayout/AVRCP.kl | 23 + usr/keylayout/Generic.kl | 423 +++++++++++++ usr/keylayout/Vendor_045e_Product_028e.kl | 46 ++ usr/keylayout/Vendor_046d_Product_c216.kl | 37 ++ usr/keylayout/Vendor_046d_Product_c294.kl | 53 ++ usr/keylayout/Vendor_046d_Product_c299.kl | 62 ++ usr/keylayout/Vendor_046d_Product_c532.kl | 133 ++++ usr/keylayout/Vendor_04e8_Product_7021.kl | 393 ++++++++++++ usr/keylayout/Vendor_054c_Product_0268.kl | 76 +++ usr/keylayout/Vendor_05ac_Product_0239.kl | 119 ++++ usr/keylayout/Vendor_22b8_Product_093d.kl | 105 ++++ usr/keylayout/espresso-gpio-keypad.kl | 17 + usr/keylayout/qwerty.kl | 112 ++++ usr/keylayout/sec_keyboard.kl | 93 +++ 52 files changed, 6179 insertions(+) create mode 100644 Android.mk create mode 100644 AndroidProducts.mk create mode 100644 BoardConfig.mk create mode 100644 BoardConfigCommon.mk create mode 100644 CleanSpec.mk create mode 100644 board-info.txt create mode 100644 cm.dependencies create mode 100644 cm.mk create mode 100644 configs/egl.cfg create mode 100644 configs/gps.conf create mode 100644 configs/gps.xml create mode 100644 configs/media_profiles.xml create mode 100644 configs/vold.fstab create mode 100644 configs/wpa_supplicant.conf create mode 100755 extract-files.sh create mode 100644 full_p5100.mk create mode 100755 init.espresso.usb.rc create mode 100755 init.espresso10.rc create mode 100755 liblights/Android.mk create mode 100644 liblights/lights.c create mode 100644 overlay/frameworks/base/core/res/res/values-large/config.xml create mode 100644 overlay/frameworks/base/core/res/res/values-sw600dp/config.xml create mode 100644 overlay/frameworks/base/core/res/res/values/config.xml create mode 100644 overlay/frameworks/base/core/res/res/xml/power_profile.xml create mode 100644 overlay/frameworks/base/core/res/res/xml/storage_list.xml create mode 100644 overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml create mode 100644 overlay/frameworks/base/packages/SystemUI/res/values/config.xml create mode 100644 p5100.mk create mode 100755 p51xx-common.mk create mode 100644 recovery.fstab create mode 100755 setup-makefiles.sh create mode 100644 system.prop create mode 100644 ueventd.espresso10.rc create mode 100644 usr/keychars/Generic.kcm create mode 100644 usr/keychars/Virtual.kcm create mode 100644 usr/keychars/espresso-gpio-keypad.kcm create mode 100644 usr/keychars/qwerty.kcm create mode 100644 usr/keychars/qwerty2.kcm create mode 100644 usr/keylayout/AVRCP.kl create mode 100644 usr/keylayout/Generic.kl create mode 100644 usr/keylayout/Vendor_045e_Product_028e.kl create mode 100644 usr/keylayout/Vendor_046d_Product_c216.kl create mode 100644 usr/keylayout/Vendor_046d_Product_c294.kl create mode 100644 usr/keylayout/Vendor_046d_Product_c299.kl create mode 100644 usr/keylayout/Vendor_046d_Product_c532.kl create mode 100644 usr/keylayout/Vendor_04e8_Product_7021.kl create mode 100644 usr/keylayout/Vendor_054c_Product_0268.kl create mode 100644 usr/keylayout/Vendor_05ac_Product_0239.kl create mode 100644 usr/keylayout/Vendor_22b8_Product_093d.kl create mode 100644 usr/keylayout/espresso-gpio-keypad.kl create mode 100644 usr/keylayout/qwerty.kl create mode 100644 usr/keylayout/sec_keyboard.kl diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..25d56d1 --- /dev/null +++ b/Android.mk @@ -0,0 +1,29 @@ +# +# Copyright (C) 2012 The CyanogenMod Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# WARNING: Everything listed here will be built on ALL platforms, +# including x86, the emulator, and the SDK. Modules must be uniquely +# named (liblights.tuna), and must build everywhere, or limit themselves +# to only building on ARM if they include assembly. Individual makefiles +# are responsible for having their own logic, for fine-grained control. + +LOCAL_PATH := $(call my-dir) + +ifeq ($(TARGET_DEVICE),p5100) + +include $(call all-makefiles-under,$(LOCAL_PATH)) + +endif diff --git a/AndroidProducts.mk b/AndroidProducts.mk new file mode 100644 index 0000000..9d6c4ac --- /dev/null +++ b/AndroidProducts.mk @@ -0,0 +1,18 @@ +# +# Copyright (C) 2012 The CyanogenMod Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +PRODUCT_MAKEFILES := \ + $(LOCAL_DIR)/full_p5100.mk diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..c9eb02a --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,30 @@ +# +# Copyright (C) 2012 The CyanogenMod Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# Include p51xx BoardConfigCommon +-include device/samsung/p5100/BoardConfigCommon.mk + +TARGET_BOARD_INFO_FILE := device/samsung/p5100/board-info.txt + +# Inline kernel building +TARGET_KERNEL_SOURCE := kernel/samsung/espresso10 +TARGET_KERNEL_CONFIG := cyanogenmod_p5100_defconfig + +# assert +TARGET_OTA_ASSERT_DEVICE := p5100,GT-P5100 + +# Use the non-open-source parts, if they're present +-include vendor/samsung/p51xx/p5100-vendor-blobs.mk diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk new file mode 100644 index 0000000..da1de8f --- /dev/null +++ b/BoardConfigCommon.mk @@ -0,0 +1,106 @@ +# +# Copyright (C) 2012 The CyanogenMod Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# This variable is set first, so it can be overridden +# by BoardConfigVendor.mk +USE_CAMERA_STUB := true + +TARGET_CPU_ABI := armeabi-v7a +TARGET_CPU_ABI2 := armeabi +TARGET_CPU_SMP := true +TARGET_ARCH_VARIANT := armv7-a-neon +ARCH_ARM_HAVE_TLS_REGISTER := true +TARGET_GLOBAL_CFLAGS += -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp +TARGET_GLOBAL_CPPFLAGS += -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp + +TARGET_NO_BOOTLOADER := true +TARGET_NO_RADIOIMAGE := true + +TARGET_BOARD_PLATFORM := omap4 +TARGET_BOOTLOADER_BOARD_NAME := piranha + +BOARD_NAND_PAGE_SIZE := 4096 +BOARD_NAND_SPARE_SIZE := 128 +BOARD_KERNEL_PAGESIZE := 4096 +BOARD_KERNEL_BASE := 0x40000000 +BOARD_KERNEL_CMDLINE := + +# Init +TARGET_PROVIDES_INIT := true +TARGET_PROVIDES_INIT_TARGET_RC := true + +# Filesystem +TARGET_USERIMAGES_USE_EXT4 := true +BOARD_BOOTIMAGE_PARTITION_SIZE := 8388608 +BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824 +BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648 +BOARD_FLASH_BLOCK_SIZE := 4096 + +# Egl +BOARD_EGL_CFG := device/samsung/p5100/configs/egl.cfg +USE_OPENGL_RENDERER := true +COMMON_GLOBAL_CFLAGS += -DSURFACEFLINGER_FORCE_SCREEN_RELEASE + +# Use nicer font rendering +BOARD_USE_SKIA_LCDTEXT := true + +# Audio +BOARD_USE_SAMSUNG_SEPARATEDSTREAM := true + +# HWComposer +BOARD_USES_HWCOMPOSER := true + +# Vold +BOARD_VOLD_MAX_PARTITIONS := 12 +BOARD_VOLD_EMMC_SHARES_DEV_MAJOR := true +BOARD_VOLD_DISC_HAS_MULTIPLE_MAJORS := true +TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/class/android_usb/f_mass_storage/lun%d/file" + +# Wifi +BOARD_WLAN_DEVICE := bcmdhd +BOARD_WLAN_DEVICE_REV := bcm4330_b1 +WPA_SUPPLICANT_VERSION := VER_0_8_X +BOARD_WPA_SUPPLICANT_DRIVER := NL80211 +BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd +BOARD_HOSTAPD_DRIVER := NL80211 +BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd +WIFI_DRIVER_MODULE_PATH := "/system/lib/modules/dhd.ko" +WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/dhd/parameters/firmware_path" +WIFI_DRIVER_FW_PATH_STA := "/system/etc/wifi/bcmdhd_sta.bin" +WIFI_DRIVER_FW_PATH_AP := "/system/etc/wifi/bcmdhd_apsta.bin" +WIFI_DRIVER_FW_PATH_P2P := "/system/etc/wifi/bcmdhd_p2p.bin" +WIFI_DRIVER_MODULE_NAME := "dhd" +WIFI_DRIVER_MODULE_ARG := "iface_name=wlan0 firmware_path=/system/etc/wifi/bcmdhd_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt" +WIFI_BAND := 802_11_ABG + +# Bluetooth +BOARD_HAVE_BLUETOOTH := true +BOARD_HAVE_BLUETOOTH_BCM := true + +# Security +BOARD_USES_SECURE_SERVICES := true + +# Recovery +TARGET_RECOVERY_PIXEL_FORMAT := "BGRA_8888" +BOARD_UMS_LUNFILE := "/sys/class/android_usb/f_mass_storage/lun0/file" +BOARD_USES_MMCUTILS := true +BOARD_HAS_NO_MISC_PARTITION := true +BOARD_HAS_NO_SELECT_BUTTON := true + +TARGET_SPECIFIC_HEADER_PATH := device/samsung/p5100/include + +# Use the non-open-source parts, if they're present +-include vendor/samsung/p51xx/BoardConfigVendor.mk diff --git a/CleanSpec.mk b/CleanSpec.mk new file mode 100644 index 0000000..a2973c7 --- /dev/null +++ b/CleanSpec.mk @@ -0,0 +1,60 @@ +# Copyright (C) 2007 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# If you don't need to do a full clean build but would like to touch +# a file or delete some intermediate files, add a clean step to the end +# of the list. These steps will only be run once, if they haven't been +# run before. +# +# E.g.: +# $(call add-clean-step, touch -c external/sqlite/sqlite3.h) +# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates) +# +# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with +# files that are missing or have been moved. +# +# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory. +# Use $(OUT_DIR) to refer to the "out" directory. +# +# If you need to re-do something that's already mentioned, just copy +# the command and add it to the bottom of the list. E.g., if a change +# that you made last week required touching a file and a change you +# made today requires touching the same file, just copy the old +# touch step and add it to the end of the list. +# +# ************************************************ +# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST +# ************************************************ + +# For example: +#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates) +#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates) +#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f) +#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*) +$(call add-clean-step, find $(PRODUCT_OUT) -name "*.apk" | xargs rm) + +# ************************************************ +# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST +# ************************************************ +$(call add-clean-step, rm -rf $(TARGET_OUT)/build.prop) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5100/obj/SHARED_LIBRARIES/libaudio_intermediates) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5100/obj/SHARED_LIBRARIES/libaudio_intermediates) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5100/obj/STATIC_LIBRARIES/libasound_intermediates) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5100/obj/EXECUTABLES/alsa_*) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5100/system/bin/alsa_*) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5100/system/etc/asound.conf) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5100/system/usr/share/alsa) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5100/obj/PACKAGING/systemimage_intermediates) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/p5100/obj/SHARED_LIBRARIES/libaudio_intermediates) diff --git a/board-info.txt b/board-info.txt new file mode 100644 index 0000000..28842c6 --- /dev/null +++ b/board-info.txt @@ -0,0 +1,3 @@ +require board=espresso10 +require version-bootloader=P5100XWALE2 +require version-baseband=P5100XWALE2 diff --git a/cm.dependencies b/cm.dependencies new file mode 100644 index 0000000..1b9a2f3 --- /dev/null +++ b/cm.dependencies @@ -0,0 +1,10 @@ +[ + { + "repository": "android_kernel_samsung_espresso10", + "target_path": "kernel/samsung/espresso10" + }, + { + "repository": "android_packages_apps_SamsungServiceMode", + "target_path": "packages/apps/SamsungServiceMode" + } +] diff --git a/cm.mk b/cm.mk new file mode 100644 index 0000000..8ff207c --- /dev/null +++ b/cm.mk @@ -0,0 +1,37 @@ +# +# Copyright (C) 2012 The CyanogenMod Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +## Specify phone tech before including full_phone +$(call inherit-product, vendor/cm/config/gsm.mk) + +# Release name +PRODUCT_RELEASE_NAME := GT-P5100 + +# Inherit some common CM stuff. +$(call inherit-product, vendor/cm/config/common_full_phone.mk) + +# Inherit device configuration +$(call inherit-product, device/samsung/p5100/full_p5100.mk) + +## Device identifier. This must come after all inclusions +PRODUCT_DEVICE := p5100 +PRODUCT_NAME := cm_p5100 +PRODUCT_BRAND := samsung +PRODUCT_MODEL := GT-P5100 +PRODUCT_MANUFACTURER := samsung + +#Set build fingerprint / ID / Prduct Name ect. +PRODUCT_BUILD_PROP_OVERRIDES += PRODUCT_NAME=GT-P5100 TARGET_DEVICE=GT-P5100 BUILD_FINGERPRINT=samsung/espresso10rfxx/espresso10rf:4.0.3/IML74K/P5100XWALE2:user/release-keys PRIVATE_BUILD_DESC="espresso10rfxx-user 4.0.3 IML74K P5100XWALE2 release-keys" diff --git a/configs/egl.cfg b/configs/egl.cfg new file mode 100644 index 0000000..3e1a8c6 --- /dev/null +++ b/configs/egl.cfg @@ -0,0 +1 @@ +0 1 POWERVR_SGX540_120 diff --git a/configs/gps.conf b/configs/gps.conf new file mode 100644 index 0000000..5015eb0 --- /dev/null +++ b/configs/gps.conf @@ -0,0 +1,6 @@ +NTP_SERVER=north-america.pool.ntp.org +XTRA_SERVER_1=http://gllto.glpals.com/4day/glo/v2/latest/lto2.dat +XTRA_SERVER_2=http://gllto.glpals.com/4day/glo/v2/latest/lto2.dat +XTRA_SERVER_3=http://gllto.glpals.com/4day/glo/v2/latest/lto2.dat +SUPL_HOST=supl.google.com +SUPL_PORT=7276 diff --git a/configs/gps.xml b/configs/gps.xml new file mode 100644 index 0000000..1c4aaa9 --- /dev/null +++ b/configs/gps.xml @@ -0,0 +1,69 @@ + + + + + + + + + + diff --git a/configs/media_profiles.xml b/configs/media_profiles.xml new file mode 100644 index 0000000..3b2a56a --- /dev/null +++ b/configs/media_profiles.xml @@ -0,0 +1,467 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/configs/vold.fstab b/configs/vold.fstab new file mode 100644 index 0000000..16756db --- /dev/null +++ b/configs/vold.fstab @@ -0,0 +1,89 @@ +# Copyright (c) 2011, Code Aurora Forum. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above +# copyright notice, this list of conditions and the following +# disclaimer in the documentation and/or other materials provided +# with the distribution. +# * Neither the name of Code Aurora Forum, Inc. nor the names of its +# contributors may be used to endorse or promote products derived +# from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +## Vold 2.0 Generic fstab +## - San Mehat (san@android.com) +## + +####################### +## Regular device mount +## +## Format: dev_mount