Eliminate use of apps/system/usbmonitor. Use drivers/usbmonitor instead.

This commit is contained in:
Gregory Nutt
2016-06-30 13:09:22 -06:00
parent 7c34a77b54
commit a897fd4ccf
27 changed files with 168 additions and 43 deletions
+30 -2
View File
@@ -188,7 +188,21 @@ static int usbmonitor_daemon(int argc, char **argv)
* Public Functions
****************************************************************************/
int usbmonitor_start(int argc, char **argv)
/****************************************************************************
* Name: usbmonitor_start
*
* Start the USB monitor kernal daemon.
*
* Input Parameters:
* None
*
* Returned values:
* Zero (OK) is returned on success; a negated errno value is return on
* any failure.
*
****************************************************************************/
int usbmonitor_start(void)
{
/* Has the monitor already started? */
@@ -237,7 +251,21 @@ int usbmonitor_start(int argc, char **argv)
return 0;
}
int usbmonitor_stop(int argc, char **argv)
/****************************************************************************
* Name: usbmonitor_stop
*
* Stop the USB monitor kernel daemon.
*
* Input Parameters:
* None
*
* Returned values:
* Zero (OK) is returned on success; a negated errno value is return on
* any failure.
*
****************************************************************************/
int usbmonitor_stop(void)
{
/* Has the monitor already started? */