Author Topic: Getting Started with QMK  (Read 7450 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr.Thompson

  • Thread Starter
  • Posts: 36
Getting Started with QMK
« on: Thu, 24 March 2022, 08:39:45 »
I have now an Ergodash (rev1) and I need to adjust the layout a bit. I run ArchLinux and vial and via-bin do not detect any keyboards. Yes, I made the udev rules.

I can use CLI qmk but there is one thing I am missing. What is the ID or name of my keyboard? How do I know how/where to find it? The docs speak about creating a "keyboard directory" but I don't follow how to start....

Here is qmk doctor:

Code: [Select]
[greg qmk]$ qmk doctor
Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.0.0
Ψ QMK home: /home/greg/qmk_firmware
Ψ Detected Linux.
Ψ Git branch: master
Ψ Repo version: 0.16.7
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 11.2.0
Ψ Found avr-gcc version 11.2.0
⚠ We do not recommend avr-gcc newer than 8. Downgrading to 8.x is recommended.
Ψ Found avrdude version 6.4
Ψ Found dfu-util version 0.11
Ψ Found dfu-programmer version 0.7.2
Ψ Submodules are up to date.
Ψ QMK is ready to go, but minor problems were found
« Last Edit: Thu, 24 March 2022, 08:50:52 by Mr.Thompson »

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Re: Getting Started with QMK
« Reply #1 on: Sat, 26 March 2022, 03:56:59 »
I'll reply as no-one else has, though this all looks very "newbie friendly" which is another way of saying someone's put yet another layer between what you want to do and how to do it, and that just adds confusion when it doesn't work.  I have no idea what you're doing!

If what should be fixed using udev rules doesn't work have you tried running it as root using sudo before the command or using su to swap user?  If that works your udev rule isn't working for whatever reason.  If you're not planning on doing this often it might not be worth fixing, just run it as root (but be careful as you can break/delete anything in a su command line)

From your doctor output /home/greg/qmk_firmware is where the QMK code is, in that folder is the keyboards folder and in there you will find 'ergodash' which is probably what it means by keyboard name.  If that doesn't work in that folder is rev1 so the name could be 'ergodash/rev1'.

Hopefully that helps, if not consider it a bump :)
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline Leslieann

  • * Elevated Elder
  • Posts: 4567
Re: Getting Started with QMK
« Reply #2 on: Sat, 26 March 2022, 11:24:47 »
Unless you added keys you don't need to mess with QMK to alter layout, just install Via
yay -S via-bin

Then just start Via and you can change any settings.
Novelkeys NK65AE w/62g Zilents/39g springs
More
62g Zilents/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 magnetic cable, pic
| Filco MJ2 L.E. Vortex Case, Jailhouse Blues, heavily customized
More
Vortex case squared up/blasted finish removed/custom feet/paint/winkey blockoff plate, HID Liberator, stainless steel universal plate, 3d printed adapters, Type C, Netdot Gen10 magnetic cable, foam sound dampened, HK Gaming Thick PBT caps (o-ringed), Cherry Jailhouse Blues w/lubed/clipped Cherry light springs, 40g actuation
| GMMK TKL
More
w/ Kailh Purple Pros/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 Magnetic cable
| PF65 3d printed 65% w/LCD and hot swap
More
Box Jades, Interchangeable trim, mini lcd, QMK, underglow, HK Gaming Thick PBT caps, O-rings, Netdot Gen10 magnetic cable, in progress link
| Magicforce 68
More
MF68 pcb, Outemu Blues, in progress
| YMDK75 Jail Housed Gateron Blues
More
J-spacers, YMDK Thick PBT, O-rings, SIP sockets
| KBT Race S L.E.
More
Ergo Clears, custom WASD caps
| Das Pro
More
Costar model with browns
| GH60
More
Cherry Blacks, custom 3d printed case
| Logitech Illumininated | IBM Model M (x2)
Definitive Omron Guide. | 3d printed Keyboard FAQ/Discussion

