2023-07-07.log

+ jacobk (~quassel@2603-8080-b200-7b02-77cb-6304-f9db-dda1.res6.spectrum.com)00:02
- jacobk (QUIT: Ping timeout: 246 seconds) (~quassel@2603-8080-b200-7b02-77cb-6304-f9db-dda1.res6.spectrum.com)00:09
- mjw (QUIT: Ping timeout: 240 seconds) (~mjw@gnu.wildebeest.org)00:43
+ jacobk (~quassel@2603-8080-b200-7b02-77cb-6304-f9db-dda1.res6.spectrum.com)00:44
- Boostisbetter (QUIT: Ping timeout: 245 seconds) (4a410829d7@irc.cheogram.com)00:54
- jacobk (QUIT: Ping timeout: 246 seconds) (~quassel@2603-8080-b200-7b02-77cb-6304-f9db-dda1.res6.spectrum.com)00:59
+ jacobk (~quassel@2603-8080-b200-7b02-77cb-6304-f9db-dda1.res6.spectrum.com)01:46
- deflated8837 (QUIT: Ping timeout: 260 seconds) (~deflated8@50.53.206.61)01:57
+ sl (~sl@contrib.inri.net)01:57
- jacobk (QUIT: Ping timeout: 246 seconds) (~quassel@2603-8080-b200-7b02-77cb-6304-f9db-dda1.res6.spectrum.com)02:02
- mtm (QUIT: Ping timeout: 245 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)02:03
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)02:07
+ deflated8837 (~deflated8@50.53.206.61)02:11
+ jacobk (~quassel@47-186-122-163.dlls.tx.frontiernet.net)02:31
- nsc (QUIT: Ping timeout: 245 seconds) (~nicolas@133-48-142-46.pool.kielnet.net)03:39
+ nsc (~nicolas@39-98-142-46.pool.kielnet.net)03:40
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)04:09
violethmm, still not seeing HDMI output even after the kernel update to 6.305:19
- sl (QUIT: Quit: Leaving...) (~sl@contrib.inri.net)05:31
violetlike the display does not even show up in /sys/class/drm the way the eDP does05:34
violeti found this https://source.mnt.re/reform/reform-debian-packages/-/blob/main/linux/imx8mq-mnt-reform2-hdmi.dts but this does not seem to be whats in my dtb in /boot that i installed last night from the repos05:59
violetbecause i converted my dtb back to dts and the only hdmi related thing in it was the clock05:59
violetoooh can the imx8mq not drive both the internal and external display simultaneously? do i need to swap device trees based on what display i want06:15
violeti wonder if i could pick that at bootup somehow like selecting a boot entry or holding a key 06:22
violetoh i checked the logs, i see the "reform-display-config" script now, will try that06:24
violetok well that did not break antyhing at least and its set to the hdmi dtb now but still no hdmi display. maybe im missing a module in the initramfs-tools/modules06:31
joschviolet: you indeed have to swap the dtb u-boot loads which is done by editing /etc/flash-kernel/machine and regenerating the initramfs06:34
joschviolet: the reform-display-config script automates that06:34
joschviolet: can you tell me the output of this command:06:34
joschcat /proc/device-tree/model06:34
violetMNT Reform 2 HDMI06:34
joschokay, that's good06:35
violetit was MNT Reform 2 before but i just swapped the device tree to the HDMI one and rebooted06:35
joschthen you successfully loaded the correct dtb06:35
joschwith that dtb you can get both the internal display and hdmi at the same time06:35
violetno difference in flash-kernel or initramfs-tools configs from the v3 image06:35
violetso im not sure why i still cant see the external display06:36
josch"no difference in flash-kernel or initramfs-tools configs from the v3 image" -- what do you mean by that?06:36
violeti ran `diff` over /etc/initramfs, /etc/initramfs-tools, /etc/flash-kernel,  /etc/default/flash-kernel06:37
violetthe only difference is on my machine the flash-kernel machine is switched to MNT Reform 2 HDMI vs the v3 image rootfs has MNT Reform 2 the internal display only one06:38
joschthat is expected06:39
violetright06:39
joschyou are probably on linux 6.3 right? what could've happened is that i accidentally broke hdmi when rebasing the cadence patches06:41
violetyeah im on 6.306:41
joschlast time i used hdmi with my reform was around the time of kernel 5.1806:41
violeti can try and hack on it when i get my gentoo install up and running06:46
violetim not very comfortable on how to properly build and use custom kernels on debian06:46
+ Boostisbetter (4a410829d7@irc.cheogram.com)06:47
- klardotsh (QUIT: Ping timeout: 246 seconds) (~klardotsh@98.97.36.213)08:26
joschminute: this is how a split pipeline would look like: https://source.mnt.re/reform/reform-debian-packages/-/pipelines/104309:11
joschminute: would that help?09:14
+ mjw (~mjw@gnu.wildebeest.org)10:50
- mjw (QUIT: Ping timeout: 264 seconds) (~mjw@gnu.wildebeest.org)12:02
* mark_ -> mjw12:03
minuteviolet: how many cards in /dev/dri?12:36
minutebtw josch i am running the new kernel 6.3.0-2-reform2-arm64, Debian 6.3.11-1+reform20230706T205126Z1 (2023-07-06) on my imx8mq machine and so far everything is fine12:43
minutenvme, wifi, display, sound, ethernet, mmc, usb...12:44
minutei will test hdmi now12:44
minutehmmm, `reform-display-config --emmc dual` did not have the desired effect, /proc/device-tree/model is still just "MNT Reform 2"12:59
minuteupgrading reform-tools just in case13:00
minuteyeah, reform-display-config is broken for me13:12
minuteit does not switch the dtb13:13
joschminute: but it did change /etc/flash-kernel/machine?13:14
minuteso /etc/flash-kernel/machine has the right entry13:14
minuteyep13:14
joschdoes reform-check show anything funny?13:14
minuteso flash-kernel doesn't do the job...13:14
minuteyeah, it says "your currently loaded dtb is not the one referenced by flash-kernel"13:14
minuteflash-kernel also replaces the boot.scr, right?13:15
minutefunky "the reform repository is not known to apt"13:15
minutethat's not true though, it is in /etc/apt/sources.list.d/mnt-research-debian.list13:16
minutejosch: how does flash-kernel actually manifest the chosen dtb on /boot?13:18
minutethere are 2 symlinks that look correct13:18
minutedtb -> dtbs/6.3.0-2-reform2-arm64/freescale/imx8mq-mnt-reform2-hdmi.dtb13:18
minutedtb-6.3.0-2-reform2-arm64 -> dtbs/6.3.0-2-reform2-arm64/freescale/imx8mq-mnt-reform2-hdmi.dtb13:18
minuteand there is an older symlink dtb-6.1.0-reform2-arm64 -> dtbs/6.1.0-reform2-arm64/freescale/imx8mq-mnt-reform2.dtb13:19
minuteaha.13:19
minuteonce again the problem is that $fdtfile is set in my uboot13:19
minutewhich overrides the choice made by the symlinks i guess13:19
minuteok, /proc/device-tree/model is correct now13:21
minutebut i think now the hdmi module is not loaded13:21
minutethis might be the same issue that violet is encountering13:21
minutesomething is very, very wrong13:23
minutecdns_mhdp_imx.ko is missing13:24
minute> modprobe: FATAL: Module cdns_mhdp_imx not found in directory /lib/modules/6.3.0-2-reform2-arm6413:25
minutedrivers/gpu/drm/imx/cdns/ is missing the source files huh13:29
minuteit only has Makefile and Kconfig13:30
minutejosch: something got mangled here https://source.mnt.re/reform/reform-debian-packages/-/commit/9bf2da76cc48936eee4602d2be981b02022d3f31#b51533daeec03dd6cabd81f6a9508db1a851775f_45_4613:32
minutejosch: it looks like you moved the cdns-imx stuff to their own files in a new subdirectory "imx/cdns", but you didn't move the source files there. what was the motivation behind this?13:36
- mtm (QUIT: Ping timeout: 264 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)14:04
minutenote for later, should we ever want to search for a311d reform audio issues https://libera.irclog.whitequark.org/linux-amlogic/2023-05-2614:14
Boostisbetterminute: is there anymore testing that is needed on the Pocket Reforms in their current state?14:30
joschminute: funny and just recently i pointed out how unlikely it is that nothing broke yet with my rebases of the cadence stuff :D14:36
joschminute: my reasoning was, that in 6.3 the other sources in the directory got moved into their own subdirectories14:36
joschminute: so the patches to the Makefiles didn't apply anymore as now the original makefile got split into multiple sub-makefiles each in its own subdirectory14:37
joschminute: i must've forgotten to move all the files -- i wonder how things still compiled nevertheless14:37
minuteBoostisbetter: not sure what you mean!14:50
minutejosch: yes, that's really strange14:51
minutejosch: do you want to attempt a fix?14:51
minutejosch: my guess is it compiled because the subdirectory was ignored14:52
minutejosch: because you would also need to include this subdirectory in the makefile of the parent dir14:52
joschminute: i'll not get to doing that until some time during the weekend. If you manage to do it before then please go ahead. :)14:54
minutejosch: thank you! idk if i will manage but lets see14:55
joschthe limiting factor is the 6 hour build time of the kernel on my system :)14:57
joschindeed cdns_mhdp_imx.ko is missing14:59
joschi'll add this as a check to reform-check...14:59
joschthe other open question is what is up with your $fdtfile variable...15:02
joschminute: so in reform-boundary-uboot we set fdtfile to freescale/imx8mq-mnt-reform2.dtb15:03
joschthis is obviously wrong for the hdmi dtb15:03
joschbut setting this is needed to boot for example debian-installer which expects some reasonable default15:04
joschso what we are shipping with reform-tools is a flash-kernel preboot script which checks:15:04
joschif test -e ${devtype} ${devnum}:${partition} ${prefix}dtb-${fk_kvers}; then setenv fdtpath dtb-${fk_kvers}; fi15:04
joschminute: do you have that in your /boot/boot.scr?15:04
minutejosch: yes, but i think it is ignored if $fdtfile is baked into u-boot15:06
joschfdtfile is baked into u-boot yes15:07
minutejosch: why does debian-installer care about a variable set in u-boot?15:07
joschat the top of boot.src $ftdfile (if it is set) is used to set $fdtpath which will be used at the bottom15:07
minutejosch: ok, so that means that reform-display-config cannot change the dtb15:08
joschminute: because it uses extlinux.conf15:08
joschwhat reform-display-config does is change /etc/flash-kernel/machine and then re-runs flash-kernel which in turn changes the symlink15:08
joschand the preboot script then resets $fdtpath to dtb-${fk_kvers}15:08
joschbut only if the symlink exists -- which is the case for us but not on the d-i media15:09
minutejosch: i think the last part does not work for me15:11
minute$fdtfile is always used, except if it is empty15:11
minuteif it is empty, the correct file is loaded via the symlink15:11
joschbut why would it be empty? it is hardcoded15:11
minutejosch: i have to set it manually to be empty15:12
minutejosch: i.e. i stop the autoboot and do "setenv fdtfile", then it does the right thing15:12
joschyes, that makes sense15:12
joschthe question is why it doesn't work for you with ftdfile set to something but it did work for me15:12
joschmaybe something changed15:12
joschi didn't try out hdmi for several months15:12
minutehmm :315:12
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)16:10
Boostisbetterminute: Don't take this the wrong way. I like IRC, and I enjoy this channel. I am curious though why you went with IRC over something like XMPP or Matrix?16:44
Boostisbetterminute: also the start page picture for mnt.re is fantastic. Well shot and a great showcase of greating looking computers and accessories. 16:45
minuteBoostisbetter: basically noone uses XMPP, and matrix did not seem very reliable for the basic job it has to do16:56
minuteBoostisbetter: thank you!!16:56
minutei am lurking in some matrix channels so i might reevaluate that at some point16:57
minutelibera has told matrix they can't bridge anymore, right? because they did a bad job with their bridge afaik16:57
minutei am thinking more in the direction of, maybe it would be possible for us to offer a web based client for this channel that also has searchable access to the history16:58
Boostisbetter> libera has told matrix they can't bridge anymore, right? because they did a bad job with their bridge afaik17:07
BoostisbetterI was bridging from matrix for a while but the sync was out of wack several times. I am bridging from XMPP now and it works VERY well. 17:07
Boostisbetterminute: If you think nobody uses XMPP but people use IRC, I think you'll be pleasently surprised. 17:08
BoostisbetterI mean I don't see a problem with using IRC as it is the lightest of the lightweight chat platforms. I'm just curioused why you chose the most obscure from my perspective. 17:09
minuteBoostisbetter: ok, maybe it is just very subjective, but i don't personally have contacts who use xmpp17:12
sigridirc? obscure? heh17:12
minuteBoostisbetter: IRC is very commonly used for development chatrooms for FOSS software and kernel stuff17:13
minuteso that's my main usecase17:13
minutei'm currently writing my keynote talk for FSIC2023 that i have to give monday morning at sorbonne in paris17:14
minutei wish i had already written it :D17:14
+ mark_ (~mjw@gnu.wildebeest.org)17:15
joschBoostisbetter: everything I do for Debian either uses IRC or email. I don't know of people in the project who use matrix or xmpp to communicate project-specific matters.17:16
Boostisbetterhmmm, nheko has a Matrix channel17:17
joschI use xmpp to talk to friends. I'm running my own server (ejabberd) and haven't yet found a matrix server that is lightweight nor a matrix client that is lightweight. Clients seem to be very web-focused instead of text-focused.17:17
BoostisbetterI know of that one. 17:17
Boostisbetterjosch: Nheko reborn is very lightweight given the huge amount of functionality it exposes. 17:17
Boostisbetterjosch, 17:17
joschI'm using nheko to chat with clapper developers. It is a lot slower than my IRC or XMPP clients.17:18
Boostisbetterjosch: I hear you regarding the bloat. 17:18
Boostisbetterjosch, do you use Dino for XMPP, it is very good. 17:18
joschBoostisbetter: you were wondering why i never had any problems with the slow processor and 4 GB of ram, so... ;)17:18
joschI tried dino and ran into a lot of bugs.17:18
joschtheir last release is from march...17:19
Boostisbetterjosch, one other thing I would say, is that like you I spent a lot of time not liking Matrix. I thought it was unnecessary and that they should have just improved XMPP. But now that i run my own instance, I can see that the memory and CPU requirement are VERY near to my old Rocket Chat server. 17:19
BoostisbetterThat is to say that it has been greatly improved, and there are a ton of really nice improvements coming. 17:19
joschi might re-evaluate things in the future17:20
joschbut right now everybody i chat with either uses irc or xmpp so i'm fine :)17:20
Boostisbetterjosch, I am using Dino 4.2 and it works great on Linux. On Linux and Windows, I only use Dino. Everything else has been buggy and missing features. 17:20
Boostisbetterjosch, so what do you use for XMPP? Gajim?17:20
joschprofanity17:23
joschmy partner uses Conversations on android17:23
joschand a friend uses gajim17:23
BoostisbetterSorry if I have brought this up before. I really like hearing about peoples computing preferences. And then finding out why. 17:23
josch(and is unhappy with the new interface)17:23
BoostisbetterConversations on Android is the best XMPP client currently available. 17:23
sigridthere is no matrix client on plan 917:24
Boostisbetterweb client (element) a no go?17:24
sigridthere are, however, clients for irc and xmpp17:24
sigridno17:24
Boostisbetterare you sure there isn't a terminal client that can't be used?17:24
sigridno17:24
BoostisbetterThere are really a lot of matrix clients. 17:24
Boostisbetterbut i hear you, that is a bad on the matrix community. 17:25
Boostisbetterminute: forgive me asking about this, but the MNT community is one of the brightest I know, and I am really curious about this. 17:25
BoostisbetterI am wondering what the MNT crowd thinks about the Librety Phone from Purism (basically using the 4gb / 128gb eMMC variant that the Reform has been using, well sans the 128gb eMMC)17:26
BoostisbetterPersonally I see it as compelling. I like that it is manufactured, for the most part, in the US (as I'm American, and I really feel that manufacturing needs to be brought back from China) despite the really high price. I admit that this price is out of reach for many people that would otherwise want it. 17:27
BoostisbetterThe other thing is that it is at its best when using Convergence, but then Phosh kind of lets you down, because it just is no where as good as Sway. 17:27
BoostisbetterBut if the phone is best as a laptop, then a Reform just makes way more sense, and that has been my experience as well. 17:28
BoostisbetterI also REALLY love that the Reform is using plain vanilla Debian. 17:28
BoostisbetterI really just can't wait for the Pocket. I have so many plans for that thing already. 17:29
BoostisbetterAnd the Reform has a seriously timeless design. It is robustly build and meant to last. Where as the kill switches on the Librem 5 just feel like they will break very easily. And then there is the whole issue with Purism's transparency and shady business practices. 17:31
Boostisbetterminute: and finally one serious question: When the Reform is plugged in and charging is finsihed. The LPC reports that the incoming or outgoing voltage is 0V. Does this mean that the wall adapter is powering everything and not the batteries?17:33
q66the purism phone is absolutely worthless17:33
Boostisbetterq66: would you care to explain? I have one and i wouldn't go that far. 17:33
q66costs too much for what you get and is probably made by people who think bitcoin is the future17:34
q66if i were to spend a bunch of money on a relatively underpowered but open device i'd much rather throw it at mnt because at least that's cool and not sketchy17:35
Boostisbetterq66: I can agree with that for the most part. I think crypto is a gold rush and a terrible waste of power and silicon. 17:35
Boostisbetterq66: I will say that I kind of seperate purism developers from purism itself. From that perspective, they have done A HUGE amount of work for the linux phone as whole. That part should be acknowledged at least. 17:36
q66i won't separate people from the product17:36
Boostisbetterbut like you, their shady business practices fly directly in the face of what they say they represent. 17:37
BoostisbetterMNT has NEVER done anything like that, and has always been up front and genuine. I notice, and VERY much respect and appreciate that. 17:37
BoostisbetterIn fact if Lukas would create a Linux phone himself, I would be one of the first to buy it. 17:38
q66in any case even if purism was perfectly clean a $2200+VAT raspberry pi 3 is just too much no matter how you look at it17:39
q66and "made in the USA" is hardly a selling point for anything17:39
BoostisbetterI think the cost is inflated some, but I think the cost of manufacturing it in the US instead of China is significantly more expensive. If that doesn't appeal to someone now in the US, then it doesn't make sense, and that is a problem. 17:39
Boostisbetter$1200 will get you the Chinese made one. 17:40
q66which is already too much for what you get17:40
BoostisbetterCost is relative, but software is the MOST expensive part of any product. 17:40
Boostisbetterby far the most difficult as well. 17:40
Boostisbetterso I can understand the prices to a degree, but that doesn't mean that average customer will, and that is another problem. 17:41
BoostisbetterStill let's not belabor this. I agree with Purism not being trustworthy. The usefulness of their product is something else. I can respect your opinion on it. 17:41
BoostisbetterI love my Reform and can't wait for the Pocket. 17:41
- mark_ (QUIT: Ping timeout: 260 seconds) (~mjw@gnu.wildebeest.org)17:48
Boostisbetterjosch and minute: is it really by you all as well today?17:57
BoostisbetterKind of nice that the Reform is passively cooled, and doesn't really vent heat into the room like an active cooling solution would. 17:57
joschBoostisbetter: i admit i fail to parse what you said in your second to last message :D18:17
minuteBoostisbetter: fwiw, the imx8mq and imx8mplus modules we use are also manufactured in the USA (by boundary devices)18:18
Boostisbetterjosch: yeah typo. I was asking if it was hot by you all today as well. 18:18
Boostisbetterminute: well that is rad. I also really like made in Germany things as well. 18:18
minuteBoostisbetter: the laptops are assembled by us here in berlin. the metal is cut in china. the pcbs are etched and soldered in china.18:18
minutesome of the pcbs and rework we do here of course18:19
Boostisbetteryep, you all have a model manufacturing and assembly model going on. I really like it. 18:19
minutewe also have assembled all of the motherboards etc by hand several times18:19
minutebut we don't have pick and place machines, so for the runs, we outsource that18:19
minutewe can't afford a pick and place machine and the setup time/work it requires. otherwise that would be very interesting. most of our PCBs can be also made in other places, like at aisler. we also had some PCBs made in bulgaria during the early covid outbreak in china18:20
minutebut we don't only go to pcbway because it is more affordable (they are also by far not the cheapest pcb house in china), but also because they are very experienced and flexible18:22
Boostisbetterminute: I think you have it all pretty figured out nicely. 18:31
sigridnoam: coming back to temperature question - I look at it right now and it's 49°C cpu / 50°C nvme18:35
Boostisbetterminute: are you attending All Systems Go 2023 in Berlin this year?18:35
Boostisbetteror josch 18:40
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)18:41
joschBoostisbetter: travelling is really hard for me because of my baby at home so for the next few years, I'm keeping any time I spend outside my home town to a minimum :)18:44
Boostisbetterjosch, totally understand. Right on!18:44
BoostisbetterIs there a way to know on the Reform when you should reboot after updating, if you did it via the console?18:55
joschBoostisbetter: when you update the kernel you might want to (but don't have to) reboot18:56
Boostisbetteryeah, I know. I was just curious if there was a way to know if it would be a good thing. 18:56
joschthere are some mechanisms for desktop environments where you get a popup18:57
Boostisbetteryeah, not really on Sway though. I love Sway18:57
noamsigrid: yeah, it's normally not that hot for me either...19:01
noamI have a few hypotheses, but I'm not sure what the real answer is 19:01
noam1. Maybe it doesn't like if I leave it plugged in when it's fully charged, but... that doesn't sound right, to me19:02
noam2. Maybe the desk I'm putting it on cannot dissipate heat quickly enough, so the case hits a thermal limit, and then the heat sink and then the CPU stop having anywhere to put the heat19:02
joschi have my reform 22/7 plugged in on top of a couch cushion19:03
josch65°C19:03
sigridmine's always plugged here19:06
noamCould be a different revision, though ;)19:11
noamMine's through crowdsupply, and I think theirs are all the older stock still?19:12
noamThe mobo has microUSB, not USB-C, for instance19:12
noam...it's probably not that, though. I think it might be a combination of the desk inhibiting the heat dissipation, and the outdated trackball firmware spamming the CPU with wakeups and preventing it from ever hitting deepest idle states, and thus generating more heat?19:13
noamI'll have to science it19:13
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)19:19
sigridmine has no usb-c19:21
sigridi got it in the end of 2021 iirc19:21
noamGotcha, thanks for the data :)19:23
noamAnd I didn't even have to inject malicious JS to your computer to gather it! /s19:23
Boostisbetter> The mobo has microUSB, not USB-C, for instance19:39
BoostisbetterI don't believe that USB-C is coming to the Reform platform, rather to the Pocket. 19:39
Boostisbetterbtw, does anyone have a good GUI based IRC client for the Reform?19:40
noamHuh, I thought the newer boards had USB-C already? Guess I was wrong /shrug19:44
Boostisbetterthe other great thing about the Pocket is that it charges using USB C PD19:45
noamSo, you mean, I wouldn't be able to plug it into the sun? :P19:49
noamwhich, oh! Does 100% absolutely work :D19:49
+ amospalla (~amospalla@212.231.228.113)19:50
Boostisbettersolar panel through a usb c would work. 19:51
noamI don't have USB-C, I have + and - wires19:51
amospallaHi guys, is the official Pocket Reform image still supposed to run under Debian unstable?19:52
noamand, unlike DC, I can't just make a USB-C cable19:52
Boostisbetterwell then on the normal Reform you can easily wire that to a barrel19:52
amospallaI'm planning on maybe moving my main O.S. on my current desktop, depending on what the reform will be running upon.19:52
noamBoostisbetter: that's what I'm saying19:52
noamOne sec, pics are easier19:52
noamBoostisbetter: https://pixelhero.dev/tmp/cable.jpg19:53
noamI made that cable last night using a DC jack, some stranded 14AWG wire, a soldering iron, and electrical tape :P19:53
noamThen I just use a double-sided barrel jack to plug it in to the Reform :)19:54
noamUSB-C is just a tiny bit harder to rig up like this :/19:58
noamI do need to figure it out, though, for everything else - e.g. work laptop19:58
minuteBoostisbetter: nope. the next thing for me after fsic2023 is the cccamp 20:00
joschamospalla: the official reform image is using Debian unstable but i'm currently setting up a machine creating Debian stable (bookworm) images as well20:01
noamminute: the reform charged successfully both directly off of the solar panels (through some truly horrifying DIY-ed adaptor cables :P) and through the charge controller+battery. The Reform has been the single easiest thing to charge off of solar so far :D20:02
noamOnce again, really really liking everything about the design, nice work :D20:02
vagrantcBoostisbetter: there is needrestart and needrestart-session for determining which processes you might want to restart (including rebooting)20:02
vagrantcBoostisbetter: it hooks into apt to nudge you at the end of an apt run20:02
joschnoam: i don't have a solar panel (yet) but i have batteries that give me 12V or 24V DC -- works extremely well there as well. No need for the complication of USB-C but just one + and one - cable.20:04
noamjosch: yeah, the concern with solar was the unstable voltage20:04
noamWith the stabilizing battery, that's probably not even a concern20:04
joschit's so crazy cool that it works despite the unstable voltage :D20:04
noamyeah20:04
noamBoostisbetter: actually, come to think of it, I have a USB-C -> DC cable already, which was meant for going from a USB-C device to charge my thinkpad. I wonder if that will work in reverse? [e.g. run power through the DC end, use that to give 12V to USB-C?] probably not, since USB-C has that weird chip for setting voltage :/20:05
joschI have an old 19 V thinkpad adapter (the rectangular plug) which works perfectly with the reform20:06
vagrantci recently tried a usb-c to barrel plug adapter with the mnt/reform ... and just caused the red charging lights on the mnt/reform to blink on and off again20:07
joschwould the reform not have the 5521 barrel jack i couldn't have repurposed old AC-adapters for new purposes20:07
Boostisbetteryeah, I got a usb c to barrel for the Reform, it works well also. 20:07
- amospalla (QUIT: Quit: Client closed) (~amospalla@212.231.228.113)20:09
vagrantcthe one i had was specced to output 20v ... maybe i just got unlucky :/20:09
noamvagrantc: source port needs to be willing to output 20V20:10
noamand some power supplies are less than happy to do so, even when they're rated to!20:10
noame.g. the portable pinepower can give 20V, and a USB-C <-> USB-C cable will give 20V to my work laptop, a Framework, just fine20:10
vagrantcthe source port definitely supports 20v out ...20:11
noambut a 20V USB-C -> barrel jack cable plugged into it will st u tt t tuut utter20:11
noamthe thinkpad will constantly beep connected/disconnected/connected/disconnected every ~6 seconds20:11
noamThe same cable, in the desktop pine power, works fine20:11
noamand IIRC it works fine with the framework adapter20:11
noamvagrantc: it's not just about supporting 20V, it needs to also support the initial power surge IIUC20:12
vagrantcused on both a pinepower and a coolgear usb-c output rated for 2.4amps at 20v ... works fine with my framework20:12
noamYeah, portable pinepower cannot handle 20V barrel jack20:12
noamI can say that empirically.20:12
vagrantcoh wait, now ... the coolgear is rated for way more than that ...20:12
noamI dunno if it's because the laptop tries pulling more than 65W initially, and the pinepower responds by hard resetting itself, thus entering an infinite loop20:12
noamDual USB-C works fine, because IIUC the pinepower can *tell the laptop* how much current it's willing to give20:13
noamI dunno how all that negotiation garbage works, but it usually *does*20:13
noamUsually20:13
noamI've had issues with it on the framework before :/20:13
noambut with a barrel jack, all bets are off20:13
vagrantcrated for 4.1amp at 20v ... still no dice20:14
noamRather, with USB-C to barrel jack adaptors, all bets are off20:14
joschwhen usb-c works its nice20:15
noamI don't know if it's an issue with the PinePower, the cable, or the interaction between one or both of them and the thinkpad, or what20:15
noamjosch: exactly20:15
vagrantcwould be nice to find one that worked with the mnt/reform ... but probably a lot of hit or miss trials before finding one20:15
noamUSB-C is absolutely *lovely* when it works20:15
joschbut my main issue is that when it doesn't i have no way to diagnose anything20:15
noamIt's just that its failure modes are horrendous20:15
sknebelpeople on the forum have listed usb-c->barrel adapters that work with the reform20:15
joschyup, i'm using one. it's nice when i travel with my partner and all we take to charge our things is a single usb-c wall plug20:16
noamI might just buy a bunch of USB-C jacks with the pins exposed so I can make my own USB-C -> barrel jacks that I can confirm 100% work with the reform20:16
vagrantcsknebel: ah, good idea20:16
noamand with everything else, in both directions20:16
noamThis is the path that leads to me making my own PSU XD20:17
vagrantci honestly forget to even look at forums ... kind of outside my usual workflow20:17
noamHaha, my portable 250Wh battery *refuses to charge* off of the solar battery lol20:22
noamIt's pulling maybe 5W. Maybe.20:22
noamIf I unplug it and plug in the reform, I can pull 40W easily; the cables are rated for at least 15A (at 12V!), and the battery _can_ charge off of the solar panels directly. I'm going to have to make a _second_ barrel jack, plug that one in parallel with the controller into the panels, and only use _that_ to charge the portable battery lol20:23
+ mark_ (~mjw@gnu.wildebeest.org)20:44
vagrantcwhoah. i never realized that the barrel plug on the mnt/reform seems to work with 5.5x2.1mm barrel plugs ...20:48
vagrantcthe power supply that came with it looked more like 5.5x2.5mm20:48
noam...wait, is it?20:50
vagrantchuh. or not. i've just been using a 5.5x2.5 adapter all this time for no reason ... worked, though20:51
noamphew20:52
noamhad me worried!20:52
minutenoam: that's great to hear @ solar20:59
sknebelis the charging current software-controlled? could it in theory offer a setting (e.g. in the OLED menu) to limit power usage if one wanted to charge from a weaker power source?21:02
minutenope, unfortunately not21:04
minutewell21:04
minuteone could do some sort of PWM21:04
minuteso in the lpc firmware you could rapidly switch the charging on and off21:04
minutei wouldn't do this unless i had a spare motherboard to experiment with though :D21:04
sknebelyeaah, that sounds dicey21:10
sigridI think that's usually the job of the solar/battery controller21:11
sigridbut I guess if the power source is very stupid, it would make sense21:12
minuteso yeah, your power source should have its own limiter21:15
noamHmmm, I'm kinda tempted to look at modding the LPC firmware to allow more control of charging from the OS21:15
noamSo that I can e.g. write a script for 9 that kills charging at ~60%21:15
minutethat should be quite doable21:18
+ mtm (~mtm@c-71-228-84-213.hsd1.fl.comcast.net)21:25
sknebelvagrantc: https://community.mnt.re/t/will-we-be-able-to-usb-power-mnt-reform/241/ was the thread I was thinking of21:28
noamTerrible idea for reform3: have two copies of the system controller, both equally capable of applying power to the voltage lines21:29
noamSo that one of them can be flashed from the SoC while the other keeps it powered :P21:29
noam[I did say it was terrible]21:29
minutelol21:29
minutei think it would be possible with some trickery to make the LPC flash itself21:30
vagrantcsknebel: yeah, i've been looking over that21:30
+ klardotsh (~klardotsh@98.97.114.50)21:35
joschvagrantc, noam: it's a 5.5 x 2.1 mm barrel jack: https://source.mnt.re/reform/reform-handbook/-/merge_requests/7/diffs21:40
josch5.5 2.5 plugs fit as well but more loosely21:40
vagrantcyeah, don't know how i got the idea in my head21:41
vagrantcsome 5.5x2.5 plugs are springy to intentionally handle this sort of thing21:41
vagrantcalthough the plug i have been using is not springy but ... works anyways, to my surprise21:42
vagrantcthough happy to discover that 5.5x2.1 work ... as that is what i mostly have21:42
noamoh, we could probably do some sorta A/B flashing scheme, couldn't we? Have it split flash in half, copy an image from the host to the secondary, and then swap which one is secondary and reboot itself? Not sure we can reboot it without it taking down the main board, though :P21:43
vagrantchigh availability DIY laptop21:43
vagrantchot swappable power supplies with hot swappable batteries and hot swappable cpu and ram ...21:44
sigridnoam: also https://mntre.com/reform-irc-logs/2022-09-10.log.html#t09:53:3921:45
noamnice, thanks21:46
violetminute: awake now if there's any debugging you'd like me to do on my system22:04
violetper your question about /dev/dri i have card0, card1, render12822:06
violetand confirming i do not have cdns_mhdp_imx in my modules dir22:09
violetthere is cdns_mhdp_drmcore.ko and cdns-mhdp8546.ko22:09
joschviolet: thank you for confirming!22:09
joschviolet: i'll try to find some time to fix this issue over the weekend22:10
violetcool!22:10
Boostisbetterso I have asked this question for, but I already forgot. Because I use suspend a lot I have a lot of cases where the system crashes. I have to turn it off and then turn it back on, booting from a cold start. 22:31
BoostisbetterSo far I have noticed any serious issues with this, but I am curious if this is hurting my nvme drive or messing up my system. 22:31
noamheh22:37
noamBoostisbetter: my nvme reports Unsafe Shutdowns: 5522:37
noamit's fiiiiine22:38
Boostisbetternoam: how do you check for that?22:38
Boostisbetteralso good to here. 22:38
Boostisbetteralso good to hear22:38
noamIt's PROBABLY fine22:39
noamBoostisbetter: I just cat /dev/sdN0/smart22:39
noamdunno how to get it on non-9 tbh22:39
sigridsmartctl22:39
Boostisbetternoam: yeah forgot you were on plan 922:40
sigridchances are, when the laptop goes into suspend nvme caches are flushed, so I don't expect you to lose any data if wakeup did not work22:40
sigridand I doubt it will cause any effect on nvme22:41
Boostisbettersigrid: that is great to hear. If this was not the case, I was thinking about a possible way to prevent damage when the resume doesn't work. 22:42
BoostisbetterGlad that it isn't really something I need to be worried about. 22:42
- klardotsh (QUIT: Ping timeout: 245 seconds) (~klardotsh@98.97.114.50)23:05
+ klardotsh (~klardotsh@98.97.36.213)23:16
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)23:57

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