Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.

Commit 30e1524

Browse files
committed
Added udev/sudo note to HID Device
1 parent 06101f0 commit 30e1524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsrc/leddevice/LedHIDDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ int LedHIDDevice::open()
4949
if (_deviceHandle == nullptr)
5050
{
5151
// Failed to open the device
52-
std::cerr << "Failed to open HID device. Maybe your PID/VID setting is wrong?" << std::endl;
52+
std::cerr << "Failed to open HID device. Maybe your PID/VID setting is wrong? Make sure to add a udev rule/use sudo." << std::endl;
5353

5454
// http://www.signal11.us/oss/hidapi/
5555
/*

0 commit comments

Comments
 (0)