qmk/qmk_firmware

[Bug] Cannot flash on Alpine linux

Open

#19,095 opened on 2022年11月16日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)C (43,867 forks)batch import
bughelp wanted

Repository metrics

Stars
 (20,368 stars)
PR merge metrics
 (平均マージ 20d 9h) (30d で 27 merged PRs)

説明

Describe the Bug

I cannot flash the keyboard on alpine linux. I've installed all necessary deps and copied udev rules. Then reboot to make sure udev rules bind.

But after reseting the board I've got that loading

 * The firmware size is fine - 26998/28672 (94%, 1674 bytes free)
Flashing for bootloader: caterina
Waiting for USB serial port - reset your controller now (Ctrl+C to cancel)........
Device /dev/ttyACM0 has appeared; assuming it is the controller.
Waiting for /dev/ttyACM0 to become writable...........................

which spins forever.

Keyboard Used

qmk flash -kb crkbd -km default

Link to product page (if applicable)

No response

Operating System

Alpine Linux (edge)

qmk doctor Output

Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.1
Ψ QMK home: /home/tim/qmk_firmware
Ψ Detected Linux.
Ψ Git branch: master
Ψ Repo version: 0.18.17
Ψ - Latest master: 2022-11-16 02:40:28 +0800 (df5689ed06) -- [Docs] Note default value for TAP_CODE_DELAY (#19078)
Ψ - Latest upstream/master: 2022-11-16 16:07:51 +0900 (d6956668e3) -- Specify `DEFAULT_FOLDER` for `v2/splinky` (#19093)
Ψ - Latest upstream/develop: None
Ψ - Common ancestor with upstream/master: 2022-11-16 02:40:28 +0800 (df5689ed06) -- [Docs] Note default value for TAP_CODE_DELAY (#19078)
Ψ - Common ancestor with upstream/develop: None
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 12.2.0
Ψ Found avr-gcc version 12.2.0
⚠ We do not recommend avr-gcc newer than 8. Downgrading to 8.x is recommended.
Ψ Found avrdude version 7.0
Ψ Found dfu-util version 0.11
Ψ Found dfu-programmer version 0.7.2
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2022-06-11 09:09:45 +0000 --  (f836d24b0)
Ψ - lib/chibios-contrib: 2022-07-27 10:46:15 +0200 --  (d03aa9cc)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 --  (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 --  (549b97320)
Ψ - lib/pico-sdk: 2022-05-17 19:19:01 +0200 --  (07edde8)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 --  (c2e3b4e)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 --  (819dbc1)
Ψ QMK is ready to go, but minor problems were found
> qmk doctor > wl-copy
Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.1
Ψ QMK home: /home/tim/qmk_firmware
Ψ Detected Linux.
Ψ Git branch: master
Ψ Repo version: 0.18.17
Ψ - Latest master: 2022-11-16 02:40:28 +0800 (df5689ed06) -- [Docs] Note default value for TAP_CODE_DELAY (#19078)
Ψ - Latest upstream/master: 2022-11-16 16:07:51 +0900 (d6956668e3) -- Specify `DEFAULT_FOLDER` for `v2/splinky` (#19093)
Ψ - Latest upstream/develop: None
Ψ - Common ancestor with upstream/master: 2022-11-16 02:40:28 +0800 (df5689ed06) -- [Docs] Note default value for TAP_CODE_DELAY (#19078)
Ψ - Common ancestor with upstream/develop: None
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 12.2.0
Ψ Found avr-gcc version 12.2.0
⚠ We do not recommend avr-gcc newer than 8. Downgrading to 8.x is recommended.
Ψ Found avrdude version 7.0
Ψ Found dfu-util version 0.11
Ψ Found dfu-programmer version 0.7.2
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2022-06-11 09:09:45 +0000 --  (f836d24b0)
Ψ - lib/chibios-contrib: 2022-07-27 10:46:15 +0200 --  (d03aa9cc)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 --  (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 --  (549b97320)
Ψ - lib/pico-sdk: 2022-05-17 19:19:01 +0200 --  (07edde8)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 --  (c2e3b4e)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 --  (819dbc1)
Ψ 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

I use keyd service as well.

コントリビューターガイド