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

Workaround for bug #226 #227

Conversation

Phen-Ro
Copy link
Contributor

@Phen-Ro Phen-Ro commented Aug 6, 2023

See discussion in #226.

  • udev_inhibited_workaround() functions were added to eruption and eruption-debug-tool.
  • In order to use the workaround, a new rule is added to 99-eruption.rules to make the inhibited file of the Vulcan 1xx's LED interface device world-writeable.
  • An interactive mode was added to eruption-hwutil and eruption-debug-tool to help me debug this problem. I kept it in and polished it up in case it would be helpful in other contexts.
  • All the hwdevices files shared between eruption-hwutil and eruption-debug-tool were updated to respect the interactive mode before device initialization and between run-tests color changes.
  • eruption-debug-tool has a new subcommand to send the inhibited workaround independently of the run-tests subcommand.
  • gen-completions.sh was updated and run to add the new flag and subcommand.
  • Additionally, wherever the vendor ID and product ID from the device is output, use "04x" formatting instead of "x", since leading zeros can be present in IDs unrelated to Roccat.

- `udev_inhibited_workaround()` functions were added to eruption and eruption-debug-tool.
- In order to use the workaround, a new rule is added to 99-eruption.rules to make the `inhibited` file of the Vulcan 1xx's LED interface device world-writeable.
- An interactive mode was added to eruption-hwutil and eruption-debug-tool to help me debug this problem.  I kept it in and polished it up in case it would be helpful in other contexts.
- All the hwdevices files shared between eruption-hwutil and eruption-debug-tool were updated to respect the interactive mode before device initialization and between run-tests color changes.
- eruption-debug-tool has a new subcommand to send the inhibited workaround independently of the run-tests subcommand.
- gen-completions.sh was updated and run to add the new flag and subcommand.
- Additionally, wherever the vendor ID and product ID from the device is output, use "04x" formatting instead of "x", since leading zeros can be present in IDs unrelated to Roccat.
@X3n0m0rph59 X3n0m0rph59 merged commit 276d371 into eruption-project:develop Sep 2, 2023
0 of 3 checks passed
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.

2 participants