Skip to content

Commit 390d1a1

Browse files
committed
fix: driver configured but not found
1 parent 9667c06 commit 390d1a1

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ We also support OpenRC, just download the `.openrc` variant.
1616
It can be uninstalled by executing (remove the last line to keep the emitter configuration):
1717
```
1818
sudo rm -rf /usr/lib64/linux-enable-ir-emitter \
19-
/usr/libexec/linux-enable-ir-emitter \
2019
/usr/bin/linux-enable-ir-emitter \
2120
/usr/lib/systemd/system/linux-enable-ir-emitter.service \
2221
/etc/udev/rules.d/99-linux-enable-ir-emitter.rules \

command/configure.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ExitCode configure(const char *device_char_p, bool manual, unsigned emitters, un
5858

5959
Logger::info("Configuring the camera:", camera->device, ".");
6060

61-
const string deviceName = device.substr(device.find_last_of("/") + 1);
61+
const string deviceName = camera->device.substr(camera->device.find_last_of("/") + 1);
6262
const string excludedPath = SAVE_DRIVER_FOLDER_PATH + deviceName + ".excluded";
6363
Finder finder(*camera, emitters, negAnswerLimit, excludedPath);
6464

utils/globals.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <vector>
77
using namespace std;
88

9-
const string SAVE_DRIVER_FOLDER_PATH = "@SAVE_DRIVER_FOLDER_PATH@";
9+
const string SAVE_DRIVER_FOLDER_PATH = "@SAVE_DRIVER_FOLDER_PATH@/";
1010

1111
enum ExitCode
1212
{

0 commit comments

Comments
 (0)