OpenCPN Partial API docs
|
Low level udev usb device management. More...
#include "config.h"
Go to the source code of this file.
Functions | |
bool | IsDonglePermissionsWrong () |
Return true if an existing dongle cannot be accessed. | |
bool | IsDevicePermissionsOk (const char *path) |
Check device path permissions. More... | |
std::string | GetDongleRule () |
std::string | MakeUdevLink () |
Get next available udev rule base name. More... | |
std::string | GetDeviceRule (const char *device, const char *symlink) |
Get device udev rule. More... | |
Low level udev usb device management.
Definition in file linux_devices.h.
std::string GetDeviceRule | ( | const char * | device, |
const char * | symlink | ||
) |
Get device udev rule.
device | Complete device path |
symlink | As returned by MakeUdevLink() |
Definition at line 301 of file linux_devices.cpp.
std::string GetDongleRule | ( | ) |
Definition at line 289 of file linux_devices.cpp.
bool IsDevicePermissionsOk | ( | const char * | path | ) |
Check device path permissions.
path | complete device path |
Definition at line 156 of file linux_devices.cpp.
std::string MakeUdevLink | ( | ) |
Get next available udev rule base name.
Definition at line 244 of file linux_devices.cpp.