1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-13 01:51:54 +00:00
No description
Find a file
David Herrmann 9fdda3b09a wpas: drain input-queues before signalling HUP
We _must_ aggressively drain input queues before we signal any HUP. There
might be queued messages that tell us important information about the
termination of wpa_supplicant.

Therefore, if a write() operation fails, we only signal HUP if the input
queues are empty. However, we cannot rely on EPOLLIN to be set, as the
input data might have arrived in between epoll_wait() and write(),
therefore, always run the non-blocking read() in case write() failed.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-03-28 12:40:17 +01:00
res Add new miracle-wifid daemon 2014-03-19 13:08:25 +01:00
src wpas: drain input-queues before signalling HUP 2014-03-28 12:40:17 +01:00
test test: make wpas tests safe to run in parallel 2014-03-28 12:39:50 +01:00
.gitignore Add new miracle-wifictl program 2014-03-19 13:10:30 +01:00
autogen.sh Initial MiracleCast Implementation 2014-02-09 18:36:06 +01:00
configure.ac Remove old miraclectl 2014-03-19 13:23:58 +01:00
COPYING Change license to LGPL 2014-03-19 13:01:23 +01:00
LICENSE_gdhcp Initial MiracleCast Implementation 2014-02-09 18:36:06 +01:00
LICENSE_htable Initial MiracleCast Implementation 2014-02-09 18:36:06 +01:00
LICENSE_lgpl Change license to LGPL 2014-03-19 13:01:23 +01:00
Makefile.am shl: add ring-buffer helpers 2014-03-21 12:15:57 +01:00
NEWS Initial MiracleCast Implementation 2014-02-09 18:36:06 +01:00
README build: update fdo links 2014-02-15 14:10:25 +01:00

= MiracleCast - Wifi-Display/Miracast Implementation =

The MiracleCast project provides software to connect external monitors to your
system via Wifi. It is compatible to the Wifi-Display specification also known
as Miracast. MiracleCast implements the Display-Source as well as Display-Sink
side.

The Display-Source side allows you to connect external displays to your system
and stream local content to the device. A lot of effort is put into making this
as easy as connecting external displays via HDMI.
On the other hand, the Display-Sink side allows you to create wifi-capable
external displays yourself. You can use it on your embedded devices or even on
full desktops to allow other systems to use your device as external display.

Website:
  http://www.freedesktop.org/wiki/Software/miracle

== Requirements ==

  The MiracleCast projects requires the following software to be installed:
    - libwfd: A stand-alone library implementing the Wifi-Display protocol.
              http://www.freedesktop.org/wiki/Software/miracle/libwfd
      required: >=libwfd-1

    - systemd: A system management daemon. It is used for device-management
               (udev), dbus management (sd-bus) and service management.
      required: >=systemd-209

    - glib: A utility library. Used by the current DHCP implementation. Will
            be removed once sd-dns gains DHCP-server capabilities.
      required: ~=glib2-2.38 (might work with older releases, untested..)

    - check: Test-suite for C programs. Used for optional tests of the
             MiracleCast code base.
      optional: ~=check-0.9.11 (might work with older releases, untested..)

  Note that systemd-209 is not released, yet. However, several unreleased
  interfaces of it are used. Please see the MiracleCast website for hints how
  you can use it right now.

== Download ==

  Released tarballs can be found at:
    http://www.freedesktop.org/software/miracle/releases

== Install ==

  To compile MiracleCast, run the standard autotools commands:
    $ test -f ./configure || NOCONFIGURE=1 ./autogen.sh
    $ ./configure --prefix=/usr/local
    $ make
    $ sudo make install
  To compile and run the test applications, use:
    $ make check

== Documentation ==

  WIP - Please see the MiracleCast website

== License ==

  This software is licensed under the terms of an MIT-like license. Please see
  ./COPYING for further information.

== Contact ==

  This software is maintained by:
    David Herrmann <dh.herrmann@gmail.com>
  If you have any questions, do not hesitate to contact one of the maintainers.