+ savely (~savely@2a02:2698:2807:219c:692:26ff:febe:c52d) | 00:27 | |
savely | hi there, so i've finally installed arch linux on mnt reform, seems to work pretty fine, currently don't see any difference with debian-based in case of quality of life | 00:30 |
---|---|---|
- mjw (QUIT: Quit: Leaving) (~mark@gnu.wildebeest.org) | 00:30 | |
savely | but still wanted to ask about mesa, do i really need this patches? or they already was merge? | 00:30 |
chartreuse | I think almost every patch is mainlined now, just a couple missing when I updated my kernel to 5.14 | 00:31 |
chartreuse | For the kernel, no clue on mesa | 00:31 |
savely | oh, even kernel patches was mainlined? | 00:31 |
savely | i thought it is a long process | 00:32 |
chartreuse | There's a few that have made it in/fixed | 00:32 |
chartreuse | There's still a few left, the patches are for the imx8mq the processor module, not really custom stuff for the reform | 00:32 |
savely | so has someone a repo to build the latest kernel with only needed patches? | 00:33 |
chartreuse | https://source.mnt.re/Chartreuse/reform-system-image/-/tree/main/reform2-imx8mq | 00:35 |
chartreuse | That'll build 5.14, I haven't tested later yet, that's what I'm running | 00:35 |
savely | thanks! didn't know about forks | 00:35 |
savely | also seems like i kill at least some of my batteries, had a vaccation, didn't know that a should pull off the batteries... | 00:36 |
chartreuse | It at least built correctly for the git 5.14 around the 5.14.2 release so should be fine | 00:36 |
chartreuse | Ah yeah that issue was recently helped with a new LPC and keyboard firmware to reduce the draw on the batteries when off | 00:37 |
chartreuse | If you have an external lifepo4 charger you can probably bring them back from 0v, to a point the reform will charge them | 00:37 |
savely | how much fast it discharges while off now? | 00:37 |
savely | chartreuse yep, i already ordered a charger... but anyway i didn't expect this, modern electronics teach you to forget about such things... | 00:39 |
chartreuse | I don't have anything to measure it properly, and I think mntmn might be working on getting tools for that. But in quick test I think I lost 0.04v in around 23hr, which if the drop was linear would equate to half a year or something, though that's not an accurate way to test | 00:39 |
vagrantc | it's much better with the updated firmware | 00:39 |
chartreuse | Yeah the MNT really should have had a low-voltage protection IC installed | 00:39 |
chartreuse | But it's definitly much better since both the LPC and keyboard controllers enter deep sleep mode now while the system is off, only briefly waking to see if the user is attempting to turn the system on | 00:40 |
chartreuse | Before those two were running all the time, so uA draw vs mA draw really | 00:40 |
savely | is there space for improvement btw? | 00:41 |
chartreuse | Not sure there's much else on top of that to gain, even low-voltage battery cutoff ICs draw some uA all the time | 00:42 |
vagrantc | could the firmware be written to stay in deep sleep longer when the voltages are low ? e.g. oh, your battery is very low, not even going to bother to wake up as often | 00:42 |
chartreuse | Maybe, I haven't looked at the changes mntmn made to the LPC firmware in depth, but the keyboard controller is in the arduinos deepest sleep more, and only wakes up for a few cycles every second to see if the circle key is being pressed (It's on a pin that can't directly interrupt the CPU) | 00:43 |
chartreuse | If we had something like a micro-current to measure actual draw, it could be tested if there's ways of configuring the pins to save a little more | 00:43 |
chartreuse | But I think with the changes it'll probably last over a year without going down to 0v | 00:44 |
chartreuse | Not sure if the charge circuit can be convinced to work with fully discharged cells or not | 00:44 |
vagrantc | you want to keep each cell above 2v to not wear them down badly... | 00:44 |
vagrantc | and really 2.5v | 00:44 |
chartreuse | Yes, and I think it'd last a long time before hitting that, though someone will need a micro current or similar device to measure the current draw at the batteries in shut-down | 00:45 |
chartreuse | Even the low-voltage cutoff chips still draw current from the battery in the cutoff state typically | 00:45 |
chartreuse | And of course cells also self discharge slowly too | 00:45 |
vagrantc | true | 00:46 |
savely | also maybe there is a way to somehow patch firmware to charge batteries even while they have so low voltage? | 00:46 |
chartreuse | Ideally with the changes I'd expect in the <10uA range of draw, but I have no clue about the LPCs behaviour in its low power mode | 00:46 |
vagrantc | though lifepo4 cells discharge pretty slowly | 00:46 |
chartreuse | You'd have to ask mntmn about that, I'm not quite sure how the battery charging works | 00:47 |
vagrantc | individual lifepo4 cells was one of the main points that convinced me about the mnt/reform ... that and it can take a voltage input directly out of my solar battery management controller :) | 00:47 |
chartreuse | Yeah it's a neat feature and at least they're reasonably priced if they do get killed somehow | 00:48 |
savely | For sure... I didn't expect to order batteries after a month since I get it... | 00:49 |
chartreuse | Charging is managed by the LTC4020 chip | 00:49 |
chartreuse | You should be able to bring them back up, just need to get them above maybe 1.5-2v. If you have a current limited bench PSU you could charge them with that | 00:50 |
chartreuse | Set the voltage limit to say 3v, and current limit at 100mA, and that'll get them to a state that the reform will be happy with | 00:50 |
chartreuse | And update the reform LPC and keyboard firmwares, the update also improves the battery balancing | 00:51 |
savely | btw maybe i really have it, will check tomorrow... thanks for the tip | 00:51 |
savely | yep, i will update it now, happily reform works fine even without batteries | 00:52 |
chartreuse | Unless you just got your reform maybe 2 weeks ago at most, it'll be on the original firmware | 00:52 |
chartreuse | I'm just another owner like you so I don't have all the answers | 00:53 |
savely | well, i wouldn't be in this situation if i had a new firmware | 00:53 |
savely | '=D | 00:53 |
chartreuse | Have you tried just leaving it plugged in but off with the dead batteries? I'm reading through the datasheet of the LTC4020 to see how it handles the battery voltage being low | 00:55 |
savely | i could try to leave it for a night or even longer | 00:56 |
savely | but currently i pulled them off | 00:56 |
chartreuse | I think it might actually be controlled via the LPC which is what can sense the voltage, so it might not be turning on the DC-DC, I'll have to read its source | 00:57 |
+ freakazoid12345 (~matt@2603:9000:cf0f:80e3:cdc5:a33b:1284:64f8) | 00:57 | |
savely | i am afraid that in this case they will continue to discharge | 00:58 |
- freakazoid343 (QUIT: Ping timeout: 265 seconds) (~matt@2603-9000-cf0f-80e3-cdc5-a33b-1284-64f8.inf6.spectrum.com) | 01:00 | |
chartreuse | It's possible, but with it plugged in it'll draw from the external unless the load is greater than the external can supply | 01:01 |
+ freakazoid343 (~matt@2603:9000:cf0f:80e3:cdc5:a33b:1284:64f8) | 01:02 | |
chartreuse | Like it sounds like it should be charging 'slowly' even when it detects undervoltage cells | 01:03 |
chartreuse | As long as the LPC is running | 01:03 |
vagrantc | wonder why the acrylic bottom rather than a metal case all around ... | 01:04 |
chartreuse | It doesn't seem to ever 100% turn off charging, just greatly limit it | 01:04 |
chartreuse | I think the reason was aesthetics, to show off the insides | 01:05 |
chartreuse | Also benefit of not having a chance to short on the battery contacts I guess | 01:05 |
- freakazoid12345 (QUIT: Ping timeout: 268 seconds) (~matt@2603:9000:cf0f:80e3:cdc5:a33b:1284:64f8) | 01:05 | |
chartreuse | I think if I'm understanding this right even with a fully discharged cell the charge controller should still be putting out ~1% of full charge current | 01:11 |
mntmn | savely, chartreuse: with the new firmware, iirc there is a better chance of undervolted cells to be recharged | 01:57 |
savely | mntmn i will try, but currenty trying to build it (currently cannot because arch arm does not have arm-none-eabi-gcc i guess) | 01:58 |
mntmn | i see | 01:58 |
savely | i built reform2-lpc-fw successfully at x86 pc, but i am not sure is this cross-compile build for aarch64 or not... | 02:01 |
savely | managed to install arm-none-eabi-gcc on arch, lpc firmware builts fine, but cannot build keyboard on both x86 pc and reform... | 02:33 |
mntmn | savely: keyboard is avr | 02:44 |
mntmn | savely: apt install gcc-avr | 02:44 |
- vagrantc (QUIT: Ping timeout: 264 seconds) (~vagrant@2600:3c01:e000:21:21:21:0:100b) | 02:46 | |
savely | mntmn i installed it ofc, i am getting this error: https://paste.sr.ht/~lord/940756f217e2dc12abf6190137b3f7642a8f5fde | 02:50 |
mntmn | wat | 02:51 |
mntmn | this is with reform repo from source.mnt.re, master branch? | 02:52 |
savely | i've just updated lpc firmware and it started to show battery voltage! it's currently low for sure, but i hope it started to charge batteries! | 02:52 |
savely | mntmn yes! | 02:52 |
mntmn | savely: that's really weird, i will look into it tomorrow, it is sunday 3am here | 02:52 |
savely | but i use arch, maybe newer tooling has another behavior... | 02:53 |
savely | mntmn sure, thanks for the help! | 02:53 |
mntmn | savely: if you don't have the kbd firmware updated, you won't be able to easily wake up lpc from sleep. the solution is to connect the laptop to power then | 02:53 |
mntmn | savely: this could be. try to compile the fw on reform itself. that's anyway the most comfortable way to update the kbd fw | 02:54 |
savely | mntmn yes, but my reform also on arch currently... | 02:54 |
mntmn | (you need a usb keyboard or a trick to do the actual flashing of the kdb fw once it is in programming mode though) | 02:54 |
savely | and i am getting the same error | 02:54 |
mntmn | savely: oh, ok then. did you integrate the systemd shutdown hook? or made otherwise sure that the laptop is turned off properly after shutdown? | 02:55 |
mntmn | i mean, powered off | 02:55 |
savely | it was planned, i saw this in reform-system-image repo, but currently not | 02:56 |
mntmn | savely: reform-tools deb includes that script | 02:56 |
mntmn | savely: ok, then you have to manually turn off reform after shutdown using the keyboard combo | 02:57 |
mntmn | otherwise a lot of stuff stays on | 02:57 |
savely | yes, i notices this behavior | 02:57 |
mntmn | ok good | 02:57 |
mntmn | just wanted to make sure | 02:57 |
savely | batteries seems to charge | 02:58 |
mntmn | that's good news | 02:58 |
+ freakazoid12345 (~matt@2603-9000-cf0f-80e3-cdc5-a33b-1284-64f8.inf6.spectrum.com) | 03:01 | |
- freakazoid343 (QUIT: Ping timeout: 268 seconds) (~matt@2603:9000:cf0f:80e3:cdc5:a33b:1284:64f8) | 03:04 | |
- freakazoid12345 (QUIT: Read error: Connection reset by peer) (~matt@2603-9000-cf0f-80e3-cdc5-a33b-1284-64f8.inf6.spectrum.com) | 04:05 | |
+ freakazoid12345 (~matt@2603-9000-cf0f-80e3-cdc5-a33b-1284-64f8.inf6.spectrum.com) | 04:06 | |
savely | mntmn: so i finally flashed keyboard (using Debian 11 VM to build fw). but i found the bug, in case of holding circle key keyboard became totally not responsive and the display starting to blink, nothing except pulling out batteries helped, tried to press any keys | 04:17 |
chartreuse | Did you flash the LPC as well? Not sure what that would be | 04:28 |
savely | chartreuse: yes, flashed both | 04:29 |
savely | it works okay if i am just pressing it shortly, but it requires few clicks (to get into right the moment of polling i guess?) | 04:30 |
chartreuse | For waking up from off you need to hold it for up to a second, | 04:31 |
chartreuse | I polls every second to see if it should wake from deep sleep | 04:31 |
chartreuse | Not sure why constantly holding it would do anything, it doesn't do anything while running normally | 04:32 |
savely | hm, maybe i am really did something wrong while flashing LPC | 04:33 |
chartreuse | Well if it went wrong you shouldn't be able to boot at all | 04:33 |
savely | rechecked, dd definitely uploaded a new firmware.bin | 04:36 |
+ verpolter (~verpoler@dyndsl-085-016-201-138.ewe-ip-backbone.de) | 05:08 | |
- verpoler (QUIT: Ping timeout: 245 seconds) (~verpoler@host-091-097-112-026.ewe-ip-backbone.de) | 05:10 | |
- freakazoid12345 (QUIT: Remote host closed the connection) (~matt@2603-9000-cf0f-80e3-cdc5-a33b-1284-64f8.inf6.spectrum.com) | 05:37 | |
+ freakazoid12345 (~matt@2603:9000:cf0f:80e3:cdc5:a33b:1284:64f8) | 05:37 | |
- robin (QUIT: Ping timeout: 265 seconds) (~robin@user/terpri) | 05:50 | |
+ robin (~robin@user/terpri) | 05:55 | |
- robin (QUIT: Ping timeout: 245 seconds) (~robin@user/terpri) | 06:06 | |
+ robin (~robin@user/terpri) | 06:32 | |
savely | chartreuse for reason cannot build valid 5.14 from your repo. latest patch mnt5000-imx8mq-import-HDMI-driver-and-make-DCSS-compatible.patch returns an error "error: corrupt patch at line 3202". without this patch i cannot get display work :( | 07:10 |
savely | chartreuse: made i patch for a patch :) https://paste.sr.ht/~lord/6fc291d8621e2c2a45a93b03bb848219877ab903 | 07:39 |
+ freakazoid343 (~matt@2603:9000:cf0f:80e3:9d79:7459:1d29:717f) | 09:33 | |
- freakazoid12345 (QUIT: Ping timeout: 268 seconds) (~matt@2603:9000:cf0f:80e3:cdc5:a33b:1284:64f8) | 09:37 | |
+ Christoph (~Christoph@p54bf6bbc.dip0.t-ipconnect.de) | 11:30 | |
+ mjw (~mark@gnu.wildebeest.org) | 12:03 | |
- rasmus-mk (QUIT: Remote host closed the connection) (~rasmus-mk@c80-217-132-63.bredband.tele2.se) | 12:48 | |
+ rasmus-mk (~rasmus-mk@c80-217-132-63.bredband.tele2.se) | 12:48 | |
- verpolter (QUIT: Quit: Leaving) (~verpoler@dyndsl-085-016-201-138.ewe-ip-backbone.de) | 13:00 | |
+ doctorhoo (~hanno@194-18-252-127-no2005.tbcn.telia.com) | 13:42 | |
doctorhoo | hej! | 13:43 |
doctorhoo | I have been following the project for a little while and have been increasingly impressed by the final product but also everything around it (including the community!) -- so I just placed my order :) | 13:45 |
doctorhoo | I will continue to linger here why I practice my patience ;) | 13:46 |
doctorhoo | just a small note to mntmn: on the shop's order confirmation page, the pdf invoice link is broken, it only leads to a page saying "Not Found". That might just be the unique combination of configuration parameters (NoScript et al) on my end.. the email came through in any case. | 13:48 |
mntmn | doctorhoo: thank you! sorry for the pdf issue, normally the pdf will be available after a few minutes | 14:08 |
doctorhoo | no worries, mntmn, I just thought I'd flag it -- I can do without the pdf :) | 15:27 |
- mjw (QUIT: Quit: Leaving) (~mark@gnu.wildebeest.org) | 15:31 | |
- doctorhoo (QUIT: Ping timeout: 252 seconds) (~hanno@194-18-252-127-no2005.tbcn.telia.com) | 15:31 | |
savely | after night it i cannot turn it on with circle button, even holding it for a few seconds | 15:55 |
savely | only without batteries and power from wall it restarts | 15:56 |
savely | something definitely wrong | 15:56 |
savely | @mnt | 15:56 |
savely | mntmn: btw, i have a question about kernel size and kernel config. I am still having an issue with WireGuard, probably because of unusual kernel config. i tried to compile Image with default Arch ARM kernel config from their repo, but Reform don't starts. Is because kernel size limitations or maybe Reform requires some special kernel config lines? | 16:00 |
mntmn | savely: i suggest you compare your kernel config with the one in reform-system-image (template-kernel/kernel-config), also suggest you get a UART adapter to check the serial output during boot | 16:20 |
+ S0rin (~S0rin@user/s0rin) | 17:15 | |
+ freakazoid12345 (~matt@2603-9000-cf0f-80e3-9d79-7459-1d29-717f.inf6.spectrum.com) | 17:29 | |
savely | wireguard definitely works, it is really something with process substitution that for some reason disabled or broken | 17:32 |
- freakazoid343 (QUIT: Ping timeout: 268 seconds) (~matt@2603:9000:cf0f:80e3:9d79:7459:1d29:717f) | 17:32 | |
- savely (QUIT: Ping timeout: 256 seconds) (~savely@2a02:2698:2807:219c:692:26ff:febe:c52d) | 17:41 | |
+ mjw (~mark@gnu.wildebeest.org) | 17:54 | |
+ savely (~savely@2a02:2698:2807:24b4:692:26ff:febe:c52d) | 17:57 | |
savely | well, i managed to get it work with iptables (with nft it cannot for some reason): CONFIG_NETFILTER_XT_CONNMARK=y CONFIG_IP_NF_RAW=y CONFIG_IP6_NF_RAW=y | 18:03 |
savely | works only for ipv4, ipv6 seems to be broken | 18:04 |
+ bibliocar (~quassel@pool-74-106-16-80.syrcny.fios.verizon.net) | 18:04 | |
savely | but it's usable for now at least! | 18:06 |
+ freakazoid343 (~matt@2603:9000:cf0f:80e3:ecd7:c30b:133e:765f) | 18:17 | |
- freakazoid12345 (QUIT: Ping timeout: 268 seconds) (~matt@2603-9000-cf0f-80e3-9d79-7459-1d29-717f.inf6.spectrum.com) | 18:20 | |
mntmn | savely: oh interesting. i now remember i might have some notes about this already | 18:22 |
savely | also i reflashed LPC and seems like bug with keyboard has gone, at least i can now hold circle key safely | 18:24 |
savely | maybe the order of flashing really matters | 18:24 |
mntmn | savely: hmm, i doubt it but maybe lpc was in a strange state | 18:25 |
mntmn | savely: but glad it works... how are your battery voltages now? | 18:25 |
savely | everything ok! currently every battery has 3.2 (just plugged it off) | 18:26 |
mntmn | that's cool | 18:27 |
mntmn | do you remember the lowest voltage they were before? | 18:28 |
mntmn | i'm curious what it was able to recharge | 18:28 |
savely | mntmn: yes, i some has 1.1, but the lowest was 0.25-0.3 | 18:28 |
savely | i used multimeter | 18:29 |
savely | but after LPC update Reform showed similar values | 18:29 |
mntmn | wow ok | 18:30 |
- freakazoid343 (QUIT: Remote host closed the connection) (~matt@2603:9000:cf0f:80e3:ecd7:c30b:133e:765f) | 18:35 | |
+ freakazoid343 (~matt@2603-9000-cf0f-80e3-ecd7-c30b-133e-765f.inf6.spectrum.com) | 18:35 | |
savely | mntmn: do you have any ideas why reform sound card cannot be initialized randomly for some reason? i see it in pavu with 20% chance after boot, and it works in that cases just like with Debian-based image. where i can dig? | 18:40 |
mntmn | savely: it fails with a "wm8960: can't issue reset" or similar in dmesg right | 18:41 |
savely | Failed to issue reset, yes | 18:42 |
mntmn | savely: i don't know what the issue is, yet. i wonder if adding some code in the driver to retry resetting it with a delay could work. maybe it is a race with initializing the rtc chip which is on the same i2c lines. | 18:42 |
mntmn | my hunch is that it is i2c related | 18:43 |
savely | so it's "known bug"? | 18:43 |
mntmn | yes | 18:43 |
savely | got it | 18:43 |
mntmn | but for me it happens rarely | 18:43 |
mntmn | more like it works at least 80% of the time | 18:43 |
savely | with arch it happens as i said in almost every case :( | 18:43 |
mntmn | yeah the distro should have no effect here, but the kernel | 18:44 |
savely | hm, you are probably right, i didn't test it much with 5.12, mostly used chartreuse 5.14 kernel | 18:45 |
mntmn | savely: you could try to build wm8960 as a module (.ko) and load that later | 18:46 |
mntmn | savely: that way you could also retry it if it fails... with rmmod/insmod | 18:47 |
savely | mntmn thanks, will try! | 18:47 |
mntmn | savely: there's also a reform audio patch on lkml from lucas stach that sets up wm8960 a bit differently, with different clocks. haven't tested it yet | 18:48 |
mntmn | mainline has a bunch of mnt reform support now, but missing display and pcie1 | 18:49 |
savely | mntmn: i got excited early, holding a circle key still dangerous in my case. i tried to turn it off and on 10 time at least, got this bug 3/10 | 18:57 |
savely | i guess i can easily record a video | 18:58 |
- savely (QUIT: Quit: Client closed) (~savely@2a02:2698:2807:24b4:692:26ff:febe:c52d) | 19:15 | |
+ savely (~savely@2a02:2698:2807:24b4:c6e9:84ff:fe1d:3728) | 19:21 | |
- savely (QUIT: Quit: Client closed) (~savely@2a02:2698:2807:24b4:c6e9:84ff:fe1d:3728) | 19:27 | |
+ savely (~savely@2a02:2698:2807:24b4:c6e9:84ff:fe1d:3728) | 19:28 | |
- savely (QUIT: Client Quit) (~savely@2a02:2698:2807:24b4:c6e9:84ff:fe1d:3728) | 19:30 | |
+ savely (~savely@2a02:2698:2807:24b4:692:26ff:febe:c52d) | 19:31 | |
savely | uploaded video here, lazy to setup mp4 streaming, so: curl -LO https://krasovs.ky/files/reform-bug.mp4 | 19:46 |
- freakazoid343 (QUIT: Read error: Connection reset by peer) (~matt@2603-9000-cf0f-80e3-ecd7-c30b-133e-765f.inf6.spectrum.com) | 19:46 | |
+ freakazoid343 (~matt@2603:9000:cf0f:80e3:ecd7:c30b:133e:765f) | 19:47 | |
- S0rin (QUIT: Quit: WeeChat 2.3) (~S0rin@user/s0rin) | 19:51 | |
+ S0rin (~S0rin@user/s0rin) | 19:55 | |
- wiedi_ (QUIT: Quit: Textual IRC Client: www.textualapp.com) (~wiedi@2a01:138:a015:15:f9d5:3929:ef93:d98f) | 20:00 | |
- freakazoid343 (QUIT: Read error: Connection reset by peer) (~matt@2603:9000:cf0f:80e3:ecd7:c30b:133e:765f) | 20:02 | |
+ freakazoid343 (~matt@2603:9000:cf0f:80e3:ecd7:c30b:133e:765f) | 20:03 | |
+ wiedi (~wiedi@2a01:138:a015:15:ed6e:1b0d:1f97:9f87) | 20:16 | |
- bibliocar (QUIT: Ping timeout: 265 seconds) (~quassel@pool-74-106-16-80.syrcny.fios.verizon.net) | 20:24 | |
+ nerd (~quassel@pool-74-106-16-80.syrcny.fios.verizon.net) | 20:25 | |
- S0rin (QUIT: Ping timeout: 252 seconds) (~S0rin@user/s0rin) | 21:22 | |
+ S0rin (~S0rin@user/s0rin) | 21:26 | |
- nerd (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~quassel@pool-74-106-16-80.syrcny.fios.verizon.net) | 21:41 | |
vkoskiv | I rejuvenated an old iBook battery with fresh cells yesterday: | 22:08 |
vkoskiv | https://teensyimg.com/img?i=IbdNwPj0XA | 22:08 |
vkoskiv | While spot welding is extremely satisfying to do, I very much look forward to the 18650 slots in my Reform :D | 22:08 |
vkoskiv | (the suspicious looking image hosting site is one I built a few years ago) | 22:11 |
vkoskiv | I still use it personally. No ads, no tracking BS :D | 22:11 |
+ freakazoid12345 (~matt@35.136.210.185) | 23:23 | |
- freakazoid343 (QUIT: Ping timeout: 265 seconds) (~matt@2603:9000:cf0f:80e3:ecd7:c30b:133e:765f) | 23:26 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!