-
-
Notifications
You must be signed in to change notification settings - Fork 40k
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
[Bug] Most rules in 50-qmk.rules are missing MODE and GROUP for non-systemd distros #23517
Comments
After debugging and help in the voidlinux channel I found out that the problem occurs because I'm not using systemd. In that case, For these udev rules to be fully compatible with both systemd based distros and other distros, both methods should be present. So for the moonlander for example, the full rule should be:
I'll leave a link to this discussion: #12828 (review), where the addition of the one rule that does add MODE and GROUP was discussed. What was omitted from that discussion is that |
Alternatively, you could install the |
Sure. Though you'll probably need to do more than just install it, and you've probably not got it installed because you want to use something else. In all likelihood, users will either not know why this is breaking and have to debug it, or know why it's breaking and add the group and mode themselves. So it's mostly inconvenient to end users when it's quite easily fixed for everyone with a couple minor additions on qmk's side. |
In its current form we cannot accept this PR. This invalidates other distro's that don't set up a For example, with my main Fedora machine I don't have a The vast majority of distros use systemd nowadays, and whilst you may not find that selection palatable, you're the outlier. From your perspective I'd suggest manually modifying the rules and installing that as per your system requirements, or figuring out an automated way to select one of two different rules files -- with preference being the EDIT: Whoops, should've been on the PR. I have too many tabs open, sigh. |
Describe the Bug
The udev rule in https://github.com/qmk/qmk_firmware/blob/master/util/udev/50-qmk.rules#L23 does not allow my moonlander to be flashed. When trying to do it fails with:
This is after moving
50-qmk.rules
to/etc/udev/rules.d
and rebooting. All in all it seems that the default udev rules shipped with qmk_firmware are not sufficient for flashing a moonlander with my setup.Keyboard Used
zsa/moonlander
Link to product page (if applicable)
No response
Operating System
Void Linux
qmk doctor Output
Is AutoHotKey / Karabiner installed
Other keyboard-related software installed
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: