-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
usb_modeswitch: fixes #60981
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
usb_modeswitch: fixes #60981
Conversation
What do you mean by "Fix kernel module probing" ? Answer from Matrix: "there's a section in the dispatcher that checks for potential kernel features by looking at /lib/modules/$(uname -r). this won't work as is, but I don't have a plan for how to fix it yet" |
As I'm also suffering from broken Reviewed points (package update)
Reviewed points (module update)
Comments
|
Tested successfully with the Logitech G920 racing wheel |
Is this still WIP ? |
What should be done before it can be merged ? I am using it for a few months now without issues |
The patch is not applying anymore on master |
I updated the patch in this commit : nyanloutre@b092c46 |
Thank you all for your patience. |
Hydra build is failing because my updated patch didn't get merged. I made a PR: #77695 |
Works for me, too! |
Motivation for this change
usb_modeswitch currently isn't working #60878
This is unfortunately quite an extensive change, mostly redoing the packaging of usb-modeswitch itself. Because of the size of the change, I'd like a review from the nixpkgs packaging experts before attempting to upstream this. I have successfully tested this with an "LG L-02C LTE".
This has the following goals:
Make
DESTDIR
andPREFIX
work as per usual. CurrentlyPREFIX
isn't supported due to many hardcoded paths.Remove hardcoded paths to dependencies and rely on the
PATH
variable instead.Allow configuration of which init systems to use, instead of checking the state of the build machine.
Still TODO:
Fix kernel module probing
New default
PREFIX
changes the result ofmake install
. Either change the readme, or restore the existing behavior.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)