Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Solaar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwr-Solaar
  • Solaar
  • Merge requests
  • !1971

Partial support for macOS and Windows

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open markopy requested to merge github/fork/markopy/macos_support into master Jan 22, 2023
  • Overview 0
  • Commits 5
  • Pipelines 1
  • Changes 7

This PR is related to #1244 and #1586 and adds support for macOS and potentially Windows (untested, see below) by using a platform independent library (https://github.com/libusb/hidapi) for device access. Solaar will be able to pair and configure devices but the rule and diversion system will not work because it is Linux specific and not really portable.

macOS

For macOS all dependencies can be installed via homebrew: brew install hidapi gtk+3 pygobject3

Windows

This PR should also support Windows without any further changes but I don't have the environment to test this. If someone wants to give this a try the first step would be to obtain the hdiapi DLL from https://github.com/libusb/hidapi/releases and check that the command line interface works.

Getting the GUI to work requires GTK which seems non-trivial to install on windows. The starting point for this would be https://pygobject.readthedocs.io/en/latest/getting_started.html#windows-getting-started

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/markopy/macos_support