Skip to content
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: Add support for Bluetooth devices #2729

Closed
MattHag opened this issue Dec 26, 2024 · 2 comments · Fixed by #2730
Closed

macOS: Add support for Bluetooth devices #2729

MattHag opened this issue Dec 26, 2024 · 2 comments · Fixed by #2730
Assignees

Comments

@MattHag
Copy link
Collaborator

MattHag commented Dec 26, 2024

Information

  • Solaar version: 1.1.14rc
  • Distribution: macOS

Is your feature request related to a problem? Please describe.
Solaar already runs on macOS and works fine with Logitech peripherals connected via Unifying and Bolt receivers. Provide Bluetooth support on macOS, like Linux already has.

Describe the solution you'd like
Provide Bluetooth support for macOS while reusing existing code as much as possible.

Additional context
Related to #1244

@MattHag
Copy link
Collaborator Author

MattHag commented Dec 26, 2024

The detection of connected Logitech Bluetooth devices already works.

@MattHag MattHag self-assigned this Dec 26, 2024
@MattHag MattHag changed the title Bluetooth support for macOS macOS: Add support for Bluetooth devices Dec 27, 2024
MattHag added a commit to MattHag/Solaar that referenced this issue Dec 27, 2024
Use hidapi on macOS to communicate with Logitech peripherals
connected via Bluetooth. This brings macOS device support on the same
level as Linux.

Tested with MX Keys and MX Master 3S.

Fixes pwr-Solaar#2729
MattHag added a commit to MattHag/Solaar that referenced this issue Dec 27, 2024
Use hidapi on macOS to communicate with Logitech peripherals
connected via Bluetooth. This brings macOS device support on the same
level as Linux.

Tested with MX Keys and MX Master 3S.

Fixes pwr-Solaar#2729
@MattHag
Copy link
Collaborator Author

MattHag commented Dec 27, 2024

Recent macOS (like Sonoma) require permissions to access Bluetooth HID devices. Therefore, communication may fail until you grant permission.

MattHag added a commit to MattHag/Solaar that referenced this issue Dec 27, 2024
Use hidapi on macOS to communicate and configure Logitech peripherals
connected via Bluetooth. This brings macOS device support on the same
level as Linux. However, some rules might not be supported yet on macOS.

Tested with MX Keys and MX Master 3S.

Fixes pwr-Solaar#2729
MattHag added a commit to MattHag/Solaar that referenced this issue Dec 27, 2024
Use hidapi on macOS to communicate and configure Logitech peripherals
connected via Bluetooth. This brings macOS device support on the same
level as Linux. However, some rules might not be supported yet on macOS.

Tested with MX Keys and MX Master 3S.

Fixes pwr-Solaar#2729
MattHag added a commit to MattHag/Solaar that referenced this issue Dec 27, 2024
Use hidapi on macOS to communicate and configure Logitech peripherals
connected via Bluetooth. This brings macOS device support on the same
level as Linux. However, some rules might not be supported yet on macOS.

Tested with MX Keys and MX Master 3S.

Fixes pwr-Solaar#2729
MattHag added a commit to MattHag/Solaar that referenced this issue Jan 1, 2025
Use hidapi on macOS to communicate and configure Logitech peripherals
connected via Bluetooth. This brings macOS device support on the same
level as Linux. However, some rules might not be supported yet on macOS.

- Fixes hidpp short/long determination, when first request failed.
- Show udev rules warning only on Linux

Tested with MX Keys and MX Master 3S.

Fixes pwr-Solaar#2729
MattHag added a commit to MattHag/Solaar that referenced this issue Jan 1, 2025
MattHag added a commit to MattHag/Solaar that referenced this issue Jan 1, 2025
Use hidapi on macOS to communicate and configure Logitech peripherals
connected via Bluetooth. This brings macOS device support on the same
level as Linux. However, some rules might not be supported yet on macOS.

Tested with MX Keys and MX Master 3S.

Fixes pwr-Solaar#2729
MattHag added a commit to MattHag/Solaar that referenced this issue Jan 1, 2025
Warning about missing udev rules do not apply to macOS.

Related pwr-Solaar#2729
MattHag added a commit to MattHag/Solaar that referenced this issue Jan 1, 2025
MattHag added a commit to MattHag/Solaar that referenced this issue Jan 1, 2025
Use hidapi on macOS to communicate and configure Logitech peripherals
connected via Bluetooth. This brings macOS device support on the same
level as Linux. However, some rules might not be supported yet on macOS.

Tested with MX Keys and MX Master 3S.

Fixes pwr-Solaar#2729
MattHag added a commit to MattHag/Solaar that referenced this issue Jan 1, 2025
Warning about missing udev rules do not apply to macOS.

Related pwr-Solaar#2729
MattHag added a commit to MattHag/Solaar that referenced this issue Jan 1, 2025
MattHag added a commit to MattHag/Solaar that referenced this issue Jan 1, 2025
@pfps pfps closed this as completed in #2730 Jan 1, 2025
pfps pushed a commit that referenced this issue Jan 1, 2025
Use hidapi on macOS to communicate and configure Logitech peripherals
connected via Bluetooth. This brings macOS device support on the same
level as Linux. However, some rules might not be supported yet on macOS.

Tested with MX Keys and MX Master 3S.

Fixes #2729
pfps pushed a commit that referenced this issue Jan 1, 2025
Warning about missing udev rules do not apply to macOS.

Related #2729
pfps pushed a commit that referenced this issue Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant