The Android disposed usb config bootmode

1 Shell Script
bootmode=`getprop ro.bootmode`
bootmode=${bootmode:0:4}
adb_enabled=`getprop ro.debuggable`
pid9091_qti_bam="diag,serial_smd,rmnet_qti_bam,adb"
oem_usbcfg_init()
{
    case "$bootmode" in
        "ffbm" | "pid9")
            setprop persist.sys.usb.config $pid9091_qti_bam
            return
        ;;
    esac

    case "$adb_enabled" in
        "1")
            setprop persist.sys.usb.config mtp,adb
        ;;
        *)
            setprop persist.sys.usb.config mtp
        ;;
    esac
}

2 Abbreviations
ARC:Argonant RISC Core
The AT91SAM9260: the SAM means the Smart the ARM-based
ATMEL the SAMBA: the ARM-based ATMEL the Smart the Boot Assistant
the CC2530: TI ChipCon2530
DWC2: Design Ware the Controller 2, the Apple embedded devices, including iPad and iPhone are used DWC2
ISP1161: Philips' the Integrated Host Pairs 1161 Solution, "the Controllers Firms introduce the USB Host", HTTPS: //www.eetimes.com/document.asp doc_id = 1,290,054?
SL811HS: Cypress / ScanLogic 811 Host / Slave, performance and ISP1161 (Integrated host Solution Pairs 1161) rather
TDI: TransDimension Inc., a company that invented the first integrated into the TT method of EHCI RootHub, so for embedded systems, eliminating the need OHCI / UHCI hardware, while reducing costs, as the company's Memorial, Linux kernel defines a macro ehci_is_TDI (EHCI)
TLV: TI Low Value, cost-effective
TPS: TI Performance Solution
TT: transaction Translator (transaction converter, USB2.0 USB1.1 of packets into packets)

发布了124 篇原创文章 · 获赞 51 · 访问量 32万+

Guess you like

Origin blog.csdn.net/zoosenpin/article/details/73612989