Add hotplug support to the Linux backend.
authorNathan Hjelm <hjelmn@me.com>
Thu, 29 Nov 2012 23:14:03 +0000 (16:14 -0700)
committerHans de Goede <hdegoede@redhat.com>
Wed, 15 May 2013 18:43:32 +0000 (20:43 +0200)
commit6853291ed0c7a783d01be3f8813988fc6e5c5ac3
treea5e202ed02b4292180e8c7649d78b6f0c8bd7cca
parent9b76386f3e91dbc02a3dc7d744265cf1f370b1f1
Add hotplug support to the Linux backend.

There are two ways to configure hotplug support for Linux: udev, and netlink. It
is strongly recommened that udev support is used on systems that utilize udev.
We reenforce this recommendation by defaulting to --with-udev=yes at configure
time. To enable netlink support run configure with --with-udev=no. If udev
support is enabled all device enumeration is done with udev.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
configure.ac
libusb/Makefile.am
libusb/os/linux_netlink.c [new file with mode: 0644]
libusb/os/linux_udev.c [new file with mode: 0644]
libusb/os/linux_usbfs.c
libusb/os/linux_usbfs.h
libusb/version_nano.h