Bug 396335 - Gaming mouse loses configuration after booting windows, is restored by reconnecting it again
Summary: Gaming mouse loses configuration after booting windows, is restored by reconn...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_mouse (show other bugs)
Version: 5.13.2
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-09 08:16 UTC by David
Modified: 2024-03-03 03:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2018-07-09 08:16:42 UTC
I have a gaming mouse from Logitech of the kind that internally stores configuration of buttons, sensitivity, and others. Whenever I boot Windows on the computer and then reboot back to Linux, the settings seem to default to some undesired configuration, but after unplugging the mouse cable and plugging it again they return to their normal settings.

Steps to reproduce:
-Configure some logitech gaming mouse in a laptop on Windows OS to have custom settings for e.g. speed or actions of extra buttons.
-Reboot the computer back to Linux. Unplug the mouse and plug it again if the settings set in Windows didn't have an effect.
-Reboot the computer into Windows OS. Don't change any settings.
-Reboot the computer back to Linux, without unplugging the mouse.

Expected behavior:
-Mouse should have the same settings it had before rebooting into windows (the second reboot if following the steps above).

Actual behavior:
-Mouse defaults to some other configuration. Gets back to the right configuration if either I boot the computer with the mouse disconnected and then plug it once the Linux system has booted, or if I disconnect it and connect it again.
Comment 1 Pedro V 2024-02-02 15:15:32 UTC
I don't think this is relevant to KDE and likely that's why it didn't get attention at all.
Is this still a problem to begin with?

You skipped describing the behavior of booting straight into Linux, but I suspect it's the same as what happens when the mouse gets plugged in while Linux is running. If that's the case, then the problem is not even with Linux, you should encounter the same problem even by just booting into a different Windows setup without the mouse specific driver

Generally it sounds like that the Windows driver leaves the hardware in a dirty state or it intentionally does some kind of reset when exiting which is surprisingly common mostly with "gaming" devices and lighting control. In that case there are the following possible cases:
- Most desirably the faulty Windows driver logic would get fixed because that's the source of the problem after all
- If there's a hardware specific driver in Linux for the device, then a workaround can be added there, although it likely won't be desired if the problem is really caused by just software

The reproducer description is likely insufficient though.
I happen to have a Logitech "gaming" mouse, and taking advantage of it storing configuration on the hardware, I made sure to only use the manufacturer bloatware in a Windows VM but not anywhere else, and although I mostly used virtualization instead of dual booting, I haven't experienced the described issue, so I suspect it doesn't happen when there's no manufacturer software running anywhere and the mouse is just merely treated as a USB HID device.
Comment 2 Bug Janitor Service 2024-02-17 03:45:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2024-03-03 03:46:40 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!