Firefly开源社区

标题: rk3328_roc_pc_box板子的WiFiDisplay功能无法使用的问题 [打印本页]

作者: tommyhzx    时间: 2020-11-9 15:09
标题: rk3328_roc_pc_box板子的WiFiDisplay功能无法使用的问题
如题,log如下,麻烦帮忙看看原因

--------- beginning of main
11-09 06:51:04.286   365   426 D InputReader: CursorInputMapper::sync motionEventAction==DOWN or UP
11-09 06:51:04.401   251   752 D AudioHardwareTiny: start_output_stream
11-09 06:51:04.480   251   752 E alsa_route: get_route_config() route_table is NULL!
11-09 06:51:04.480   251   752 E alsa_route: route_pcm_open() Can not get config of route
11-09 06:51:04.482   251   752 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
11-09 06:51:04.482   251   752 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
11-09 06:51:07.598   251   251 D AudioHardwareTiny: close device
11-09 06:51:12.785  1651  1651 I wpa_supplicant: P2P-FIND-STOPPED
11-09 06:51:12.785   365   421 D SupplicantP2pIfaceCallback: Search stopped on p2p0
11-09 06:51:12.789  1349  1349 D RKWifiDisplayService: Discovery state changed: 1
11-09 06:51:12.789  1349  1349 D RKWifiDisplayService: Discovery finished, try to discovery after 8000
11-09 06:51:14.296  1349  1349 D WifiDisplayActivity: Do search action.
11-09 06:51:14.296   365   444 D SupplicantP2pIfaceHal: entering find(120)
11-09 06:51:14.297  1651  1651 I wpa_supplicant: p2p0: P2P: Reject scan trigger since one is already pending
11-09 06:51:14.298   365   444 D SupplicantP2pIfaceHal: find(120) completed successfully.
11-09 06:51:14.299   365   444 D SupplicantP2pIfaceHal: leaving find(120)
11-09 06:51:14.303  1349  1349 D RKWifiDisplayService: Discovery state changed: 2
11-09 06:51:22.696   365   438 I WifiConfigManager: No scan detail and linked configs associated with networkId 0
11-09 06:51:22.956  1651  1651 I wpa_supplicant: P2P-DEVICE-LOST p2p_dev_addr=a6:50:46:49:2d:e1
11-09 06:51:22.958   365   421 D SupplicantP2pIfaceCallback: Device lost on p2p0: Device:
11-09 06:51:22.958   365   421 D SupplicantP2pIfaceCallback:  deviceAddress: a6:50:46:49:2d:e1
11-09 06:51:22.958   365   421 D SupplicantP2pIfaceCallback:  primary type: null
11-09 06:51:22.958   365   421 D SupplicantP2pIfaceCallback:  secondary type: null
11-09 06:51:22.958   365   421 D SupplicantP2pIfaceCallback:  wps: 0
11-09 06:51:22.958   365   421 D SupplicantP2pIfaceCallback:  grpcapab: 0
11-09 06:51:22.958   365   421 D SupplicantP2pIfaceCallback:  devcapab: 0
11-09 06:51:22.958   365   421 D SupplicantP2pIfaceCallback:  status: 4
11-09 06:51:22.958   365   421 D SupplicantP2pIfaceCallback:  wfdInfo: null
11-09 06:51:22.961  1349  1349 D RKWifiDisplayService: Received WIFI_P2P_PEERS_CHANGED_ACTION.
11-09 06:51:24.310   365   532 D WificondControl: Scan result ready event
^C
130|rk3328_roc_pc_box:/ #
作者: tommyhzx    时间: 2020-11-9 15:15
使用的是Android8.1 SDK
作者: jpchen    时间: 2020-11-9 15:23
tommyhzx 发表于 2020-11-9 15:15
使用的是Android8.1 SDK

可以使用android10.0 进行验证
http://dev.t-firefly.com/thread-102708-1-1.html
作者: tommyhzx    时间: 2020-11-9 15:36
jpchen 发表于 2020-11-9 15:23
可以使用android10.0 进行验证
http://dev.t-firefly.com/thread-102708-1-1.html

直接下载的你们的Android10.0的固件,没法烧录成功呢,如图所示。

阿里旺旺图片20201109153444.jpg (20.08 KB, 下载次数: 1092)

阿里旺旺图片20201109153444.jpg

作者: jpchen    时间: 2020-11-9 15:44
tommyhzx 发表于 2020-11-9 15:36
直接下载的你们的Android10.0的固件,没法烧录成功呢,如图所示。

短路emmc ,然后插除flash ,再进行升级
作者: tommyhzx    时间: 2020-11-9 15:51
jpchen 发表于 2020-11-9 15:44
短路emmc ,然后插除flash ,再进行升级

请问如何短路emmc?
作者: tommyhzx    时间: 2020-11-9 16:09
jpchen 发表于 2020-11-9 15:23
可以使用android10.0 进行验证
http://dev.t-firefly.com/thread-102708-1-1.html

烧录了Android10.0的固件,验证过了也是不行,还是一样的log信息,麻烦帮忙验证下
作者: jpchen    时间: 2020-11-9 17:38
tommyhzx 发表于 2020-11-9 16:09
烧录了Android10.0的固件,验证过了也是不行,还是一样的log信息,麻烦帮忙验证下

