#include <inttypes.h>
#include <usb/hc.h>
#include <devman.h>
#include <errno.h>
#include <str.h>
#include <stdio.h>
Go to the source code of this file.
Defines | |
#define | MAX_DEVICE_PATH 1024 |
Functions | |
static int | get_device_handle_by_address (devman_handle_t hc_handle, int addr, devman_handle_t *dev_handle) |
static bool | try_parse_bus_and_address (const char *path, char **func_start, devman_handle_t *out_hc_handle, usb_address_t *out_device_address) |
int | usb_resolve_device_handle (const char *dev_path, devman_handle_t *out_hc_handle, usb_address_t *out_dev_addr, devman_handle_t *out_dev_handle) |
Resolve handle and address of USB device from its path. |
Definition in file resolve.c.