Skip to content

Conversation

@loco-choco
Copy link
Contributor

As mentioned by the issue #2766 the newer version of the Huion HS611 have a different ProductID, which means it doesn't get recognized by the driver, so this pull requests adds the file with the new ProductID.
I was able to test that this fix works with my HS611, which had the same issue.

@loco-choco
Copy link
Contributor Author

loco-choco commented Jun 22, 2023

Also, for people who use NixOS with flakes, you can test the changes by getting the package in the master branch of nixpkgs, overriding the source with my fork on the hotfix branch and then changing the package of the driver.

  • On inputs:
nixpkgs-master.url = "nixpkgs/master";
  • The overlay:
opentabletdriver-overlay = final: prev: {
      pkgs-master = import nixpkgs-master { system = final.system; };
      fixed-opentabletdriver = final.pkgs-master.opentabletdriver.overrideAttrs (old: {
        src = prev.fetchFromGitHub {
          owner = "loco-choco";
          repo = "OpenTabletDriver";
          rev = "hotfix";
          hash = "sha256-iiuYjO1YQxMueLhykLCGsn+45VWDJQYqybVEzYyXeJs="
        };
      });
    };
  • Overriding the package:
  hardware.opentabletdriver.enable = true;
  hardware.opentabletdriver.package = pkgs.fixed-opentabletdriver;

@jamesbt365
Copy link
Member

Merge this configuration with the one that is currently in branch.

@jamesbt365
Copy link
Member

Also that is a configuration using the format for the master branch, hotfix uses a different format.

@loco-choco
Copy link
Contributor Author

Should be fixed now.

@X9VoiD X9VoiD merged commit 3098d3d into OpenTabletDriver:hotfix Aug 9, 2023
@X9VoiD X9VoiD mentioned this pull request Aug 16, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants