693 points · by teekert · 1y ago · 266 comments
I found Solaar a couple months ago after getting repeatedly frustrated with bluetooth connection issues. It really is exactly what it needs to be. Better interface than Logitech's, simple, lightweight. Devs have my thanks; what a great show of the goodness of open source software.
Solaar handled the pairing in 30 seconds flat, and I can't be happier. The only thing is, since Bolt doesn't look like proper BT to the OS, battery levels can only be monitored from Solaar itself.
Yes, Logitech’s high end mice store settings themselves. The app is just a programming interface. It sometimes does per program profile switch, too, IIRC.
That of course would make it optional like with most programmable keyboards but then there's the need to manage pairing via their wireless dongles and then it quickly becomes necessary.
Outside of it all being intentionally proprietary I don't see why they couldn't take an approach similar to VIA in managing their devices. There's also prior work for flashing microcontrollers from the web browser, I'm thinking of ESP32s specifically.
If you want to use some of their more advanced features, you need to use the app.
For example, I have it setup so that if my macbook is on, I can push my cursor to the far left of my windows screen and my mouse will automatically switch to the macbook bringing along anything in the clipboard.
Also, why does my mouse config software need AI features? Uninstalled.
My new mouse. No need Logitech. It's a mouse.
To give Logitech some credit, there's an off switch for "diagnostic data" right there in the settings.
All I wanted to do is turn off the rainbow LEDs
Next time I get a new mouse I'll try Solaar.
I have experience with Dell and Apple keyboards on Linux, and they don't suffer from this issue. The problem is not terrible, but requires a special udev rule to exclude them from powersaving, which is annoying.
So, just turn off the mouse and blow in it a few times. It will work normally for a few days after that.
I found this solution on approximately the 12th page of a Google search ~9 years ago. Every other solution was wrong.
What I understood is, the switches on these mice (I have G700) are practically abuse-proof. However, they don’t like to be used lightly and start to glitch possibly from fine dust. Using the switches more aggressively cleans them up.
My first generation G700 still works great.
I found replacement switches for $10 on amazon, pre-wired with little plug, easy enough to install with just a micro-screwdriver, no soldering. This problem is common enough that there is a good selection of different switch brands/types available. Fantastic. Not disappointed at all anymore, honestly.
My suggestion to use the bolt reciever was in response to that.
Why you suggest to me and parent to just forget about it because you have such great experience is depressing to me.
I have the MX Master 3 and MX Keys Mini. Using Solaar on Linux for 2.5 years without a single issue.
I did have more issues using pure bluetooth with an external bt antenna (intel bluetooth hardware).
This thread is about Solaar and i suggested parent try the reciever to resolve their bad connectivity.
You telling us that your macbook is great helps who exactly?
I am a solaar user on arch linux, btw ;-)
Just discovered the bloody AI prompt builder enabled by default in my mouse driver today. After patiently declining input recording permission for months.
Managed to get rid of the most of bloatware using their corporate "Offline" version which supposedly doesn't phone home and doesn't ask for extra permissions. YMMV.
https://support.logi.com/hc/en-us/articles/11570501236119-Lo...
That's so wild I had to go and look up what that could possibly mean. What a world we live in. https://www.logitech.com/en-us/software/logi-ai-prompt-build...
Do you mean the mac beach ball, or is it a misguided feature of the mouse?
On Windows that is what I do to make sure behavior is consistent across applications.
You can map the buttons and add chords. The only thing it might lack is being able to use mouse movement as a trigger (eg hold the back button and move left to change spaces). Still looking for it
https://news.ycombinator.com/item?id=29056847
Wacom's drivers collect and send both application and window title names to them. It still does, even after all the outrage.
Do you have problem with your left button after guarantee expires? Here you go: https://www.reddit.com/r/logitech/comments/15yl9ix/fixed_my_...
I just did not figured out how to fix side scroll wheal which does not work on web pages in any browser... and how to fix Logi Agent preventing Windows shutdown each time I shutdown my PC.
Ower 700 MB of crap to spy on you. Can we call this scamware?
Linux has stuff like Solaar and Piper/libratbagd, which is great. For macOS, it looks like SteerMouse does quite nicely, even for mice with many extra buttons. So does G-Hub have any alternatives like this on Windows? It would make recommending Logitech mice to Windows-bound friends and family so much easier.
(My favorite forever for these reasons was Roccat, everything their mice can do they can do onboard. Configure your mouse once and you can purge whatever software you've used to do it if you don't like it, without limitations. But hardware quality control with them has long been iffy, and I think since their buyout by Turtle Beach it will only get worse.)
I have never had a mouse whose buttons failed until I bought a logitech. Every person I know raves about them until you ask them how many they've had to buy.
I won’t claim to be a statistically representative sample, but from my experience their high-end stuff is expected to break after between 2 to 3 years. I kept going back to them because the hardware is very nice when it works. I gave up and bought a Razer Naga about 3 years ago. Hopefully it fares better in the long run.
OTOH, it speaks terribly of their quality; a mouse should work fine for 10-20 years, like some mice from 20 years ago.
And I say "replacements" because they all didn't last very long, until I got the memo and started buying decent stuff from brands like... logitech. And then there is the conundrum of going with something even more "premium" than a logitech, there's very little guarantee it's really gonna last. You may be paying twice as much for it but it still ends up lasting about as long.
I wouldn't buy a cheap mouse from them again.
It seems most-useful to make sure it is only a USB 2 cable, without the extra USB 3 data lines.
(USB 3 makes a ton of noise at ~2.4GHz. They could have spread out emissions and dialed them down, but they stuck them in the same trash band that microwave ovens [and mouse dongles] use because... well, it's cheaper and easier that way.]
USB3's high speed produces EM inference with some receivers.
IIRC, there are three types of dongles: the old basic ones, that only work with one particular device, the not-that-old "unifying" dongles (they have a red logo with a star or ray of light), and the new ones that are called "bolt" (green logo with a bolt in it).
I have mostly experience with the "unifying" receivers. Those can pair to any "unifying" compatible device, and keep connections with up to 6 devices. Bolt dongles work similarly but with better encryption.
We issue the wireless keyboards/mice kit as it is cheaper than swapping a proprietary keyboard in your laptop, and less likely to give users an RSI (really not funny if you are a Jr and have to learn this the painful way.) =3
For servers and desktop towers, a cabled solution is more secure... and never runs out of batteries. YMMV =3
I use it mostly to adjust the point where the scrollwheel no longer ratchets and just freewheels (Logitech put an electrically actuated lever that controls the ratchet into their mice), Solaar has an option to tune it, it works amazingly.
Not to mention how you can bind keyboard shortcuts to specific "gestures" using the palm button.
Solaar is awesome, thank you, Solaar devs!
My understanding is most for driver code is written in C or C++. The 'new' way of developing - the kernel development is in Rust.
How can this work that is written in pure Python?
The normal Linux drivers implement what's needed to receive the HID message. This just handles some vendor specific messages on top of that. A bit like how a program can send a custom vendor specific TCP message on top of the existing OS network drivers without having to itself be a kernel level network driver.
Solaar is not a device driver and responds only to special messages from devices that are otherwise ignored by the Linux input system
Sounds like this isn't working at the kernel level.
fast forward to today, and the hardware industry has made great advancements in standardizing how devices operate. memory-mapped I/O allows the OS to treat many device drivers the same, they just need to handle manipulation of the memory after it's read/written. for USB, the industry standardized on device classes , so something either acts like a communication device (serial port, JTAG reader), an audio device, a video capture device, or in this case, an HID (human interface device). So based on the general characteristics of how the thing operates, the kernel can do 80% or more of the driver development for you. especially because of the linux credo that "everything is a file"
you plug in a usb dongle and you get (hypothetically) a few files called /sys/class/hid/<serialnum>/{control, data}. so you could, say, change the RF channel of the dongle by writing a very specific value to the "control" file, which will get sucked in by the kernel and sent to the device. Or you could get raw kb/mouse data by catting the .../data file. this would in theory, allow you to write a device driver in python by connecting the .../data file to a read handler, processing the input (the hard part, which requires reverse engineering), and emitting the corresponding output, such as the OS command to move the mouse or generate a keyboard event.
I made some generalizations here, but this is the main idea.
Consider this screenshot[1] of additional options on Logitech trackball + ofc pairing control
[1] https://usercontent.irccloud-cdn.com/file/2cZcZiNk/image.png
In general, custom configuration on both mice (DPI, refresh rate, etc) and keyboards (tactile response settings [See https://wooting.io/], hot binds, etc).
It's a nice to have (almost to the point of necessity) especially when you go to LANs and need a consistent way to load your settings on a computer that's not yours.
But most Logitech devices have settings that can be changed. This allows you to change them.
Using this software, I disabled tap to click on my K400 Plus’s trackpad. Super useful.
It is an "install if needed" utility if your mouse seems dead after a battery change or wireless power cycle. =)
For instance, my mouse has a wheel which is also the middle button. To press the middle mouse button, you click the wheel as if it were a button.
It also has another little middle button right in line with the wheel. That other button does not generate any scan codes or hid events.
All that button does is toggle the detent on/off for the wheel. It's effects are entirely within the mouse and does not talk to the host. Does not generate any mouse events or xev events or hid or scancodes etc.
The wheel detent toogle thing is, the wheel has some mass to it, and if the detent is off ,then the wheel can be flicked and it will spin freely for some time by inertia. This is great for zipping up or down in a long document.
But it also means that in free-wheeling mode, the wheel is always generating wheel movement events, since it's always moving. If you so much as look at it funny it moves a little, let alone actually intentionally handling and moving the mouse.
So mormally you want the detent mode on so that the wheel does not spin freely.
Having the middle mouse button be the wheel is extremely agrevating to me, because even in detent mode I can't press the middle button without also scrolling the wheel at least a little at the same time, except with annoying great care. It reeeeely screws up cad work.
Luckily, the mouse allows you to swap those two functions around. You can make it so that you click the wheel to toggle the wheel between detent and freewheel, and use the button as the middle mouse button.
Like I said, whichever button is acting as the detent-toggle, that button does not generate HID events. So you can't do this button remapping the normal way like you might swap left & right buttons for instance.
The official Windows software talks to the mouse and reconfigures something inside the mouse, via some special protocol of it's own.
Solaar does the same thing.
That is just one tiny example that isn't "control the rgb lights", there are others.
Actually even controlling the rgb lights is a real issue too.
I also have a keyboard that I wanted because it is mechanical and low profile and TKL layout (ten-key-less, full keyboard and edit/arrow blocks, but just no 10-key to the right of that.), and wireless including bluetooth so I don't need a dongle with my laptop normally, but still able to be used in bios/uefi because it comes with a usb receiver as well as supporting bluetooth.
That thing is pretty good in all those aspects, but it also has ^%$%#%% rgb lights, and the firmware in the keyboard defaults to a continuous disco show of changing colors. It's completely ridiculous.
You need to use the software to shut the damned lights off, or really not merely off but make them function just as normal backlights.
I'm not a gamer and do not want rgb lights, but I do want everything else about that keyboard, so a non-gamer needs an rgb gamer keyboard light control.
It has to do it's thing on every power cycle too. The setting isn't saved in the keyboard, the software has to perform the action over and over, either everytime the pc boots or every time the keyboard loses power or every time the keyboard goes to sleep and wake, I don't remember exactly which. I don't use that keyboard any more. And that api is not exposed through normal HID. The special software has to talk via it's special interface.
So that's another example.
It's the most basic function of a button that you can press it, and it alone.
And I don't know how many more times I could have repeated that I wanted the control over a goofy feature only to disable it. The only way to make that into something dismissable is by saying "you should either just enjoy the 24/7 disco light show or use some other keyboard"
Both are ridiculous invalid inconsiderate & ignorant. No one gets to tell anyone else that. It's perfectly reasonable to want a mechanical keyboard, or tenkeyless layout, or bios functionality, or bluetooth, and not rgb multicolor flashing lights. And it's perfectly valid to have landed on some particular model that is available that hits almost all the tickboxes one cares about and just have some particular thing that needs to be changed somehow.
And all this whole thread answering the parent question is just explaining why the software exists and the fact that the normal driver interface does not handle these aspects of driving the hardware.
Why in the world would you even care? What in the world is even the point of hearing that explaination of a simple technical thing, and trying to say "that's why you need it? so you don't need it then"? Like in what way does this affect you even the slightest?
Where does that instinc come from? It sure is common though.
Keyboard was G915 TKL. I didn't keep using it though. What I really want is a tenkeyless mx keys, but failing that I'm using a full mx keys.
I would like to have some custom micro controller/ZMK based mouse that I can pair with say my wireless split keyboard. Logitech has OK hardware but they don't have basic functionality like sync switching between devices - this would easily be handled by OSS firmware.
- Mouse bodies are harder to make, since they generally have more complex curves compared to a flat keyboard. 3d printing helps a lot, but you don't get the same durability or quality as injection molding
- Mouse sensors are strangely hard to find. The "good" sensors on a lot of the high-end mice are difficult to find as individual components. From a quick look at what custom mice exist, they'll often cannibalize an existing mouse for components rather than order things from say DigiKey, like you can for keyboard components
Some of my other current favorites are:
- CoolerControl (https://gitlab.com/coolercontrol/coolercontrol) - fan control/curve designer/temp sensor overview tool. Seriously awesome tool!
- LACT (https://github.com/ilya-zlobintsev/LACT) - AMD GPU tool for overclocking, etc. Anything you would do with the radeon app on windows
- BoatSwain (https://flathub.org/apps/com.feaneron.Boatswain) - Elgato StreamDeck tool
I love this keyboard's feel, but I need to switch to wired-only for $reasons.
That said, before getting the MX keys I bought a Dell 7440 keyboard on ebay for $20, fastened it on top of a 6mm clear acrylic plate with M3 screws, along with a Teensy chip running kbd firmware:
https://www.instructables.com/How-to-Make-a-USB-Laptop-Keybo...
If a keyboard has both wired-USB and some wireless technology, it's conceivable that physically disabling the wireless module(s) would be allowable.
I guess there are two possible hurdles: (1) getting permission, and (2) finding a keyboard in which I can disable the wireless module without causing too much havoc with the rest of the electronics and/or with the firmware.
(1) It's out of production AFAICT, and (2) one thing I really appreciate about the MX Keys is the indented key caps.
IIUC, if I'm willing to put together my own keyboard, I can ensure it's wired-only and I can have the key caps that I like.
The only remaining challenge at that point (I think) is finding switches with a similar feel. This is the part that's tripped me up in the past:
I've bought a few switch testers (e.g., [0]), but all of the switches I tried were way more clicky than I wanted. I really like the travel-distance, gentle landing, and relatively quiet action of the MX Keys.
Based on [0], it sounds like what I'm looking for is something like "fake PerfectStroke" keys.
My mouse has two side buttons, and I bind one of them plus scrollwheel to virtual desktop switching. Unfortunately this takes complete control of your scrollwheel, so you need to experiment with the rules a little in order to avoid performance issues.
Honorable mention: https://github.com/PixlOne/logiops/, although its rules are much less powerful.
I wonder why setting DPI and stuff like that were never added to the standards so the baseline drivers can use them?
I gas-up my car when my tank is below 1/4, so it's a little disconcerting to have a red battery indicator with an exclamation point on it...not enough to actually want to use it with the cable plugged in, but still...
The problem is, I LOVE my 8-programmable buttons and there isn’t another mouse I’ve been able to find that approaches the number of buttons and ergonomics of the G602.
The price I’m willing to pay for the right mouse is absurdly high, but it isn’t $200 for a mouse that dies within a year due to shitty switches.
With solaar on Linux, the thing work flawlessly. On Windowsthe device is not supported by the official firmware so no gesture or click. It's a shame !
Seems you need to know the exact keycodes, or names, or whatever key you want to use. Like XF86_MonBrightnessUp. Want to add a combo? not sure how to do that either.
I wish Solaar got ported to Windows.
Bullet dodged.
I rarely need it; now BT mice work quite well, but sometimes, to avoid pairing one mouse with a new device (and losing the previous one), I will use it.
works okay with intel ax-210 chipaet/driver on one machine but on another machine i can only get both to pair to a bluetooth 4 (le) dongle but not bluetooth 5+ chipset (realtek or intel 9560). not sure if bluez bug or btusb driver or smth :(
any tips?