aboutsummaryrefslogtreecommitdiffstats
path: root/8t88.org
blob: 4811cda9d25cfe55f5eab0edc0386a858a2f40fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#+title: 8t88 Configuration

This file configures my Framework 12 laptop named 8t88.

* Voyager Keyboard

This section sets up the necessary things for the Voyager keyboard to be configured. With these changes I can flash new firmware onto my Voyager keyboard.

First I need to make sure qmk is set up.

#+begin_src sh
  qmk setup zsa/qmk_firmware -b firmware25
#+end_src

After this I'll need to copy the udev rules for most keyboards, although I don't know if this is necessary for Voyager specifically.

#+begin_src sh
  sudo cp ~/qmk_firmware/util/udev/50-qmk.rules /etc/udev/rules.d/
#+end_src

Now I just need to add this other rule manually. I store this in =/etc/udev/rules.d/49-voyager.rules= so that it should be loaded just before the QMK general rules, hopefully pre-empting whatever those would do that doesn't work for my Voyager keyboard.

#+begin_src sh :tangle "sudo::/etc/udev/rules.d/49-voyager.rules"
  SUBSYSTEMS=="usb", ATTRS{idVendor}=="3297", MODE:="0666", SYMLINK+="ignition_dfu"
#+end_src

The ~MODE:="0666"~ is the important bit here, it makes sure that I can access the device when it connects.

# I probably want to change the mode to 0660 and add a GROUP:="input" or something so that only those users who should be able to actually can access it, not all users.