From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 8409 invoked from network); 27 Aug 2023 05:13:10 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 27 Aug 2023 05:13:10 -0000 Received: from mail-ed1-f42.google.com ([209.85.208.42]) by 9front; Sun Aug 27 01:00:16 -0400 2023 Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5280ef23593so2919792a12.3 for <9front@9front.org>; Sat, 26 Aug 2023 22:00:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693112413; x=1693717213; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=rEX6aF/y2aKRMdBFIdIXT9YScfLvuwYr2hmt5j6/SYw=; b=lzRwdUo7d5rn87BSt/Uor7SxoCrqUDWFuYlNUbHEH0RWPAYvttzT5flpU4iNOqR2Qf YLIWcSwJosvEk6fM33dWNFZROzOGX1HwYMMHsKhdwtdhMYDeSOMYq7/iIPTo+AyqOBVA 05pB6azNy6OD7t7yEznnGZE3Xli7F7nHujh3lZ6X64mmOrS2s5HSwtekz82zxwRFw3RH o6YI6OS4I43wpym4X9TXs98k4jNbp5arvcdwuMofokZh5QoW/YnAXnjyMIsMmh/kWiqn Xx7Xcdd9mZLU5zxqwGhQtNsF/1pw5OR15nchqu2SL1swSFJmJ186XdnXSeKv2CHODXQQ slEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693112413; x=1693717213; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=rEX6aF/y2aKRMdBFIdIXT9YScfLvuwYr2hmt5j6/SYw=; b=LNWKrOzYSPDOooNj1MKayst9e/P040Isng5QFtJ0JlvBa8gAkP0F1hTiT970F3h5ZR qI/MUMDenzC+BlPXsMTVDr2kBxPPHIW3uZOEakMm3TX7xAzdjyWAexwvouKQ3FGJUTcT EcOBPP3anilr1iSkqolge6Rw46tNRcjHEib0ukMTtaxQylNYjP/3K8x8LP07B+81cuCL n2tf5thJMT5AT9Kj6VVX1BuTESWiBP96p/F2vKqX6Q5qH8EiAQM09X8QItXfzHp4jrGT 5LW568mYmR1XGcSfqgznIIUeabT5BHhFhV5H2jBzAf+VQj19Xt5aRZlr0q5a3Seh5thD fi8g== X-Gm-Message-State: AOJu0YyBG/K+9Yn/etSGO6xfR3COAwf9LtDAyz4UxJVCEg/Fmoq+HfDo /EHwOhL4bQcRI7tpSwMlMXWIm895ZO68wgi/lhcjKj3TxTc= X-Google-Smtp-Source: AGHT+IFUrWyWyPQuj/PosWTYJG9YqyirG/Erg1MD+wDaZkSEt9kzqmw47UOgGwuZCwXdocfcZzJy1XC4U4Bi8haZvmw= X-Received: by 2002:a05:6402:648:b0:52a:943:9ab5 with SMTP id u8-20020a056402064800b0052a09439ab5mr15770535edx.31.1693112413003; Sat, 26 Aug 2023 22:00:13 -0700 (PDT) MIME-Version: 1.0 From: Thaddeus Woskowiak Date: Sun, 27 Aug 2023 00:59:36 -0400 Message-ID: To: 9front <9front@9front.org> Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: secure agile hypervisor high-performance lifecycle self-signing solution Subject: [9front] [patch] reform/pm to work with standalone keyboard Reply-To: 9front@9front.org Precedence: bulk http://okturing.com/src/16717/body I have the MNT Reform Standalone Keyboard and wanted to use reform/pm to display a bitmap on the OLED and read/write keyboard brightness on amd64. After discussion with sigrid, she set me in the right direction and I patched pm.c. This should allow setting the Led's on a hypothetical standalone trackball if one were built. Status: Setting keyboard brightness works on amd64. I can not seem to load an image. I tried using a small image I made in paint and loading via iconv -u file.bit >/dev/kbdoled but the screen does not change and no error is printed. I tried with several other images but nothing appears. Perhaps I am doing it wrong? Testing on the rpi using arm64 and any writes to /dev/hidUxxxctl results in the entire usb stack shitting the bed losing every usb device and I have to reboot the pi. I even tried a simple hello world test program that works on amd64 with the same result. http://okturing.com/src/16718/body Anyone else with a standalone keyboard to test? I do not have a reform to test so I would appreciate reform testing. -taw