2023-11-24.log

+ mooglebrundle (~mooglebru@2600:387:15:916::9)00:03
mooglebrundleHi all, I can't connect to https://source.mnt.re/ in Firefox, I am getting an error "Secure Connection Failed  An error occurred during a connection to source.mnt.re. PR_END_OF_FILE_ERROR"00:04
- eibachd (QUIT: Ping timeout: 256 seconds) (~eibachd@p200300dcf73d8b008705f8ef9d2fb7fc.dip0.t-ipconnect.de)00:07
+ eibachd (~eibachd@p200300dcf73d8b003317ba279b1237b2.dip0.t-ipconnect.de)00:07
mooglebrundleThis is also the case on my phone in Safari --- I'm on an ATT wireless connection in the United States. My friend can get to it fine from a standard ISP. I'll try and figure out what my wireless provider is doing to mess up the connection. This is strange because I was reading the sources just yesterday on my phone.00:25
minutemooglebrundle: is it still happening? works fine for me on iphone safari00:58
- mooglebrundle (QUIT: Remote host closed the connection) (~mooglebru@2600:387:15:916::9)00:58
- mtm (QUIT: Ping timeout: 276 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)01:05
+ mooglebrundle (~mooglebru@156.146.98.3)01:32
+ murphnj (~murph@ool-457bb02e.dyn.optonline.net)01:44
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)01:49
- mooglebrundle (QUIT: Remote host closed the connection) (~mooglebru@156.146.98.3)02:09
+ mooglebrundle (~mooglebru@156.146.98.3)02:09
- mooglebrundle (QUIT: Remote host closed the connection) (~mooglebru@156.146.98.3)02:12
+ mooglebrundle (~mooglebru@156.146.98.3)02:13
- mooglebrundle (QUIT: Remote host closed the connection) (~mooglebru@156.146.98.3)02:15
+ mooglebrundle (~mooglebru@156.146.98.3)02:18
- mooglebrundle (QUIT: Remote host closed the connection) (~mooglebru@156.146.98.3)02:19
+ mooglebrundle (~mooglebru@156.146.98.3)02:30
- mooglebrundle (QUIT: Remote host closed the connection) (~mooglebru@156.146.98.3)02:35
+ mooglebrundle (~mooglebru@156.146.98.3)02:38
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)03:10
- dodo (QUIT: Remote host closed the connection) (~dodo@user/dodo)03:31
+ dodo (~dodo@user/dodo)03:32
- mooglebrundle (QUIT: Remote host closed the connection) (~mooglebru@156.146.98.3)03:38
- mjw (QUIT: Ping timeout: 264 seconds) (~mjw@gnu.wildebeest.org)03:47
+ arminweigl_ (~arminweig@sourcehut/user/arminweigl)03:51
- arminweigl (QUIT: Ping timeout: 268 seconds) (~arminweig@sourcehut/user/arminweigl)03:53
* arminweigl_ -> arminweigl03:53
- nsc (QUIT: Ping timeout: 268 seconds) (~nicolas@45-121-142-46.pool.kielnet.net)04:00
+ nsc (~nicolas@182-121-142-46.pool.kielnet.net)04:02
joschminute: i don't know if there is something that you can (or should) do, but if one enters "reform handbook pdf" into google, none of the results link to https://mntre.com/media/reform_md/mnt-reform2-operator-handbook.pdf or to https://mntre.com/reform2/handbook/index.html06:53
joschinstead, one gets several results for the reform 1 handbook which might be very confusing for some?06:54
joschminute: could i propose another tag for the reform keyboard firmware? It would allow messages like "If you have an old version of the keyboard firmware" or "If you were on an old firmware" to be turned in one that contains the actual firmware version that starts having a feature06:59
joschminute: maybe we should do something about these sparks that fly when i change my keyboard bezel. This time they flew when i removed it on the very left most latch.07:16
joschI wanted to flash my keyboard firmware and hence the reform was turned on. I was not sure what keyboard firmware version i was on and whether it already supported circle+x so i tried pressing circle-y, circle-x and circle-c to see what happens. I tried multiple keys because i have the NEO2 layout printed on my keys so i don't know what is considered a X for normal people.07:19
joschin any case, my keyboard just stopped. It shows the main menu but doesn't react otherwise. I'm on another usb keyboard now.07:20
joschIn an attempt to fix this, i removed the bezel to press the reset switch. During that removal (so all latches were in their correct position this time) sparks flew again. This cannot be healthy, no? I don't know what the keyboard could be bridging because i have kapton tape around my battery board edges.07:21
joschFunnily, pressing the reset button does nothing. OLED still shows the main menu. What am i missing?07:22
BoostisbetterI would just disconnect the batteries and reset the old fashion way07:25
joschI'd just consider that a workaround but not a fix. Ultimately, removing the bezel should not short out anything. This needs to be fixed somehow.07:47
- eibachd (QUIT: Ping timeout: 276 seconds) (~eibachd@p200300dcf73d8b003317ba279b1237b2.dip0.t-ipconnect.de)07:52
+ eibachd (~eibachd@2a01:599:315:6e43:d03d:4d51:ad4f:d599)07:52
minutejosch: sorry to hear about the sparks! before the keyboard was auto flashable, i also did not remove the bezel but held down f4 and pressed the button with anything shaped like a toothpick08:18
minutejosch: it is not considered "the right way" to remove the bezel while the system is powered, so to speak, so the fix is to prevent people from doing that (i.e. the keyboard entering flashing mode without needing to disassemble anything)08:19
joschah okay, then it was my fault08:20
minutejosch: it's not about blame, more like, it's hard to safely handle a metal part in a system that's powered. i also wonder what it touched, but i don't have a good guess08:30
joschminute: ah no worries, i didn't feel that you put any blame or otherwise negativity on me.08:32
minutealright08:33
joschmy misunderstanding occurred because when it said to press the reset switch, i didn't even think about *not* removing the bezel08:33
joschi mean i have to because otherwise how do i know where the reset switch is08:33
joschand from "the keyboard can be flashed while the reform is powered" to "press the reset switch now" i arrived at "it's okay to remove the bezel while it's powered"08:34
joschminute: if it's not considered "the right way" to remove the bezel while the system is powered, would you mind a tiny merge request that points this out and gives the tip with the toothpick and the F4 key at the point of the reform keyboard flasher script that instructs to press the reset button?08:35
minutejosch: good idea08:39
Boostisbetterso to update the keyboard and the LPC, I can just remove the keyboard bezel, and then I'd be able to access the USB ports?08:55
BoostisbetterI REALLY need to update the firmwares on those things. 08:55
joschBoostisbetter: you can update the keyboard using the reform that the keyboard is plugged into (even without removing the bezel by using the toothpick method) but you cannot flash the lpc firmware without having access to a second machine09:03
joschminute: do you think adding another keyboard firmware tag makes sense at this point? i see a lot of nice new features in the git log. Then i can make that tag part of the MR.09:04
Boostisbetterjosch: I didn't realize the keyboard didn't need another computer to update. 09:05
joschBoostisbetter: there is a flashing script that guides you through the process09:05
Boostisbetterto update the LPC, is that possible by removing the keyboard bezel?09:05
joschBoostisbetter: to connect to the lpc via usb you have to open up the bottom of the reform09:06
Boostisbetterahh ok, it is close to the battery connectors. 09:06
BoostisbetterOk, then I think I'm going to tackle that in a bit. 09:06
BoostisbetterI am off today, as yesterday we celebrated Thanksgiving. 09:06
Boostisbetterso I am some time. 09:07
Boostisbetterjosch: could you point me to the updating documentation? I should have bookmarked that along time ago09:07
joschBoostisbetter: i think the handbook is not 100% correct anymore for this. It is basically downloading the firmware from gitlab CI (or you build it yourself) and then running the flash.sh script from the reform git repo which then tells you what to do step by step.09:08
Boostisbetterexcellent, I'll go to the gitlab and download that. 09:09
joschBoostisbetter: maybe you want to wait until the next tag is out, then it will show the version in the OLED.09:09
Boostisbetterwell I really should update the LPC though09:10
Boostisbetterit is way out of date09:10
joschminute: currently, the flash.sh script says to press circle+x but on my keyboard firmware version, that completely freezes the firmware and not even pressing the reset switch helps09:11
joschminute: so maybe there should be a warning attached directly to that instruction as well?09:11
joschis that known  behaviour?09:12
minutejosch: yep @ tag09:15
minutejosch: are you sure it only freezed? 09:16
minutejosch: didn't enter dfu mode?09:17
minuteon older-than-my kbd versions, it would look like freezing09:17
minutethat's why i added helpful text on the oled now09:17
minutewhich states it is in flashing mode09:17
- Boostisbetter (QUIT: Ping timeout: 260 seconds) (4a410829d7@irc.cheogram.com)09:23
joschminute: maybe it entered dfu mode but how do i get it out of it?09:25
joschpressing the reset switch didn't change things09:25
joschi plugged in another keyboard and did "systemctl poweroff"09:26
joschbut i think since the keyboard is involved in the poweroff, the system still remained "on"09:26
joschso i had to open and unplug the batteries09:26
joschminute: but the helpful text only appears on newer keyboard firmware versions, no? So somebody on an old version who wants to upgrade would still run into this problem.09:27
joschminute: can the programming DIP switch SW84 on the keyboard also be reached via toothpick?09:35
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)09:36
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)09:36
+ Boostisbetter (4a410829d7@irc.cheogram.com)09:53
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-140-33.tukw.qwest.net)10:49
+ colinsane (~colinunin@97-113-140-33.tukw.qwest.net)10:50
minutejosch: unfortunately there's no way to exit dfu mode except for flashing the keyboard11:27
minutejosch: weren't you able to flash the keyboard when it was in dfu mode using the external keyboard?11:28
+ mjw (~mjw@gnu.wildebeest.org)12:22
- eibachd (QUIT: Read error: Connection reset by peer) (~eibachd@2a01:599:315:6e43:d03d:4d51:ad4f:d599)12:43
+ eibachd (~eibachd@p200300dcf73d8b004451df41d1d18d79.dip0.t-ipconnect.de)12:43
- erle (QUIT: Ping timeout: 255 seconds) (~erle@2a02:8109:da40:c4:579e:7e85:3049:ad61)12:57
- mtm (QUIT: Ping timeout: 255 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)13:04
+ erle (~erle@ip5f5bf354.dynamic.kabel-deutschland.de)13:16
- mjw (QUIT: Ping timeout: 246 seconds) (~mjw@gnu.wildebeest.org)13:33
* mark_ -> mjw13:42
+ chomwitt (~chomwitt@2a02:587:7a24:bc00:1ac0:4dff:fedb:a3f1)14:34
tretinhahi minute, I was wondering if it's in any way possible to alter my pocket reform order to add linear switches instead of the clicky ones I previously chose? if so, how do I go about that?14:35
minutetretinha: sorry, we don't handle the CS orders at all, you would have to ask CS support14:55
tretinhaah, ok! no problem, thanks! 15:01
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)15:09
+ mark_ (~mjw@gnu.wildebeest.org)15:40
- eibachd (QUIT: Ping timeout: 260 seconds) (~eibachd@p200300dcf73d8b004451df41d1d18d79.dip0.t-ipconnect.de)15:48
+ eibachd (~eibachd@p200300dcf73d8b01c77aa34a0eb8cec4.dip0.t-ipconnect.de)15:49
eibachdjosh: I am booting directly from eMMC UBoot to SATA /boot now. Works fine so far, until systemd is looking for dev-mmcblk0p1.device. It goes to emergency mode then.15:59
eibachdIs there any magic script I can return from emergency mode to fix this?16:01
eibachd*run*16:01
- mark_ (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)16:10
eibachdjosh: Nevermind. Just had to remove eMMC from fstab.16:18
- eibachd (QUIT: Ping timeout: 256 seconds) (~eibachd@p200300dcf73d8b01c77aa34a0eb8cec4.dip0.t-ipconnect.de)16:30
+ eibachd (~eibachd@p200300dcf73d8b00c946ce6f1d48a285.dip0.t-ipconnect.de)16:30
+ arminweigl_ (~arminweig@sourcehut/user/arminweigl)16:42
- arminweigl (QUIT: Ping timeout: 260 seconds) (~arminweig@sourcehut/user/arminweigl)16:42
* arminweigl_ -> arminweigl16:42
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)17:28
+ jacobk (~quassel@47-186-95-57.dlls.tx.frontiernet.net)17:38
minuteso cool https://mastodon.social/@bnys@lasersword.club/11145755527299336617:52
- jacobk (QUIT: Ping timeout: 245 seconds) (~quassel@47-186-95-57.dlls.tx.frontiernet.net)17:53
sevaneibachd: this is great, root on ZFS could be a reality on the reform18:07
vkoskivOh, resin printed. I was wondering how it's optically so clear18:07
vkoskivI can't find a panel on panelook that would match the required dimensions, but a 16x10 mod to extend the display down another 18mm @ 1920x1200 would be really neat if possible18:13
vkoskivI think some of the hinge mounting hardware would get in the way, though18:14
joschminute: i didn't try flashing as the oled menu was shown but the keyboard was otherwise unresponsive so i though it was somehow "stuck" and didn't attempt flashing18:15
joschminute: can the programming DIP switch SW84 on the keyboard also be reached via toothpick?18:15
vkoskivjosch: can, but you don't need to access it with the newest firmware18:16
vkoskivThough if you're upgrading to that, you do need it :D18:16
joschvkoskiv: but people with the old firmware still do, so i'm writing some text that explains this18:16
vkoskivAh let me double-check. I do think I've done it18:17
vkoskivWell, pushing down the F4 key does show the button, the switch is further back, a bit hard to see but reachable18:17
joscheibachd: just uboot on emmc and /boot and the rest on sata is really cool, thank you for working on that! But it needs some hardware modifications to the board, right?18:18
joschvkoskiv: okay, thank you18:18
vkoskivProbably still best to take off the frame though18:19
vagrantchuh. never noticed before that the voltage reading on the individual cells reads quite high when charging regardless of how discharged they started at ... had it down to 14% and 3.1~3.2v ... and as soon as I plugged in the charger it read 3.4~3.6v each cell18:19
joschminute: then let me confirm another thing: for the bezel removal to be safe, the reform should not only just be switched off but the battery boards need to be unplugged? Or can the battery boards remain plugged?18:19
joschvagrantc: same here18:19
vagrantci had always assumed those high readings were just because i rarely got below 90% and that is where lifepo4 tend to be when nearly fully charged18:19
vagrantci *still* have yet to swap in the fancy upgraded battery boards (and ball-bearing-augmented trackball)18:20
eibachdjosch: yes, there is a hardware modification required. I think I will do a full write-up on my blog this weekend.18:21
joscheibachd: looking forward :)18:22
minutejosch: for any disassembly the batteries should be disconnected to be safe18:24
minutethat's the official statement18:24
minutevagrantc: well, it's tricky because you're measuring the charging voltage at that point18:26
sevanSomething colourful https://files.mastodon.social/media_attachments/files/111/466/688/966/224/290/original/f6971e6ffd4a6a8d.png18:28
sevan(for wallpaper)18:28
vagrantcminute: somehow my solar charge controller manages it ... and i think it uses the same charging chip18:29
minutevagrantc: i meant regarding your observation that the cell voltages go high when charging18:29
vagrantcthough, that is a 40-amp-hour battery charging much lower than the batteries are rated to handle ... these small 18650 cells are probably much closer to their rated charging capacity18:30
vagrantcthis claims to be pulling ~1amp at 28.75v ... and the cells are maybe 1.8amp-hour if i remember correctly ... so that is above 0.5c .... vs. my solar which rarely gets even close to 0.2c18:32
joschminute: awesome, thank you for confirming! :)18:35
vagrantcminute: well, comparing to my solar, the cells do not seem to go so high, except when it nears 100%18:35
joschminute: after creating my MR I noticed that there are a couple more keyboard related MRs open by me, sevan and vkoskiv -- maybe those should be looked at first before creating a new tag?19:10
mhoyeHow much vertical play is there in the mnt screen case?19:14
hramrachvertical being which direction?19:14
mhoyeThe bottom maybe two pixel of my screen are obscured by the laptop's frame, which doesn't seem like a big deal but that's enough to hide the cursor 19:15
mhoyeI can tweak it to a half-character-high cursor but I'd rather solve the real problem.19:15
hramrachAlso see https://mastodon.social/@bnys@lasersword.club/11145755527299336619:15
mhoyeYeah, I guess that's possible... 19:18
hramrachit's not detailed enough but should give you some idea what the insides are like19:19
mhoyeI have to admit that I like the idea of having a new perspext frame milled out19:20
mhoyeMore computers should be transparent IMO19:20
mhoyeI wonder if there's an on-demand CAD milling place near me.19:21
hramrachit's not milled out, it's made of UV cured resin or somesuch19:21
minutethe standard bottom part is milled acrylic tho19:22
mhoyeYeah, I think there are enough cnc places in near me that I can probably just modify the mnt cad files and get a quote19:24
mhoyejosch: it looks like the "just comment out the meta+direction" approach to Sway won't do the trick if something running inside sway catches those keystrokes. 19:25
+ mark_ (~mjw@gnu.wildebeest.org)20:31
- eibachd (QUIT: Ping timeout: 276 seconds) (~eibachd@p200300dcf73d8b00c946ce6f1d48a285.dip0.t-ipconnect.de)21:14
+ eibachd (~eibachd@p200300dcf73d8b00531d08e4b519b9cf.dip0.t-ipconnect.de)21:15
+ vagrantc_ (~vagrant@2600:3c01:e000:21:7:77:0:50)21:17
joschsevan: where do the version numbers in your reform MRs come from?22:03
joschvkoskiv: are you still working on https://source.mnt.re/reform/reform/-/merge_requests/31 ?22:06
vkoskivKind of, a different approach is needed, that MR can be closed22:08
vkoskivMy oled project depends on that change, so I22:08
vkoskivhave to figure out something before I release it :D22:09
- mjw (QUIT: Killed (NickServ (GHOST command used by mark_!~mjw@gnu.wildebeest.org))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)22:09
* mark_ -> mjw22:09
+ mark_ (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)22:09
minutehttp://lists.infradead.org/pipermail/linux-arm-kernel/2023-November/878914.html22:21
joschwas this issue already observed on the (pocket) reform?22:25
minutei am not sure. i don't think the controller was completely frozen yet22:30
hramrachyou need to meet quite specific criteria to trigger the bug so it's possible nobody has noticed22:35
joschminute: https://source.mnt.re/reform/reform/-/merge_requests/59 is ready. The pipeline is red because it also includes a commit that checks that the current git tag corresponds to the preprocessor defines in the code (which it doesn't yet because no tag has been put)22:53
joschminute: is there anything else you'd like to see included in the next release?22:54
minutejosch: checking! so !58 can be dropped then, but !57 and !56 included, or?22:58
sevanjosch: I set the date on the most recent commit22:59
minutejosch: wait, the "release" is only about the keyboard version, yes?22:59
joschminute: yes, but you have all in the same repository, so the git tag applies to the lpc firmware as well23:00
joschi'm not aware of a method that allows tagging only a subdirectory23:00
sevanotherwise, I flashed new firmware on LPC & Keyboard & still ended up with a date of July (which was the date of the previous build I was running)23:00
minutejosch: yep. so should i merge !57 and !56 before?23:00
- Boostisbetter (QUIT: Ping timeout: 260 seconds) (4a410829d7@irc.cheogram.com)23:00
minutejosch: or would you rather bump the lpc version to the same string also?23:01
joschminute: sevan's changes that set the preprocessor defines to the latest git commit date are incorrect23:02
joschthe preprocessor defines need to be set to the latest tag or otherwise the pipeline will fail23:02
joschminute: yes, both strings (for lpc and keyboard) are bumped in my commit here: https://source.mnt.re/reform/reform/-/merge_requests/59/diffs?commit_id=e864b86cd6f058e7c2bd17ae516df8034744b54623:02
joschsorry, replying is slow because gitlab is slow on the reform ;)23:03
joschconstantly waiting for this javascript to finish rendering...23:03
joschi'll leave a comment in !56 on how it should be adjusted23:04
+ Boostisbetter (4a410829d7@irc.cheogram.com)23:04
joschsevan, minute: i think !57 and !58 are just incorrect23:04
sevanno worries, feel free to close or I can do it now.23:05
minutejosch: ok thanks!23:05
joschi guess i should leave a code comment in reform2-keyboard-fw/constants.h and reform2-lpc-fw/src/boards/reform2/board_reform2.c explaining that this is the latest git tag23:07
sevanI closed MR 57 & 58. Hopefully 56 is still valid :)23:07
joschsevan: i left a comment for !56 :)23:09
sevanjosch: so really the tag needs to be updated per commit? if there wasn't set of noticable changes in the latest revision, I would've wondered if I'd flashed things correctly since the menu still stated the date of the previous version I was running :)23:10
joschsevan: if you are developing the firmware, you build straight from git and are responsible to set the firmware version string to whatever you desire and makes you happy. The build will not fail. It is the gitlab CI that checks this and fails if the version string is incorrect.23:11
joschsevan: this is because as a normal user, you don't want to build it yourself but grab the artifacts from the gitlab CI release page23:11
sevanaha23:11
joschwhich in turn get it from the pipeline results23:11
sevanI was not aware that such helpful facilities were available 23:12
sevanI just cloned the repo & tried to build23:12
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-140-33.tukw.qwest.net)23:12
+ colinsane (~colinunin@97-113-140-33.tukw.qwest.net)23:15
joschCI builds everything: https://source.mnt.re/reform/reform/-/jobs/2549/artifacts/browse23:15
sevanjosch: re 56, makes sense. I can update the change later.23:15
joschcool thank you! :)23:15
minutejosch: so i can merge, yes?23:16
sevanjosch: thanks for the artifacts link.23:16
joschminute: yes, and then run "git tag 2023-11-24"23:17
minute!59 that is23:17
minuteok23:17
minutewell, i can only use the web interface right now23:17
joschdoesn't matter if the tagging is done later i think :)23:19
minutejosch: created a tag in the web ui after merge, i hope this did the right thing?23:19
joschoh lets see23:19
joschminute: looks good, thank you!23:19
minuteok cool. thank you too!23:19
joschminute: what's the next thing coming up as far as reform-debian-packages and reform-system-image goes? creating pocket reform system images?23:22
- vagrantc_ (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)23:22
minutejosch: yep, pocket will be a biggie23:22
joschit will?23:23
joschnot just different kernel patches and done?23:23
minutejosch: more tweaks to desktop things probably23:23
joschoh okay23:23
minuteincl some onboarding similar to what you suggested, but perhaps graphical or TUI23:24
joschthe first-boot stuff?23:24
joschthe things i made run inside the initramfs or otherwise they cannot resize partitions etc -- so no graphical ui possible, sadly23:25
joschwell... possible but hard23:25
minute:323:35
joschnext week my minipcie->pcix16 adapter is arriving -- now i just need a second motherboard :)23:46
minuteha. yep, it's pretty high on my todo list!23:52
josch\o/23:53

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