2025-05-31.log

zehaimo its weird to have spi apis that discard read data when writing / write zeroes while reading00:11
minutezeha: yeah00:16
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:85f:9a00:8300:1ac0:4dff:fedb:a3f1)00:41
joschminute: we have the v4l2_request ffmpeg patch but it's disabled: https://source.mnt.re/reform/reform-debian-packages/-/blob/main/patches/ffmpeg01:22
joschminute: we used it for hantro with imx8mq before we discovered clapper+gstreamer01:22
minutejosch: ah right!01:42
minutejosch: i wonder if clapper+gstreamer works then for video decoding on rk358801:42
joschminute: yuƤ works out of the box01:49
josch*yup01:49
joschbut 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
joschs/sone/none/01:51
joschit does take getting used to switch between pocket and classic keyboard...01:51
joschhah indeed the hardware decoder is involved with clapper -- it fails to play big buck bunny at 4k :D01:56
joschminute: 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
minutejosch: ok sure!02:00
joschhrm... big buck bunny does not work with their 4k versions in clapper -- neither the 30 nor the 60 fps variants02:07
joschbut 1080p works fine02: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_ -> arminweigl03: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
joschminute: 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 XD07:42
josch(works fine on the classic reforms so far)07:42
joschminute: are you done with flashing the rk3588 reform you want to ship? can i start merging the fixes that accumulated?07:42
joschminute: 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=82d353289b4c23c0d0eb9f977855368fff06963308:02
joschi 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 XD08:04
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-65-73.dlls.tx.frontiernet.net)08:05
joschI'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 file08: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
minutejosch: ah, i'm sorry! is it possible to undo this? (squash)11:03
minutejosch: and yes, install of the first classic batch is done11:04
joschminute: yes, it's possible to undo but i'll now just write that commit message into the file itself and document it that way11:06
minutejosch: ok, thank you, i'll be more careful about squashing11:06
joschminute: 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 change11:10
minutejosch: aha!11:11
joschthe 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 it11:11
joschdoing it that also has the advantage that your commits will be gpg signed with your local key11:14
joschgitlab of course has no access to your key material and cannot sign11:14
joschminute: 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
minutejosch: 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
joschtrue, then i'll add it into the main branch11:33
minutejosch: 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
joschoh actually no11:48
minutejosch: thanks for testing. could you check the output of the status file in sysfs of the lpc driver? 11:48
minutejosch: i usually go as root to /sys and find it with the find command, for example looking for the file "cells"11:49
joschminute: i have here the imx8mq reform with LPCR32023070311:49
joschand with that the battery indicator in waybar is alternating11:49
minutejosch: aha, i suspected that there would be some challenges on other socs11:49
joschyou are welcome XD11:50
minutejosch: can you cat the firmware file (same sysfs folder) in a bash loop 20 times and pastebin the result?11:50
joschoh dear11:51
joschit's a bit erratic, one sec11:51
minuteyeah11:51
minuteshow me :D11:51
- svp (QUIT: Ping timeout: 245 seconds) (~svp@host-79-7-240-189.business.telecomitalia.it)11:52
joschminute: https://mister-muffin.de/p/jYHa.txt11:54
minutejosch: thanks! repeating bytes mhm12:13
minutejosch: ah, this is new driver with the old fw right?12:14
minutefw from 2023 ok12:14
joschyes, indeed12:15
joschi wanted to check whether people doing their usual "apt full-upgrade" would force them into also having to update their firmware or not12:16
minutejosch: if you have too much time you can bump the delays = {20,20,20} to 50 in the driver12:16
minutejosch: yeah, good call12:16
joschif i have too much time i increase delays, gotcha! :D12:16
joschkidding aside, i'm putting this on my todo list for later -- probably this evening12:19
joschthank you for the tip!12:19
+ svp (~svp@host-79-7-240-189.business.telecomitalia.it)12:20
minutejosch: if that fails you can play around with the max_frequency in the driver which i bumped from 400000 to 400000013: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
joschminute: changing int delays[3] = {20, 20, 20}; to 50,50,50 fixes it. Also the output in /sys/devices/.../spi1.0/firmware is now stable14: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
minutejosch: ok nice14:50
joschI 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
joschUnfortunately, the path seems to be platform specific. On a311d it's /sys/devices/platform/spi/spi_master/spi0/spi0.0/firmware14:58
joschIs there a reliable way to figure out the correct path per platform?14:58
joschAnd 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_ -> mjw15:43
+ Guest8680 (~mjw@gnu.wildebeest.org)15:43
minutejosch: 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 to16:25
minutejosch: keyboard firmware version can be found with fwupdmgr16:26
minutefwupdmgr --json get-devices16:27
minuteminute@pocki3000:~$ fwupdmgr --json get-devices | jq '.Devices | map(select(.Name=="Pocket Reform Input 1.0"))[0].Version'16:29
minute"20250429"16:29
minuteminute@pocki3000:~$ fwupdmgr --json get-devices | jq '.Devices | map(select(.Name=="Pocket Reform System Controller 1.0"))[0].Version'16:29
minute"20250530"16:29
joschoh 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-cheneyYo, 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
joschhrm... but this comes out empty on my classic reforms: fwupdmgr --json get-devices | grep Reform16:51
joschdarth-cheney: it depends on what keyboard revision you have16:51
darth-cheneyhmm16:52
darth-cheneyThis was the first batch of crowdsupply reform 2s16:52
joschdarth-cheney: then it's probably keyboard 2.016:52
darth-cheneyok that makes sense, I should just stick to the older fw in the repo16:53
darth-cheneyI 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 reset16:54
+ reform17453 (~hannah@213.90.103.177)16:59
reform17453Hello?17:00
- reform17453 (QUIT: Quit: Leaving) (~hannah@213.90.103.177)17:09
joschdarth-cheney: this table allows you to make sure which version you have: https://source.mnt.re/reform/reform-handbook/-/issues/417:14
+ L29Ah (~L29Ah@wikipedia/L29Ah)17:16
darth-cheneyjosch: thanks, I re-flashed and reset the power and it seems to be working OK now17:19
joschdarth-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 -> mjw17:23
+ Guest4 (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c)17:23
minutejosch: 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 aaaaa17:29
minutejosch: basically latest pocket keyboard fw and keyboard4 need to be merged17:29
- L29Ah (QUIT: Read error: Connection timed out) (~L29Ah@wikipedia/L29Ah)17:39
zehagot a repo link for keyboard4?17:42
zeha(no promises etc)17:42
joschminute: thank you for the confirmation, then i'll just do different things for classic and pocket in reform-check17:48
joschzeha: https://source.mnt.re/reform/reform/-/tree/master/reform2-keyboard4-fw17:48
potatoespotatoesmmm... 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
minutepotatoespotatoes: possible! the board silkscreen is correct18:14
potatoespotatoesthank you18:14
+ L29Ah (~L29Ah@wikipedia/L29Ah)18:16
darth-cheneyjosch: 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/2518:19
potatoespotatoesmeerp. 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-cheneyflashing 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 morning18:19
Zabapotatoespotatoes: only if you have local echo enabled. if you don't, then they just get echoed once19: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/!