PixlOne / logiops

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

MX Master 3S with Bolt not detected #463

Open kreare opened 1 month ago

kreare commented 1 month ago

I have an MX Master 3S connected with a Bolt receiver. Logiopt doesn't detect it on startup. The only way is to start/restart logid when the mouse is moving. If the mouse is moving when logid starts, then it's detected immediatly.

Any idea hwo to fix this kind of issue ?

stvoidit commented 1 month ago

Just the other day, I upgraded to this mouse. Before that, I used the logid for the "Wireless Mobile Mouse MX Anywhere 2S" mouse.

At the first restart of logid with a new config, the mouse was detected immediately, picked up the configurations, however, while debugging the config in the debug mode logid -v -c /etc/logid.cfg, the behavior was strange. Sometimes logid immediately detects the mouse and the configuration is applied, sometimes not. But it works 100% if you turn off and turn on the mouse hardware, the switch from the bottom of the mouse - logid immediately picks it up.

I will give my configuration below. I don't know if it could have had an impact, but now I'm seeing more stable work by setting the workers: 16 parameter. In general, I would like a clearer explanation about the number of workers and their influence, because documentation and help are extremely scarce, and finding out from sources is not the most interesting thing for me right now.

workers: 16;
devices: (
{
    name: "MX Master 3S";
    timeout: 1500;
    smartshift:
    {
        on: true;
        threshold: 40;
    };
    hiresscroll:
    {
        hires: false;
        invert: false;
        target: false;
    };
    thumbwheel: {
        divert: true;
        invert: false;
        left: {
            threshold: 50;
            interval: 1;
            direction: "Left";
            mode: "OnInterval";
            action =
            {
                type: "Keypress";
                keys: ["KEY_VOLUMEDOWN"];
            };
        };
        right: {
            threshold: 40;
            interval: 1;
            direction: "Right";
            mode: "OnInterval";
            action =
            {
                type: "Keypress";
                keys: ["KEY_VOLUMEUP"];
            };
        };
    };
    dpi: 4500;
    buttons: (
        {
            cid: 0x56;
            action =
            {
                type: "Keypress";
                keys: ["KEY_PAGEUP"];
            };
        },
        {
            cid: 0x53;
            action =
            {
                type: "Keypress";
                keys: ["KEY_PAGEDOWN"];
            };
        }
    );
}
);

UPD: I was looking through other people's problems and found this hint, it seems it can help too https://github.com/PixlOne/logiops/issues/446#issuecomment-2110865580 Updated my configuration example

kreare commented 1 month ago

timeout did nothin in my configuraton

the only way to make this detecting the MX master is moving the mouse while starting up logiopt

stvoidit commented 1 month ago

@kreare yes, my mx 3s is about a week old and I have the same problem. Not that this is critical, but it is quite unpleasant when, when turning on the laptop after logging in, I have to either nervously pull the mouse trying to get into the daemon's timing, or turn off and turn on the mouse power :)

Actually, it seems to me that the problem is with the new receiver. Now I have switched to using bluetooth only and the mouse operation seems to be much more stable. In addition, due to the specific architecture of the laptop case, I can only insert the receiver from behind and during games, in fact, it is in the hottest zone. After some time of heating, the mouse stops stably catching the signal, the movements appear jerky. To be fair, I have such a problem with all receivers because of my laptop :)

kreare commented 1 month ago

with bluetooth connection the link is stable but is much more laggy, particurally the scroll wheel

stvoidit commented 1 month ago

@kreare yes, you need to set the hiresscroll.hires flag to true, then the wheel will work as before. This is probably the most inconvenient thing, if the creators manage to fix it, then it will be just fine. Now I have this problem with the wheel on the last logitech mouse.

kreare commented 1 month ago

Thank you. i'll try.

But is this issue something that would be addressed or just ignored ? Because i think it's a bug...

kreare commented 1 month ago

with hires set to true is much better but i'm still feeling some lag. i don't think bluetooth is totally comparable to Bolt

MoriHiroshi0619 commented 5 days ago

hello, just installed logiops just a few hours ago, and I still couldn't make it work. I'm also have a Mx master 3s, I'm currently using ubuntu 22 and my pc doesn't have bluetooth so using the bolt receiver is my only option.

here's my logid configuration below. every time i tried to run sudo logid -c /etc/logid.cfg, that's my output [INFO] Detected receiver at /dev/hidraw8 and none of my configuration works... how did u made it work with the bolt receiver

` devices: ( { name: "MX Master 3S"; timeout: 1500; smartshift: { on: true; threshold: 30; torque: 50; }; hiresscroll: { hires: true; invert: false; target: false; }; dpi: 1000;

    buttons: (
        {
            cid: 0xc3;
            action =
            {
                type: "Gestures";
                gestures: (
                    {
                        direction: "Up";
                        mode: "OnRelease";
                        action =
                        {
                            type: "Keypress";
                            keys: ["KEY_UP"];
                        };
                    },
                    {
                        direction: "Down";
                        mode: "OnRelease";
                        action =
                        {
                            type: "Keypress";
                            keys: ["KEY_DOWN"];
                        };
                    },
                    {
                        direction: "Left";
                        mode: "OnRelease";
                        action =
                        {
                            type: "Keypress";
                            keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_LEFT"];
                        };
                    },
                    {
                        direction: "Right";
                        mode: "OnRelease";
                        action =
                        {
                            type: "Keypress";
                            keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_RIGHT"];
                        };
                    },
                    {
                        direction: "None";
                        mode: "OnRelease";
                        action =
                        {
                            type: "Keypress";
                            keys: ["KEY_LEFTMETA"];
                        };
                    }
                );
            };
        },
        {
            cid: 0xc4;
            action =
            {
                type = "ToggleSmartShift";
            };
        }
    );
}
);

`