Community

You need to log in to create posts and topics.

[MIQI] Enable UART3 in Android 5.1

A simple way to enable UART3,we need to modify the following files

  • ueventd.rockchip.rc
diff --git a/ueventd.rockchip.rc b/ueventd.rockchip.rc
index cc1f393..8af4835 100644
--- a/ueventd.rockchip.rc
+++ b/ueventd.rockchip.rc
@@ -52,6 +52,8 @@
 /dev/ttyS2                0660   bluetooth  net_bt_stack
 /dev/rtk_btusb            0660   bluetooth  net_bt_stack
 
+/dev/ttyS3              0666 system     system
+
 # for radio
 /dev/ttyUSB0              0660   radio         radio
 /dev/ttyUSB1              0660   radio         radio
  • rk3288-miqi.dts
diff --git a/ueventd.rockchip.rc b/ueventd.rockchip.rc
index cc1f393..8af4835 100644
--- a/ueventd.rockchip.rc
+++ b/ueventd.rockchip.rc
@@ -52,6 +52,8 @@
 /dev/ttyS2                0660   bluetooth  net_bt_stack
 /dev/rtk_btusb            0660   bluetooth  net_bt_stack
 
+/dev/ttyS3              0666 system     system
+
 # for radio
 /dev/ttyUSB0              0660   radio         radio
 /dev/ttyUSB1              0660   radio         radio

 

 

A simple test apk.

Need to wired uart tx/rx for lookback test

Uploaded files: