Cannot connect to XiaoMi Box

Bug #1597449 reported by Rex Tsai
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Unassigned
aethercast
Fix Released
High
Simon Fels

Bug Description

Tested turbo to connect to XiaoMi Box Miracast. The Ubuntu phone can discovered the XiaoMi Box, and can initial the connection with XiaoMi Box. But never be able to cast the display to the screen.

It seems there are two secnairos
1. The phone shows "connected", and the tv shows connected and back to widi standby mode.
From the android logcat and aethercast log, it seems the box received. the dhcp IP from the phone, but the RTSPClient on the box failed to connect to the phone (Connection refused).

2. The phone shows "connecting" then return to "Not connected", then shows "There was an unknown error connecting to ", and the tv keep showing "connecting" untile timeout.
The phone started the dhcpd, but disabled WiFi driver miracast mode in 10 seconds. (I can see the procoess of dhcpd become "Z" mode). The box will not receive dhcp response.

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 14
device name: turbo
channel: ubuntu-touch/rc-proposed/meizu-pd.zh-proposed
last update: 2016-06-29 23:02:11
version version: 14
version ubuntu: 20160629
version device: 20160617-82a5c0d
version custom: 20160626-981-7-3

phablet@ubuntu-phablet:~$ dpkg-query -W aethercast\*
aethercast 0.1+15.04.20160607-0ubuntu1
aethercast-tools 0.1+15.04.20160607-0ubuntu1

XiaoMi Mi Box
Model: MDZ-05-AA
Firmware version: 1.3.109
[ro.product.board]: [augustrush_plus]
[ro.product.brand]: [XiaoMi]
[ro.product.cpu.abi2]: [armeabi]
[ro.product.cpu.abi]: [armeabi-v7a]
[ro.product.device]: [augustrush_plus]
[ro.product.locale.language]: [zh]
[ro.product.locale.region]: [CN]
[ro.product.manufacturer]: [DuoKan]
[ro.product.model]: [MiBOX_iCNTV]
[ro.product.name]: [augustrush_plus_cntv]

Related branches

Revision history for this message
Rex Tsai (chihchun) wrote :
tags: added: compatibility
Revision history for this message
Rex Tsai (chihchun) wrote :
Revision history for this message
Rex Tsai (chihchun) wrote :
Revision history for this message
Rex Tsai (chihchun) wrote :

logcat is from XiaoMi box.

Note timestamp in syslog and logcat are GMT+0800.

Rex Tsai (chihchun)
Changed in aethercast:
importance: Undecided → High
Simon Fels (morphis)
Changed in aethercast:
assignee: nobody → Simon Fels (morphis)
Simon Fels (morphis)
Changed in aethercast:
status: New → In Progress
Revision history for this message
Simon Fels (morphis) wrote :

Got the Mii Box now into a state where it starts the RTSP connection. Had to force the GO intent to 0 so that we act as group client rather than as the owner. With that the Box connects but than we fail to parse one of its RTSP statements

[EE 2016-07-12 15:34:30] Parser error: syntax error
Unknown message
[EE 2016-07-12 15:34:30] Failed to parse: wfd_audio_codecs: LPCM 00000003 00
wfd_video_formats: 00 00 02 0F 00019CFF 05557FFF 00000FFF 00 0001 0000 11 none none
wfd_client_rtp_ports: RTP/AVP/UDP;unicast 15550 0 mode=play
wfd_idr_request

Revision history for this message
Simon Fels (morphis) wrote :

Got it working now. Branch linked with fixes.

Changed in canonical-devices-system-image:
status: New → Incomplete
status: Incomplete → In Progress
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
importance: Undecided → High
milestone: none → 13
Simon Fels (morphis)
Changed in aethercast:
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.