2022-08-25.log

vkoskiv_How have you all bound the 'systemctl suspend' command in sway?00:09
minutesuper+f1200:10
minutequite arbitrarily00:10
vkoskiv_That seems reasonable.00:10
vkoskiv_Near the circle key feels logical00:11
vkoskiv_Shows ~109mA current draw while suspended, so with ~12.8Ah, that would theoretically be 117 hours of suspend before the batteries run to 0?00:23
vkoskiv_Is my math correct?00:23
vkoskiv_Not planning on testing that until I have battery protection in there, of course :D00:23
vkoskiv_But makes me feel pretty safe to use the suspend in daily usage and not have to worry about the thing running low too soon.00:24
minutevkoskiv_: the math is not correct, sorry.00:31
minutevkoskiv_: you only have 1.8Ah at the combined voltage00:32
minutevkoskiv_: so it's more like 10-16 hours00:33
sigrid109mA sounds like ⅓ of the usual idle consumption, at the very least00:33
sigrid⅓-½00:33
minuteyes, that's about right00:34
minutei think deeper sleep is possible with more research00:34
minuteif i'm not mistaken 1 core stays online00:34
sigridoh...00:34
sigridI thought that *was* deep sleep and was surprised it drew this much00:34
minutethere's some erratum also that i don't 100% understand yet00:35
sigridis it available in the giant ref manual pdf?00:35
minutehttps://www.nxp.com/docs/en/errata/IMX8MDQLQ_1N14W.pdf00:36
minutehttps://www.nxp.com/docs/en/errata/IMX8MDQLQ_2N14W.pdf00:36
sigridohhhh this is very useful, thanks00:36
minute(we have AA chips so i think we have only 1N14W in the field)00:37
sigrid9front currently runs really well for cinap_lenrek, but for me it sometimes doesn't tick the arm clock on core 0 after cold boot00:37
sigridmaybe those docs have something related, I will check00:37
minute> e11171: CA53: Cannot support single-core runtime wakeup00:38
+ bkeys (~Thunderbi@static-198-54-135-69.cust.tzulo.com)00:39
- S0rin (QUIT: Ping timeout: 248 seconds) (~S0rin@user/s0rin)00:39
sigridI wonder if m4 waking up main cores would be possible00:39
minute> USB: Clock must remain on during suspend/resume00:40
+ S0rin (~S0rin@user/s0rin)00:40
sigrid:(00:40
vkoskiv_Now it's showing 0mA draw when in suspend00:47
vkoskiv_And yeah, generally in use it's ~300ish mA.00:48
- ajr (QUIT: Quit: WeeChat 3.6) (~ajr@user/ajr)00:53
- S0rin (QUIT: Ping timeout: 260 seconds) (~S0rin@user/s0rin)00:56
+ S0rin (~S0rin@user/s0rin)00:56
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-69.cust.tzulo.com)01:07
- GNUmoon2 (QUIT: Ping timeout: 268 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)01:45
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)02:04
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)02:20
Asmadeusminute: bit late, but:  `git tag --contains eb893e34309ce2153003f3f2a13cdbfdea939e00` -- it got in 5.1802:53
Asmadeus(ah someone else suggested something with git describe and I missed it when looking if there had been a reply, sorry for the noise)02:56
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)04:10
- GNUmoon2 (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)04:28
+ bkeys (~Thunderbi@static-198-54-135-69.cust.tzulo.com)05:11
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)06:08
- natalie (QUIT: Remote host closed the connection) (~natalie@user/natalie)06:47
+ natalie (~natalie@user/natalie)06:49
cinap_lenreksigrid → 9front currently runs really well for cinap_lenrek, but for me it sometimes doesn't tick the arm clock on core 0 after cold boot10:41
cinap_lenreksigrid: i suggested putting some checks to make sure we dont program 0 or negative value for the timer period10:42
cinap_lenrekit might be a issue on our side10:42
cinap_lenrekbut we didnt continue debugging10:42
cinap_lenreksigrid: it is likely, give that it appears to FIX itself with /dev/reboot?10:45
cinap_lenrekat least we KNOW the arm timer is running, otherwise you wont see the cpu clock measurements10:45
cinap_lenrekthats done sampling the arm timer counters10:45
cinap_lenrekeigther that, or even some issue in the GIC code10:46
cinap_lenreklike doing GIC init twice fixes it somehow10:46
sigridi will check it later today10:53
- rafostar[m]1 (QUIT: Quit: You have been kicked for being idle) (~rafostarm@2001:470:69fc:105::2:52da)11:00
cinap_lenreksigrid: yeah, not going to push you, just saying theres a chance that these issues are our own fault :)11:15
cinap_lenreksigrid: not to blame NXP for it11:15
- qwer (QUIT: Ping timeout: 268 seconds) (~qwer@37.48.8.99)11:36
- mjw (QUIT: Killed (NickServ (GHOST command used by wielaard!~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440))) (~mark@gnu.wildebeest.org)11:44
* wielaard -> mjw11:44
+ mark__ (~mark@gnu.wildebeest.org)11:44
- mtm (QUIT: Ping timeout: 260 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)14:03
+ spiral (~root@spiral.sh)14:10
spiralhey, I'm trying to build MNT keyboard firmware but I get an error related to `display` being defined multiple times https://paste.sr.ht/blob/cdc794827c988fc45cafb065b2992fa45c8deff314:12
spiralI just git cloned from repo, set the standalone keyboard compile flag, and typed `make`, am I missing anything?14:17
- spiral (QUIT: Quit: leaving) (~root@spiral.sh)14:36
- jjbliss (PART: !!unknown attribute: msg!!) (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)15:15
+ jjbliss (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)15:18
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-69.cust.tzulo.com)15:29
+ jjobliss (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)15:35
+ mtm (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)16:08
+ bkeys (~Thunderbi@static-198-54-135-69.cust.tzulo.com)16:12
Boostisbetterminute: are you going to give us a heads up here before the crowdsupply campaign goes live? 16:16
minuteBoostisbetter: sure16:16
Boostisbetteralso for everyone else, if my left speaker on the Reform doesn't seem to be working, what is the quickest way to check that it is properly connected? Do I need to remove the display housing?16:17
KoodaFun, I have the same issue!16:20
minutehuh16:20
Kooda(I need to take a look at the various hardware problems I have… but it’s not easy since it’s my main computer ^^')16:20
minutemaybe it's set to mono?16:20
minuteBoostisbetter: does pavucontrol show 2 channels?16:21
Boostisbetterminute: yes it shows 2 channels. But how do I check if it is mono? 16:21
minutesorry, i don't know at the moment, but it sounds like a software/configuration issue. maybe happened through the upgrade? it's unlikely that suddenly something is wrong with the speaker 16:22
minutei'm in the middle of something, will get back to you later16:22
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-69.cust.tzulo.com)16:31
BoostisbetterThanks! Since I'm riding the Sid wave that is most likely along those lines. 16:35
+ bkeys (~Thunderbi@static-198-54-135-69.cust.tzulo.com)16:39
KoodaBoostisbetter: both channels work fine in the headphones output for me. Is it the case for you as well?16:41
minuteKooda: do all the knobs and sliders in alsamixer look ok?16:46
minute(F6 -> wm8960)16:47
+ oomono (uid328183@id-328183.tinside.irccloud.com)16:48
Koodaminute: yeah they do16:49
sigrid03:38 < sl> seems like only the right speaker is working16:49
sigridsame issue was reported in another channel16:49
Koodaminute: i’ve been fiddling with them just now without success16:49
sigridsl is running 9front, btw16:50
BoostisbetterKooda: yes headphones work great16:50
Boostisbettersigrid: yep right speaker is the only one working. 16:50
+ qwer (~qwer@78-80-114-37.customers.tmcz.cz)16:52
minutehuh16:56
Boostisbetterminute: I don't know, I just all of a sudden noticed that my right speaker was the only speaker producing sound. I've checked in alsamixer and I don't see anything there that has the single unbalanced or mono activated. I'm going to poke around some more and see if I can figure it out16:58
minutehmm17:00
Koodayeah kind of same for me, it was working until it didn’t17:00
Boostisbetterlooking in alsamixer I am seeing nothing that would have it defaulting to mono output, infact all the mono output options are disabled. 17:02
Boostisbetterbut I also can't say for how long it has been like this, but I do think an update did the damage. 17:02
minuteBoostisbetter: the profile in the last tab is still set to MNT Reform, yes?17:08
Boostisbetterminute: of pavu? 17:09
minuteBoostisbetter: yup17:12
Boostisbetterminute: just a second. Reform crashed while resuming and the lpc is on the Fritz again. Should be up again in a minute. 17:13
minuteeek17:13
KoodaWhat do you mean by profile?17:13
KoodaAh nevermind17:14
KoodaMine shows: “Stereo Output + Stereo Input”17:14
minuteok, normally it should show "MNT Reform"17:14
KoodaOn device “built-in audio”17:15
KoodaThat doesn’t appear on the list hm17:15
minutebut stereo should work too, just the microphone will be problematic17:15
Boostisbetteryeah same issue here. No longer have the MNT profile. 17:19
Boostisbetterstereo output does not work through speaker17:19
Boostisbetterbut stereo is working through headphones. 17:19
smjAre the new reforms shipping with the metal side IO plates?17:19
minutesmj: yes17:22
smjahh, Ok, I ordered a set with a case last month but I just broke one on another unit :(17:23
smjit doesn't look like crowdsupply is carrying them yet.17:24
sknebelhah, just remembered I still need to order an SSD for my reform so I have it at hand once it arrives. did that, and seconds later the shipping notification from MNT arrived too :D17:37
- qwer (QUIT: Ping timeout: 260 seconds) (~qwer@78-80-114-37.customers.tmcz.cz)17:58
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:20)17:58
+ qwer (~qwer@78-80-114-37.customers.tmcz.cz)18:00
lastebilHmm, the sysimage-v3-20220624 link (and rescue image) seem to have dissappeared, is there an archive (or somewhere else to get these? I'm mainly interested in the rescue image.)18:05
smjI noticed that as well, but I was able to find this18:06
smjhttps://source.mnt.re/reform/reform-system-image/-/jobs/868/artifacts/browse/reform2-imx8mq/18:06
smjdoes that get you there?18:06
smj40 euros for shipping steel port covers :)18:08
lastebilthat does work, yes. Thanks!18:09
lastebil- a link that I found earlier to a very similar looking directory did not, but at least now I see how to navigate to 'artifact' files from the build system.18:10
smjYeah, thats where I landed first, but with some digging and help from khm in #cat-v we found that.18:11
smjwhich looks to be newer anyway18:11
lastebilcool. I am actually (finally) trying to get my void setup working on it, and the void image in the forums is rather ill-fitted to working from an sd card, so (:18:11
smjthe SD card is pretty slow, if you can get an SSD it will be a big improvment.18:12
Koodaminute: forced the Reform pulseaudio profile, didn’t fix the issue :(18:12
lastebilhave you tried 720k floppies?  (:18:12
KoodaI wonder if it could be related to Pipewire18:12
lastebil(I do believe mine has an ssd, if not, I have one, so.)18:13
smjno floppy drive here.18:13
sigridI don't think left speaker not working is a software issue18:28
sigridI would bet on some wire getting broken18:28
smjsigrid, what is up with the left speaker connection? :)18:31
kfxsmj: I can send you a pair of aluminum plates18:40
smjkfx, are you in the USA? I was thinking of trying a group buy if this is something crowd source won't carry18:43
smjthat is very generous of you, but I'd be happy to pay for them.18:43
minutesmj: we can send the covers in a letter as well; if you order and then contact support, we'll refund part of the shipping cost18:51
minutebut yeah those aluminum ones are spiffy too i guess!18:51
smjits good that the new builds just shipped out have the metal plates now.18:52
kfxmaybe this will clear things up18:54
* kfx -> khm18:54
smjoh yes that works better khm18:54
khmsmj: I have spare aluminum plates out here in Richland...18:54
smjnice18:55
smjare you coming to Seattle this weekend?18:55
smjwe could have 3 MNT reforms running plan9 then18:55
smjkhm let me know where to send $$18:59
lastebilwhere was the plan9 image again?19:03
minutehttps://felloff.net/usr/cinap_lenrek/9front-reform.torrent19:04
smjalso at 9front.org/iso  we're happy to help and also there are some video demos and a bootcamp for new users.19:04
smj(free) bootcamp19:04
lastebilsaw some of this when, I believe, sigrid posted about the uxn (or maybe it was the synth that 100rabbits have) and then ensuing conversation between lenoire and others about it19:06
smjlastbil https://toobnix.org/w/axWU2PbZp5jM8GYsaAYMMz this is a dual live stream from the MNT reform to both twitch and peertube under Plan9 using sigrid's rtmp and other utilities19:08
smjits geared for new users to Plan9 19:08
lastebilcool. I have _seen_ it and read the concepts, but have not installed or used, so yes, that is likely where I start (:19:09
smjright now we do not have wifi support, but if you can use wired ethernet (or a wired ethernet to wifi dongle) you can get it on the network19:10
lastebilI have wired, so no issues19:13
smjgreat, when you boot the first time just take the defaults and you should get into the rio windowing system.  Type 'ip/ipconfig' in a window and you should dhcp from your network.19:14
smjthe img out there doesn't have brightness or sound support yet, its still being worked on, but you can sysupdate to get those.19:19
smjright now I think sigrid and cinap are working on sleep/wake19:19
sigridno19:19
smjyes 19:19
smjdo it19:19
sigridno sleep, no wake. full steam ahead only19:20
smjsleep 3 cores, save one for watchdog19:20
smjwake others when the user arrives.19:20
sigridI want to write an spi driver to talk to lpc and get power stats19:23
sigridbut I think sdma is more important19:23
- qbit (QUIT: Quit: WeeChat 3.5) (~qbit@2602:ff16:3:0:1:3a0:0:1)19:57
smjsigrid, if you're curious, I have one reform that runs 52c and another than runs 67c :)20:03
smjboth are running the same kernel20:03
sigrid:/20:11
sigridwtf20:11
minutecould be differences in thermal paste application + screw tightness on the heatsink20:11
smjI think so20:11
smjthats my thought too, just poor coupling.20:11
smjbut that explains my 67c anomoly :)20:12
smjI can fix :)20:12
sigridI should fix mine too then20:13
sigridcould not remember what the temperature was before I switched over to nvme boot20:13
smjthermal paste rule: thin coating :)20:13
smjits not sour cream on a quesadilla20:13
sigridminute: btw in 9front I made jack detect work properly and its status readable from userspace20:15
sigridso it should be doable in linux too20:15
minutesigrid: oh very nice20:16
minuteat the moment i have to port OLED code over to RP204020:16
minuteyawn20:16
sigridrp2040 chips more available?20:17
minuteyes, aplenty20:17
minutealso, quite a lot more bang for the buck, dualcore, nice C api etc20:17
sigridis it cheaper?20:17
minuteyes20:18
sigridnice20:18
minuteit costs around 1 eur20:18
smjthose will be in the pocket reform too?20:18
minuteyes, 2 of them20:19
smjoh two :)20:19
smjnice20:19
minute1 on the motherboard (as system controller), one in the HID (keyboard/trackball hybrid)20:19
- jjbliss (QUIT: Quit: jjbliss) (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)20:19
smjsigrid catclock oled20:19
+ jjbliss (~jjbliss@1464766-static.elnsmiaa.metronetinc.net)20:19
minutejacqueline already did bongo cat oled20:20
- mjw (QUIT: Killed (NickServ (GHOST command used by mark__!~mark@gnu.wildebeest.org))) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)20:23
+ mjw (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)20:24
- mjw (QUIT: Killed (NickServ (GHOST command used by mark__!~mark@gnu.wildebeest.org))) (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)20:24
* mark__ -> mjw20:24
+ wielaard (~mjw_@2001:1c06:2488:1400:9e5c:8eff:fe8f:a440)20:24
+ qbit (~qbit@h.suah.dev)20:42
- ndufresne (QUIT: Quit: Ping timeout (120 seconds)) (~ndufresne@gyros.collabora.co.uk)21:10
+ ndufresne (~ndufresne@gyros.collabora.co.uk)21:10
+ mtm- (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)22:06
- mtm (QUIT: Ping timeout: 252 seconds) (~mtm@c-73-27-62-116.hsd1.fl.comcast.net)22:06
+ rafostar[m] (~rafostarm@2001:470:69fc:105::2:52da)22:07
- bkeys (QUIT: Remote host closed the connection) (~Thunderbi@static-198-54-135-69.cust.tzulo.com)22:29
chartreuseWonder how low of power it can do (RP2040) probably better than the atmega, just a different method22:48
chartreuseThough with improvements in the battery design it should be less a worry22:48
chartreuseThough speaking of which I don't suppose anyone has a couple JGNE 1800 cells laying around?22:49
chartreuseOr knows a good/cheap LiFePO4 supplier that ships to Canada22:49
minuteoh, canada22:51
chartreusemy home and native land 22:52
minutebtw i have new battery board assembled, but mosfets might be mismatched to the ICs :/ got only 2V out of the cells instead of 3.222:52
chartreuseWeird22:52
chartreuseThat's a lot of wasted heat, so you'd likely be able to see/feel where the drop is occuring22:52
minutechartreuse: i think the mosfet is not opening fully22:53
minutechartreuse: the ic outputs like 0.7V on the gate22:53
minutechartreuse: i use one of these https://www.n-redc.co.jp/en/pdf/datasheet/r5617-ea.pdf22:53
minuteand PMV50ENEAR for the mosfets22:55
minutenormally it should output VDD22:57
chartreuseCould you maybe use a pull up/down resistor on the gate pin to get a bit extra voltage?22:57
chartreuseShgould still be able to feel the heat in the mosfets while driving current since you've got a voltage drop in them22:58
- qwer (QUIT: Ping timeout: 268 seconds) (~qwer@78-80-114-37.customers.tmcz.cz)22:59
chartreuseSays the output voltage for the mosfets should be VDD-30 to VDD+0.3 and Vss-0.3 to VDD+0.3 on the second. So it should be able to put up to the input voltage to the chip out. And presumably VDD is from the battery 23:00
+ qwer (~qwer@78-80-27-180.customers.tmcz.cz)23:00
chartreusePerhaps the 330 ohms RVDD resistor is too high and the chip isn't running high enough?23:00
chartreuseOr if you disconnect the mosfets does it then drive them strong enough?23:01
chartreuseThe mosfets really shouldn't be drawing any power on that pin to cause it to sag23:01
minuteyeah it's strange... the 330 ohms seem high to me also23:14
minutei will check this tomorrow in the lab, thanks for taking a look23:15
chartreuseSeems like there's no minimum for RVDD, just a max of 1k, and the stipulation that RVDD + RV > 1kohm23:20
chartreuseAnd it's also there to stabilize the voltage with the capacitor23:21
chartreuseThere's some stuff there in the data sheet about the sense resistors too, possibly with your mosfet it's thinking there's a short?23:21
minutepossible, too low Ron?23:23
chartreuseYeah. There's a formula for the voltages there and the sum of the on resistance of the mosfets23:24
chartreuseA lot of stuff with this chip is "evalute it yourself" I guess it's more flexible but probably means it's fairly picky23:25
- oomono (QUIT: Quit: Connection closed for inactivity) (uid328183@id-328183.tinside.irccloud.com)23:47

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