Firefly开源社区

开发板支持语音通话及短信功能么? 没有屏的话怎么使用?

137

积分

10

威望

12

贡献

技术小白

积分
137
发表于 2014-12-11 13:23:52     
开发板支持语音通话及短信功能么? 没有屏的话怎么使用?:(
回复

使用道具 举报

279

积分

10

威望

9

贡献

社区版主

Rank: 7Rank: 7Rank: 7

积分
279
QQ
发表于 2014-12-11 15:36:01     
显示可以通过HDMI或VGA输出,貌似不支持通话短信功能吧
回复

使用道具 举报

12

积分

0

威望

0

贡献

技术小白

积分
12
发表于 2014-12-12 17:18:15     
自己搞个模块吧!电话,短信,什么的。自己添加。
回复

使用道具 举报

137

积分

10

威望

12

贡献

技术小白

积分
137
发表于 2017-3-3 16:04:51     
wcy02825 发表于 2014-12-12 17:18
自己搞个模块吧!电话,短信,什么的。自己添加。

电话短信怎么添加勒?
回复

使用道具 举报

137

积分

10

威望

12

贡献

技术小白

积分
137
发表于 2017-3-7 19:17:09     
ght@fibocom:/media/TigerLiu/RK3288$ git diff external/sepolicy/
diff --git a/external/sepolicy/rild.te b/external/sepolicy/rild.te
index d8e48d5..0d80c61 100644
--- a/external/sepolicy/rild.te
+++ b/external/sepolicy/rild.te
@@ -45,3 +45,4 @@ allow rild self:netlink_kobject_uevent_socket create_socket_perms;
wakelock_use(rild)

allow rild self:socket create_socket_perms;
+allow rild device:chr_file rw_file_perms;
ght@fibocom:/media/TigerLiu/RK3288$ git diff device/rockchip/
diff --git a/device/rockchip/common/sepolicy/domain.te b/device/rockchip/common/sepolicy/domain.te
index 9a66aee..67f22b2 100644
--- a/device/rockchip/common/sepolicy/domain.te
+++ b/device/rockchip/common/sepolicy/domain.te
@@ -263,7 +263,7 @@ neverallow { domain -kernel -init -recovery -vold -uncrypt -install_recovery -bu
# Don't allow raw read/write/open access to generic devices.
# Rather force a relabel to a more specific type.
# ueventd is exempt from this, as its managing these devices.
-neverallow { domain -unconfineddomain -ueventd -recovery -busybox } device:chr_file { open read write };
+#neverallow { domain -unconfineddomain -ueventd -recovery -busybox } device:chr_file { open read write };

# Limit what domains can mount filesystems or change their mount flags.
# sdcard_type / vfat is exempt as a larger set of domains need
diff --git a/device/rockchip/rk3288/init.rc b/device/rockchip/rk3288/init.rc
index 6446f56..7c25e97 100644
--- a/device/rockchip/rk3288/init.rc
+++ b/device/rockchip/rk3288/init.rc
@@ -544,7 +544,7 @@ service debuggerd /system/bin/debuggerd
service debuggerd64 /system/bin/debuggerd64
     class main

-service ril-daemon /system/bin/rild
+service ril-daemon /system/bin/rild -l /system/lib/libfibocom-ril.so -- -d /dev/ttyACM2
     class main
     socket rild stream 660 root radio
     socket rild-debug stream 660 radio system
diff --git a/device/rockchip/rk3288/overlay/frameworks/base/core/res/res/values/config.xml b/device/rockchip/rk3288/overlay/frameworks/base/core/res/res/values/config.x
index c3c0cc6..badbffd 100644
--- a/device/rockchip/rk3288/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/device/rockchip/rk3288/overlay/frameworks/base/core/res/res/values/config.xml
@@ -29,16 +29,18 @@
          before automatically restore the default connection.  Set -1 if the connection
          does not require auto-restore. -->
     <!-- the 6th element indicates boot-time dependency-met value. -->
+    <bool name="config_voice_capable">true</bool>
+    <bool name="config_sms_capable">true</bool>
     <string-array translatable="false" name="networkAttributes">
-        <item>"wifi,1,1,2,-1,true"</item>
+        <item>"wifi,1,1,1,-1,true"</item>
         <item>"mobile,0,0,0,-1,true"</item>
-        <item>"mobile_mms,2,0,2,60000,false"</item>
-        <item>"mobile_supl,3,0,2,60000,true"</item>
-        <item>"mobile_dun,4,0,2,60000,true"</item>
-        <item>"mobile_hipri,5,0,3,60000,true"</item>
-        <item>"mobile_fota,10,0,2,60000,true"</item>
-        <item>"mobile_ims,11,0,2,60000,true"</item>
-        <item>"mobile_cbs,12,0,2,60000,true"</item>
+        <item>"mobile_mms,2,0,2,-1,false"</item>
+        <item>"mobile_supl,3,0,2,-1,true"</item>
+        <item>"mobile_dun,4,0,2,-1,true"</item>
+        <item>"mobile_hipri,5,0,3,-1,true"</item>
+        <item>"mobile_fota,10,0,2,-1,true"</item>
+        <item>"mobile_ims,11,0,2,-1,true"</item>
+        <item>"mobile_cbs,12,0,2,-1,true"</item>

         <item>"bluetooth,7,7,0,-1,true"</item>
         <item>"ethernet,9,9,9,-1,true"</item>
diff --git a/device/rockchip/rk3288/rk3288.mk b/device/rockchip/rk3288/rk3288.mk
index 497d0a9..1e71cec 100644
--- a/device/rockchip/rk3288/rk3288.mk
+++ b/device/rockchip/rk3288/rk3288.mk
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
+$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
include device/rockchip/rk3288/BoardConfig.mk
$(call inherit-product, device/rockchip/rk3288/device.mk)
$(call inherit-product, device/rockchip/common/device.mk)


结帖。
回复

使用道具 举报

192

积分

0

威望

0

贡献

技术小白

积分
192
发表于 2017-3-8 09:31:38     
xingnifeng 发表于 2017-3-7 19:17
ght@fibocom:/media/TigerLiu/RK3288$ git diff external/sepolicy/
diff --git a/external/sepolicy/rild ...

哥们,你需要提供模块的具体型号,libfibocom-ril.so这个库是哪个厂商的
回复

使用道具 举报

137

积分

10

威望

12

贡献

技术小白

积分
137
发表于 2017-3-8 14:47:46     
feng3327 发表于 2017-3-8 09:31
哥们,你需要提供模块的具体型号,libfibocom-ril.so这个库是哪个厂商的

哈哈,这个是我们公司的模块呀。FIBOCOM的呀。这个SO是我自己修改滴。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表