Skip to content
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] Flashing via docker does not work #24698

Open
2 tasks
hasufell opened this issue Dec 9, 2024 · 1 comment
Open
2 tasks

[Bug] Flashing via docker does not work #24698

hasufell opened this issue Dec 9, 2024 · 1 comment

Comments

@hasufell
Copy link

hasufell commented Dec 9, 2024

Describe the Bug

$ RUNTIME=podman util/docker_build.sh kinesis/kint36:workman:flash
Traceback (most recent call last):
  File "/home/hasufell/.local/bin/qmk", line 5, in <module>
    from qmk_cli.script_qmk import main
ModuleNotFoundError: No module named 'qmk_cli'
podman run --rm -it --privileged -v /dev:/dev:rw -w /qmk_firmware -v /home/hasufell/git/qmk_firmware-master:/qmk_firmware:z --group-add keep-groups -e SKIP_GIT= -e SKIP_VERSION= -e MAKEFLAGS= ghcr.io/qmk/qmk_cli make kinesis/kint36:workman:flash
QMK Firmware 0.11.68
Making kinesis/kint36 with keymap workman and target flash

arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Size before:
   text	   data	    bss	    dec	    hex	filename
      0	  28044	      0	  28044	   6d8c	kinesis_kint36_workman.hex

Copying kinesis_kint36_workman.hex to qmk_firmware folder                                           [OK]

Size after:
   text	   data	    bss	    dec	    hex	filename
      0	  28044	      0	  28044	   6d8c	kinesis_kint36_workman.hex

Flashing for bootloader: halfkay
Teensy Loader, Command Line, Version 2.1
Read ".build/kinesis_kint36_workman.hex": 28044 bytes, 2.7% usage
Unable to claim interface, check USB permissions
Waiting for Teensy device...
 (hint: press the reset button)
Unable to claim interface, check USB permissions
Unable to claim interface, check USB permissions
Unable to claim interface, check USB permissions
Unable to claim interface, check USB permissions
^Cmake[1]: *** [platforms/chibios/flash.mk:98: flash] Interrupt
make: *** [Makefile:414: kinesis/kint36:workman:flash] Interrupt
make: *** wait: No child processes.  Stop.

Keyboard Used

kinesis/kint36

Link to product page (if applicable)

No response

Operating System

OpenSUSE Tumbleweed

qmk doctor Output

Don't have a `qmk` binary, since I'm using docker.

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

No response

@hasufell
Copy link
Author

hasufell commented Dec 9, 2024

Apparently you need an udev rule: https://cudmore.github.io/post/2016/09/17/teensy-and-platformio-udev-rules/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant