DisplayCasting
2117
Comment:
|
2181
|
Deletions are marked like this. | Additions are marked like this. |
Line 36: | Line 36: |
Search for available display devices: | We have a small utility called ''miracastctl'' which helps you to deal with the service. You can now scan for available devices |
Line 39: | Line 41: |
$ gdbus call -y -d org.wds -o / -m org.wds.Manager.Scan | # miracastctl miracastctl> scan miracastctl> [CHG] Manager Scanning changed: true Device 4e:74:03:64:86:9e 'Aquaris_E4.5' added Device 4e:0b:be:f9:78:75 'MicrosoftDisplayAdapter_75' added |
Line 42: | Line 49: |
After the search is done you can connect to one of the found devices. As of right now there is no way to list available devices which will change soon. You have to know the MAC address of the remote device until we're able to list them. You can stop the miracast-service and start it manually to get some more verbose output also showing the MAC address of found devices or by running these commands | After the search is done you can connect to one of the found devices. To list all available devices you can use the ''devices'' command. |
Line 45: | Line 54: |
$ sudo wpa_cli -p/var/run/p2p0_supplicant # p2p_peers |
miracastctl> devices Device 4e:0b:be:f9:78:75 'MicrosoftDisplayAdapter_75' Device 4e:74:03:64:86:9e 'Aquaris_E4.5' |
Line 49: | Line 59: |
This will list all found WiFi Direct devices. Pick the one you want to connect to and run | Once you know which device you want to connect to you can simply issue the ''connect'' command and wait for the device to get connected. |
Line 52: | Line 62: |
$ gdbus call -y -d org.wds -o / -m org.wds.Manager.ConnectSink \ 'aa:bb:cc:dd:ee' |
miracastctl> connect 4e:74:03:64:86:9e miracastctl> [CHG] Manager Scanning changed: false [CHG] Manager State changed: connected |
Line 56: | Line 68: |
where you use the MAC address of your device. Now the connection should be established and the screen output should appear on your remote display. |
Once the device is connected you should see the Ubuntu UI on the remote display device. |
Overview
WARNING: THIS IS FOR DEVELOPERS ONLY FOR NOW. DON'T EXPECT ANYTHING TO JUST WORK OR BE USER FRIENDLY
This page describes how to setup the current in-development work for our display casting work also known as Miracast/WiFi Display.
Install necessary silos
Install silo 0
$ citrain device-upgrade 0 <your pin>
After the silo is installed install silo 40 for an update for wpa-supplicant
$ citrain device-upgrade 40 <your pin>
After your device has installed both silos you're ready to go.
In addition to the silos above you have to install the following things manually until we have hardware encoding support:
$ sudo apt-get install gstreamer1.0-plugins-ugly \ gstreamer1.0-plugins-bad
Connect with a remote display
All necessary steps are documented here but we will describe this a bit more in detail here.
First of all you need a Miracast / WiFi display capable sink device. Most modern Smart TVs support this or you can buy a dongle from Amazon like the Microsoft Wireless Display one.
We have a small utility called miracastctl which helps you to deal with the service.
You can now scan for available devices
# miracastctl miracastctl> scan miracastctl> [CHG] Manager Scanning changed: true Device 4e:74:03:64:86:9e 'Aquaris_E4.5' added Device 4e:0b:be:f9:78:75 'MicrosoftDisplayAdapter_75' added
After the search is done you can connect to one of the found devices.
To list all available devices you can use the devices command.
miracastctl> devices Device 4e:0b:be:f9:78:75 'MicrosoftDisplayAdapter_75' Device 4e:74:03:64:86:9e 'Aquaris_E4.5'
Once you know which device you want to connect to you can simply issue the connect command and wait for the device to get connected.
miracastctl> connect 4e:74:03:64:86:9e miracastctl> [CHG] Manager Scanning changed: false [CHG] Manager State changed: connected
Once the device is connected you should see the Ubuntu UI on the remote display device.
Touch/DisplayCasting (last edited 2016-08-23 08:25:41 by localhost)