Closed QuadTriangle closed 6 years ago
See #172. Using miraclecast as source is still a WIP
@albfan How about DEBUG: ignored device: wlan0 (manager_add_udev_link() in ../../../src/wifi/wifid.c:122)
I had to diable some line to get it working.
#ifdef RELY_UDEV
// if (udev_device_has_tag(d, "miracle") && !lazy_managed)
link_set_managed(l, true);
// else
// link_set_managed(l, false);
#else
// if ((!interface_name || !strcmp(interface_name, ifname)) && !lazy_managed) {
link_set_managed(l, true);
// } else {
// log_debug("ignored device: %s", ifname);
// }
print out values for lazy_managed and interface_name.
As you are not passing --lazy-managed
nor -i <interface-name>
you cannot go to else, but you do, let's see what happens
I used ../configure --enable-rely-udev
. udev rules didn't work somehow. I tried rebooting. I will figure it out.
FYI: sudo tee "${RULE_FILE}" &>/dev/null <<-EOF
is enough. cat is useless and causes hanging.
Then if you rely on udev but do not tag your device it is ignored
cat is useless about what?
In res/write-udev-rule.sh
you have used cat | sudo tee "${RULE_FILE}" &>/dev/null <<-EOF
. according to comments of https://stackoverflow.com/a/20752440, the use of cat
is useless, here. that's why it hangs and user has to press an extra enter to exit. I can confirm it works without cat |
I am trying it for some time. I don't know what is wrong on my side.
after enabling trace with
sudo miracle-wifid --log-level trace
:so, I modified the logic in wifid.c, now It shows:
Now, I can connect to the tv, but nothing happens:
tv ask for my permission to add, I accepted. now, whenever I use
connect 9e:8c:6e:52:67:cc
, tv showsMiracle connected to the tv
.Now, my question is, How can I use my tv as an external monitor?
On, windows 10, I press Fn+F8, select tv name. It works without disabling wifi connected.