Live data from Hacker News

Solaar is a Linux manager for many Logitech keyboards, mice, and other devices

github.com

201–210 of 274 posts

Re: Solaar is a Linux manager for many Logitech keyboards, mice, and other devices

#201

Earlier quoted context omitted.

Why does a mouse need an app, again?

To be able to program all the configurable buttons, and upload the macros and settings to the profiles present on the mouse itself, so you can use all the features of your mouse, tailored to you, even if you don’t have the software on the target device you’re using your mouse. Yes, Logitech’s high end mice store settings themselves. The app is just a programming interface. It sometimes does per program profile switch…

USB-HID cares about that and the rest shall be done by generic APIs through the operating-system.

I avoid therefore any peripheral devices which need additional software.

Ducky provides DIP-Switches and keyboard shortcuts. Perfect :)

And I didn’t bricked it with a firmware update, which I did with the K850. Because Logitech suffered so many security issues.

Re: Solaar is a Linux manager for many Logitech keyboards, mice, and other devices

#202

Earlier quoted context omitted.

Doesn't bluetooth handle many, many more devices?

It also introduces a ton of lag, especially when more than a single device and some distance is involved (Mouse + Keyboard + Headphones makes my headphones cut out sometimes)

Bluetooth MIDI keyboard + Bluetooth headset = audio glitches. Disappointing.

Re: Solaar is a Linux manager for many Logitech keyboards, mice, and other devices

#204
post #113
post #106

Earlier quoted context omitted.

IIRC I installed the Logitech software in a VM, programmed the the mouse, deleted the VM. All I wanted to do is turn off the rainbow LEDs Next time I get a new mouse I'll try Solaar.

Sadly the MX family of mousen need the Logitech Software for customisation. It's not saved on the mouse, so if Logi Options is not running the mouse operates in default state, with no custom button mappings, etc.

it works fine for me on windows, only annoyance is google maps, switching to street view, one wheel rotation unit acts like 15, so switches back and forth uncommanded to street mode and out

Re: Solaar is a Linux manager for many Logitech keyboards, mice, and other devices

#205
post #86

I'd love to see this ported to Mac. 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...

> AI prompt builder enabled by default in my mouse driver 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...

I worked at a fucking air conditioner manufacturer, and sure as shit they had an AI developer. people are huffing some strong shit.

Re: Solaar is a Linux manager for many Logitech keyboards, mice, and other devices

#206
I like Solaar more than the actual Logitech shit actually cuz 1. you can see actual battery % and 2. you can set actual dpi numbers instead of a f*king slider like the actual logitech app, like the software department for logitech should get fired just for that.

Re: Solaar is a Linux manager for many Logitech keyboards, mice, and other devices

#207
One thing I'm kind of surprised by is that the custom mouse space is so empty, compared to custom keyboard scene.

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.

Re: Solaar is a Linux manager for many Logitech keyboards, mice, and other devices

#208
post #67

Is there anything like this on Windows? Logitech mice are mostly nice, but one of their major flaws is that their macro capability is not onboard but requires some kind of supplemental software like this, so even just binding a single button to multiple keystrokes as a chord is not possible without G-Hub. Linux has stuff like Solaar and Piper/libratbagd, which is great. For macOS, it looks like SteerMouse does quite…

Their major flaw is that they purposefully use shitty switches that fail, sometimes within months. This is true even with their absurdly overpriced gaming mice. 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 bought some switches from aliexpress for my Logitech G203 and replace them when they fail. I've had it for 5 years now.

Re: Solaar is a Linux manager for many Logitech keyboards, mice, and other devices

#209
post #58

Earlier quoted context omitted.

All of those should be state changes in the mouse.. IE. the software should run to make the settings then exit. There should be no reason for it to keep running.

Logitech's best kept secret is they do make a lightweight version of their software for exactly that, it edits the settings saved on the mouse and does absolutely nothing else. It's only available for Windows though. https://support.logi.com/hc/en-ca/articles/360059641133-Onbo...

Wow, this is amazing!

Re: Solaar is a Linux manager for many Logitech keyboards, mice, and other devices

#210

For Linux pros here, can anyone explain how is this, in my understanding, driver implementation for Linux to be completely written in Python? 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?

for a more general answer, if you rewind the clock back to the 80s and early 90s: a hardware device required setting a COM port or IRQ, which was often done by physically setting jumpers on the device, and the user was responsible for making sure that, e.g. IRQ21 wasn't already being used by the BIOS or another device on the system. Then, you'd install a device driver that knew the specific memory addresses to read/write to in order to communicate with the controller on the device, based on the proprietary way the company decided to do it.

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//{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.

Post reply on HN