2024-09-09.log

amospallaminute: I see, thank you :)00:02
- sevan (QUIT: Changing host) (~sevan@2001:470:1f1d:1d6:5a55:caff:fe24:ed4)00:07
+ sevan (~sevan@user/venture37)00:07
- mjw (QUIT: Ping timeout: 252 seconds) (~mjw@gnu.wildebeest.org)00:32
+ reform16771 (~nano@71.212.136.219)01:24
* reform16771 -> nanocodebug201:24
nanocodebug2minute: the current keyboard drops the f12 key - it eats it for the wakeup command, i put a pr out for a patch that lets the f12 key reach the SoM01:24
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@47-186-105-237.dlls.tx.frontiernet.net)01:41
+ jacobk (~quassel@47-186-105-237.dlls.tx.frontiernet.net)01:50
+ staticbunny (~staticbun@76-223-253-78.lightspeed.frokca.sbcglobal.net)01:56
- mtm (QUIT: Ping timeout: 246 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:04
- staticbunny (QUIT: Ping timeout: 248 seconds) (~staticbun@76-223-253-78.lightspeed.frokca.sbcglobal.net)02:04
+ staticbunny (~staticbun@76-223-253-78.lightspeed.frokca.sbcglobal.net)02:04
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)02:05
- nanocodebug2 (QUIT: Remote host closed the connection) (~nano@71.212.136.219)02:32
- paperManu (QUIT: Ping timeout: 252 seconds) (~paperManu@198.16.214.40)02:55
+ murphnj (~murph@user/murphnj)03:05
- nsc (QUIT: Ping timeout: 260 seconds) (~nicolas@28-96-142-46.pool.kielnet.net)03:12
+ nsc (~nicolas@i5C74DCB5.versanet.de)03:13
jfredHow does the Pocket Reform scale up the TTY text? I seem to have somehow made mine scale up the text and then scale it back down again later during the boot process03:31
jfred(my cursor in sway is also small and I wonder if that's related; I think I've pulled in all of the theme-related changes from the pocket's default sway config into mine...)03:32
staticbunnyminute: are the dotfiles from your pocket screenshots on the website available?03:57
- staticbunny (QUIT: Ping timeout: 260 seconds) (~staticbun@76-223-253-78.lightspeed.frokca.sbcglobal.net)04:53
^alexjfred, it loads a larger font during boot04:59
* robin -> lispwitch05:52
* lispwitch -> robin05:52
- _justin_kelly (QUIT: Quit: The Lounge - https://thelounge.chat) (~justinkel@user/justin-kelly/x-6011154)08:18
+ _justin_kelly (~justinkel@user/justin-kelly/x-6011154)08:20
_hramrachjfred: the tty text is 'scaled' by loading a big font AFAIK. if that gets unloaded again that sounds like a bug08:45
_hramrachsway seems to use some scaling factor, running waybar in terminal gives you the dimensions of the bar, and it shows dimensions that are half the screen size08:46
_hramrachregarding the automated fwupdate thing and how to accomodate custom firmware: this is Debian so it has debconf. Can ask the user which firmware to upgrade, and can be reconfigured later in a standardized way08:50
minutesuper interesting walkthrough of how hibernate works in the kernel https://tookmund.com/2024/09/hibernation-preparation08:52
_hramrachI am not sure I want to know that. hibernation in Linux can't be a nice thing, it's not built to support it08:56
vkoskivI love articles like this!08:59
vkoskivI've been messing around with ELKS, which is a 16-bit no-MMU fork of (early) Linux for 8086 machines.09:01
vkoskivI wrote a new console driver that supports two monitors simultaneously, so I can have two consoles up on my IBM 515009:01
vkoskivIt relies on the fact that old IBM MDA and CGA adapters were designed such that their resources don't conflict.09:02
minute_hramrach: so far everything looked sensible. but it's only part 109:05
minutevkoskiv: nice09:05
+ mjw (~mjw@gnu.wildebeest.org)09:34
_hramrachpro tip: if you use hibernation use whatever feature your package manager has to hold the kenrel on the current version, and never upgrade it. Your system won't wake from hibernation otherwise.09:40
josch_hramrach: what kernel version would that be?09:43
[tj]I'm pretty sure the hibernation logic hashes the kernel version and attached devices and fails a resume if they change09:44
[tj]so that sounds like it would be a bug09:44
vkoskivFun file to cat on x86 linux: /proc/driver/nvram09:50
vkoskivMy Z170 motherboard reports the selected graphics adapter as CGA, 40 column mode09:50
gsora"FPU            : not installed" < oh no!09:51
_hramrachand if you upgrade the kernel either the logic manages to detect it and the resum fails, or you manage to defeat the logic and corrupt the kernel internal data structures10:00
joschah i got tripped up by you saying "and never upgrade it" -- you mean, do not upgrade it if you plan to hibernate later or reboot after upgrading10:05
[tj]hibernate is just a fancy boot, so you need to make sure the default kernel doesn't change on hibernate otherwise it will fail10:09
_hramrachAlso the 'flush filesystems to disk' is a lie. It does not really do that. If you use os-prober it will coppupt the filesystems of other hibernated OSes by mounting them 'readonly'. Linux cannot mount a linux-native filesystem on a readonly medium. It always replays the journal (which is not flushed in that flush step), and that requires write access, and modifies the filesystem.10:17
- jacobk (QUIT: Ping timeout: 248 seconds) (~quassel@47-186-105-237.dlls.tx.frontiernet.net)11:04
+ jacobk (~quassel@47-186-105-237.dlls.tx.frontiernet.net)11:04
joschminute: you just merged https://source.mnt.re/reform/reform-system-image/-/merge_requests/109 -- if you have a bit of time for that topic, could you please also have a look at https://source.mnt.re/reform/reform-system-image/-/issues/27 and say nay or yay for the tools listed there?11:50
joschzstd was one of them :)11:50
minuteohhh11:57
minutejosch: commented!12:05
joschthank you!12:07
joschch: what do you mean? mdns-scan and blktool have the same version since old-old-stable and no bugs -- the software is not abandoned, it is just finished! :)12:08
chjosch: ...12:08
chjosch: you probably had usecases in mind for these bits. my feeling is we could pick sth better, if the usecases are known :)12:09
josch_hramrach: i read your comment i'm include to include all of them except for mdns-scan and blktool. Your comment is valid but the tools only require very little extra space, so i think it's okay to include them if it makes debugging issues for some people used to these tools easier.12:10
chexample: i install avahi on my machines, because i want .local to work on them. but i'm also guessing this may not be part of the design goal for the image12:11
ch(and recently i started replacing avahi by resolved)12:11
joschyes, hence i don't feel bad not including mdns-scan12:12
joschbut as _hramrach noted, picotool should probably be shipped on the image for firmware flashing purposes12:13
_hramrachjosch: sure, having some basic tools is useful when something breaks. eg. if you need to recover from bad firmware version it's useful to only need the firmware zip file, and not also the tools to make use of it. fdisk falls intosimilar space. Others might be optional, and easy ton install if needed.12:13
josch"the firmware zip file" -- you mean the one that was published for the pocket?12:14
chpicotool sure12:14
_hramrachI expect anything publieshed from the gtlab CI would be a zip file12:14
amospallajosch: are latest kernel versions available on Debian stable?12:15
joschamospalla: yes, via backports12:16
amospallaNice, I guess, that is the most important software to have latest updates right?12:16
amospallaThank you josch.12:17
_hramrachon a reform you would need a reform kernel, anyway12:18
- mjw (QUIT: Ping timeout: 246 seconds) (~mjw@gnu.wildebeest.org)12:18
joschyes, unless you are using imx8mq or ls1028a for which i heard vanilla linux is sufficient12:18
_hramrachjosch: the thing that really looks random on that list is xz-utils. In what situation would you need that and could not install it?12:22
joschamospalla: in the past, a lot more packages from testing/unstable were needed to have things working like ffmpeg, mesa, xorg (for xwayland) or gstreamer -- these days, bookworm ships most of it (except flash-kernel)12:22
_hramrachprogress \o/12:23
chminute: could you also merge https://source.mnt.re/reform/pocket-reform/-/merge_requests/9 ? thanks :)12:23
josch_hramrach: i must admit, xz-utils is my own addition and i totally forgot what exactly it was for when i had need for it in the system image.12:25
joschi usually boot them up on my (big) reform to test new things and i did $something that needed unxz12:25
minutech: thank you, merged!12:28
chthanks!12:28
chsigh, fails12:30
* Guest888 -> mjw12:31
_hramrachif xz-utils makes testing new images easier, whatever ¯\_(ツ)_/¯12:32
_hramrachthat said, it's probably still useful to make a separete commit for it with separate reasoning so that it can be dropped when the reason is no longer valid12:33
chminute: would you agree to switching pico-sdk,extras and tinyusb to git submodules instead of having shell and ci scripts picking different versions? :)12:34
chminute: (if yes, i'll make an MR for that)12:34
_hramracheg. the unzip tool is critical while updates are published from gitlab CI but would become nearly useless if that's changed12:34
joschch: or... apt install them? :)12:35
chjosch: that's what i really want to avoid12:35
joschwhy?12:35
chjosch: firmware builds want more control over their deps, not less12:35
_hramrachch: git submodules still need shell script to explicitly check out, not much improvvement, and uses obscure, error-prone and broken-by-design git feature12:36
ch_hramrach: gitlab ci can deal with submodules just fine12:36
ch_hramrach: right now we have a shell script that does thing A and a gitlab ci script that does thing B12:36
ch_hramrach: and the pico-sdk -already- uses submodules12:36
joschch: my goal is to get these firmware bits into debian -- for that to happen it would be useful to have long-term testing of building them with stuff that is in debian12:36
chso its not like we avoid submodules12:36
joschch: or in other words: minimize the diff between what source.mntre.com CI does and what gets shipped in debian12:38
chjosch: interesting, but i have no idea how what the bugfix/breakage policy is for the involved parts and/or how to do automated qa on the results12:38
chjosch: and i'm not keen on the idea of 'debian bumped lib X' resulting in 'building the keyboard firmware still works but the result is silently broken'12:39
chbut thats just me12:39
minutech: yes, would agree, the only issue when i tried that last time picosdk was missing usb support or sth and then the system controller could not be flashed again because it didn't expose the bootloader. so this has to be made sure to work12:39
_hramrachhe general idea is that 'lib X' API should be stable enough that this would not happen. If that is feasible in specific cases is another qestion.12:40
ch_hramrach: "hahahaha"12:40
chminute: i see. i'll make an mr now to fix the build (sorry, but hard to test without a ci runner) and then look into submodules for a later mr12:40
josch_hramrach: pico-sdk and picotool got updated to version 2.0 -- i have been working for about 2 weeks on getting them built and updated but a lot of things changed so this can take a while...12:41
josch(in my free-time, so not 2 work-weeks)12:41
_hramrachso it sounds like sticking to a specific version is preferable12:42
joschyes, unfortunately, like we saw with binutils recently, even sticking to the same version is dangerous12:43
joschin binutils case, recompiling src:linux made the resulting kernel unbootable12:43
joschthe source stayed the same but binutils changed12:43
joschwe learn from this: never update anything :)12:43
ch"not wrong" x)12:44
joschthis is why i'm still running bookworm12:45
joschbut then, to find bugs, somebody needs to run the buggy version, unfortunately... :/12:45
joschch: i agree with the "avoid surprise updates" reasoning but can we then agree that it would be best if we could build the firmware in debian-stable and to do that we should continue building it with unstable so that we find bugs and make sure that this definitely works once trixie is released?12:46
joschonce trixie is released, we switch the CI to use that and get reliable firmware builds without surprises 12:47
chjosch: unsure what that means for post-trixie12:47
+ paperManu (~paperManu@198.16.214.40)12:49
joschch: i think that's for minute to decide whether they want to ship stuff built with unstable and the "built with random version X problem" or built with stable and thus no clue whether things will still work with stable+112:49
chyeah12:50
joscheither way it's a trade-off12:50
chi know what my choice would be if it were my logo on the hardware (:12:50
joschch: join me on reform.d.n where we can make different choices than MNT does :)12:51
chtinyusb helpfully has no branches and only very old tags12:51
chjosch: unsure about the firmware pieces for that. but if thats a goal, maybe it should also influence how the fw describes itself12:53
chjosch: so that not just it will have a flag for 'this is a custom build for this specific user' but actually some form of vendor tag12:53
ch(sounds like a lot of work tho)12:54
joschyuuuuuup12:54
ch(but without it we'll be in hell)12:54
chminute: https://source.mnt.re/reform/pocket-reform/-/merge_requests/11 (sorry again)13:10
ryukazouHow’s the battery life on classic reform or pocket reform?13:14
joschryukazou: with a311d i have 5 hours of doing work on the terminal and 4 hours of watching a video in full screen on youtube via firefox13:16
joschryukazou: that's with the big reform13:16
minutech: maybe for tinyusb we should specifiy some tag/branch to clone?13:29
chminute: tinyusb's last tag is from 2023, and there are no release branches13:30
chminute: i'll investigate later if we can reuse the tinyusb that pico-sdk pulls in13:31
minutech: ohh ok13:32
chminute: but yeah, i was also worried about that :-/13:32
- ptrc (QUIT: Remote host closed the connection) (~ptrc@ptrc.gay)13:46
+ ptrc (~ptrc@ptrc.gay)13:46
- mtm (QUIT: Ping timeout: 245 seconds) (~textual@c-71-228-84-213.hsd1.fl.comcast.net)14:02
ryukazoujosch: sorry, I forgot to mention battery specify for rk3588. I’m curious whether battery life of rk3588 on pocket reform would be too short.14:02
joschryukazou: nobody outside of MNT has an rk3588 yet14:02
- NanoCodeBug (QUIT: Ping timeout: 248 seconds) (~NanoCodeB@c-73-35-191-67.hsd1.wa.comcast.net)14:03
+ NanoCodeBug (~NanoCodeB@c-73-35-191-67.hsd1.wa.comcast.net)14:03
+ mtm (~textual@c-71-228-84-213.hsd1.fl.comcast.net)14:06
ryukazoujosch: understood. Thank you.14:14
- natalie- (QUIT: Quit: quit) (~natalie@user/natalie)15:20
+ natalie (~natalie@user/natalie)15:20
+ mark_ (~mjw@gnu.wildebeest.org)15:59
minutepocket rj45 dongle! https://mastodon.social/@mntmn/11310792964472818316:01
chdoh. i ordered a micro-hdmi to mini-hdmi cable! how useless16:17
chminute: nice16:18
- mesaoptimizer (QUIT: Quit: mesaoptimizer) (~mesaoptim@user/PapuaHardyNet)16:19
+ mesaoptimizer (~mesaoptim@user/PapuaHardyNet)16:19
- NanoCodeBug (QUIT: Remote host closed the connection) (~NanoCodeB@c-73-35-191-67.hsd1.wa.comcast.net)16:38
+ NanoCodeBug (~NanoCodeB@c-73-35-191-67.hsd1.wa.comcast.net)16:38
NanoCodeBugyessss that rj45 dongle looks great16:39
minuteit is definitely rugged16:41
_hramrachthat looks good, did not find one that can plug directly into a RJ45 cable16:58
jfredch: hahah, oh no17:00
minutehttps://mntre.com/media/reform_md/2024-09-09-introducing-mnt-reform-next.html17:37
jn\o/17:38
- mark_ (QUIT: Ping timeout: 246 seconds) (~mjw@gnu.wildebeest.org)17:40
^alexminute, oh yay17:43
jfredwoohoo!17:52
jfredmulti-chemistry battery charging system, interesting - I'll probably still use LiFePO4 cells because I appreciate their lack of spiciness and lack of cobalt, but useful option17:54
jfredminute: Will we be able to order it without a CPU module installed? I already have the rk3588 module preordered for my current Reform but would probably swap it over to the Next and switch back to the a311d in my Reform 2 if so17:57
jfredbut I don't really need two rk3588 modules, haha17:58
minutejfred: good point17:59
+ gustav28 (~gustav@c-2337524e.019-141-67626730.bbcust.telenor.se)18:32
NanoCodeBugvery cool, love how modular the boards are, lets people get creative with custom peripherals 18:33
grimmwareI’d be interested in just a pocket mobo at some point so I can use my imx8mp as a desktop.18:39
minutegrimmware: yeah, hoping to have all that (cases for reform+pocket mobos) sorted out soon18:50
josch"MNT Research opposes this hypercapitalist and destructive concept in any way possible"18:54
joschthat's why i'm here +118:54
- digitalrayne (QUIT: Ping timeout: 252 seconds) (~digitalra@vps-446f4f39.vps.ovh.ca)18:55
minute:D18:59
+ mark_ (~mjw@gnu.wildebeest.org)19:02
minutelmao coincidentally (i swear) there's also apple keynote today19:02
jnApple Silicon CPU module for Reform? ;)19:04
+ staticbunny (~textual@76-223-253-78.lightspeed.frokca.sbcglobal.net)19:08
jfredimagine Apple doing that. they would never, but it would be very cool haha19:20
ryukazouWill reform next have purchase option without cpu module?19:24
ryukazouI plan to purchase reform next to my dad, I can put imx8mp to reform next.(since I already ordered rk3588 cpu module)19:25
- amospalla (QUIT: Quit: WeeChat 4.4.1) (~jordi@user/amospalla)19:26
jnjfred: apple wouldn't, but some highly skilled hobbyists? maybe19:29
ryukazouDoes de-solder a cpu from laptop mainboard even possible? If yes, it would be great.19:35
jfredjn: perhaps - that would be quite a hack though haha19:35
jfredhonestly I feel like the Reform's module system is a pretty good way to retain some modularity despite having an integrated CPU/GPU/RAM/etc as Apple does19:36
jnyea19:37
jfred(but it makes the machine thicker and we can't have that :P)19:37
jnif i had infinite money, i'd try to put some obscure SoCs on Reform modules19:37
jfrednot that I actually want this (the Reform Next is plenty thin enough and the mechanical switches in a laptop are glorious) but I do wonder if it'd be possible to shave off a little extra headroom with scissor keyswitches or if the CPU module is the constraining factor there now19:38
jfredas in, if someone like Apple were to make a Reform enclosure aiming for more thinness, how low could you go?19:40
chit looked like the batteries define most of the height?19:40
ryukazouYeah reform next still use LiFePO4 cell19:41
ryukazouIt’s nice but thickness is a trade off19:41
jfredyeah, you could go with pouch cells to slim down the sides there - but looking at the photos the mobo + CPU module seem to be almost as tall19:42
chjosch: you don't happen to know a convenient "file format" to describe Debian dependencies, thats not a d/control?19:44
chjosch: ie something i can put into git, that both .gitlab-ci.yml and install-deps.sh could read?19:44
chjosch: short of DEPS="..." in a .sh file19:44
chwell maybe i'll just do that19:46
+ amospalla (~jordi@user/amospalla)19:49
joschch: you want just a list of package names or you want a list of dependencies (which includes virtual packages, version restrictions etc)20:23
chjosch: right now just a list suffices20:24
joschch: for another project i use text files that i feed to equivs20:25
joschadvantage being, that i can express arbitrary dependency constraints and then apt takes care of resolving them for me20:25
joschand due to equivs that works even for apt versions that do not have the satisfy subcommand20:25
chtinyusb is many things, but not tin20:35
chy20:35
joschch: if you want to have some fun, look at its Files-Excluded list: https://sources.debian.org/src/tinyusb/0.16.0%2Bdfsg-3/debian/copyright/20:38
joschwhich is, in my opinion, another reason to not git clone upstream20:38
joschby using the stuff that is packaged in debian, you get more assurance that what you build is indeed free and not contains tons of non-free-ness20:38
joschin case of tinyusb this has everything from "auto-generated and no sources", "auto-generated using proprietary tool", "license non-free because disallows distribution" to "license non-free because restricts usage to products of company X"20:39
+ digitalrayne (~digitalra@vps-446f4f39.vps.ovh.ca)21:31
- gustav28 (QUIT: Quit: Quit) (~gustav@c-2337524e.019-141-67626730.bbcust.telenor.se)22:15
- jacobk (QUIT: Ping timeout: 248 seconds) (~quassel@47-186-105-237.dlls.tx.frontiernet.net)22:37
henesyis the reform next a trackpad only or is it compatible with the trackball modules?23:07
henesyjfred-linode: i imagine achieving more thinness also hurts amateur maintainability, inevitably resulting in less modular components, more soldering, and a lower pool of parts that can possibly go into a given unit23:08
henesyi quite enjoy a bit of thickness in a laptop, reassures me that it wont suffer damage from pressures in a pack or otherwise if for no other reason23:09
joschhenesy: the reform-next is too thin for the trackball23:09
henesysad23:09
blueriseminute: happy that's it's brcmfmac!23:10
joschhenesy: in the classic reform, the trackball module touches the bottom plate23:10
joschhenesy: the classic reform can not be thinner literally because of the trackball23:10
henesymy x1 carbon would develop warping and pixel dead spots from pressures in a backpack - which while never irreparable, are inconvenient and tedious to deal with23:10
henesyjosch: gotcha23:10
joschhenesy: with a trackball you have another problem -- i have a veeeery slight gray spot on my screen from where the trackball touches it when the lid is closed :)23:12
joschbarely visible -- i have to have my screen all white and then look very hard at the position where the spot should be23:12
henesyah but the joy of trackball23:12
henesywheeeeeeeeeeee23:12
joschyes23:12
henesyi think i also noticed The Spot23:12
joschi like the form factor of the classic reform and i find it an interesting project of trying to fit the reform-next components into the classic reform to combine the advantages of both :)23:15
chpicotool seems to hide the reboot-into-bootsel mode behind a vid/pid check, and the pid specifically must be the stdio_usb pid. that seems not very reusable :(23:19
joschch: maybe report it as a bug? i found picotool upstream very quick to respond to everything i threw at them23:20
chjosch: on github or elsewhere?23:21
amospallach: did I talk with you about wifi on pocket/debian/stable ?23:21
chamospalla: yes23:21
amospallathis is what you need for wireless to work: https://community.mnt.re/t/debian-bookworm-stable/2529/223:21
joschch: i'd say on their github at https://github.com/raspberrypi/picotool/issues/new23:21
chamospalla: yeah i took josch's bins from salsa. https://salsa.debian.org/reform-team/reform-debian-packages/-/issues/2 etc23:22
amospallagood!23:22
joschoh no...23:23
joschch: sorry, apparently i forgot to manually turn on notifications for those repos and never got an email notification about them...23:23
choh23:25
chwell i didn't submit any patches yet anyway23:26
chapart from the system-image changes, but that got merged via sources.mnt.re 23:26
joschthat's the best way :)23:27
- NanoCodeBug (QUIT: Remote host closed the connection) (~NanoCodeB@c-73-35-191-67.hsd1.wa.comcast.net)23:33

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