PixlOne / logiops

An unofficial userspace driver for HID++ Logitech devices
GNU General Public License v3.0
3.36k stars 266 forks source link

Cannot run logid -v #435

Open ualonso011 opened 8 months ago

ualonso011 commented 8 months ago

Hi, When I try to run the command "sudo logid -v" it returns the following error:

terminate called after throwing an instance of 'std::runtime_error' what(): IOMonitor double run Aborted

wolandmaster commented 5 months ago

I have the same problem. Is there any solution for it?

felipeek commented 4 months ago

just ran into the same issue.

In my case, the problem was my configuration file. I tried reducing the configuration file to simply:

devices: (
{
    name: "Tunable RGB Gaming Mouse G502";
    dpi: 1000;
}
);

But then logid failed to initialize with what(): IOMonitor double run

I now simply copied the example configuration and replaced Wireless Mouse MX Master with Tunable RGB Gaming Mouse G502 (which is my device) and logid was able to start. It is also working as if I change the dpi in the configuration it works.

@edit: turns out smartshift is needed. This works:

devices: (
{
    name: "Tunable RGB Gaming Mouse G502";
    dpi: 1000;
    smartshift:
    {
        on: true;
        threshold: 30;
        torque: 50;
    };
}
);