Offline Mr.Thompson

  • Thread Starter
  • Posts: 36
Re: Getting Started with QMK
« Reply #3 on: Sat, 26 March 2022, 14:51:28 »
Thank you for the responses. As mentioned, I have vial and via-bin installed but neither detect my keyboard. I tried running via as root and it also doesn't detect the keyboard. [I even tried installing vial on my wife's Windows laptop but it still didn't detect my keyboard]

Yes, of course I used sudo to create the udev rules.

What I want to do is remap the keys, just a bit. What I have is this layout:

https://config.qmk.fm/#/omkbd/ergodash/rev1/LAYOUT_4key

if you choose LAYOUT_4key in the layout dropdown, you will see my layout. It has two Enter keys on the right thumb cluster and two Space keys on the left cluster. I just want to have Space and Enter on each side that's all.

In /home/greg/qmk_firmware I now indeed see over 700 layouts, but no ergodash at all. :(

Here is what I see: https://pastebin.com/cgyrvYbG

Perhaps that's the problem, there is no ergodash there...
« Last Edit: Sat, 26 March 2022, 16:02:08 by Mr.Thompson »

Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Re: Getting Started with QMK
« Reply #4 on: Sat, 26 March 2022, 17:03:01 »
I've attached a 7zip of the ergodash folder, extract it and see if that helps.
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline Mr.Thompson

  • Thread Starter
  • Posts: 36
Re: Getting Started with QMK
« Reply #5 on: Sun, 27 March 2022, 08:22:47 »
Vial and via-bin still don't detect my KB. I am trying to flash just the default layout to see if I can get it to work at all. It's not working thus far. :(

Seems I need to Put Your Keyboard into DFU (Bootloader) Mode

I tried shift-shift-B but I don't know what is supposed to happen. Here is what I tried. You can see the lsusb sees the keyboard just fine:

Code: [Select]
[greg]$ pwd
/home/greg/qmk_firmware
[greg]$ qmk compile -kb  ergodash/rev1 -km default
Ψ Compiling keymap with make --jobs=1 omkbd/ergodash/rev1:default


QMK Firmware 0.16.7
Making omkbd/ergodash/rev1 with keymap default

avr-gcc (GCC) 11.2.0
Copyright (C) 2021 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.

Generating: .build/obj_omkbd_ergodash_rev1/src/info_config.h                                        [OK]
Generating: .build/obj_omkbd_ergodash_rev1/src/default_keyboard.h                                   [OK]
Generating: .build/obj_omkbd_ergodash_rev1/src/layouts.h                                            [OK]
Compiling: keyboards/omkbd/ergodash/ergodash.c                                                      [OK]
Compiling: keyboards/omkbd/ergodash/rev1/rev1.c                                                     [OK]
Compiling: keyboards/omkbd/ergodash/rev1/keymaps/default/keymap.c                                   [OK]
Compiling: quantum/quantum.c                                                                        [OK]
Compiling: quantum/send_string.c                                                                    [OK]
Compiling: quantum/bitwise.c                                                                        [OK]
Compiling: quantum/led.c                                                                            [OK]
Compiling: quantum/action.c                                                                         [OK]
Compiling: quantum/action_layer.c                                                                   [OK]
Compiling: quantum/action_tapping.c                                                                 [OK]
Compiling: quantum/action_util.c                                                                    [OK]
Compiling: quantum/eeconfig.c                                                                       [OK]
Compiling: quantum/keyboard.c                                                                       [OK]
Compiling: quantum/keymap_common.c                                                                  [OK]
Compiling: quantum/keycode_config.c                                                                 [OK]
Compiling: quantum/sync_timer.c                                                                     [OK]
Compiling: quantum/logging/debug.c                                                                  [OK]
Compiling: quantum/logging/sendchar.c                                                               [OK]
Compiling: quantum/bootmagic/magic.c                                                                [OK]
Compiling: quantum/matrix_common.c                                                                  [OK]
Compiling: quantum/matrix.c                                                                         [OK]
Compiling: quantum/debounce/sym_defer_g.c                                                           [OK]
Compiling: quantum/split_common/split_util.c                                                        [OK]
Compiling: quantum/split_common/transport.c                                                         [OK]
Compiling: quantum/split_common/transactions.c                                                      [OK]
Compiling: quantum/main.c                                                                           [OK]
Compiling: quantum/crc.c                                                                            [OK]
Compiling: quantum/process_keycode/process_magic.c                                                  [OK]
Compiling: quantum/process_keycode/process_grave_esc.c                                              [OK]
Compiling: quantum/process_keycode/process_space_cadet.c                                            [OK]
Compiling: platforms/avr/drivers/i2c_master.c                                                       [OK]
Archiving: .build/obj_omkbd_ergodash_rev1_default/i2c_master.o                                      [OK]
Compiling: platforms/avr/drivers/i2c_slave.c                                                        [OK]
Archiving: .build/obj_omkbd_ergodash_rev1_default/i2c_slave.o                                       [OK]
Compiling: platforms/avr/drivers/serial.c                                                           [OK]
Archiving: .build/obj_omkbd_ergodash_rev1_default/serial.o                                          [OK]
Assembling: platforms/avr/xprintf.S                                                                 [OK]
Compiling: platforms/avr/printf.c                                                                   [OK]
Compiling: tmk_core/protocol/host.c                                                                 [OK]
Compiling: tmk_core/protocol/report.c                                                               [OK]
Compiling: tmk_core/protocol/usb_device_state.c                                                     [OK]
Compiling: tmk_core/protocol/usb_util.c                                                             [OK]
Compiling: platforms/suspend.c                                                                      [OK]
Compiling: platforms/avr/platform.c                                                                 [OK]
Compiling: platforms/avr/suspend.c                                                                  [OK]
Compiling: platforms/avr/timer.c                                                                    [OK]
Compiling: platforms/avr/bootloaders/caterina.c                                                     [OK]
Compiling: tmk_core/protocol/lufa/lufa.c                                                            [OK]
Compiling: tmk_core/protocol/usb_descriptor.c                                                       [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Class/Common/HIDParser.c                                       [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.c                                        [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c                                [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.c                                      [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.c                                          [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.c                                    [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.c                                          [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.c                                 [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c                                  [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/ConfigDescriptors.c                                       [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/DeviceStandardReq.c                                       [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/Events.c                                                  [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/HostStandardReq.c                                         [OK]
Compiling: lib/lufa/LUFA/Drivers/USB/Core/USBTask.c                                                 [OK]
Compiling: tmk_core/protocol/lufa/usb_util.c                                                        [OK]
Linking: .build/omkbd_ergodash_rev1_default.elf                                                     [OK]
Creating load file for flashing: .build/omkbd_ergodash_rev1_default.hex                             [OK]
Copying omkbd_ergodash_rev1_default.hex to qmk_firmware folder                                      [OK]
Checking file size of omkbd_ergodash_rev1_default.hex                                               [OK]
 * The firmware size is fine - 20246/28672 (70%, 8426 bytes free)
[greg] $qmk config user.keyboard=ergodash/rev1
user.keyboard: None -> ergodash/rev1
Ψ Wrote configuration to /home/greg/.config/qmk/qmk.ini
[greg] $lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 051: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive
Bus 001 Device 004: ID 058f:9410 Alcor Micro Corp. Keyboard
Bus 001 Device 003: ID 1017:8003 Speedy Industrial Supplies, Pte., Ltd USB Gaming Mouse
Bus 001 Device 002: ID 03f0:e511 HP, Inc OfficeJet 3830 series
Bus 001 Device 045: ID 08e6:3437 Gemalto (was Gemplus) GemPC Twin SmartCard Reader
Bus 001 Device 044: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 001 Device 043: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 054: ID feed:6060 Omkbd ErgoDash
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[greg] $PS1='[greg] $ '
[greg] $ qmk flash
☒ Could not determine keymap!
☒ You must supply a configurator export, both `--keyboard` and `--keymap`, or be in a directory for a keyboard or keymap.
usage: qmk flash [-h] [-b] [-n] [-kb KEYBOARD] [-km KEYMAP] [-bl BOOTLOADER] [filename]
[greg] $ qmk flash  -kb  ergodash/rev1 -km default
Ψ Compiling keymap with make --jobs=1 omkbd/ergodash/rev1:default:flash


QMK Firmware 0.16.7
Making omkbd/ergodash/rev1 with keymap default and target flash

avr-gcc (GCC) 11.2.0
Copyright (C) 2021 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   20246       0   20246    4f16 omkbd_ergodash_rev1_default.hex

Copying omkbd_ergodash_rev1_default.hex to qmk_firmware folder                                      [OK]
Checking file size of omkbd_ergodash_rev1_default.hex                                               [OK]
 * The firmware size is fine - 20246/28672 (70%, 8426 bytes free)
Waiting for USB serial port - reset your controller now (Ctrl+C to cancel)...B....................................^Cmake[1]: *** [platforms/avr/flash.mk:175: flash] Interrupt
make: *** [Makefile:412: omkbd/ergodash/rev1:default:flash] Interrupt
<class 'KeyboardInterrupt'>

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/milc/milc.py", line 526, in __call__
    return self.__call__()
  File "/usr/lib/python3.10/site-packages/milc/milc.py", line 531, in __call__
    return self._subcommand(self)
  File "/home/greg/qmk_firmware/lib/python/qmk/decorators.py", line 27, in wrapper
    return func(*args, **kwargs)
  File "/home/greg/qmk_firmware/lib/python/qmk/decorators.py", line 47, in wrapper
    return func(*args, **kwargs)
  File "/home/greg/qmk_firmware/lib/python/qmk/cli/flash.py", line 106, in flash
    compile = cli.run(command, capture_output=False, stdin=DEVNULL)
  File "/usr/lib/python3.10/site-packages/milc/milc.py", line 156, in run
    return subprocess.run(command, **kwargs)
  File "/usr/lib/python3.10/subprocess.py", line 503, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
  File "/usr/lib/python3.10/subprocess.py", line 1141, in communicate
    self.wait()
  File "/usr/lib/python3.10/subprocess.py", line 1204, in wait
    return self._wait(timeout=timeout)
  File "/usr/lib/python3.10/subprocess.py", line 1938, in _wait
    (pid, sts) = self._try_wait(0)
  File "/usr/lib/python3.10/subprocess.py", line 1896, in _try_wait
    (pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt
[greg] $


Offline suicidal_orange

  • * Global Moderator
  • Posts: 4771
  • Location: England
Re: Getting Started with QMK
« Reply #6 on: Sun, 27 March 2022, 09:53:38 »
If you can get to the button on the pro micro(?) you can press that to put it into bootloader mode, when in this mode it wont show up as an Ergodash it will be something strange (it uses different device ID to load a different driver to enable flashing)
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline Mr.Thompson

  • Thread Starter
  • Posts: 36
Re: Getting Started with QMK
« Reply #7 on: Sun, 27 March 2022, 10:22:12 »
There is a button on each half-keyboard, next to the USB-C connector. I push it and the LED lights change color, but lsusb shows the same output. :(

I got it eventually to show this line:

Code: [Select]
Bus 001 Device 012: ID 1b4f:9205 SparkFun Electronics Pro Micro 5V 

But then it went back to

Code: [Select]
Bus 001 Device 013: ID feed:6060 Omkbd ErgoDash

and no matter what I do, it won't go back to the SparkFun ID again. I ran the qmk flash and while it was waiting, I pushed that button on each half keyboard several times, I tried holding it down. No luck. :(

Perhaps I should just try to sell this keyboard on eBay.  Or perhaps on this site.   So far it's not helping me much. :(

Thank you for your continued help.

Offline Leslieann

  • * Elevated Elder
  • Posts: 4567
Re: Getting Started with QMK
« Reply #8 on: Sun, 27 March 2022, 12:47:46 »
If you can find a Windows or Mac machine, use QMKtoolbox, it can be setup to flash as soon as the keyboard is detected (one instance Windows/Mac works better), makes flashing firmware a lot easier.

However,
My experience with split keyboards (so far) is that certain Pro Micros just do not like to play well together, I'm working on one right now and it just refuses to use I2c (or serial) no matter how I wire it. Could also just be you have a bad one or it was damaged.


Something I found while checking something for this post is some split boards need both halves flashed independent, starting with the slave(!). I have only found this is in one place, and only by accident, but maybe it will help. More tips here, which is where I found this. https://docs.splitkb.com/hc/en-us/articles/360011949679
Novelkeys NK65AE w/62g Zilents/39g springs
More
62g Zilents/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 magnetic cable, pic
| Filco MJ2 L.E. Vortex Case, Jailhouse Blues, heavily customized
More
Vortex case squared up/blasted finish removed/custom feet/paint/winkey blockoff plate, HID Liberator, stainless steel universal plate, 3d printed adapters, Type C, Netdot Gen10 magnetic cable, foam sound dampened, HK Gaming Thick PBT caps (o-ringed), Cherry Jailhouse Blues w/lubed/clipped Cherry light springs, 40g actuation
| GMMK TKL
More
w/ Kailh Purple Pros/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 Magnetic cable
| PF65 3d printed 65% w/LCD and hot swap
More
Box Jades, Interchangeable trim, mini lcd, QMK, underglow, HK Gaming Thick PBT caps, O-rings, Netdot Gen10 magnetic cable, in progress link
| Magicforce 68
More
MF68 pcb, Outemu Blues, in progress
| YMDK75 Jail Housed Gateron Blues
More
J-spacers, YMDK Thick PBT, O-rings, SIP sockets
| KBT Race S L.E.
More
Ergo Clears, custom WASD caps
| Das Pro
More
Costar model with browns
| GH60
More
Cherry Blacks, custom 3d printed case
| Logitech Illumininated | IBM Model M (x2)
Definitive Omron Guide. | 3d printed Keyboard FAQ/Discussion

Offline Mr.Thompson

  • Thread Starter
  • Posts: 36
Re: Getting Started with QMK
« Reply #9 on: Sun, 27 March 2022, 13:06:28 »
I am trying to get a Windows machine to try QMKtoolbox. But I tried unplugging the slave side altogether and I pressed the little button several times, and each time the lights change colors, but the output from lsusb remains the same.

It would seem that you are correct that my Pro Micro is not working. Perhaps I should indeed just return this keyboard to the seller.

Offline NathanA

  • Posts: 44
Re: Getting Started with QMK
« Reply #10 on: Sun, 27 March 2022, 19:43:28 »
From reading this thread, to me it sounds like the keyboard is "working" (it's showing up as a keyboard and the keys output appropriate scancodes to the host, da?), but that 1) it simply wasn't pre-loaded with VIA and/or Vial firmware (which would be why neither app detects your keyboard...you have to have VIA-compatible or Vial-compatible firmware running on it for either app to detect the 'board!), and 2) you're having trouble getting the keyboard's controller to either go into bootloader mode or at least to remain in bootloader mode.  All in all, at least to me it sounds like either a software or usage problem, not defective hardware...that said, though, I've never used a split 'board like your Ergodash.

In looking through the QMK git repository, it appears that the Ergodash source files *used* to be located at the root of the /keyboards directory, but as of January 31 they've been relocated to /keyboards/omkbd/ergodash.  So if you made a recent checkout of QMK-master from Github, and you couldn't find /keyboards/ergodash, that would be why.  A simple 'find ~/qmk_firmware/keyboards -type d -name "*ergodash*"' against your local checkout should've revealed this ('man find' for details on how to properly use POSIX 'find' command).

I'm also not finding *ANY* evidence that any of the keymaps for the Ergodash that ship with the base QMK-master source tree contain VIA or Vial support.  There is no 'vial.json' file in any of the /keyboards/omkbd/ergodash/rev1/keymaps subdirectories (not 100% how all keyboards do it, but "usually" there is a 'via' keymap for VIA-supported keyboards, and if it has additionally been ported to Vial, a 'vial.json' file in that same sub), and an addition, the Ergodash does not show up on the list of officially-supported keyboards on the VIA site (caniusevia.com).  So even if you build your own copy of QMK from source and manage to flash it to your 'board, it's still not going to show up in either VIA or Vial, not at least unless you put in some work to add the VIA/Vial support to your copy of the QMK source tree first.

After doing some more searching, it appears that the designers of the Ergodash have made a build of a VIA-enabled firmware, and posted it for download here: https://github.com/omkbd/ErgoDash/tree/master/Firmware -- note that this is just the firmware *binary*, and doesn't seem to contain whatever QMK source code modifications they might've made in order to achieve it.  But presumably, if you flash this particular firmware to your 'board, it will work with VIA.

It might even be the case that, as-shipped to you, it's been pre-flashed with this VIA firmware.  BUT note that the way that VIA works is that, even if your keyboard's controller is running VIA-enabled firmware, the VIA utility still will not detect it if the version of the VIA utility that you are running hasn't itself been updated to support your particular keyboard.  And from what I can tell not only from looking at the VIA site but even their own git repository, the Ergodash designers haven't yet even submitted a request to have support officially added to a future version of the VIA utility.  You can still use it with VIA, though: what you have to do is sideload support for your keyboard into your copy of VIA by 1) downloading the firmware ZIP file from the Ergodash git respository that I linked to earlier, 2) extracting the ErgoDash.json file from that ZIP, 3) while in VIA, go to Design > Load Draft Definition > select the JSON file.  THEN VIA will finally see your keyboard.  (And you'll have to do this EVERY TIME YOU LAUNCH VIA.)

So the whole problem with your keyboard might simply be that even though it's already got the VIA firmware loaded on it, you simply weren't aware that you need to take this extra step to make VIA see it.

For keyboards that aren't specifically running Vial-enabled firmware, you can still control a keyboard running VIA firmware with Vial, but you have to do the equivalent to sideloading the VIA JSON into Vial as well (in Vial, go to File menu > Sideload VIA JSON > select your ErgoDash.json).

Only once VIA has released an updated version of their utility (for VIA use) or you yourself have built a Vial-enabled QMK firmware image (for Vial) can you avoid the extra step of sideloading the JSON definition file in order to use these GUIs to configure your keyboard.

Offline Leslieann

  • * Elevated Elder
  • Posts: 4567
Re: Getting Started with QMK
« Reply #11 on: Sun, 27 March 2022, 21:01:23 »
It could be running some other firmware other than QMK and that may not work with VIA.
Novelkeys NK65AE w/62g Zilents/39g springs
More
62g Zilents/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 magnetic cable, pic
| Filco MJ2 L.E. Vortex Case, Jailhouse Blues, heavily customized
More
Vortex case squared up/blasted finish removed/custom feet/paint/winkey blockoff plate, HID Liberator, stainless steel universal plate, 3d printed adapters, Type C, Netdot Gen10 magnetic cable, foam sound dampened, HK Gaming Thick PBT caps (o-ringed), Cherry Jailhouse Blues w/lubed/clipped Cherry light springs, 40g actuation
| GMMK TKL
More
w/ Kailh Purple Pros/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 Magnetic cable
| PF65 3d printed 65% w/LCD and hot swap
More
Box Jades, Interchangeable trim, mini lcd, QMK, underglow, HK Gaming Thick PBT caps, O-rings, Netdot Gen10 magnetic cable, in progress link
| Magicforce 68
More
MF68 pcb, Outemu Blues, in progress
| YMDK75 Jail Housed Gateron Blues
More
J-spacers, YMDK Thick PBT, O-rings, SIP sockets
| KBT Race S L.E.
More
Ergo Clears, custom WASD caps
| Das Pro
More
Costar model with browns
| GH60
More
Cherry Blacks, custom 3d printed case
| Logitech Illumininated | IBM Model M (x2)
Definitive Omron Guide. | 3d printed Keyboard FAQ/Discussion

Offline Mr.Thompson

  • Thread Starter
  • Posts: 36
Re: Getting Started with QMK
« Reply #12 on: Mon, 28 March 2022, 08:01:40 »
It might even be the case that, as-shipped to you, it's been pre-flashed with this VIA firmware.  BUT note that the way that VIA works is that, even if your keyboard's controller is running VIA-enabled firmware, the VIA utility still will not detect it if the version of the VIA utility that you are running hasn't itself been updated to support your particular keyboard.  And from what I can tell not only from looking at the VIA site but even their own git repository, the Ergodash designers haven't yet even submitted a request to have support officially added to a future version of the VIA utility.  You can still use it with VIA, though: what you have to do is sideload support for your keyboard into your copy of VIA by 1) downloading the firmware ZIP file from the Ergodash git respository that I linked to earlier, 2) extracting the ErgoDash.json file from that ZIP, 3) while in VIA, go to Design > Load Draft Definition > select the JSON file.  THEN VIA will finally see your keyboard.  (And you'll have to do this EVERY TIME YOU LAUNCH VIA.)

This worked. Now Via sees the keyboard and I can flash it using Via. I see that Vial also works if I load the json file.

Thank you.

Offline Leslieann

  • * Elevated Elder
  • Posts: 4567
Re: Getting Started with QMK
« Reply #13 on: Mon, 28 March 2022, 14:32:02 »
It might even be the case that, as-shipped to you, it's been pre-flashed with this VIA firmware.  BUT note that the way that VIA works is that, even if your keyboard's controller is running VIA-enabled firmware, the VIA utility still will not detect it if the version of the VIA utility that you are running hasn't itself been updated to support your particular keyboard.


Awesome catch, NathanA.
Quoted to bring attention, this helps me with my new project as well, thanks!
« Last Edit: Mon, 28 March 2022, 14:33:34 by Leslieann »
Novelkeys NK65AE w/62g Zilents/39g springs
More
62g Zilents/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 magnetic cable, pic
| Filco MJ2 L.E. Vortex Case, Jailhouse Blues, heavily customized
More
Vortex case squared up/blasted finish removed/custom feet/paint/winkey blockoff plate, HID Liberator, stainless steel universal plate, 3d printed adapters, Type C, Netdot Gen10 magnetic cable, foam sound dampened, HK Gaming Thick PBT caps (o-ringed), Cherry Jailhouse Blues w/lubed/clipped Cherry light springs, 40g actuation
| GMMK TKL
More
w/ Kailh Purple Pros/lubed/Novelkeys 39g springs, HK Gaming Thick PBT caps, Netdot Gen10 Magnetic cable
| PF65 3d printed 65% w/LCD and hot swap
More
Box Jades, Interchangeable trim, mini lcd, QMK, underglow, HK Gaming Thick PBT caps, O-rings, Netdot Gen10 magnetic cable, in progress link
| Magicforce 68
More
MF68 pcb, Outemu Blues, in progress
| YMDK75 Jail Housed Gateron Blues
More
J-spacers, YMDK Thick PBT, O-rings, SIP sockets
| KBT Race S L.E.
More
Ergo Clears, custom WASD caps
| Das Pro
More
Costar model with browns
| GH60
More
Cherry Blacks, custom 3d printed case
| Logitech Illumininated | IBM Model M (x2)
Definitive Omron Guide. | 3d printed Keyboard FAQ/Discussion