打开关闭SIM和T卡热拨插
1.device/prize/pri6737t_66_m0/ProjectConfig.mk
关闭:MTK_SIM_HOT_SWAP = no
打开:MTK_SIM_HOT_SWAP = yes
2.kernel-3.18/arch/arm64/boot/dts/pri6737t_66_m0.dts
关闭:
&mmc1 {
clk_src = /bits/ 8 <MSDC30_CLKSRC_200MHZ>;
bus-width = <4>;
max-frequency = <200000000>;
msdc-sys-suspend;
cap-sd-highspeed;
sd-uhs-sdr12;
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-sdr104;
sd-uhs-ddr50;
pinctl = <&mmc1_pins_default>;
pinctl_sdr104 = <&mmc1_pins_sdr104>;
pinctl_sdr50 = <&mmc1_pins_sdr50>;
pinctl_ddr50 = <&mmc1_pins_ddr50>;
register_setting = <&mmc1_register_setting_default>;
host_function = /bits/ 8 <MSDC_SD>;
cd_level = /bits/ 8 <MSDC_CD_LOW>;
cd-gpios = <&pio 9 0>;
non-removable;
status = "okay";
};
打开:
&mmc1 {
clk_src = /bits/ 8 <MSDC30_CLKSRC_200MHZ>;
bus-width = <4>;
max-frequency = <200000000>;
msdc-sys-suspend;
cap-sd-highspeed;
sd-uhs-sdr12;
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-sdr104;
sd-uhs-ddr50;
pinctl = <&mmc1_pins_default>;
pinctl_sdr104 = <&mmc1_pins_sdr104>;
pinctl_sdr50 = <&mmc1_pins_sdr50>;
pinctl_ddr50 = <&mmc1_pins_ddr50>;
register_setting = <&mmc1_register_setting_default>;
host_function = /bits/ 8 <MSDC_SD>;
cd_level = /bits/ 8 <MSDC_CD_LOW>;
cd-gpios = <&pio 9 0>;
status = "okay";
};
3.需要更新modem
热拨插和非热拨插不是同一版modem
4.测试:
不插卡开机,然后插入sim和T卡不识别,这就是没有热拨插
如果打开关闭了飞行模式,后面识卡,这是正常的,这也是没有热插拔