把android10.0的log发一下,然后如何使用的,步骤或方法进行说明
作者: tommyhzx    时间: 2020-11-10 10:57
打开WiFiDisplay,可以搜索到一些其他的设备,但手机没法发现板子的信息,log如下:

rk3328_roc_pc_box:/ # cat /data/wifidisplay.log
--------- beginning of main
11-10 02:50:43.881   368   430 D InputReader: CursorInputMapper::sync motionEventAction==DOWN or UP
--------- beginning of system
11-10 02:50:40.896   282   282 I chatty  : uid=1010(wifi) /system/bin/wificond expire 44 lines
11-10 02:50:41.497   282   282 W wificond: No handler for scan result notification from interface with index: 5
11-10 02:50:43.990   368   624 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.rockchip.wfd/.WifiDisplayActivity bnds=[431,282][640,385]} from uid 10007
11-10 02:50:43.992   212   228 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x400
11-10 02:50:43.993   244   750 D AudioHardwareTiny: start_output_stream
11-10 02:50:44.008   368   624 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.rockchip.wfd/com.rockchip.wfd.WifiDisplayActivity}----com.rockchip.wfd
11-10 02:50:44.029   368   624 E ActivityManager: getPackageFerformanceMode--ComponentInfo{com.rockchip.wfd/com.rockchip.wfd.WifiDisplayActivity}----com.rockchip.wfd
11-10 02:50:44.032   212   228 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x400
11-10 02:50:44.213  2285  2285 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1476 android.content.ContextWrapper.startService:650 com.rockchip.wfd.WifiDisplayActivity.onCreate:181 android.app.Activity.performCreate:7036 android.app.Activity.performCreate:7027
11-10 02:50:44.242   368   539 I WifiService: getWifiEnabledState uid=1000
11-10 02:50:44.289   244   750 E alsa_route: get_route_config() route_table is NULL!
11-10 02:50:44.289   244   750 E alsa_route: route_pcm_open() Can not get config of route
11-10 02:50:44.290   244   750 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
11-10 02:50:44.291   244   750 W StreamHAL: Error from HAL stream in function get_presentation_position: Operation not permitted
11-10 02:50:44.291   368  2254 I WifiService: getWifiEnabledState uid=1000
11-10 02:50:44.295   368   450 D SupplicantP2pIfaceHal: entering find(120)
11-10 02:50:44.297   832   832 I wpa_supplicant: p2p0: P2P: Reject scan trigger since one is already pending
11-10 02:50:44.298   368   450 D SupplicantP2pIfaceHal: find(120) completed successfully.
11-10 02:50:44.299   368   450 D SupplicantP2pIfaceHal: leaving find(120)
11-10 02:50:44.478   368   539 I WifiService: getWifiEnabledState uid=1000
11-10 02:50:44.564   212   228 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x400
11-10 02:50:44.704   368   392 I ActivityManager: Displayed com.rockchip.wfd/.WifiDisplayActivity: +664ms
11-10 02:50:44.738   212   228 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x400
11-10 02:50:45.038   282   282 W wificond: No handler for scan result notification from interface with index: 5
11-10 02:50:44.773   212   228 I chatty  : uid=1000(system) Binder:212_2 identical 1 line
11-10 02:50:44.846   212   228 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x400
11-10 02:50:47.420   244   244 D AudioHardwareTiny: close device
11-10 02:50:50.693   832   832 I wpa_supplicant: P2P-DEVICE-FOUND a6:50:46:49:2d:e1 p2p_dev_addr=a6:50:46:49:2d:e1 pri_dev_type=10-0050F204-5 name='SDNFINSIsdnfi:sdfssnis:sd22s' config_methods=0x188 dev_capab=0x25 group_capab=0x0 wfd_dev_info=0x00101c440032 new=0
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback: Device discovered on p2p0: Device: SDNFINSIsdnfi:sdfssnis:sd22s
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback:  deviceAddress: a6:50:46:49:2d:e1
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback:  primary type: 10-0050F204-5
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback:  secondary type: null
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback:  wps: 392
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback:  grpcapab: 0
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback:  devcapab: 37
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback:  status: 3
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback:  wfdInfo: WFD enabled: trueWFD DeviceInfo: 16
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback:  WFD CtrlPort: 7236
11-10 02:50:50.696   368   761 D SupplicantP2pIfaceCallback:  WFD MaxThroughput: 50
11-10 02:50:50.741  2285  2285 D RKWifiDisplayService: Received WIFI_P2P_PEERS_CHANGED_ACTION.
11-10 02:50:50.764  2285  2285 D RKWifiDisplayService: WifiDisplay peers size: 1
11-10 02:51:00.007   368   382 E memtrack: Couldn't load memtrack module
11-10 02:51:00.007   368   382 W android.os.Debug: failed to get memory consumption info: -1
作者: lonewolf31    时间: 2020-11-11 19:55
尝试这些投放,镜像应用
https://castreceiver.en.aptoide.com/app
https://apkpure.com/airscreen-ai ... .ionitech.airscreen
作者: jpchen    时间: 2020-11-12 15:46
lonewolf31 发表于 2020-11-11 19:55
尝试这些投放,镜像应用
https://castreceiver.en.aptoide.com/app
https://apkpure.com/airscreen-airpl ...

已经使用小米手机验证过,可以正常的投屏




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1