qmk/qmk_firmware

[Bug] Most rules in 50-qmk.rules are missing MODE and GROUP for non-systemd distros

Open

#23,517 opened on Apr 14, 2024

View on GitHub
 (4 comments) (2 reactions) (0 assignees)C (43,867 forks)batch import
bughelp wanted

Repository metrics

Stars
 (20,368 stars)
PR merge metrics
 (Avg merge 20d 9h) (27 merged PRs in 30d)

Description

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:

  dfu-util: Cannot open DFU device 0483:df11 found on devnum 9 (LIBUSB_ERROR_ACCESS)
  dfu-util: No DFU capable USB device available

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

❯ qmk doctor
Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.2
Ψ QMK home: /home/ismay/code/github.com/qmk/qmk_firmware
Ψ Detected Linux (Void Linux).
Ψ Testing userspace candidate: /home/ismay/code/git.sr.ht/~ismay/qmk_userspace -- Valid `qmk.json`
Ψ QMK userspace: /home/ismay/code/git.sr.ht/~ismay/qmk_userspace
Ψ Userspace enabled: True
Ψ Git branch: master
Ψ Repo version: 0.24.7
⚠ The official repository does not seem to be configured as git remote "upstream".
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 9.3.0
Ψ Found avr-gcc version 9.3.0
⚠ We do not recommend avr-gcc newer than 8. Downgrading to 8.x is recommended.
Ψ Found avrdude version 7.0
Ψ Found dfu-programmer version 0.7.2
Ψ Found dfu-util version 0.11
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2023-04-15 13:48:04 +0000 --  (11edb1610)
Ψ - lib/chibios-contrib: 2023-11-27 18:15:44 +0100 --  (9d7a7f90)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 --  (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 --  (549b97320)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 --  (819dbc1)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 --  (c2e3b4e)
Ψ - lib/pico-sdk: 2023-02-12 20:19:37 +0100 --  (a3398d8)
Ψ - lib/lvgl: 2022-04-11 04:44:53 -0600 --  (e19410f8)
Ψ QMK is ready to go, but minor problems were found

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

No response

Contributor guide