2025-06-09.log

murphnjOh, the second time?  I'll try it now.00:00
murphnjIt gave a different --ser xxxxxxxxxxxx number, and the number was lower.  (20250521 this time, 20250608 this time.)00:02
murphnjSo I assume that the 0608 one was the system that I flashed today, and the 0521 is the one that I did before all of this fell apart.00:03
murphnjBut I haven't restarted this today.  Maybe we've got it in there?00:04
murphnjand the command that you asked for said that found system controller on bus 1 address 300:05
murphnjlast time was bus 300:05
zehaif you now see two "Raspberry Pi RP2 Boot" in lsusb, then one of them will be the keyboard00:06
murphnjYep, that's how they both show up.00:07
murphnjshould I try to flash the keyboard FW on bus1?00:11
zehai'd give that a try00:11
murphnjlooked like it worked.00:11
murphnjIt did something, anyway.00:11
- chomwitt1 (QUIT: Ping timeout: 252 seconds) (~chomwitt@2a02:85f:9ace:3000:1ac0:4dff:fedb:a3f1)00:12
murphnjWhat next, reboot, flip power switch off, and try to power back on?  I did minute's suggested line uncommented to have the system turn on automatically.00:14
murphnjSorry, not reboot, shut down......00:15
zehaare both still listed as rp2 boot in lsusb?00:15
murphnjyes00:15
zeharun `reform-mcu-tool reset rp2040-boot` twice00:15
zehathen the oled menu should probably work00:16
murphnjYes, I did it, got two different bus numbers, and the oled just lit up.  Let me check versions.00:17
murphnjon the oled:   error:syntax 00:17
murphnjThenL MNT_Pocket_Reform HID00:18
murphnjThe version looks like the last one I did, ends in 25040700:18
zehai'd use https://mnt.re/update-pocket-sysctl and https://mnt.re/update-pocket-keyboard to flash the latest 'normal' builds now00:19
zehajust to be sure they match00:19
murphnjI'll work on that now.00:20
murphnjJust download those and execute them?00:20
zehayeah (run them as root / using sudo)00:21
+ L29Ah (~L29Ah@wikipedia/L29Ah)00:23
murphnjThat seemed a whole lot easier.00:25
murphnjshould I do:  run `reform-mcu-tool reset rp2040-boot` twice          again, and check on the oled?00:25
murphnjeven before that, I see one as pocket reform input, and the other as system controller.00:26
murphnjoled shows no change from before.00:26
murphnjzeha, ?00:36
zehastill shows some error on the oled?00:37
murphnjYes, same error as before.  Should I do:  run `reform-mcu-tool reset rp2040-boot` twice          again, and check on the oled?00:37
zehai guess poweroff and flip the standby power, so both rp2040's will reset at almost the same time00:38
murphnjGotcha.00:38
murphnjit is powering up now.  system startus shows them both at 051200:43
murphnjlooks good.  will be running updates, and rebooting again.00:44
murphnjzeha, Thank you for the invaluable help.  I never would have gotten through this without you and potatoespotatoes 00:45
zehanp00:45
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149.210.5.33)01:00
+ Ar|stote|is (~linx@149.210.5.33)01:00
- L29Ah (QUIT: Ping timeout: 248 seconds) (~L29Ah@wikipedia/L29Ah)01:31
- mjw (QUIT: Ping timeout: 265 seconds) (~mjw@gnu.wildebeest.org)01:38
+ arminweigl_ (~arminweig@sourcehut/user/arminweigl)03:19
- arminweigl (QUIT: Ping timeout: 248 seconds) (~arminweig@sourcehut/user/arminweigl)03:20
* arminweigl_ -> arminweigl03:20
- paperManu (QUIT: Ping timeout: 276 seconds) (~paperManu@107.159.213.145)03:27
+ L29Ah (~L29Ah@wikipedia/L29Ah)03:34
- digitalrane (QUIT: Remote host closed the connection) (~digitalra@user/digitalrane)06:26
- L29Ah (QUIT: Read error: Connection timed out) (~L29Ah@wikipedia/L29Ah)07:57
+ chomwitt1 (~chomwitt@2a02:85f:9ace:3000:1ac0:4dff:fedb:a3f1)08:42
+ wiedi_ (~wiedi@ip5f581498.dynamic.kabel-deutschland.de)09:17
- wiedi (QUIT: Ping timeout: 245 seconds) (~wiedi@2a01:138:a015:15:a173:8d9:2f2f:5ace)09:20
+ digitalrane (~digitalra@user/digitalrane)09:30
+ tuesdaaay (~Srain@159.196.168.242)09:41
+ ruby_ (~ruby@159.196.168.242)09:46
- tuesdaaay (PART: Leave.) (~Srain@159.196.168.242)09:46
- ruby_ (QUIT: Client Quit) (~ruby@159.196.168.242)09:47
+ ruby_ (~ruby@159.196.168.242)09:47
- ruby_ (QUIT: Quit: ruby_) (~ruby@159.196.168.242)09:54
+ CephonAltera (~cephonalt@user/CephonAltera)11:12
+ mjw (~mjw@gnu.wildebeest.org)11:12
- Ar|stote|is (QUIT: Quit: No Ping reply in 180 seconds.) (~linx@149.210.5.33)11:35
+ Ar|stote|is (~linx@149.210.5.33)11:41
joschminute: wow, having the speed of the rk3588 but now with a *big* screen and keyboard is even more sick o011:45
minutejosch: haha, i'm glad you can finally experience it :D11:46
joschusing usb-c with my big reform feels a bit dirty for some reason but it works :D11:46
joschalso, full rgb keyboard... wow11:46
- chomwitt1 (QUIT: Ping timeout: 252 seconds) (~chomwitt@2a02:85f:9ace:3000:1ac0:4dff:fedb:a3f1)11:46
joschlove the purple default :D11:46
joschminute: you said that i do *not* strictly have to change the pocket sysctl firmware before trying it out with the bigger cells?11:47
josch(i only had a mini fright earlier because it would not turn on -- turns out, this usb-c adapter doesn't work with it...)11:47
gsoraoof my reform just suddenly powered off11:48
gsorabatteries were at 3.1v though, maybe it just ran out of power11:48
minutejosch: you don't have to do anything about the fw.11:48
joschnice, thank you -- then fingers crossed :)11:49
joschin the worst case, you get me as another customer for yet another charging board XD11:49
minutegsora: could be upower deciding to turn off?11:49
gsoraminute: battery level on gnome was well over 80%11:49
minutegsora: hmm and cell voltages when turning it on again? anything under 3v?11:50
gsorait doesn't turn on again11:50
gsorai'm plugging it in a power outlet to see11:50
minuteohh ok 11:51
gsoraseems completely dead, the oled doesn't turn on at all11:51
gsorawas about to migrate my system on nvme :')11:52
gsoraif I plug it in a power outlet, will the oled react to anything? 11:54
joschwhen you press the circle button, yes11:54
joschgsora: rk3588 classic reform, right?11:54
gsorayup11:54
gsoralet me try a different power adapter11:54
joschgsora: i'm operating mine right now without the batteries connected and with the wrong power adapter, the oled did nothing when pressing and holding the circle key11:55
gsoratried with a mac charger, which AFAIK implement usb-pd in a sane way11:56
gsorano dice11:56
gsorai need an external battery charger don't i :')11:57
CephonAlteraive definitely had very different behavior with different power adapters11:59
CephonAlteraso far my most successful one is weirdly my proprietary Dell laptop charger. I tried an apple one and it seemed to discharge slowly, while Dell keeps it alive longer12:00
gsoratrying with a different one12:00
CephonAlterai also tried a xiaomi 67W charger and same result as with apple12:00
gsoraah, i see a red LED on the right side of the motherboard lit up12:02
gsoraso power is definitely getting through the board12:06
gsorai guess my batteries are under 3v 12:06
gsoranope, they're well over 3v! checked with a multimeter12:13
gsoraok after disconnecting the batteries and connecting it to power, the oled display popped back to life12:14
gsoraminute: ever seen anything like this?12:14
gsoranow the keyboard keep pressing "t" and the little display says weird things about the battery... https://files.catbox.moe/1vdm4n.mov12:24
+ chomwitt1 (~chomwitt@2a02:85f:9ace:3000:1ac0:4dff:fedb:a3f1)12:27
minutegsora: does the keyboard stop doing that when exiting the menu? also i wonder if by chance the keyboard "standalone" key is on (it shouldn't be)12:30
minutegsora: normally the laptop has no problem recovering from low battery12:30
gsoranope, keyboard just stops working12:30
minutegsora: it can take a while with charger connected though12:30
gsorathe oled screen is still on though12:30
gsorastill shows those weird numbers12:31
minutegsora: keyboard not reacting to circle key?12:31
gsorakeyboard doesn't respond anymore12:31
gsoratried pressing the lpc reset button, no dice12:31
minutegsora: ok, sounds like keyboard crashed. can you check if maybe the standalone switch is on?12:31
gsorasure, how can I do that?12:31
minutegsora: remove the keyboard frame, then it's exposed (and also the reset button of the keyboard, which is on the left-hand side)12:32
gsorai have the reform bottom removed if you need photos 12:32
minutegsora: standalone switch is on the right-hand side12:32
minutegsora: not bottom12:32
minutegsora: top, keyboard frame12:32
gsoraright, checking as we speak12:32
joschgsora: don't forget to unplug the batteries before removing the keyboard frame12:32
minutejosch: not needed anymore12:33
joschoh?12:33
joschwhat changed?12:33
minutejosch: the battery boards have kapton tape12:33
minuteon their pins12:33
joschminute: so do mine12:33
joschstill there were visible sparks12:33
minutenot sure what happened then :D12:33
minutebut yeah, in general it is of course best to remove/unplug batteries12:34
+ L29Ah (~L29Ah@wikipedia/L29Ah)12:34
gsoraminute: okay, top removed12:35
gsorathe two switches I see are both on the "1" position12:35
+ paperManu (~paperManu@107.159.213.145)12:39
minutegsora: that's good then12:51
minutegsora: what happens if you press the reset button next to the left switch?12:51
gsorathe keyboard resets, mntre logo shows up and then works 12:53
gsoraconsidering this behavior happened three times, smells like a bug?12:56
minutegsora: yes, wondering what's going on hm. is your system setup "stock"?13:00
gsorai just finished moving to nvme, but when those issues happened, yeah it was as it came out of the box13:01
gsorai did add an nvme ssd and a wifi card 13:02
+ gustav28 (~gustav@c-78-82-55-148.bbcust.telenor.se)13:02
gsoraoddly enough i just rebooted four times, migrated to nvme ssd twice, all with the battery boards disconnected, no issues at all13:18
gsora(had to migrate twice because i'm using an OPAL encrypted drive, and had to figure out /etc/crypttab)13:18
- chomwitt1 (QUIT: Quit: WeeChat 3.8) (~chomwitt@2a02:85f:9ace:3000:1ac0:4dff:fedb:a3f1)13:41
gsoraminute: crashed again! 13:43
gsorathis time alongside the lpc/battery charging circuit maybe? the oled battery monitor shows all zeroes in place of the Ah count13:44
gsoraresetting the keyboard fixes it, i'll go eat something leaving reform charging and see if it crashes again13:47
minutegsora: yeah, this sounds suspicious, like LPC communications thing. maybe you can try the WIP LPC driver from here, but i'll merge it soon anyway: https://source.mnt.re/reform/reform-tools/-/merge_requests/12713:47
minutegsora: i also did some lpc fw simplification that you can try13:48
minutegsora: https://source.mnt.re/reform/reform/-/merge_requests/8413:48
minutegsora: i don't know how much you would mind compiling + flashing some WIP firmware and drivers?13:49
minutestill pending is keyboard4 fw rework / merging together with the stability improvements from pocket keyboard fw13:49
minutebut there shouldn't be so many issues out of the box also... so i'm a little bit puzzled13:49
minutegsora: do the issues go away if you `rmmod reform2_lpc`?13:50
joschgsora: anything specific you do to trigger the issue? I just received a unit from the same batch with the same software on it, so maybe it would be useful to see if i have this too? I didn't flash anything else on it yet.13:56
gsoranothing out of the ordinary I’d say? maybe it’s the charger im using? 14:00
gsoraminute: I’m open to compiling/flashing, as long as there’s a way to recover if anything goes wrong14:01
gsoraanother behavior I’m seeing: the oled battery status sometimes drops one battery, and recovers it after 1s14:01
gsoradrops as in it shows as 0v, then goes back to 3.414:01
abortretryfailPocket reform with the standby switch OFF should not have battery drain, right? Is that a sign of a faulty charger board?14:31
abortretryfail(context: I am still helping my friend troubleshoot hers.)14:32
gsorafwiw, I left it charging with gnome booted for a while now, no issues14:36
minutegsora: this is a comms/timing issue between kbd and lpc14:38
minutegsora: the dropping to 0 i mean. they are not actually dropping to 0 and also not measured as 0. just the kbd doesn't wait long enough for the full response14:39
minuteabortretryfail: this is yet to be analyzed, i don't know the exact drain of the charger and monitor chips alone 14:39
abortretryfailokay thanks.14:40
minutegsora: you can recover both kbd and lpc always if you have another computer and usb-c cable14:40
minutegsora: do you have these?14:40
gsoraminute: plenty of computers and usb-c cables :^)14:50
gsoraalso, spoke too soon, keyboard crashed again14:50
gsoraminute: here’s what it looks like https://files.catbox.moe/rdjxqi.jpg 14:52
minutegsora: i see, again the 00000 for amps14:54
minutegsora: do you always have this battery screen open when it crashes? sounds like the crash is related to that14:55
minuteon the OLED i mean14:55
gsoragood question, i'm not sure14:56
minutegsora: can you use the computer for a while without opening that battery display?14:56
gsorawhen it shut of all of the sudden, i'm 90% sure I didn't14:56
gsorafor reference, this behavior shows up with no load applied, while idling in gnome14:56
minutethat is a different issue i think14:56
gsorainteresting14:56
minuteso, you have at least 2 distinct issues: 1. sudden shutdown 2. keyboard crash in battery screen14:57
gsoranew issue: after pressing reset on the keyboard button, input in the computer itself is sluggish, and sometimes letters are repeated14:57
minutegsora: known issue, fixed on pocket. it's because the keyboard thinks the computer is off and wants to display the "turning it on" hint over and over again14:58
gsorayup, matches what I'm observing14:58
minutegsora: you can do the power on sequence via the keyboard to fix that. i wonder if that will keep the computer on or not (fixed in later fw)14:58
gsoraconfirming the power sequence fixes it14:59
gsoraa couple of very lucky days for me! :^)14:59
minutejosch: why do we have clang-format in this again? https://source.mnt.re/reform/reform-tools/-/jobs/10682#L27814:59
joschminute: to avoid contributors from making arbitrary formatting changes15:00
minutesome of these formatting choices are annoying :D15:00
minuteok i see15:00
minuteis that kernel coding style?15:00
joschminute: you can customize it to your liking in .clang-format15:00
joschminute: yes15:00
- bkeys (QUIT: Ping timeout: 252 seconds) (~Thunderbi@h211.16.186.173.dynamic.ip.windstream.net)15:00
minutejosch: ok, i will bow to it15:00
joschthe .clang-format is copypasted from the kernel git15:00
minutejosch: ok thanks15:01
joschspeaking of which... let me update it to the latest version15:01
josch(there were some changes in the copy in the kernel)15:01
minutejosch: update what to the latest version? this formatting file?15:01
joschyes15:01
josch(the new version does not require any changes to lpc/reform2_lpc.c)15:02
minutejosch: delays that worked for you on imx8mq were 50,50,50 right?15:03
minutejosch: oh oof15:03
joschoh dear -- let me make sure by checking irc history, sec...15:03
minutejosch: i think i remember correctly ^^15:04
+ bkeys (~Thunderbi@66.110.201.50)15:04
joschokay15:04
minutejosch: ok so i will get the same .clang-format too, yes? i don't think you pushed it now?15:05
joschoh you are right at it15:05
joschone sec15:05
minuteyeah i wanted to merge the driver in this repo15:05
minutedriver changes15:05
joschminute: pushed15:05
minutethx15:05
joschminute: you remembered correctly: https://mntre.com/reform-irc-logs/2025-05-31.log.html#t14:47:5115:06
minutejosch: thx15:07
- bkeys (QUIT: Client Quit) (~Thunderbi@66.110.201.50)15:08
+ bkeys (~Thunderbi@66.110.201.50)15:08
- bkeys (QUIT: Client Quit) (~Thunderbi@66.110.201.50)15:12
+ bkeys (~Thunderbi@66.110.201.50)15:13
minuteyay, pipeline green15:15
minuteok, driver update meregd15:15
minutemerged15:15
minutegsora: ok step 1 is: `git clone https://source.mnt.re/reform/reform-tools.git`, then `cd lpc; make`. this requires current kernel header package, probably you already have it15:16
minutegsora: for clarification, this step should be done on the reform itself15:16
minutegsora: it will build a `reform2_lpc.ko`. before you can try it, you need to `rmmod reform2_lpc` (as root), then you can `insmod reform2_lpc` 15:17
minutegsora: sorry, probably `insmod ./reform2_lpc`15:17
minutegsora: argh. typing enter too quickly. `insmod ./reform2_lpc.ko`15:17
- bkeys (QUIT: Ping timeout: 276 seconds) (~Thunderbi@66.110.201.50)15:18
minuteactually, let me clamp the low percentage first, this will probably prevent any weird shutdowns 15:18
joschyes, nice!15:18
minutejosch: where was the shutdown action again, 2%?15:18
joschone sec, checking...15:19
gsoracompiling as we speak!15:20
joschminute: yes: https://sources.debian.org/src/upower/1.90.9-1/etc/UPower.conf/?hl=4#L6715:21
minutejosch: interesting, debian sets UsePercentageForPolicy=true which is not the default15:21
minuteheh, > CriticalPowerAction=HybridSleep15:22
minutei guess that does nothing now that hybrid sleep is masked?15:22
joschnot so fast, because in gnome-settings there is this:15:22
joschhttps://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/blob/main/plugins/power/gsd-power-manager.c?ref_type=heads#L45915:23
joschso either the action is "PowerOff" or it is anything else in which case gnome is doing hibernate15:23
minutejosch: eek ok15:23
joschbut then units are masked15:24
joschso in my tests on the pocket with the latest sysimage v5 tag, the system was shutting down15:24
minutei think i'm gonna clamp to 6%-100%15:24
gsoraok, compiled and insmodded15:24
gsorai can see battery percentage in gnome, so that's great15:24
minutegsora: was this not the case before?15:24
gsorayeah it was, just to say the new module is inserted and performing as intended15:25
minutegsora: ah great, ok.15:25
gsorabtw so far the keyboard has been working fine15:25
minutegsora: ok, i think the kbd crash has to do with the battery screen auto-refresh/communication then.15:26
gsoraand another thing, remember the round dots i was talking about on saturday? they're not appearing anymore, as long as the display stays in a specific position15:26
gsorathe display pcb is most definitely either bent or broken15:26
gsoraminute: sounds like an edge case!15:26
minutegsora: ah, i don't remember if you showed a picture of the dots15:27
minutegsora: maybe the screws of the display panel are too tight?15:28
minutegsora: the display frame i mean15:28
gsoralet me re-upload the files then! 15:28
gsorai tried unscrewing the display frame already, did not fix it15:28
minutegsora: (sorry, i have to track too many things in my head and they get purged)15:28
minutegsora: ok15:28
gsorano worries at all, thank you for being available on here15:29
gsorai understand building a product is tiring and hard15:29
minutehaha yeah and it's a few products in parallel :015:29
minutegsora: if you pull & build again, the driver now limits the reported gauge to 6%-100%, this should prevent the OS from taking any action15:30
gsorathis is the display behavior: https://files.catbox.moe/z953m1.mov15:30
minutegsora: remember that the OS will default to the old driver on reboot though15:30
gsorayup15:30
minutei think we'll soon roll out the updated driver via debian packages though15:30
gsorahappy to give it a test run in the meantime15:31
gsorathose are the dots: https://files.catbox.moe/d73l4g.jpg15:31
minutegsora: ooooh ok so tapping on that pcb causes glitches15:31
gsorayup, not just that, even moving the display makes that issue apparent15:32
gsoralike opening and closing the lid15:32
minutegsora: ok, so the driver pcb might be very loose (or it's our cable that's plugged into the back of the display, is that ok?)15:32
gsorathe cable on the reform motherboard appears to be inserted properly15:33
minutein any case i'm currently sourcing a ton of displays like that15:33
gsoraoh in the back of the display... hmm 15:33
minutegsora: yeah.15:33
gsorai checked that, it appeared fine15:33
minuteok15:33
minutegsora: ok, we can hopefully send you a new display via support@mntre.com soon15:33
joschminute: in the oled menu of my rk3588 classic reform I get "Press CIRCLE for menu. Hold to power up." but that does not seem to be implemented. Is the feature just not done yet or is the message wrong?15:34
joschthe holding is not implemented i mean15:34
minutejosch: you mean holding?15:34
joschyes15:34
gsoraalso isn't the cable at the center of the display? the issue should present itself when pressing anywhere rather than just on the left side15:34
minutejosch: ah right. it could be an unimplemented carry-over from pocket fw15:34
gsoraas for support@, I already sent an email, no rush in the meantime!15:34
minutegsora: ok thx15:34
joschokay, i'll file a small issue so that it does not get forgotten15:35
minutejosch: thanks. this would be part of merging pocket kbd fw fixes15:35
minutejosch: i'm still thinking if pocket+kbd4 fw should be one codebase or 2. but feels a bit too heavy lift to unify these before GPN15:36
minuteso i might just port a few quality of life fixes first15:36
joschin contrast to the other recent issues, at least that one is just cosmetic :)15:36
- Asmadeus (QUIT: Ping timeout: 252 seconds) (~asmadeus@user/meow/Asmadeus)15:42
minutegsora: the next thing to do would be to update the lpc firmware, this is a bit more involved, as you need to connect another computer via usb-c to the internal usb-c flashing port of reform's motherboard15:47
+ bkeys (~Thunderbi@66.110.201.50)15:49
- bkeys (QUIT: Client Quit) (~Thunderbi@66.110.201.50)15:50
+ bkeys (~Thunderbi@66.110.201.50)15:50
minutegsora: OTOH, lets see which version you have right now. can you do: `sudo cat /sys/devices/platform/feb10000.spi/spi_master/spi1/spi1.0/firmware`15:50
gsorasure, one sec15:50
+ bkeys1 (~Thunderbi@38-146-94-247.echocast.zone)15:51
gsoraMREF2LPC 30_R1 g08e557615:52
minuteah interesting15:52
gsoratoo old/new?15:52
minutethat's from may 715:52
minutecommit 08e5576ccc31ca7ed24218fcc167b46299e1098e15:52
minuteit doesn't have the spi rework yet15:53
minuteoh no, my CI build failed...15:53
minuteah. keyboard fw version tag15:54
joschin the pocket oled, when it's off and attached to power, will it ever show 0.0A? It keeps showing -0.10A even though it has been attached for hours15:54
- bkeys (QUIT: Ping timeout: 276 seconds) (~Thunderbi@66.110.201.50)15:55
* bkeys1 -> bkeys15:55
minutejosch: maybe it's balancing or trickle charging15:55
minutejosch: but... i honestly don't know15:55
minutegsora: this procedure is up-to-date, but we need to wait for the pipeline to be green https://mntre.com/documentation/reform-handbook/hardware.html#flashing-the-firmware15:56
minutegsora: the thing about removing the batteries is more of a warranty/safety thing, because you could touch a battery clip with the usb-c cable or sth15:57
gsoraindeed16:01
gsorait looks like i'm flashing an rp204016:01
gsorabecause it probably is :^)16:01
minutegsora: no, it's an LPC. did you wait till the pipeline is green?16:02
minuteah, pipeline failed again16:02
- bkeys (QUIT: Ping timeout: 276 seconds) (~Thunderbi@38-146-94-247.echocast.zone)16:02
minutequite annoying16:03
minuteah, changelog16:03
joschminute: too annoying? My goal with these checks was: avoid making mistakes16:03
minutejosch: no, good actually16:07
minutejosch: would be convenient to be able to do these checks before CI (because CI takes long to set up every time... maybe that's the actual problem, the install times in CI)16:07
minutejosch: i agree that these checks are useful, i would have forgotten about the changelogs otherwise16:08
minutegsora: the chip on reform motherboard is still lpc11u24, back when the original motherboard 2.0 was designed, there wasn't a rp2040 yet16:12
minuteyay, reform pipeline is green again \o/16:13
minutegsora: now the instructions for flashing the lpc can be followed (the download script will download the latest build from the CI)16:13
joschminute: would you like me to transfer what is currently in ~/.gitlab-ci.yml to a build-all.sh or similarly named shell script that you can run locally including the checks?16:15
minutejosch: that would be great actually, yeah!16:15
minutenow that reform and reform-tools/lpc are merged, i'm finishing pocket-reform-sysctl-fw...16:15
joschminute: you should once you'd like me to cut a new reform-tools release, yes?16:16
joschs/you should/you shout/16:16
minutejosch: cool, yeah. i'm testing the pocket fw now regarding, does shutdown work correctly again16:17
gsoraminute: awesome, i'll get on it now16:21
gsorai only have a mac available at my disposal right now, I wonder, can you link me the latest CI artifact? I'll copy it manually 16:23
joschgsora: https://source.mnt.re/reform/reform/-/jobs/10817/artifacts/browse16:30
minutegsora: you don't need to build anything 16:31
minutegsora: the download-fw.sh script will download the build16:31
minuteunrelated: my new pocket sysctl fw reliably goes into T mode after turning off via spi. no idea why, yet16:32
- Ar|stote|is (QUIT: Quit: No Ping reply in 180 seconds.) (~linx@149.210.5.33)16:35
gsoraok, flashed16:35
gsoraalso insmodded the lpc driver16:38
+ Ar|stote|is (~linx@149.210.5.33)16:40
minutegsora: nice. do you get some dmesg output from lpc? about api version?16:50
- ZetaR (QUIT: Read error: Connection reset by peer) (~user@c-98-208-141-90.hsd1.fl.comcast.net)16:54
gsorayup, says version g7d5f91f16:57
- paperManu (QUIT: Quit: WeeChat 4.1.1) (~paperManu@107.159.213.145)17:05
+ ZetaR (~user@c-98-208-141-90.hsd1.fl.comcast.net)17:11
minutegsora: ok, that's not normal hm17:12
minutei probably messed something up in regards to tagging, again17:13
minutelets see if i can redo the git tag17:14
minutegsora: i hope you're ok with flashing that again soon. you did everything right on your end, but i had to redo the git tag to get it into the firmware revision, so it will report 20250609 instead of that git hash, otherwise the driver won't recognize the faster v2 api17:17
minute(CI needs to complete first though)17:18
minutemeanwhile i found a solution for the new pocket reform sysctl fw. i removed 2 potential endless loops and added the watchdog reset feature from the keyboard (resets after 1 sec of stuck-ness)17:18
- L29Ah (QUIT: Read error: Connection reset by peer) (~L29Ah@wikipedia/L29Ah)17:20
minutegsora: pipeline done, good to reflash lpc one more time17:20
minutejosch: ok, i'm requesting a reform-tools/lpc release :317:21
gsoraok! will do asap17:35
gsoraalso fwiw, macos doesn't recognize the lpc usb disk17:35
gsorai remember having the same issue when i was working on precursor's usb disk implementation17:35
gsoramaybe it's too small for macos to care lol17:36
gsorahuh, i just shut down the reform with gnome's "shutdown" button, but the keyboard stays ib'17:36
gsoras/ib'/on/17:37
minutegsora: that's probably because of the lpc module re-insertion17:37
gsoraah!17:37
minutegsora: i also had this issue here on pocket today a few times when experimenting with lpc module17:37
gsorashould i update now, or wait until reform-tools/lpc is released?17:37
gsorafyi i'm tempted to poke at the rust4linux thing and using lpc as my scape goat17:38
minutegsora: you can update now, the lpc release is just for the module/driver17:39
joschgsora: is that the issue with 000000 that you are seeing on your oled? https://mister-muffin.de/p/XDLh.jpg17:45
gsorayup17:45
gsoraalso wow, nice photo!17:45
joschnice? :D17:46
gsoraminute: i'll start with the update asap, stuck in a work meeting atm17:46
+ L29Ah (~L29Ah@wikipedia/L29Ah)17:47
gsorajosch: yeah, it looks very detailed17:48
joschah okay :)17:48
gsorahow did you reproduce it?17:49
gsoraflash completed, the oled shows the correct version!18:05
gsorabut the battery capacity is gone18:07
gsorait worked with the old lpc driver, the new one has dmesg say "driver failed to report..."18:08
gsorathe old driver works fine18:12
- ericsfraga (QUIT: Quit: ERC 5.6.1-git (IRC client for GNU Emacs 31.0.50)) (~user@2a00:23cc:b45c:9001::99e)18:13
+ bkeys (~Thunderbi@66.110.201.50)18:13
minutegsora: hmmm ok18:14
minutegsora: might be because of changing of lpc driver version in the middle etc18:14
joschminute: i now have an unresponsive rk3588 classic reform as well. oled menu is stuck, no keypress does anything. So I guess I can also flash things and test if it fixes things. :)18:17
gsoradid you also leave the battery menu on when this happened?18:18
joschyes18:20
- bkeys (QUIT: Quit: With every step we take, danger will follow closely) (~Thunderbi@66.110.201.50)18:20
+ bkeys (~Thunderbi@172.56.71.178)18:21
minutejosch: aha, thanks for reproducing18:22
minutejosch: gsora: it's still possible that this happens with the new lpc fw (and i'd like to know), keyboard4 fw fixes are still (urgently) todo18:22
minutebut now i've released pocket fw https://source.mnt.re/reform/pocket-reform/-/releases/2025060918:22
minutecc zeha 18:23
gsorai'll leave mine on the battery view as we speak18:23
minutenow, how to push this to fwupd...18:24
spewmy reform classic is now in mexico, only about an hour away18:24
gsoraas for the driver, I imagine a new release will be published on debian repos soon?18:24
minutespew: nice18:26
minutegsora: yeah, josch will make a new reform-tools and thus reform2-lpc release 18:26
gsoragreat!18:27
- bkeys (QUIT: Ping timeout: 252 seconds) (~Thunderbi@172.56.71.178)18:35
+ bkeys (~Thunderbi@66.110.201.50)18:42
minutezeha: weird, in lvfs upload i get > Upload Failed: File is not supported: Metadata is invalid: description has no value18:43
minutezeha: description in the xml looks medium-ok though, it's `<p>Release Build</p>` and then an empty line18:44
minuteperhaps i need to add more stuff to description-release.html18:46
gsorawow, sway feels a lot better than gnome18:47
minutegsora: it does? 18:47
gsoraminute: i regularly see the 0000 bug happening18:47
gsorabut the keyboard never locks, actually, i see it rebooting18:47
gsoraso the watchdog is definitely working18:47
gsoraas for sway, yeah, i feel the system to be faster, but i've been using i3 et similar foryears now18:47
minutegsora: ah yes. sway's rendering is faster than gnome's.18:48
gsora*by a lot* :D18:48
minutei wish gnome could just use wlroots...18:48
+ bkeys1 (~Thunderbi@172.56.71.178)18:48
minuteanyway. 18:48
minutegsora: the keyboard doesn't lock up anymore? that's interesting, because we didn't update your keyboard fw18:49
gsoramaybe it was the lpc?18:49
minutegsora: possible yeah18:49
- bkeys (QUIT: Ping timeout: 252 seconds) (~Thunderbi@66.110.201.50)18:50
* bkeys1 -> bkeys18:50
gsorait just did it again18:50
minutegsora: did what? the 0000 or the lockup?18:55
gsora0000, i also noticed that for roughly 1s after the 0000 and subsequent reboot, the keyboard did not respond18:56
minutegsora: ok, so the keyboard did reboot and maybe set something like watchdog reboot?18:59
minutes/set/said18:59
gsorait said nothing, that';s the weird thing19:00
minuteok19:00
gsorai just noticed that when the 0000 happens, the keyboard stops responding for ~1s, then resumes as soon as the lpc starts reporting data again19:00
gsoraall of this is with the battery view selected19:00
minuteah ok19:01
minutegsora: ok this is probably caused by the reform2_lpc driver19:01
minutegsora: because it blocks the lpc for quite a long time (a few hundred ms) when it polls19:01
minutegsora: meanwhile, the keyboard doesn't get the data it wants19:01
minutegsora: the new driver doesn't cause these huge delays anymore19:01
- bkeys (QUIT: Ping timeout: 276 seconds) (~Thunderbi@172.56.71.178)19:04
gsoraah wait, so the menu on the oled is drawn by the lpc driver?19:05
minutegsora: no19:09
gsoranvm then, my brain is fried after a long day at work :D19:10
minutegsora: but the content for the battery screen comes from the LPC over uart. the LPC has an event loop. it can service SPI or UART, but not both exactly at the same time. because of legacy reasons, the old reform2_lpc driver blocks the LPC for a while when querying. during that time, the keyboard can't get the content it needs for the battery screen19:11
gsoraahhh i see19:11
minutegsora: and there's no preemptive multitasking in the lpc fw19:11
minute(in the new pocket fw, there kind of is, because SPI servicing is now on a timer interrupt)19:11
+ bkeys (~Thunderbi@h211.16.186.173.dynamic.ip.windstream.net)19:15
gsorai see! thanks for the explaination19:19
- bkeys (QUIT: Ping timeout: 260 seconds) (~Thunderbi@h211.16.186.173.dynamic.ip.windstream.net)19:20
+ bkeys (~Thunderbi@h211.16.186.173.dynamic.ip.windstream.net)19:20
minuteok, almost an hour later > Upload Failed: File is not supported: Metadata is invalid: description has no value19:47
minuteoh, wait a second19:48
minutethe HTML in release/description should probably be escaped, like the one in the component/description?19:49
minutehmm > key: value if key == 'release_description' or value is None else escxml(value)19:51
minuteACTION is trying to read python19:51
minutezeha: why is 'release_description' verbatim and others are escxml()ed?19:52
zehauhh19:53
zehaprobably because you can use html in it19:53
zehai dont think it should be escaped19:53
zehadescription and release_description might be different things, not sure19:53
minutemhm > There are currently quite strict limits on the format of the release description included in the description part of the metainfo, or edited on the LVFS. For instance, OEMs are not allowed to include links within the text and have to adhere to a limiting style guide19:54
minutezeha: yeah, in the example the html is verbatim indeed, but it's also verbatim in the component/description19:55
minutezeha: i'll change it to also not escxml the firmware_description19:56
zehakk19:56
minutemhm > The AppStream utility appstreamcli validate can validate all kinds of AppSteeam XML metadata19:57
minuteinteresting > I: com.mntre.pocket_reform.sysctl10.firmware:~: driver-firmware-description-missing19:58
minutealso funny > W: com.mntre.pocket_reform.sysctl10.firmware:4: component-name-too-long19:58
minute(Pocket Reform System Controller 1.0 Firmware)19:58
minutebut fwupd didn't complain about that19:58
minuteok, when not escaping the firmware_description, this output changes19:59
minuteI: com.mntre.pocket_reform.sysctl10.firmware:7: description-first-para-too-short20:00
minute     MNT Research Pocket Reform System Controller Firmware Update (Release Build)20:00
minuteappstream wants at least 80 chars there20:00
BoostisBetteris there a recently released sysctrl that I can try? I got the one from this year already but if there is something newer I would love to give it a whirl. 20:01
BoostisBetterthe sysctrl firmware I have is from 12 May of this year20:02
BoostisBettersorry for butting into the end of the conversation like this. Just thought I would try to jump on a new firmware release if that is what this is. 20:04
minutezeha: ok, it was accepted now, will push my changes20:10
minute> The remote metadata will be rebuilt in 49 minutes. This firmware has not yet been included in the XML catalog.20:11
minuteBoostisBetter: yeah you can test updating via fwupd once this is through their process20:12
BoostisBetterminute: thanks. I will wait for the all clear on that. 20:12
+ AnimaInvicta (~AnimaInvi@88-120-179-216.subs.proxad.net)20:14
zehaminute: thanks20:14
minutewrote hughsie and asked what i have to do to get permission to use the "move to testing" button20:20
minuteprobably first i have to wait 40 minutes > The remote metadata will be rebuilt in 40 minutes. This firmware has not yet been included in the XML catalog.20:20
+ chomwitt (~chomwitt@2a02:85f:9ace:3000:1ac0:4dff:fedb:a3f1)20:21
minuteok... on to other topics in the meantime20:23
- bkeys (QUIT: Ping timeout: 272 seconds) (~Thunderbi@h211.16.186.173.dynamic.ip.windstream.net)20:25
+ bkeys (~Thunderbi@172.56.70.38)20:34
minuteah, i got feedback from hughsie20:36
minutei have to solve the "problems" in the problems tab20:36
minute>  Release urgency has not been set for ‘MNT Research Pocket Reform 1.0 Embedded Controller Update’20:36
+ bkeys1 (~Thunderbi@66.110.201.50)20:36
minute> Firmware protocol requires fwupd report for ‘MNT Research Pocket Reform 1.0 Embedded Controller Update’20:37
minuteok, need a success report for the second one, that should be easy20:37
minute> All components should have an appropriate update urgency before a firmware is moved to stable. This also can be set in the .metainfo.xml file20:37
- bkeys1 (QUIT: Client Quit) (~Thunderbi@66.110.201.50)20:38
minutei was able to set the update urgency manually in the dashboar20:38
minute+d20:38
- bkeys (QUIT: Ping timeout: 248 seconds) (~Thunderbi@172.56.70.38)20:39
- chomwitt (QUIT: Ping timeout: 248 seconds) (~chomwitt@2a02:85f:9ace:3000:1ac0:4dff:fedb:a3f1)20:39
minutethe other i can solve after 20 more minutes of waiting...20:40
+ bkeys (~Thunderbi@66.110.201.50)20:40
- bkeys (QUIT: Client Quit) (~Thunderbi@66.110.201.50)20:41
+ bkeys (~Thunderbi@66.110.201.50)20:41
- bkeys (QUIT: Quit: With every step we take, danger will follow closely) (~Thunderbi@66.110.201.50)20:51
+ bkeys (~Thunderbi@66.110.201.50)20:51
- bkeys (QUIT: Client Quit) (~Thunderbi@66.110.201.50)20:54
+ bkeys (~Thunderbi@66.110.201.50)20:54
+ chomwitt (~chomwitt@2a02:85f:9ace:3000:1ac0:4dff:fedb:a3f1)20:59
- bkeys (QUIT: Quit: With every step we take, danger will follow closely) (~Thunderbi@66.110.201.50)21:03
+ bkeys (~Thunderbi@66.110.201.50)21:04
- chomwitt (QUIT: Ping timeout: 268 seconds) (~chomwitt@2a02:85f:9ace:3000:1ac0:4dff:fedb:a3f1)21:07
- bkeys (QUIT: Ping timeout: 276 seconds) (~Thunderbi@66.110.201.50)21:09
+ bkeys (~Thunderbi@66.110.201.50)21:14
- L29Ah (QUIT: Ping timeout: 248 seconds) (~L29Ah@wikipedia/L29Ah)21:16
- bkeys (QUIT: Client Quit) (~Thunderbi@66.110.201.50)21:17
+ bkeys (~Thunderbi@66.110.201.50)21:17
+ Asmadeus (~asmadeus@user/meow/Asmadeus)21:20
+ bkeys1 (~Thunderbi@38-146-94-247.echocast.zone)21:25
- bkeys (QUIT: Ping timeout: 245 seconds) (~Thunderbi@66.110.201.50)21:28
- bkeys1 (QUIT: Client Quit) (~Thunderbi@38-146-94-247.echocast.zone)21:29
+ bkeys (~Thunderbi@38-146-94-247.echocast.zone)21:32
minutezeha: update mechanism doesn't seem to work, "failed to wait for detach replug: device ... did not come back"21:37
minute> Bus 005 Device 003: ID 2e8a:0003 Raspberry Pi RP2 Boot21:38
minutezeha: this made it come back > sudo reform-mcu-tool reset rp2040-boot21:39
minuteyeah, also doesn't work on a second try, the "Restarting device" step seems to be borked21:40
minuteupdating fwupd...21:41
minuteok interesting, this works > fwupdmgr reinstall 377eb704f59a32dc0c615859a9e7bb66246a732d21:43
minutewill try again with gnome firmware21:43
minuteok nice, now it works21:44
minuteso one has to be on latest fwupd package21:44
+ bkeys1 (~Thunderbi@66.110.201.50)21:48
- bkeys (QUIT: Ping timeout: 276 seconds) (~Thunderbi@38-146-94-247.echocast.zone)21:50
* bkeys1 -> bkeys21:50
minutesuccess report uploaded, still no dice, "permission denied" to move to testing. frustrating experience21:54
zeha(i cant actually press approve btw)21:55
minutezeha: ah right. 21:55
zeha(in gitlab)21:55
zehaso you have to wait for hughsie i guess?21:55
minutezeha: thanks for your lgtm!21:55
- bkeys (QUIT: Quit: With every step we take, danger will follow closely) (~Thunderbi@66.110.201.50)21:55
minutezeha: yeah, i sent him a screenshot21:55
+ bkeys1 (~Thunderbi@66.110.201.50)21:55
- bkeys1 (QUIT: Read error: Connection reset by peer) (~Thunderbi@66.110.201.50)21:56
+ bkeys (~Thunderbi@66.110.201.50)21:56
- bkeys (QUIT: Client Quit) (~Thunderbi@66.110.201.50)21:59
+ bkeys (~Thunderbi@66.110.201.50)21:59
- bkeys (QUIT: Read error: Connection reset by peer) (~Thunderbi@66.110.201.50)22:00
+ bkeys (~Thunderbi@66.110.201.50)22:01
- bkeys (QUIT: Read error: Connection reset by peer) (~Thunderbi@66.110.201.50)22:03
+ bkeys (~Thunderbi@66.110.201.50)22:04
- bkeys (QUIT: Ping timeout: 276 seconds) (~Thunderbi@66.110.201.50)22:08
minutezeha: ah, they were missing the legal signoff document, sent now22:12
zehaah22:13
- gustav28 (QUIT: Quit: Quit) (~gustav@c-78-82-55-148.bbcust.telenor.se)22:15
+ CephonAltera_ (~cephonalt@mm-16-222-126-178.vitebsk.dynamic.pppoe.byfly.by)22:55
- CephonAltera (QUIT: Ping timeout: 252 seconds) (~cephonalt@user/CephonAltera)22:57
- CephonAltera_ (QUIT: Ping timeout: 252 seconds) (~cephonalt@mm-16-222-126-178.vitebsk.dynamic.pppoe.byfly.by)23:07
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)23:08
+ L29Ah (~L29Ah@wikipedia/L29Ah)23:14
+ CephonAltera (~cephonalt@mm-198-120-126-178.vitebsk.dynamic.pppoe.byfly.by)23:15
- CephonAltera (QUIT: Ping timeout: 252 seconds) (~cephonalt@mm-198-120-126-178.vitebsk.dynamic.pppoe.byfly.by)23:20
+ chomwitt (~chomwitt@2a02:85f:9ace:3000:1ac0:4dff:fedb:a3f1)23:25
minutezeha: ok i can finally press the buttons23:32
minutemoved to testing, but not sure how people can see stuff from testing23:37
+ jackhill (~jackhill@kalessin.dragonsnail.net)23:37
minuteah probably one has to set Enabled=true in /etc/fwupd/remotes.d/lvfs-testing.conf23:39
minute> fwupdmgr enable-remote lvfs-testing23:40
minuteBoostisBetter: to test the new firmware on pocket, do the following: 1. make sure fwupd is up to date (`sudo apt update; sudo apt install fwupd`). 2. enable testing firmware remote: `fwupdmgr enable-remote lvfs-testing`. 3. check if you can see the update when you click on "MNT Research Pocket Reform System Controller" in the gnome-firmware GUI tool23:44
minutecc josch 23:44
+ paperManu (~paperManu@107.159.213.145)23:53

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!