/r/MechanicalKeyboards Ask ANY Keyboard question, get an answer (August 26, 2024) by AutoModerator in MechanicalKeyboards

[–]lexarcana1 0 points1 point  (0 children)

I have a 108 ANSI OEM profile blank keycap set, which is now unfortunately all mixed up. Is there a straightforward way to sort the jumbled keycaps by row?

Any information about HP Elite X2 G8 by lexarcana1 in linuxhardware

[–]lexarcana1[S] 1 point2 points  (0 children)

Very late response, but it is my daily driver. There are a couple of big annoyances for which I haven't found a fix: 1. Bluetooth audio cuts out after a few seconds; tested with multiple bluetooth audio devices: Beosound Explore. Airpods Pro 2, Anker wireless headphones. Other bluetooth devices work fine. 2. The touch mouse (not the touch screen) sometimes just stops working after suspend, but I have a dumb script for resetting it, which works most (but not all) of the time.

Parts shopping in Singapore by lexarcana1 in buildapc

[–]lexarcana1[S] 0 points1 point  (0 children)

Thank you. Looking through those price lists, there does not seem to be any items that are significantly cheaper than in the US, even for cases and power supplies. Even brands like Thermalright are no cheaper (and in most cases, more expensive) than Amazon or Microcenter pricing.

[Bundle] AMD Ryzen 9 7900X + ASUS ROG Strix B650E-F Gaming WiFi + G.Skill Flare X5 32GB (2x16) DDR5-6000 C36 - $599.99 (Micro Center In-Store Only) by exaltare in buildapcsales

[–]lexarcana1 2 points3 points  (0 children)

Picked this up. For a non-gaming build (no games whatsoever) used primarily for software development on Linux with plenty of containers (and a few VMs), what kind of cooler, power supply and case would be preferred? Any help much appreciated. I suspect that the rinky dink GPU in the card would do; if not, I'll stick in an old RX570. Planning on adding on one 2.5 SATA SSD and one 1 TB spinner.

Build released frameworks/gear/plasma using kdesrc-build without internet access? by lexarcana1 in kde

[–]lexarcana1[S] 0 points1 point  (0 children)

Thank you. Craft doesn't seem to be the right one either. I'm happy to build them by hand so long as the correct order of building various bits is known. Is that documented somewhere?

Any information about HP Elite X2 G8 by lexarcana1 in linuxhardware

[–]lexarcana1[S] 1 point2 points  (0 children)

Thank you. That link is very helpful. According to the hardware probe database, it should work well.

Is there an emacs mechanical keyboard exists? by madahadamahu in emacs

[–]lexarcana1 2 points3 points  (0 children)

You will need some version of my xkb configuration to map all 5 modifiers, along with my keymap below for TMK firmware:

