Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Tablet that works with miracast on 32 bit arm doesn't work on 64 bit arm #176

Open
carlblakepmi opened this issue Jul 19, 2017 · 0 comments

Comments

@carlblakepmi
Copy link

I have a Samsung tablet that successfully works with libwds miracast on a 32 bit arm processor (Tegra K1) that doesn't work on a 64 bit arm processor (Tegra X1). I also have a Samsung phone that works with libwds miracast on both the TK1 and the TX1.

I can see what look like normal messages when the connection is started where connman and wpa_supplicant report connecting to p2p-wlan0 and so on, but eventually I see a P2P-GROUP-FORMATION-ERROR. This failure occurs after a wait of about 15 seconds. Obviously, when I use the Samsung phone, I see a P2P-GROUP-FORMATION-SUCCESS.

Here's the messages when it fails:

Jul 19 21:35:46 cr-400-2ac2 connmand[945]: p2p-wlan0-3 {RX} 0 packets 0 bytes
Jul 19 21:35:46 cr-400-2ac2 connmand[945]: p2p-wlan0-3 {TX} 2 packets 168 bytes
Jul 19 21:35:46 cr-400-2ac2 connmand[945]: p2p-wlan0-3 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Jul 19 21:35:46 cr-400-2ac2 connmand[945]: p2p-wlan0-3 {newlink} index 12 address 02:04:4B:58:AA:C0 mtu 1500
Jul 19 21:35:46 cr-400-2ac2 connmand[945]: p2p-wlan0-3 {newlink} index 12 operstate 6
Jul 19 21:35:46 cr-400-2ac2 connmand[945]: src/detect.c:detect_newlink() type 1
index 12
Jul 19 21:35:46 cr-400-2ac2 connmand[945]: plugins/wifi.c:wifi_newlink() index 12 flags 102467 change 0
Jul 19 21:35:46 cr-400-2ac2 wpa_supplicant[931]: Ignore event for foreign ifindex 12
Jul 19 21:35:46 cr-400-2ac2 wpa_supplicant[931]: RTM_NEWLINK: ifi_index=12 ifname=p2p-wlan0-3 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x19043 ([UP][RUNNING][LOWER_UP])
Jul 19 21:35:46 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-3: interface state UNINITIALIZED->ENABLED
Jul 19 21:35:46 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-3: AP-ENABLED
Jul 19 21:35:46 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-3: CTRL-EVENT-CONNECTED - Connection to 02:04:4b:58:aa:c0 completed [id=0 id_str=]
Jul 19 21:35:46 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-3: WPS-PBC-ACTIVE
Jul 19 21:35:46 cr-400-2ac2 wpa_supplicant[964]: WPS: Converting push_button to
virtual_push_button for WPS 2.0 compliance
Jul 19 21:35:46 cr-400-2ac2 connmand[945]: plugins/wifi.c:interface_state() wifi
0x4df800 interface state 10
Jul 19 21:35:47 cr-400-2ac2 connmand[945]: src/rtnl.c:rtnl_message() NEWADDR len
64 type 20 flags 0x0000 seq 0 pid 0
Jul 19 21:35:47 cr-400-2ac2 avahi-daemon[492]: Joining mDNS multicast group on interface p2p-wlan0-3.IPv6 with address fe80::4:4bff:fe58:aac0.
Jul 19 21:35:47 cr-400-2ac2 connmand[945]: src/rtnl.c:rtnl_message() NEWROUTE len 108 type 24 flags 0x0000 seq 0 pid 0
Jul 19 21:35:47 cr-400-2ac2 avahi-daemon[492]: New relevant interface p2p-wlan0-3.IPv6 for mDNS.
Jul 19 21:35:47 cr-400-2ac2 avahi-daemon[492]: Registering new address record for fe80::4:4bff:fe58:aac0 on p2p-wlan0-3.*.
Jul 19 21:36:02 cr-400-2ac2 wpa_supplicant[964]: P2P-GROUP-FORMATION-FAILURE
Jul 19 21:36:02 cr-400-2ac2 wpa_supplicant[964]: P2P-GROUP-REMOVED p2p-wlan0-3 GO reason=FORMATION_FAILED
Jul 19 21:36:02 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-3: interface state ENABLED->DISABLED


Here's the messages when it succeeds:

Jul 19 21:32:26 cr-400-2ac2 connmand[945]: p2p-wlan0-2 {RX} 0 packets 0 bytes
Jul 19 21:32:26 cr-400-2ac2 connmand[945]: p2p-wlan0-2 {TX} 1 packets 90 bytes
Jul 19 21:32:26 cr-400-2ac2 connmand[945]: p2p-wlan0-2 {update} flags 102467 <UP,RUNNING,LOWER_UP>
Jul 19 21:32:26 cr-400-2ac2 connmand[945]: p2p-wlan0-2 {newlink} index 11 address 02:04:4B:58:AA:C0 mtu 1500
Jul 19 21:32:26 cr-400-2ac2 connmand[945]: p2p-wlan0-2 {newlink} index 11 operstate 6
Jul 19 21:32:26 cr-400-2ac2 connmand[945]: src/detect.c:detect_newlink() type 1
index 11
Jul 19 21:32:26 cr-400-2ac2 connmand[945]: plugins/wifi.c:wifi_newlink() index 11 flags 102467 change 0
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[931]: Ignore event for foreign ifindex 11
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[931]: RTM_NEWLINK: ifi_index=11 ifname=p2p-wlan0-2 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x19043 ([UP][RUNNING][LOWER_UP])
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-2: interface state UNINITIALIZED->ENABLED
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-2: AP-ENABLED
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-2: CTRL-EVENT-CONNECTED - Connection to 02:04:4b:58:aa:c0 completed [id=0 id_str=]
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-2: WPS-PBC-ACTIVE
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: WPS: Converting push_button to
virtual_push_button for WPS 2.0 compliance
Jul 19 21:32:26 cr-400-2ac2 connmand[945]: plugins/wifi.c:interface_state() wifi
0x4e47f0 interface state 10
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-2: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-2: CTRL-EVENT-EAP-STARTED b6:ef:39:39:5b:df
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-2: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
Jul 19 21:32:26 cr-400-2ac2 kernel: [12525.978356] [07-19 21:32:26.291] wl_notify_connect_status_ap: event WLC_E_ASSOC_IND(8) status 0 reason 0
Jul 19 21:32:26 cr-400-2ac2 kernel: [12525.978531] wl_cfg80211_change_station :
WLC_SCB_AUTHORIZE sta_flags_mask not set
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-2: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=14122 method=254
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: p2p-wlan0-2: WPS-REG-SUCCESS b6:ef:39:39:5b:df a21047b7-4e66-5e84-be24-5862db08795f
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: P2P-GROUP-FORMATION-SUCCESS
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: P2P-GROUP-STARTED p2p-wlan0-2 GO ssid="DIRECT-RH" freq=2412 go_dev_addr=02:04:4b:58:2a:c0
Jul 19 21:32:26 cr-400-2ac2 wpa_supplicant[964]: dbus: Register group object '/fi/w1/wpa_supplicant1/Interfaces/7/Groups/RH'


Any ideas?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant