2022-09-08.log

sigridminute: heya! I am reading lpc firmware code and wonder how "capacity_min_ampsecs" is supposed to be treated by the OS, ie whether it's "give a warning to the user" or "system has to be shut down to save the batteries from getting destroyed"00:08
minutesigrid: give a warning, because that's only a best guess fuel count00:08
sigridacpi defines both of these separately and I want to map this value somehow00:08
sigridok, thanks :)00:08
minutesigrid: it's like, how many amp seconds (amp hours * 3600) do we think are left in the tank00:09
sigridthe "accu" value is only a somewhat rough estimation, right?00:10
sigridI can see that cells with different (from the original) capacities would need to have a different value set in the firmware too, is my understanding correct?00:11
minutethat is correct00:13
minuteoriginally i wanted to make some tool that would let you set this up00:13
sigridguess now with spi it could be more feasible00:13
minuteyeah00:14
+ arminweigl_ (~arminweig@sourcehut/user/arminweigl)01:21
- arminweigl (QUIT: Ping timeout: 268 seconds) (~arminweig@sourcehut/user/arminweigl)01:22
+ arminweigl (~arminweig@sourcehut/user/arminweigl)01:24
- arminweigl_ (QUIT: Ping timeout: 252 seconds) (~arminweig@sourcehut/user/arminweigl)01:25
+ dustfing` (~user@d75-159-228-218.abhsia.telus.net)01:50
- dustfinger (QUIT: Ping timeout: 252 seconds) (~user@d75-159-228-218.abhsia.telus.net)01:51
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)02:04
smjmy 4th mnt reform arrived.  This one required import duty to be paid of $37.73.  03:09
smjthe fun part is putting it together03:12
smjvery good design and instructions03:12
joschWhen I put together mine, I was surprised how much was already put together. I wouldn't have minded if there were more parts that needed assembly. But of course that is a trade-off. :)03:36
smjme too!03:37
smja decent savings, plus you get more familiar with the reform doing this03:38
smjoh, it needs a firmware update.04:04
smjsigrid has an update for the plan9front LPC stuff and needs newer firmware04:05
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)04:10
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149-210-4-123.mobile.nym.cosmote.net)05:22
+ Ar|stote|is (~linx@149-210-4-123.mobile.nym.cosmote.net)05:23
- Ar|stote|is (QUIT: Client Quit) (~linx@149-210-4-123.mobile.nym.cosmote.net)05:24
+ Ar|stote|is (~linx@149-210-4-123.mobile.nym.cosmote.net)05:24
- Ar|stote|is (QUIT: Client Quit) (~linx@149-210-4-123.mobile.nym.cosmote.net)05:24
Boostisbetterminute: wayfire seems to work well on the Reform. I was surprised at how snappy it seemed in your video. What are your thoughts? Are you switching to it from Sway?05:24
+ Ar|stote|is (~linx@149-210-4-123.mobile.nym.cosmote.net)05:24
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)06:03
+ ajr_ (~ajr@user/ajr)06:31
- ajr (QUIT: Ping timeout: 255 seconds) (~ajr@user/ajr)06:34
joschminute: you mentioned that you are interested in opinions for market research reasons. Here another datapoint. I showed my wife the pocket reform today. What impressed her most was the design. She finds the pocket reform extremely cute, especially with the mini trackball and the purple aluminium case.07:36
- ajr_ (QUIT: Quit: WeeChat 3.6) (~ajr@user/ajr)09:06
+ Smith42 (~Smith42__@147.197.221.58)09:54
+ qwer (~qwer@37-48-17-181.nat.epc.tmcz.cz)10:10
eeryoh nice, chromium no longer stutters on startup with the etnaviv out-of-memory errors on the 5.19 kernel11:26
minutenice11:34
+ oomono (uid328183@id-328183.tinside.irccloud.com)11:37
eeryI wonder if it'd solve some of the issues with the TS buffer sharing patchset11:40
eeryit's really cool how far the software work has gone, and your efforts to upstream the patches -- with the sysimage kernel/initrd I can boot into an unmodified copy of Fedora, open a wayland compositor, and run "chromium-browser" and get an accelerated, wayland-native chromium window with no artifacting now11:46
joschwow, that's awesome! :)11:49
joscheery: but now you are stuck with the initrd you have, no? As far as I remember Fedora uses completely different tooling to build their own initramfs.11:49
eerywell, yeah, although I know enough about dracut I think I could generate one if I really wanted to11:52
eeryto be honest since nothing is broken I'm pretty content with the arrangement11:53
eeryI know that it probably shouldn't work and will probably eventually break, but I'll happily abuse it until it does ;)11:53
minuteeery: could you write a little recipe on how to try this? fedora i mean11:54
joscheery: it would help a lot of other people if you'd invest some time to set it up properly :)11:54
joschIt would probably even be possible to patch reform-system-image to output an image based on Fedora instead of Debian.11:55
eeryI probably will once I'm back in the US and get a proper nvme, I've been running off the 32GB card this whole time haha11:55
eeryminute: I can, it's very straightforward actually11:55
minutegreat11:56
eeryIt basically boils down to just creating two ext4 partitions (like in debian), copying the boot partition verbatim, and copying the aarch64 raw image from fedora into the second partition11:56
eerythen just changing the UUIDs in /etc/fstab11:56
eery(and copying /lib/modules/<x> from the debian image)11:56
joschBut the initramfs encodes the knowledge where to boot from -- how do you obtain an initramfs that has the correct options set?11:57
eeryI have no explanation for why it works, just that I copy the files from the sysimage /boot partition and it does work :P11:58
eeryno modifications11:58
eeryhow does the default initrd encode the rootfs? By UUID or does it use /dev/ paths?12:01
joscheery: wait, you are booting Fedora from SD-Card?12:03
eeryyes, because I am being lazy and haven't gotten an nvme drive yet :|12:03
joscheery: that's why it works :)12:04
joschthe initramfs of the sysimage-v3 is meant to be written to an SD-Card, so the initramfs of the sysimage-v3 is set up such that it expects the rootfs on your SD-Card12:04
eeryMakes sense12:05
joschThis works because the sysimage-v3 uses /dev entries in /etc/fstab: https://source.mnt.re/reform/reform-system-image/-/blob/main/reform2-imx8mq/mkuserland.sh#L2812:05
joschIt doesn't use UUID because at the time that /etc/fstab is created, the filesystems have not been created yet.12:05
eeryBefore I was just copying the sysimage /boot partition, I just used a really simple boot.scr I adapted from the gentoo page on reform and manually specified a root in the bootargs, e.g. "root=PARTUUID="8b868269-02" rootfstype=ext4 rootflags=rw"12:05
eeryno idea if that'd override the config inside an initrd, but it worked with whatever image I was using then12:06
joschyes, arguments by the bootloader override settings in the initramfs12:07
joschthis is by design, so that you can still change stuff without having booted and created a new initramfs first12:07
eeryI got my reform in the mail the night before traveling internationally for 6 months so it's been a real hack'n'slash adventure in IT12:07
joschoh wow XD12:07
eeryI was running void linux for a while but I decided I'd had enough pain and suffering, so I switched to Fedora - I probably should have just switched to the v3 sysimage but I've been running lots of fedora/rhel-clones at work, so it's "in my fingers"12:10
- qwer (QUIT: Ping timeout: 252 seconds) (~qwer@37-48-17-181.nat.epc.tmcz.cz)12:39
+ qwer (~qwer@89-24-41-218.nat.epc.tmcz.cz)12:40
- mjw (QUIT: Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440))) (~mark@gnu.wildebeest.org)13:05
* wielaard -> mjw13:05
+ mark__ (~mark@gnu.wildebeest.org)13:06
Smith42eery, what do you think of fedora? I'm wondering if it is worth switching from debian for new hardware compatibility...13:47
joschSmith42: which component in Debian is outdated such that your hardware isn't working with it?13:49
eeryI like it, it's not perfect, but for me it's a very practical compromise in terms of getting regular stable releases with lots of packages in the repos13:57
minuteat the moment we're on the latest released kernel, so i don't know if there's much more hardware support to gain13:58
eeryjosch: I'm assuming the problem is if you want to use a stable release, then on Debian you're stuck with increasingly outdated versions of e.g. the kernel and mesa13:58
eeryI'm also assuming Smith42 is talking about debian on non-reform hardware haha13:58
joschAh yes, that is of course correct. If you want a stable OS then of course versions will become outdated. Unfortunately we never managed to do any rolling releases in Debian. The best we have is to just use "testing" but that's also not ideal during the times when we freeze the archive to prepare for the next stable release.14:01
eeryI like debian, but I'm a little allergic to Sid, and in my experience I tend to prefer it either in containers or in VMs14:02
joschThat is a very sensible approach. :)14:02
eeryWhen you need both stable release engineering and "relatively bleeding edge" is where Fedora shines IMO14:02
joscheery: I don't know much about Fedora. How do they do it?14:03
- mtm (QUIT: Ping timeout: 244 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)14:03
eery(note that fedora does lean into the bleeding part of bleeding edge, and has sharp edges, so...)14:03
eeryCombination of a greater tolerance for "dramatic changes" than Debian (not always a good thing) and a bi-annual release cycle, I think14:04
eeryThat, and Fedora is basically RedHat's version of Sid for RHEL, so it gets all their work pumped into it14:05
eeryI'm not intimate with the details, but RHEL releases are basically forks of a given Fedora release that gets support for 5-7 years or however long it is14:05
Smith42eery, sorry I misread the chat; thought this was the "linux" chat!14:08
Smith42yes I was asking about different hardware (framework laptop)14:09
eerywell, it's still relatively on-topic here anyway ;) lol14:09
josch:D14:10
eeryMy biggest complaint about fedora (which kind of applies to debian, though more out of ignorance) is how ... black-magic the build system is14:13
eerythe tooling around rpm and dpkg is really ... enormous and, uh, hacked together14:14
eerycompared to a more "modern" distro, like say Void, where it takes about an afternoon to figure out how the package manager works and how releases/images are created14:14
joschthe problem in Debian is, that people cannot agree on a single way to do things. So instead maintainers have 20 different options how they want to package their stuff and there is literally no Debian Developer who knows all of the ways how stuff can be packaged. Modern distros have a single way to do things and that's really nice.14:17
eeryIt's definitely a problem, but it's also really hard to beat the sheer inertia of dpkg and rpm (and apt-get and yum/dnf and whatever else)14:19
eeryI've not looked too deeply into it, but I think fedora tries to "solve" the problem through aggressive usage of (really) heavy containers and really exhaustive scripts for setting up build environments :|14:19
eerysomething something Mock14:19
sigridvoid linux gave me the least amount of pain and suffering14:40
- qwer (QUIT: Remote host closed the connection) (~qwer@89-24-41-218.nat.epc.tmcz.cz)14:52
+ qwer (~qwer@89-24-41-218.nat.epc.tmcz.cz)15:05
Boostisbetterhello everyone from a Purism Librem 5. Hope my fellow Reformers are doing well.15:45
minuteBoostisbetter: hello from a Pocket Reform with the same SoC.15:46
bkeysWhat is the estimated price of a pocket reform going to be?15:47
Boostisbetterminute: want to trade? 🤣️15:47
bkeysApparently the stuff to repair my reform came in a few days ago; hopefully I get it back in my hands soon15:48
minuteBoostisbetter: no :D15:48
Boostisbetterminute: i'm super pumped for the Pocket.15:49
Boostisbetterand i understand wanting to trade. if i was you i wouldn't want to either.15:49
Smith42The pocket reform looks so cool! Do we have an estimated release date?15:57
minutenot yet16:06
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)16:10
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)16:30
vagrantccurious how feasible it would be to use the mnt reform2 CPU module on the pocket reform ...17:09
vagrantcor if it is fundamentally incompatible in some way...17:09
vagrantcguess the crowdfunding page says it's possible17:10
joschin that sense it would also be interesting if it will be possible to buy the pocket reform (or even the big reform) without any CPU module?17:19
vagrantci was most interested in a ram upgrade :)17:22
vagrantcwould be curious to see how the pockey keyboard layouy works ... might like that better than the mnt reform2 layout17:26
minutevagrantc: i am using that module in this very moment17:42
vagrantci presume some fiddling with device-tree or whatnot?17:43
minuteyeah, it has a different dts than reform17:48
minutefor example, it uses a mipi dsi display directly17:48
minuteand a different audio chip17:49
- Smith42 (QUIT: Ping timeout: 244 seconds) (~Smith42__@147.197.221.58)18:23
sigridhave anyone using the trackball started experiencing any kind of strain in your wrist/fingers at any point?18:46
sigridnot sure it's related in my case but just trying to find the reason :)18:47
minutesigrid: hmm for me it was more like the opposite... i.e. strain from mouse and less from the trackball. but probably everyone is different18:48
sigridmy desk situation sucks (it's a bit higher than I would like it) so who knows, many variables18:50
sigridI used mnt for months with a better desk before moving to a new place, did not experience any problems18:50
Boostisbettersigrid: it could just be the front of the reform case and your wrists and the angle that you are using it.19:06
+ monkeybusiness (~monkbusy@user/monkeybusiness)19:43
BoostisbetterI know that with me, when I am using the laptop when I am angled as coming down on it with my arms, that I can use it for much longer. I love the design of the case though. It almost single handed brought me to buying the Reform. 20:14
BoostisbetterNow that being said, as I just got my Librem 5 phone, I have to say that while Purism has really done alot of great work on the phone, that I really think the SoC shines in the Reform. I find that I am just trying to use the phone in the same way that I use the Reform, and I think this is why I am so looking forward to the Pocket Reform. 20:15
jfredsigrid: Are you using the original stock trackball cup without metal bearings or the newer one with them? The older one would have given me arm pain (I have RSI, many things do) but the newer one mostly does not20:51
sigridI think it's a new one20:55
swivelfwiw i used to get some RSI-like pains ages ago but everything along those lines disappeared once I started doing pushups daily, i suspect having any strenuous activity mixing it up a bit would help21:00
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@id-328183.tinside.irccloud.com)21:06
Boostisbetteryep, strength training is the surprising answer to a great many questions / problems. 21:14
+ ajr (~ajr@user/ajr)21:16
- mjw (QUIT: Killed (NickServ (GHOST command used by mark__!~mark@gnu.wildebeest.org))) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)21:43
* mark__ -> mjw21:43
+ wielaard (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)21:44
+ Smith42 (~Smith42__@2a02:c7c:3899:a300:26ec:99ff:fe5b:dfb6)22:00
- bkeys (QUIT: Read error: Connection reset by peer) (~Thunderbi@static-198-54-135-69.cust.tzulo.com)22:06
+ bkeys (~Thunderbi@static-198-54-135-69.cust.tzulo.com)22:07
minutesigrid: maybe you could use an external mouse with it for a while to test if there's a difference 22:11
sigridhmm, that's a good idea22:11
sigridI'll do that22:11
- Smith42 (QUIT: Ping timeout: 268 seconds) (~Smith42__@2a02:c7c:3899:a300:26ec:99ff:fe5b:dfb6)22:20
- monkeybusiness (QUIT: Ping timeout: 252 seconds) (~monkbusy@user/monkeybusiness)23:28
+ monkeybusiness (~monkbusy@103.87.94.35)23:34
- monkeybusiness (QUIT: Changing host) (~monkbusy@103.87.94.35)23:34
+ monkeybusiness (~monkbusy@user/monkeybusiness)23:34

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