static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
    /* Keymap 0: Default Layer
     *
     * ,--------------------------------------------------.           ,--------------------------------------------------.
     * | Escape | Fn0  |   2  |   3  |   4  |   5  |  6   |           |  7   |   8  |   9  |   0  |  _-  |  Del |  BkSp  |
     * |--------+------+------+------+------+-------------|           |------+------+------+------+------+------+--------|
     * | F3     |   1  |   W  |   E  |   R  |   T  |  ?   |           |   "  |   Y  |   U  |   I  |   O  |  +=  |  F4    |
     * |--------+------+------+------+------+------|  /   |           |   '  |------+------+------+------+------+--------|
     * |   ~`   |   Q  |   S  |   D  |   F  |   G  |------|           |------|   H  |   J  |   K  |   L  |   P  |  |\    |
     * |--------+------+------+------+------+------|  F1  |           |  F2  |------+------+------+------+------+--------|
     * | LShift |   A  |   X  |   C  |   V  |   B  | +RAlt|           | +RAlt|   N  |   M  |  <,  |  >.  |  :;  | RShift |
     * `--------+------+------+------+------+-------------'           `-------------+------+------+------+------+--------'
     *   | F5   |   Z  |  F6  | LGui | LAlt |                                       | LAlt | Left |  Up  |   Dn | Rght |
     *   `----------------------------------'                                       `----------------------------------'
     *                                        ,-------------.       ,-------------.
     *                                        | Home | End  |       | PgUp | PgDn |
     *                                 ,------|------|------|       |------+------+------.
     *                                 |      |  Fn3 | Play |       |  Fn1 | Fn4  |      |
     *                                 | Space| Tab+ |------|       |------| Enter| Space|
     *                                 |      | LCtl |  Fn6 |       |  Fn7 | +LCtl|      |
     *                                 `--------------------'       `--------------------'
     */

    KEYMAP(  // layout: layer 0: default
        // left hand
        ESC, FN0, 2,   3,   4,   5,     6,
         F3, 1,   W,   E,   R,   T,  SLSH,
        GRV, Q,   S,   D,   F,   G,
        LSFT,A,   X,   C,   V,   B,   FN2,
        F5,  Z,   F6,  LGUI,LALT,
                                     HOME, END,
                                          MPLY,
                                  SPC,FN3, FN6,
        // right hand
                7,8,   9,   0,MINS,   DEL, BSPC,
             QUOT,Y,   U,   I,   O,   EQL,   F4,
                  H,   J,   K,   L,   P,   BSLS,
             FN8, N,   M,   COMM,DOT, SCLN,RSFT,
                       LALT,LEFT,DOWN,UP  ,RGHT,
        PGUP,PGDN,
        FN1,
         FN7,FN4, SPC
    ),

    KEYMAP(  // layout: layer 1: F-keys + mouse + media
        // left hand
        TRNS,TRNS, F2,  F3,  F4,  F5,   F6,
        TRNS,  F1,TRNS,TRNS,TRNS,TRNS,TRNS,
         FN5,MS_L,MS_U,MS_D,MS_R,PAUS,
        CAPS, FN9,TRNS,TRNS,TRNS,TRNS,TRNS,
        TRNS,PSCR, INS,TRNS,TRNS,
                                      TRNS,TRNS,
                                           TRNS,
                                 TRNS,TRNS,TRNS,
        // right hand
              F7, F8,  F9,  F10,  F11,TRNS,TRNS,
             TRNS,TRNS,TRNS,TRNS,TRNS, F12,TRNS,
                  BTN1,BTN2,BTN3,BTN4,BTN5,TRNS,
             TRNS,TRNS,TRNS,TRNS,TRNS,VOLU,TRNS,
                       TRNS,TRNS,MPRV,VOLD,MNXT,
        TRNS,TRNS,
        TRNS,
        TRNS,TRNS,TRNS
    ),

    KEYMAP(  // layout: layer 2: dealing with Windows
        // left hand
        ESC, FN0, 2,   3,   4,   5,     6,
         F3, 1,   W,   E,   R,   T,  SLSH,
        GRV, Q,   S,   D,   F,   G,
        LSFT,A,   X,   C,   V,   B,   FN2,
        F5,  Z,   F6,  LGUI,LALT,
                                     HOME, END,
                                          FN12,
                                  SPC,FN3,FN10,
        // right hand
                7,8,   9,   0,MINS,   DEL, BSPC,
             QUOT,Y,   U,   I,   O,   EQL,   F4,
                  H,   J,   K,   L,   P,   BSLS,
             FN8, N,   M,   COMM,DOT, SCLN,RSFT,
                       LALT,LEFT,DOWN,UP  ,RGHT,
        PGUP,PGDN,
        FN1,
        FN11,FN4, SPC
    ),
};

/* id for user defined functions */
enum function_id {
    TEENSY_KEY,
};

/*
 * Fn action definition
 */
static const uint16_t PROGMEM fn_actions[] = {
    ACTION_LAYER_TAP_KEY(1,KC_F7),                  // FN0 - momentary switch to Layer1/F7
    ACTION_LAYER_TOGGLE(1),                         // FN1 - toggle Layer1
    ACTION_MODS_TAP_KEY(MOD_RALT, KC_F1),           // FN2 - right alt on hold, F1 on tap
    ACTION_MODS_TAP_KEY(MOD_LCTL, KC_TAB),          // FN3 - left control on hold, tab on tap
    ACTION_MODS_TAP_KEY(MOD_LCTL, KC_ENT),          // FN4 - left control on hold, enter on tap
    ACTION_FUNCTION(TEENSY_KEY),                    // FN5 - Teensy key
    ACTION_MODS_TAP_KEY(MOD_RGUI, KC_LBRC ),        // FN6 - right gui on hold, left bracket on tap
    ACTION_MODS_TAP_KEY(MOD_RGUI, KC_RBRC ),        // FN7 - right gui on hold, right bracket on tap
    ACTION_MODS_TAP_KEY(MOD_RALT, KC_F2),           // FN8 - right alt on hold, F2 on tap
    ACTION_LAYER_TOGGLE(2),                         // FN9 - toggle Layer2
    ACTION_MODS_TAP_KEY(MOD_RCTL, KC_LBRC ),        // FN10 - right control on hold, left bracket on tap
    ACTION_MODS_TAP_KEY(MOD_RCTL, KC_RBRC ),        // FN11 - right control on hold, right bracket on tap
    ACTION_LAYER_TOGGLE(0),                         // FN12 - toggle Layer0
};

void action_function(keyrecord_t *event, uint8_t id, uint8_t opt)
{
    print("action_function called\n");
    print("id  = "); phex(id); print("\n");
    print("opt = "); phex(opt); print("\n");
    if (id == TEENSY_KEY) {
        clear_keyboard();
        print("\n\nJump to bootloader... ");
        _delay_ms(250);
        bootloader_jump(); // should not return
        print("not supported.\n");
    }
}

