Changes

Jump to navigation Jump to search
157 bytes added ,  18:49, 14 December 2020
m
clear up muic section
===Identifying the MUIC===
 
In some devices (for example, most Samsung phones) serial access can be gained through the microUSB port.
Start by '''identifying the [[Micro-USB Interface Controller]]''' used in your device. The MUIC is what handles things like USB-OTG - it usually figures out what a cable is supposed to do by checking the resistance between the ground pin and the ID pin. Most MUICs implement an ''UART jig mode'' as part of the Carkit standard (see the [[Micro-USB Interface Controller]] page), which allows the USB port to be used as a serial input/output port.
You can try looking for kernel options with "MUIC", "USB" or "UART" in the name in the downstream kernel's defconfig - if you find a seemingly SOC-specific option, grep through the kernel source to find the driver (hint: don't include the CONFIG_ part). Sometimes the MUIC is integrated into the PMU/PMIC or handled by the device's chipset, in which case using generic values from the MUIC page may work.
Once you've found the model of your MUIC, look for similar chips in the [[Micro-USB Interface Controller|MUIC]] page to find the resistance values you should use for your cable. If you're unsure, look up your MUIC chip's datasheet; '''if you can't find onethe MUIC''' used in your device, or the datasheet does not have the resistance value table, use the default valuesfrom the MUIC page.
=== Finding the UART ports on your device's main board ===
364

edits

Navigation menu