4,199
edits
Changes
From IGEP - ISEE Wiki
no edit summary
===== First way: =====
This mode has a issue, when your system reboot or shutdown you will need to configure again. Using user space to configure mux and disable WIFI.
Logging with root user via SSH or Serial cable.<br>
Go to /sys/kernel/debug/omap_mux/<br>
Set sdmmc2_dat6 to gpio138 (mode 4):
<pre>echo 0x004 > sdmmc2_dat6 </pre>
Revise that:
<pre>root@localhost:/sys/kernel/debug/omap_mux# cat sdmmc2_dat6
name: sdmmc2_dat5.gpio_137 (0x48002166/0x136 = 0x0004), b ah3, t NA
mode: OMAP_PIN_OUTPUT | OMAP_MUX_MODE4
signals: sdmmc2_dat5 | sdmmc2_dir_dat1 | cam_global_reset | sdmmc3_dat1 | gpio_137 | hsusb3_tll_stp | mm3_rxdp | safe_mode
</pre>
Go to: /sys/class/gpio/
Check that gpio137 is in user space:
<pre>root@localhost:/sys/class/gpio# ls
export gpio137 gpio138 gpio139 gpio170 gpio64 gpiochip0 gpiochip128 gpiochip160 gpiochip192 gpiochip32 gpiochip64 gpiochip96 unexport
root@localhost:/sys/class/gpio#
</pre>
If you don't have it, you should export gpio137: <br>
<pre>echo 137 > /sys/class/gpio/export </pre>
Set gpio137 to low value to disable bluetooth:
<pre>echo 0 > /sys/class/gpio/gpio137/value</pre>
Revise that:
<pre>root@localhost:/sys/class/gpio# cat /sys/class/gpio/gpio137/value
0
root@localhost:/sys/class/gpio#
</pre>
<br>
===== Second way: =====