Comments (4)
After debugging and help in the voidlinux channel I found out that the problem occurs because I'm not using systemd. In that case, TAG+="uaccess"
does not have any effect. Instead, what works for users who don't use systemd is adding MODE="0660", GROUP="plugdev"
. Strangely enough this is already present for one rule: https://github.com/qmk/qmk_firmware/blob/master/util/udev/50-qmk.rules#L71, but not for the other ones.
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:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", TAG+="uaccess", MODE="0660", GROUP="plugdev"
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 TAG+="uaccess"
only has an effect for distros built on top of systemd. Since not everyone uses systemd, MODE and GROUP should still be present.
from qmk_firmware.
Alternatively, you could install the elogind
package (and reboot after that) to make the existing udev rules work.
from qmk_firmware.
Alternatively, you could install the
elogind
package (and reboot after that) to make the existing udev rules work.
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.
from qmk_firmware.
In its current form we cannot accept this PR. This invalidates other distro's that don't set up a plugdev
group -- anything systemd-based should be running with TAG+="uaccess"
instead, as per the systemd developers (https://bugzilla.redhat.com/show_bug.cgi?id=815093#c2).
For example, with my main Fedora machine I don't have a plugdev
group -- if we merge this PR should I subsequently raise a bugfix PR reverting to TAG+="uaccess"
as that fixes my system?
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 TAG+="uaccess"
route wherever available.
EDIT: Whoops, should've been on the PR. I have too many tabs open, sigh.
from qmk_firmware.
Related Issues (20)
- [Bug] Bottom row of Corne Keyboard issues HOT 1
- [Bug] warning:The official repository does not seem to be configured as git remote "upstream". HOT 12
- [Feature Request] Custom keycodes and axies for joysticks HOT 1
- [help] QMK Doc‘s “Flashing DFU Bootloader” cannot flash APM32。 HOT 1
- [Feature Request] Add Left Control and Alt key HOT 2
- Keys are held down and keep repeating after waking from sleep.
- [Bug] If 4 rotary encoders are specified, all rotary encoders will stop responding. HOT 6
- [Bug] Caps Word get reset by normal press with interrupting character on long press HOT 2
- [Feature Request] Password manager/generator functionality HOT 1
- [Bug] Capslock randomly trigger while typing with Sofle V2 HOT 1
- Rotary Encoders - Microsoft flight simulator - MSFS Heading, Speed, Altitude Control HOT 2
- Strange behaviour of macros with lily58 HOT 1
- Compilation of TAP DANCE fails (code compiled previously). HOT 2
- Updating STENO code from an older QMK version
- qmk msys can not convert to get file uf2, fatal error HOT 1
- [Bug] Different response of keyboard depending on key pressing speed in succesion .
- [Bug] Idobao ID75 V3 (Drop) Issue with RGB Matrix HOT 2
- [Bug] xd75 doesn't build on head HOT 5
- Problem flashing dztech PCBs with lufa-ms bootloader from Linux[Bug] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qmk_firmware.