-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS port #1244
Comments
It is written in Python, I don't know the specific dependencies but it should be possible. I would like to see this happen as well. This project is way better than the official Logi Options. |
Seriously, that would be great |
The problem is that Solaar depends on low-level access to the devices so that it can request them to do certain things. This would have to be changed to the Mac way, if it is even possible. |
I would love to try, if get some time on my hand. |
That would be great. Let me know if you have any questions. |
I have a project similar to this one not on github yet for Macs. Its written in c++/obj-c. If you want any help I can give possibly help you, or if yu want to test what I can send me a message. |
That sounds great mate. I will checkout your repos later today. Are you planning to push this project to github anytime soon? |
@VandrerenErik it's NOT on github yet. You can PM me using mischievous.demon AT gmail. |
read my full message |
Are there any other apps like this but for macos? I really dont want to install that logitech bloat |
Like Solaar? I don't know of any. |
It seems as though some basic work is being done so hopefully we will get an implementation some day. |
Very old version of solaar used native hid enumeration that wasn't based on udev, but libusb. If this commit f5d2eba can be restored, probably solaar will work on other OSes. |
I looked at the commit in your reply and was able to reverse most of the changes in the latest version and get it up and running on my Mac. The cli works 100%, the gui also works after disabling most of the udev-based functionality and playing some whack-a-mole disabling vaious other things, let me know if you're interested in testing it out. I'm already way out of my depth so I'm not sure I'll be able to take it any futher, so hopefully someone more knowledgeble than me can take it from here / offer some assistance. |
Can you make your changes available in GitHub? |
What was the reason to use linux specific backend instead of more generic way to handle usb devices? I remember we (FreeBSD users) had solaar in ports. We still use version before udev commit because of that. It would be nice to restore libudev support or make an option to choose implementation on compile time if possible. It looks like my next Logitech device will be Bolt, which obviously not supported by 2 years old version |
The switch was before my time, but an advantage of using udev is that there is no need to continually look for new devices. |
@abishai Isn't udev part of FreeBSD now? |
@pfps Wow, looks like we have udev interface to devd indeed. I'll try unmodified Solaar on FreeBSD, but my knowledge of Python is very limited, unfortunately. |
Sorry for the late reply, sure! I'll upload them to GitHub this evening (UK Time) |
@ja14000 Thanks. It appears that with the hid library doesn't provide the ability to control devices that connect after Solaar starts. Is this correct? |
@pfps, If the device is already paried to the receiver, but not connected when solaar starts up, it is detected by solaar and works normally when it comes online. I think the 'ghost' device solaar creates enables this, but I'm not certain. |
@ja14000 Yes, devices paired with a receiver will work OK. I was thinking of devices that don't use a receiver, and also inserting a new receiver or removing and re-inserting a receiver. |
Yes, that solved the installation issue. |
With 1.1.11
Maybe upgrade to GTK 4.0 is necessary to achieve better macOS support. |
I tried running Solaar on MacOS today
In the end, I'm able to launch Solaar gui; it sees my Logitech G915 keyboard on lightspeed, Unfortunately it doesn't see MX Ergo mouse on bluetooth — probably MacOS specific thing. |
I think that on MacOS Solaar only sees USB devices. |
OTOH I haven't had any luck with Logitech stuff for mouse either (M1 compatibility problem? I don't know) Ah, and it seems like I want "diversion" feature which is not supported in MacOS (yet?) — So I'm trying to set up mix of Logitech software and Solaar to give me "Switch 2/3 of gear" hotkey |
Solaar should be able to divert keys on MacOS but maybe not run rules in response to diverted keys. (I don't use MacOS so I don't have good knowledge of the state of the MacOS port.) |
Hey, it actually worked, thanks! Upd: I noticed that at least on Linux, "change-host" command hangs with the keyboard, so I sent the keyboard off, but solaar is stuck and my mouse is not told to switch… |
The macOS port only works in the GUI with pairing devices and creating rules, but everything else is untested so far and don't expect something to work. However reports what does not work are welcome. |
Change host works for me on Linux. There may be some delay while Solaar figures out that devices have disappeared, and recent changes to Bluez may make this delay be a few seconds. If you see any problems with change host on Linux, please file a bug report. |
So I swapped the order (send mouse off first, then keyboard), and put |
Are there any steps for building the GUI? I'm able to run the CLI app for one automation on changing hosts but it looks like the current port has a lot of work to do? |
The GUI itself starts fine already. With the install commands from the GitHub actions and the Makefile it should be possible for you to install all necesary dependencies with brew and pip. |
Hi, is there any news or tuto ? |
@enzofrnt Follow the steps from the Github action for macOS. It's the best documentation that exists and always up to date |
Can confirm that solaar builds and installs fine on latest macos. MX Master 3 Mouse only recognized in Solaar with unifying receiver, not on Bluetooth, as mentioned above. Can change settings (e.g. scroll direction) successfully, and changes persist across mouse off/on or changing host and back again as long as Solaar keeps running. Changes stay active if Solaar is closed, but revert on mouse off/on or changing host while Solaar is closed. Bluetooth host is not configurable. |
Just checked 1.1.14 — I'm able to switch MX Ergo on Bluetooth from MacOS to my linux box |
See PR #1971 for more information.
Description
Hello, I stumbled upon this project while looking for a replacement to Logi Options in Linux. I was wondering if it is possible to request porting it to macOS as this is more versatile, stable and performant than the official Logi Options.
Thank you!
The text was updated successfully, but these errors were encountered: