albfan / miraclecast

Connect external monitors to your system via Wifi-Display specification also known as Miracast
Other
3.87k stars 415 forks source link

My device can"t find the ubuntu sink #359

Open handsomeboy1111111111 opened 4 years ago

handsomeboy1111111111 commented 4 years ago

I have installed all kinds of environment configuration

I use ubuntu 18.04 and rtl8822bu usb dongle

when i run miracle-wifid --log-level 9 it seem no problem

when i run miracle-sinkctl --log-level trace 9, it can show [ADD] Link: 3 and i do run 3 list it shows:

[miraclectl] # list
  LINK INTERFACE                FRIENDLY-NAME                  MANAGED   
     3 wlx44efbf22bf7e          <unknown>                      yes       
------------------------------------friendly_name ==     //i add this print
//I'm surprised that my friendly name is empty, which is supposed to be a Ubuntu. I saw that the //code should get the / etc / hostname path.
  LINK PEER-ID                  FRIENDLY-NAME                  CONNECTED 
     3 c2:b6:f9:95:9b:d3@3      LAPTOP-K6RHM8DS                no        
     3 a6:e9:79:c6:45:a7@3      WIN10-905311137                no        
     3 72:1c:e7:43:77:40@3      DESKTOP-I9R901N                no        
     3 c0:b6:f9:95:9b:d4@3      LAPTOP-K6RHM8DS                no        
     3 96:e9:79:c6:45:a7@3      WIN10-905311137                no        
     3 70:1c:e7:43:77:41@3      DESKTOP-I9R901N                no        
     3 b2:72:bf:4a:61:2b@3      [Phone] Samsung Galaxy S7 edge no        

 7 peers and 1 links listed.

No device can find my Ubuntu

handsomeboy1111111111 commented 4 years ago

log.zip this is my log, I appreciate you help Thanks

albfan commented 4 years ago

I think the problem is related with:

RTW: ERROR _btmpoper_cmd: Didn't get H2C Rsp Event!

Showed in journal.log

But have no idea how to solve it. Upgrading OS might help

rossliscut commented 4 years ago

@handsomeboy1111111111 Have you solved this problem? I'm having this issue too.