zeha | imo its weird to have spi apis that discard read data when writing / write zeroes while reading | 00:11 |
---|---|---|
minute | zeha: yeah | 00:16 |
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:85f:9a00:8300:1ac0:4dff:fedb:a3f1) | 00:41 | |
josch | minute: we have the v4l2_request ffmpeg patch but it's disabled: https://source.mnt.re/reform/reform-debian-packages/-/blob/main/patches/ffmpeg | 01:22 |
josch | minute: we used it for hantro with imx8mq before we discovered clapper+gstreamer | 01:22 |
minute | josch: ah right! | 01:42 |
minute | josch: i wonder if clapper+gstreamer works then for video decoding on rk3588 | 01:42 |
josch | minute: yuƤ works out of the box | 01:49 |
josch | *yup | 01:49 |
josch | but decoding h264 1080p@60 makes sone of the cores get above 20% utilization, so motivation to use clapper instead of mpv is low :) | 01:51 |
josch | s/sone/none/ | 01:51 |
josch | it does take getting used to switch between pocket and classic keyboard... | 01:51 |
josch | hah indeed the hardware decoder is involved with clapper -- it fails to play big buck bunny at 4k :D | 01:56 |
josch | minute: i'm reading about your spi work -- should i start installing the new lpc dkms driver on my hardware to try and find bugs if it gets used with older firmware? | 01:58 |
- svp (QUIT: Ping timeout: 260 seconds) (~svp@host-79-7-240-189.business.telecomitalia.it) | 02:00 | |
minute | josch: ok sure! | 02:00 |
josch | hrm... big buck bunny does not work with their 4k versions in clapper -- neither the 30 nor the 60 fps variants | 02:07 |
josch | but 1080p works fine | 02:07 |
- paperManu (QUIT: Ping timeout: 245 seconds) (~paperManu@107.159.213.145) | 03:13 | |
+ arminweigl_ (~arminweig@sourcehut/user/arminweigl) | 03:31 | |
- arminweigl (QUIT: Ping timeout: 248 seconds) (~arminweig@sourcehut/user/arminweigl) | 03:32 | |
* arminweigl_ -> arminweigl | 03:32 | |
- mjw (QUIT: Ping timeout: 248 seconds) (~mjw@gnu.wildebeest.org) | 04:10 | |
- Ar|stote|is (QUIT: Ping timeout: 245 seconds) (~linx@149.210.94.242) | 04:14 | |
+ Ar|stote|is (~linx@149.210.93.184) | 04:19 | |
- GNUmoon (QUIT: Read error: Connection reset by peer) (~GNUmoon@gateway/tor-sasl/gnumoon) | 05:00 | |
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon) | 05:01 | |
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149.210.93.184) | 05:18 | |
+ Ar|stote|is (~linx@149.210.93.184) | 05:27 | |
- jn (QUIT: Ping timeout: 268 seconds) (~quassel@user/jn/x-3390946) | 06:04 | |
+ jn (~quassel@2a0a-a54a-b445-0-20d-b9ff-fe49-15fc.ipv6dyn.netcologne.de) | 06:04 | |
- jn (QUIT: Changing host) (~quassel@2a0a-a54a-b445-0-20d-b9ff-fe49-15fc.ipv6dyn.netcologne.de) | 06:04 | |
+ jn (~quassel@user/jn/x-3390946) | 06:04 | |
+ svp (~svp@host-79-7-240-189.business.telecomitalia.it) | 06:22 | |
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-65-73.dlls.tx.frontiernet.net) | 06:42 | |
+ jacobk (~quassel@47-186-65-73.dlls.tx.frontiernet.net) | 07:04 | |
josch | minute: i installed your new lpc dkms driver on one motherboard 2.0, two motherboard 2.5 and one pocket reform -- when i noticed that this doesn't make any sense if i my pocket doesn't have any batteries XD | 07:42 |
josch | (works fine on the classic reforms so far) | 07:42 |
josch | minute: are you done with flashing the rk3588 reform you want to ship? can i start merging the fixes that accumulated? | 07:42 |
josch | minute: when you merged https://source.mnt.re/reform/reform-system-image/-/merge_requests/129 you squashed all commits? Unfortunately this results in loss of authorship information and in the loss of individual commit messages like i wrote for https://source.mnt.re/reform/reform-system-image/-/merge_requests/129/diffs?commit_id=82d353289b4c23c0d0eb9f977855368fff069633 | 08:02 |
josch | i know i often fail at writing a good reasoning in my git commits (and it's always frustrating to find commits of past-me without a real rationale when debugging a problem) but please don't remove my commit messages when I at least try to write better ones XD | 08:04 |
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-65-73.dlls.tx.frontiernet.net) | 08:05 | |
josch | I'll try to find out if the dconf keyfile format supports comments, then I can copypaste that commit message explaining why the <Super>Return shortcut is "special" into that file | 08:05 |
+ chomwitt (~chomwitt@2a02:85f:9a00:8300:1ac0:4dff:fedb:a3f1) | 08:09 | |
+ mjw (~mjw@gnu.wildebeest.org) | 09:09 | |
+ gustav28 (~gustav@c-78-82-54-59.bbcust.telenor.se) | 10:03 | |
- gustav28 (QUIT: Quit: Quit) (~gustav@c-78-82-54-59.bbcust.telenor.se) | 10:16 | |
- mjw (QUIT: Ping timeout: 272 seconds) (~mjw@gnu.wildebeest.org) | 10:16 | |
- arminweigl (QUIT: Remote host closed the connection) (~arminweig@sourcehut/user/arminweigl) | 10:48 | |
minute | josch: ah, i'm sorry! is it possible to undo this? (squash) | 11:03 |
minute | josch: and yes, install of the first classic batch is done | 11:04 |
josch | minute: yes, it's possible to undo but i'll now just write that commit message into the file itself and document it that way | 11:06 |
minute | josch: ok, thank you, i'll be more careful about squashing | 11:06 |
josch | minute: i think you might just need to know about "git rebase -i HEAD~X" where you replace X with the number of top commits that you want to operate on. It gives you an editor where you can rearrange and merge commit just by editing the first column of the line for each commit you want to change | 11:10 |
minute | josch: aha! | 11:11 |
josch | the text file you are shown to edit explains some documentation at its bottom so that you don't have to have a man page open next to it | 11:11 |
josch | doing it that also has the advantage that your commits will be gpg signed with your local key | 11:14 |
josch | gitlab of course has no access to your key material and cannot sign | 11:14 |
josch | minute: about documenting stuff, I have a tab open to create a new wiki page here: https://source.mnt.re/reform/reform-system-image/-/wikis/Orchestration -- or would you rather see such documentation elsewhere? | 11:15 |
josch | (we talked about me documenting the workflow, how all the components fit together and where to make edits to get stuff done) | 11:16 |
minute | josch: i think i would prefer a file orchestration.md (or similar) in the repo itself, otherwise the info could get lost if the server disappears or stuff like that (wiki isn't part of the git) | 11:33 |
josch | true, then i'll add it into the main branch | 11:33 |
minute | josch: thanks! | 11:33 |
josch | (also no problems with the updated lpc dkms driver so far on any of the two classic reforms here) | 11:37 |
josch | oh actually no | 11:48 |
minute | josch: thanks for testing. could you check the output of the status file in sysfs of the lpc driver? | 11:48 |
minute | josch: i usually go as root to /sys and find it with the find command, for example looking for the file "cells" | 11:49 |
josch | minute: i have here the imx8mq reform with LPCR320230703 | 11:49 |
josch | and with that the battery indicator in waybar is alternating | 11:49 |
minute | josch: aha, i suspected that there would be some challenges on other socs | 11:49 |
josch | you are welcome XD | 11:50 |
minute | josch: can you cat the firmware file (same sysfs folder) in a bash loop 20 times and pastebin the result? | 11:50 |
josch | oh dear | 11:51 |
josch | it's a bit erratic, one sec | 11:51 |
minute | yeah | 11:51 |
minute | show me :D | 11:51 |
- svp (QUIT: Ping timeout: 245 seconds) (~svp@host-79-7-240-189.business.telecomitalia.it) | 11:52 | |
josch | minute: https://mister-muffin.de/p/jYHa.txt | 11:54 |
minute | josch: thanks! repeating bytes mhm | 12:13 |
minute | josch: ah, this is new driver with the old fw right? | 12:14 |
minute | fw from 2023 ok | 12:14 |
josch | yes, indeed | 12:15 |
josch | i wanted to check whether people doing their usual "apt full-upgrade" would force them into also having to update their firmware or not | 12:16 |
minute | josch: if you have too much time you can bump the delays = {20,20,20} to 50 in the driver | 12:16 |
minute | josch: yeah, good call | 12:16 |
josch | if i have too much time i increase delays, gotcha! :D | 12:16 |
josch | kidding aside, i'm putting this on my todo list for later -- probably this evening | 12:19 |
josch | thank you for the tip! | 12:19 |
+ svp (~svp@host-79-7-240-189.business.telecomitalia.it) | 12:20 | |
minute | josch: if that fails you can play around with the max_frequency in the driver which i bumped from 400000 to 4000000 | 13:07 |
- iank (QUIT: Quit: ZNC 1.8.2+deb2+deb11u1 - https://znc.in) (~iank@fsf/staff/iank) | 13:25 | |
+ iank (~iank@fsf/staff/iank) | 13:28 | |
+ paperManu (~paperManu@107.159.213.145) | 13:42 | |
- L29Ah (QUIT: Read error: Connection reset by peer) (~L29Ah@wikipedia/L29Ah) | 14:44 | |
josch | minute: changing int delays[3] = {20, 20, 20}; to 50,50,50 fixes it. Also the output in /sys/devices/.../spi1.0/firmware is now stable | 14:47 |
+ mjw (~mjw@gnu.wildebeest.org) | 14:48 | |
+ L29Ah (~L29Ah@wikipedia/L29Ah) | 14:50 | |
- L29Ah (QUIT: Read error: Connection reset by peer) (~L29Ah@wikipedia/L29Ah) | 14:50 | |
minute | josch: ok nice | 14:50 |
josch | I totally missed that the firmware /sys entry exists -- maybe we should output the firmware version as part of the reform-check system configuration output at the top? | 14:58 |
josch | Unfortunately, the path seems to be platform specific. On a311d it's /sys/devices/platform/spi/spi_master/spi0/spi0.0/firmware | 14:58 |
josch | Is there a reliable way to figure out the correct path per platform? | 14:58 |
josch | And related: can the running system figure out the keyboard firmware version? | 14:58 |
+ mark_ (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c) | 15:25 | |
- mjw (QUIT: Killed (iridium.libera.chat (Nickname regained by services))) (~mjw@gnu.wildebeest.org) | 15:43 | |
* mark_ -> mjw | 15:43 | |
+ Guest8680 (~mjw@gnu.wildebeest.org) | 15:43 | |
minute | josch: you should be able to find it in sysfs via the reform2_lpc driver name and there must be some symlink to the device it is bound to | 16:25 |
minute | josch: keyboard firmware version can be found with fwupdmgr | 16:26 |
minute | fwupdmgr --json get-devices | 16:27 |
minute | minute@pocki3000:~$ fwupdmgr --json get-devices | jq '.Devices | map(select(.Name=="Pocket Reform Input 1.0"))[0].Version' | 16:29 |
minute | "20250429" | 16:29 |
minute | minute@pocki3000:~$ fwupdmgr --json get-devices | jq '.Devices | map(select(.Name=="Pocket Reform System Controller 1.0"))[0].Version' | 16:29 |
minute | "20250530" | 16:29 |
josch | oh then instead of going via /sys it sounds like i should just be using fwupdmgr to begin with, thank you! | 16:49 |
+ darth-cheney (~user@2603:7000:8d00:1f72:a44b:eb7d:ad7e:32ee) | 16:50 | |
darth-cheney | Yo, quick question -- I have a Reform 2. Which keyboard firmware from the repo should I be flashing? I see there's the regular one, but then there's another called 4.0. Is that latter one just for the reform next, or should I be using it? | 16:51 |
josch | hrm... but this comes out empty on my classic reforms: fwupdmgr --json get-devices | grep Reform | 16:51 |
josch | darth-cheney: it depends on what keyboard revision you have | 16:51 |
darth-cheney | hmm | 16:52 |
darth-cheney | This was the first batch of crowdsupply reform 2s | 16:52 |
josch | darth-cheney: then it's probably keyboard 2.0 | 16:52 |
darth-cheney | ok that makes sense, I should just stick to the older fw in the repo | 16:53 |
darth-cheney | I just flashed it and am having all kinds of problems with the oled menu, which freezes, and I can't turn anything on or off (computer won't boot either). Have to disconnect wires from the battery board to reset | 16:54 |
+ reform17453 (~hannah@213.90.103.177) | 16:59 | |
reform17453 | Hello? | 17:00 |
- reform17453 (QUIT: Quit: Leaving) (~hannah@213.90.103.177) | 17:09 | |
josch | darth-cheney: this table allows you to make sure which version you have: https://source.mnt.re/reform/reform-handbook/-/issues/4 | 17:14 |
+ L29Ah (~L29Ah@wikipedia/L29Ah) | 17:16 | |
darth-cheney | josch: thanks, I re-flashed and reset the power and it seems to be working OK now | 17:19 |
josch | darth-cheney: was the version the problem? | 17:20 |
- mjw (QUIT: Killed (lead.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c) | 17:23 | |
* Guest8680 -> mjw | 17:23 | |
+ Guest4 (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c) | 17:23 | |
minute | josch: sorry, on classic there is no usb connection to the sysctl, so the only method is via sysfs. oh and keyboard4 is not yet integrated with fwupd :0 aaaaa | 17:29 |
minute | josch: basically latest pocket keyboard fw and keyboard4 need to be merged | 17:29 |
- L29Ah (QUIT: Read error: Connection timed out) (~L29Ah@wikipedia/L29Ah) | 17:39 | |
zeha | got a repo link for keyboard4? | 17:42 |
zeha | (no promises etc) | 17:42 |
josch | minute: thank you for the confirmation, then i'll just do different things for classic and pocket in reform-check | 17:48 |
josch | zeha: https://source.mnt.re/reform/reform/-/tree/master/reform2-keyboard4-fw | 17:48 |
potatoespotatoes | mmm... is there a typo for the pins in https://mntre.com/documentation/pocket-reform-handbook/advanced.html ? It goes from 1-6 with S2TXD S2RXD GND ... but the board looks like the pins are in the opposite order (pin1:GND, pin2:S2RXD, pin3:S2TXD...) | 17:55 |
minute | potatoespotatoes: possible! the board silkscreen is correct | 18:14 |
potatoespotatoes | thank you | 18:14 |
+ L29Ah (~L29Ah@wikipedia/L29Ah) | 18:16 | |
darth-cheney | josch: The problem for me must have been that I was on a way old keyboard fw, which still had the problem described in this issue: https://community.mnt.re/t/power-issues-and-lpc-wakeup/596/25 | 18:19 |
potatoespotatoes | meerp. and if I short TX and RX on a usb serial adapter all of my characters should be duplicated, right? like typing "x" I should see "xx" in minicom/tio? | 18:19 |
darth-cheney | flashing whatever's currently checked into main seems to have solved the problem...for now. I'll know better when I try to boot it up again in the morning | 18:19 |
Zaba | potatoespotatoes: only if you have local echo enabled. if you don't, then they just get echoed once | 19:11 |
- natalie (QUIT: Read error: Connection reset by peer) (~natalie@user/natalie) | 19:47 | |
+ natalie (~natalie@user/natalie) | 19:49 | |
+ arminweigl (~arminweig@sourcehut/user/arminweigl) | 20:23 | |
+ natalie- (~natalie@user/natalie) | 20:25 | |
- natalie (QUIT: Read error: Connection reset by peer) (~natalie@user/natalie) | 20:25 | |
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-133-91.tukw.qwest.net) | 20:30 | |
+ colinsane (~colinunin@97-113-133-91.tukw.qwest.net) | 20:34 | |
- mjw (QUIT: Quit: Leaving) (~mjw@gnu.wildebeest.org) | 20:34 | |
- xktr (QUIT: Remote host closed the connection) (~xktr@user/xktr) | 20:35 | |
+ xktr (~xktr@user/xktr) | 20:35 | |
- colinsane (QUIT: Ping timeout: 244 seconds) (~colinunin@97-113-133-91.tukw.qwest.net) | 20:54 | |
+ mjw (~mjw@gnu.wildebeest.org) | 21:00 | |
- darth-cheney (QUIT: Read error: Connection reset by peer) (~user@2603:7000:8d00:1f72:a44b:eb7d:ad7e:32ee) | 21:16 | |
+ robin_ (~robin@user/terpri) | 21:16 | |
- robin (QUIT: Read error: Connection reset by peer) (~robin@user/terpri) | 21:20 | |
- L29Ah (QUIT: Read error: Connection reset by peer) (~L29Ah@wikipedia/L29Ah) | 21:23 | |
- natalie- (QUIT: Ping timeout: 248 seconds) (~natalie@user/natalie) | 21:44 | |
+ natalie (~natalie@user/natalie) | 21:49 | |
+ jacobk (~quassel@47-186-65-73.dlls.tx.frontiernet.net) | 22:04 | |
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-65-73.dlls.tx.frontiernet.net) | 22:13 | |
+ jacobk_ (~quassel@47-186-65-73.dlls.tx.frontiernet.net) | 22:13 | |
- natalie (QUIT: Ping timeout: 248 seconds) (~natalie@user/natalie) | 22:16 | |
+ natalie (~natalie@user/natalie) | 22:23 | |
- hairu (QUIT: Remote host closed the connection) (m-uotkmd@user/hairu) | 22:44 | |
+ hairu (m-uotkmd@user/hairu) | 22:45 | |
+ L29Ah (~L29Ah@wikipedia/L29Ah) | 22:45 | |
- chomwitt (QUIT: Ping timeout: 260 seconds) (~chomwitt@2a02:85f:9a00:8300:1ac0:4dff:fedb:a3f1) | 23:05 | |
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50) | 23:27 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!