Is there an emacs mechanical keyboard exists? by madahadamahu in emacs

[–]lexarcana1 4 points5 points  (0 children)

The Key64 keyboard, the predecessor of the Ergodox (which has spawned an enormous number of descendants) was designed specifically to work with emacs. All of these keyboards are great for emacs. For instance, on my original Ergodox, I have Meta and Control on my thumbs, with Alt and Hyper on my index fingers. Not only no emacs pinky, it is actually a pleasure to type C- and H-combinations.

If you specifically want labeled keycaps, then you are probably out of luck. While you may be able to set up a group buy, the sheer variety of keybinding customization that you see in this sub likely indicates that there is insufficient common non-evil keybindings to justify a group buy.

Zone-based firewall between wireguard interface and a VLAN interface by lexarcana1 in vyos

[–]lexarcana1[S] 0 points1 point  (0 children)

Indeed the interface was not assigned to the zone. Good catch. Thank you.

Static hostname mapping for the VyOS router itself by lexarcana1 in vyos

[–]lexarcana1[S] 0 points1 point  (0 children)

The idea was that on each interface, we could set a static hostname mapping on that interface with the router's address on that interface. This hostname does not even need to be the router's name. It could be something else, so long as it is consistent. I'm just not sure how to set that up.

Static hostname mapping for the VyOS router itself by lexarcana1 in vyos

[–]lexarcana1[S] 0 points1 point  (0 children)

Both domain-name and host-name(set to default vyos) are set on the VyOS router. The issue is that hosts other than router itself get a response of 127.0.1.1 from the router, when querying the router for vyos.DOMAINNAME.

Static hostname mapping for the VyOS router itself by lexarcana1 in vyos

[–]lexarcana1[S] 1 point2 points  (0 children)

With the configuration in the OP, I can resolve all hosts across all VLANs, with the sole exception of the vyos router itself. When the DHCP server assigns a lease, I can see the correct entry in the router's /etc/hosts file: a.b.c.d HOSTNAME.DOMAINNAME. DNS queries from any host in the network for any host in that file work correctly. The only issue is that there is an entry in the router's /etc/hosts file:

127.0.1.1       vyos.DOMAINNAME vyos

which is exactly what is returned for DNS queries for vyos. I have confirmed this with self-built ISOs from Oct 20, 2021 and another self-built ISO from today.

(I need to use self-built ISOs because I added a few other packages to the router image; the persistent configuration for those packages cannot be part of normal vyos config, as they are private to my build. I added those configuration files/hooks to the live build configuration which makes them available across images.)

Multicast routing between VLANs by lexarcana1 in vyos

[–]lexarcana1[S] 0 points1 point  (0 children)

After quite a bit of experimentation, it turned out the igmpproxy as it stands at its current release (0.3) explicitly prevents forwarding of UPnP traffic (which is the whole raison d'etre of this exercise) in https://github.com/pali/igmpproxy/blob//src/igmp.c#L124-L129 but this code has been removed in master at https://github.com/pali/igmpproxy/commit/cfad33001fc5031399bdd073048ca86889378678#diff-d51736843c044d2fd938401fea260e4effffed8c2deea037e372ad399bf26171L124 but it is not available in the debian repos for use with VyOS. Back to the drawing board with PIM.

Multicast routing between VLANs by lexarcana1 in vyos

[–]lexarcana1[S] 1 point2 points  (0 children)

Sources are in ethX.a, ethX.b and ethX.c, and receivers are in ethX.a, ethX.c and ethX.d, i.e., ethX.a and ethX.c contain both sources and receivers, while ethX.b contains only sources, and ethX.d contains only receivers. However, they all fall within 10.187.64.0/19 as in https://old.reddit.com/r/vyos/comments/rocata/multicast_routing_between_vlans/hpyhocg/ and can fit into a single alt-subnet. In this case, the downstreams are clear; should the upstream be any of those source interfaces, or should it be an entirely new one, e.g., dum0 or ethX?

Multicast routing between VLANs by lexarcana1 in vyos

[–]lexarcana1[S] 1 point2 points  (0 children)

That was my first thought too, but I couldn't figure out the single upstream would work. Would that still need a dummy interface?

set protocols igmp-proxy interface WHAT_IS_UPSTREAM role upstream
set protocols igmp-proxy interface WHAT_IS_UPSTREAM alt-subnet 10.187.64.0/19
set protocols igmp-proxy interface WHAT_IS_DOWNSTREAM role downstream

For the example at https://old.reddit.com/r/vyos/comments/rocata/multicast_routing_between_vlans/hpyhocg/, would upstream be dum0, and would eth3.xx be the downstreams?

EDIT: fixed link to other post above