2025-09-25.log

gordon1minute: new reform2_lpc current reporting is still inverted, just checking if that's intentional00:26
minutegordon1: oh, is that Inverted?00:26
gordon1minute: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-class-power judging by this, if you grep by current_now00:26
gordon1>Negative values are used for discharging batteries, positive values for charging batteries and for USB IBUS current.00:27
gordon1s/inverted/negated/00:29
minutegordon1: ok strange how this was wrong all the time, and thanks! also, the previous "negative values are not supported" or something was just a leftover from the initial code, which i trusted without double checking :D00:30
gordon1if i didn't reuse my old script i would not even notice that :D00:31
gordon1(i color dicharge current as red and charge as green)00:31
minutegordon1: pushed a fix, does it look better now?00:34
gordon1still triggers the other bug when i reload the module so i need to reboot every time =/00:34
minutegordon1: sorry, which other bug? they get out of step or sth?00:35
gordon1minute: https://source.mnt.re/bugs/bugs/-/issues/4400:36
minutegordon1: i wonder why i don't have this issue? do you have pocket or classic reform?00:36
gordon1classic reform00:36
minuteah ok00:36
minuteso LPC behaves differently then00:36
minuteit's not an issue with rp2040 and rp2350 (next)00:36
gordon1yep, now it works correctly00:38
gordon1with negative discharge and positive charge00:38
gordon1the issue #44 is really annoying btw, i can lend my full help in sorting it out with a bit of guidance in the code00:39
minutethanks! and sorry for that issue! i just made a new branch to test things00:41
minutegordon1: can you try building from the new lpc-v2-tune-delays branch?00:41
gordon1is it lpc firmware branch?00:42
minutegordon1: https://source.mnt.re/reform/reform-tools/-/merge_requests/144/diffs#328ba5e9fbfb90bdcf78ee91fc2aeabdd10e2b64_266_26600:42
gordon1or the module?00:42
gordon1ah, okay, let me try00:42
minutereform-tools lpc driver00:42
minutethe main difference between api 1 and 2 is those delays, and the other difference is the spi speed00:42
minuteah no, the spi speed is always 400khz00:43
minuteso the only difference are those delays. they are gigantic for the old version00:43
gordon1i mean i have a feeling also that there is something in lpc firmware itself, because i can observe similar behaviour on the battery screen on the keyboard00:44
gordon1with erratic data00:44
gordon1or the delays are not tuned there as well00:44
minuteyeah that's a different protocol though, over UART00:44
minutewe'll look into that separately... although i hadn't seen that in a while, is your keyboard fw up to date?00:45
gordon1sure, but it still feels like some sort of race condition00:45
minuteor like, from what date?00:45
gordon1my keyboard fw is custom build, but i did build it from master few weeks ago00:45
minuteok, that shouldn't be an issue then00:45
gordon1maybe a month?00:45
jfredhmm drat, I just had my pocket reform's keyboard reset on the latest firmware00:45
minutejfred: yeah, there's still a bug somewhere i guess. 00:46
jfredI'm not 100% sure of this but it seems to happen most frequently just after powering on the machine00:47
minutehm!00:47
minutejfred: btw, when did you install that FW? because it could be that it was built against the old sdk still00:47
gordon1minute: yeah, looks like version from the branch does not exhibit the issue, at least not straight away, but then there would be another issue with lpc version on boot (it is always 0 and therefore v1)00:48
gordon1but reloading works00:48
minutegordon1: oh, that's an improvement though00:48
jfredminute: yesterday; I'm on commit e67da46782fcb556c4f04a595d6172f7ce80bf4900:48
gordon1that is definitely an improvement00:48
gordon1also all the sysfs interactions are nearly instant now00:48
gordon1just would love to see that on boot00:49
gordon1i guess i can hack in some module reload tho00:49
gordon1for now00:49
minutegordon1: ah yes, that's why i tried to minimize those delays in the first place, because that was way too slow00:49
minutegordon1: does it load this changed driver on boot?00:49
minutegordon1: or the old one maybe?00:50
gordon1ok, i'll try to reboot and see00:50
gordon1but it is definitely should be a new one, old one is not saved anywhere00:50
gordon1ACTION lives dangerously00:51
minutegordon1: you deleted the old one from /lib/modules/... or?00:51
minutei'm installing all kind of battery tools...00:51
gordon1i do install it using gentoo's emerge, it replaces the file00:52
gordon1minute: https://0x0.st/KmfO.txt so first two lines - module is loaded by openrc during the boot, last line - i reloaded it myself by hand00:53
minutegnome-power-statistics seems to work00:54
minutegordon1: and how do you know which location that first one is loaded from?00:55
minutegordon1: custom openrc service something?00:55
gordon1i don't but i'm pretty sure i have only one reform2-lpc.ko on my fs00:56
gordon1okay i do have two, one for older kernel, i'm 100% sure it is not one that is loaded but i can delete it just in case00:57
gordon1i also am pretty sure it wont load because it is signed with different certificate00:57
gordon1but yeah, i'll delete it just in case00:57
minutegordon1: ok, i pushed something new to that branch, which would do the version lookup twice00:58
gordon1minute: okay, now it did this https://0x0.st/Kmfg.txt01:00
minutegordon1: great, that's what i hoped01:00
gordon1i did not reload it this time by hand01:00
- erle (QUIT: Quit: K-lined) (~erle@user/erle)01:01
gordon1is it an lpc firmware quirk?01:02
gordon1minute: also just for the record, that's how i "fixed" battery screen flicker in the keyboard firmware http://0x0.st/KrOb.diff01:04
gordon1i bet there is a better way, but it works for now01:04
+ elb` (~elb@68.133.31.194)01:06
- synnfynn (QUIT: *.net *.split) (~synnfynn@user/synnfynn)01:06
- chrcav (QUIT: *.net *.split) (~chrcav@user/chrcav)01:06
- violet (QUIT: *.net *.split) (~vi@user/meow/violet)01:06
- shdw (QUIT: *.net *.split) (~shdw@static.218.156.216.95.clients.your-server.de)01:06
- pastaonirc (QUIT: *.net *.split) (~pastaonir@user/xha)01:06
- elb (QUIT: *.net *.split) (~elb@68.133.31.194)01:06
- lexik (QUIT: *.net *.split) (~lexik@93.185.97.218)01:06
- kfx (QUIT: *.net *.split) (~kfx@wopr.sciops.net)01:06
- yqshao (QUIT: *.net *.split) (~yqshao@user/yqshao)01:06
+ kfx (~kfx@wopr.sciops.net)01:06
+ lexik (~lexik@93.185.97.218)01:06
+ yqshao (~yqshao@user/yqshao)01:07
+ synnfynn (~synnfynn@user/synnfynn)01:07
gordon1minute: oh, now i disconnected the charger and erratic values from lpc returned, it reports random battery capacity from time to time01:07
+ pastaonirc (~pastaonir@user/xha)01:07
+ violet (~vi@user/meow/violet)01:07
gordon1and while it is actually charging the battery, not idling at 100% it also reports random values from time to time01:08
+ chrcav (~chrcav@user/chrcav)01:08
minutegordon1: ok, can you crank up those delays? setting to 10,10,10 for example01:08
minutegordon1: just trying to find an area that works and then we can dig into the specifics later01:08
gordon1okay01:08
minutewe know that 50,50,50 works for you but that's excessive i think01:09
minute(these are milliseconds)01:09
minutewe could also put a sysfs attribute in the driver to change these values on the fly...01:10
+ shdw (~shdw@static.218.156.216.95.clients.your-server.de)01:10
gordon110,10,10 does occasionally report erratic values but by ~order of magnitue less than 5,5,501:11
gordon1trying 15,15,1501:11
gordon1minute: it feels like it is doing it in bursts, i put 50,50,50 and doing cat voltage_now, and it does bunch of 0s then return back to normal reporting01:14
- mjw (QUIT: Ping timeout: 244 seconds) (~mjw@gnu.wildebeest.org)01:14
minutegordon1: hmmmm, sounds like i'll need to do more debugging on the lpc side. but what happens if you mess with spi speed? that 400000 value, lets say half it?01:16
gordon1minute: so i did while true ; do cat /sys/class/power_supply/BAT0/voltage_now >>/tmp/data; done01:16
gordon1https://0x0.st/KmfF.txt01:16
gordon1isn't it specified in device tree?01:16
minutegordon1: ok, this is also how the stuff i did when developing this, and doing statistics01:16
gordon1or is it hardcoded in the module also?01:16
minutegordon1: it can be set in the driver (max speed)01:17
gordon1that's 4000000 not 400000 btw01:17
minutegordon1: but... what if you cat the version?01:17
minuteoh right, 4 mhz it was.01:17
minutegordon1: i.e. are all values broken in this way (so, spi is broken), or does it report 0v sporadically 01:17
minute(a bit hard to discern if the wrong value is 0)01:18
gordon1voltage, capacity and current are definitely broken01:19
gordon1yeah, looks like all of them, i tried to do charge_full_design and charge_empty (which are not supposed to change, arent they?)01:20
minuteah you're in class power supply01:21
gordon1minute: looks like reducing the speed to 1 MHz and keeping delays as 15,15,15 make it stable both during charge and discharge01:21
minutecan you go to /sys/class/spi_master/spi1/spi1.0/01:22
minuteand cat firmware in a loop ?01:22
minutegordon1: interesting @ 1mhz!01:22
gordon1ah, got 0 zero during few minutes on voltage_now01:22
gordon1so maybe a bit slower?01:22
minuteif you cat the stuff in /sys/class/spi_master/spi1/spi1.0/ it's more direct01:23
gordon1are we loosing much if we reduce the spi speed?01:23
minuteprobably not, because it's only a few bytes01:23
minuteit was so that originally the speed was too _low_01:23
minuteso making it faster made the communication stable on pocket reform01:23
minutebut also those big delays being necessary with lpc (classic) means that the lpc fw code still should be touched again to handle spi in a timer interrupt instead of in the main loop which is "cooperative" and can have varying delays01:25
gordon1okay, so 500 khz and 15,15,15 is running now with no 0s atm, i'll leave it for 10 mins and after that we can call it good i guess01:25
minutegordon1: ok, can you also check the "firmware" file in /sys/class/spi_master/spi1/spi1.0/ please?01:26
gordon1do the same while true routine?01:26
minuteyes01:27
minuteit is easier to detect distortions in that string than in variable data01:27
gordon1>22222222 30_R1 2025070101:28
gordon1ok i assume it is not correct01:28
gordon1or that01:28
gordon1>MREF2LPC MMMMMMMM 2025070101:28
minutethe repeating characters show some timing issue yeah01:29
gordon1(maybe just adding crc on both uart and spi is a way to go!)01:29
minutethat's would be possible, but it would be papering over the issue without understanding the root cause01:30
gordon1okay so reducing speed and increasing delays does improve but not fix things completely01:30
gordon1but yeah, seems the firmware string thing triggers it quite a bit more often01:31
minutegordon1: does that also happen with the 50,50,50 delays?01:31
gordon1let me try, 500 khz 50,50,50 now01:32
minutebtw i just realized i have a classic reform with rk3588 here as well. we're talking rk3588, right?01:32
gordon1yep01:33
gordon1yes, rk358801:33
gordon1yep, it does happen with 500 khz 50,50,5001:33
gordon1> 30_R1 2025070101:33
minuteok, booting my reform up to check if it's still ok there01:34
gordon1it does not happen when the charger is idling tho01:34
gordon1so it's either because lpc is busy with something during this times, or EMI? (i hope it's not EMI)01:35
minutewhat do you mean by idling?01:35
minutei think "busy" is realistic01:35
gordon1i mean when it is connected to charger and charged at 100%01:35
minutegotcha01:35
minutebtw do you have the OLED battery screen open in parallel or no?01:36
gordon1no, i do not01:36
minuteok good01:36
gordon1and i also have the fix so i won't be able to observe, but i can confirm that oled screen flicker happened during the same conditions, i.e. charging or discharging the battery01:36
gordon1but not when it was fully charged01:36
minuteoh interesting01:37
gordon1i am pretty sure i remember that correctly01:37
minute> [   89.828989] reform2_lpc spi1.0: version: 0 ()01:37
minute(on my reform)01:37
gordon1nice, reproducible then01:37
minuteyes, that's good01:38
minutebut with this default (slow) mode, the firmware string is stable for me01:38
gordon1i got only two incorrect firmware version strings so far during last 5 mins, so it is definitely almost does not happend with 50,50,50 delays01:38
minute(stock driver)01:38
minuteok, i didn't let it run for 5 minutes yet...01:39
gordon1running it as while true ; do cat /sys/class/spi_master/spi1/spi1.0/firmware | grep -Ev '^MREF2LPC 30_R1 20250701$'; done01:39
minutenice01:40
gordon1do you want me to put back original keyboard fw for debugging or are we fine with the existing clues so far?01:40
minuteok, reloading the driver indeed gives > [  468.973200] reform2_lpc spi1.0: version: 20250701 (20250701)01:40
minutebut the fw string looks stable for me hm.01:40
minuteMREF2LPC MMMMMMMM 101:41
minute33333333 2LPCMMMM MMMMMMMM01:41
minuteok, spurious issues confirmed01:41
gordon1here we go01:41
minutegordon1: entirely reproducible!01:41
minutegordon1: thanks for your help tracking this down, i'm gonna write these details in my todo list and i see lpc fw fixes in my future...01:42
gordon1nice01:42
gordon1i'll find a suitable delay and speed for me when it is not too annoying meanwhile01:43
gordon1tbh 500 khz @ 15,15,15 didn't look too bad01:43
minuteoh, diagnostic tool https://github.com/mojyack/pocket-reform-lpc-diag01:45
gordon1oof, nice01:45
minuteanyway, gotta watch my tv show and hit the hay, more tomorrow 01:49
gordon1gn01:49
- n_to (QUIT: Quit: quitidiquit) (~n_to@2a03:4000:6:3662:24b1:57ff:fec6:76c1)02:00
- Gooberpatrol66 (QUIT: Quit: Konversation terminated!) (~Gooberpat@user/gooberpatrol66)02:00
+ n_to (~n_to@2a03:4000:6:3662:24b1:57ff:fec6:76c1)02:00
+ Gooberpatrol66 (~Gooberpat@user/gooberpatrol66)02:04
spewwhich show?02:04
- paperManu_ (QUIT: Ping timeout: 250 seconds) (~paperManu@64.58.44.160)02:39
+ reform24775 (~keko@2600:1700:6630:b6e0::43)02:40
* reform24775 -> korgakoth02:40
- korgakoth (QUIT: Changing host) (~keko@2600:1700:6630:b6e0::43)02:41
+ korgakoth (~keko@user/korgakoth)02:41
- korgakoth (QUIT: Client Quit) (~keko@user/korgakoth)02:42
minutespew: alias02:46
- paperManu (QUIT: Ping timeout: 252 seconds) (~paperManu@64.58.44.160)03:07
- timide (QUIT: Ping timeout: 244 seconds) (~timide@user/timide)03:09
- dok (QUIT: Ping timeout: 265 seconds) (~dok@2a01:e0a:12:d860:3696:e5bc:8411:9bc5)03:10
+ dok (~dok@2a01:e0a:12:d860:3696:e5bc:8411:9bc5)03:53
+ timide (~timide@user/timide)03:58
- vkoskiv (QUIT: Ping timeout: 245 seconds) (~vkoskiv@109-204-186-7.cust.valoonet.fi)04:18
+ vkoskiv (~vkoskiv@109-204-186-7.cust.valoonet.fi)04:30
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)05:46
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)06:10
+ chomwitt (~chomwitt@2a02:85f:9a74:ce00:1ac0:4dff:fedb:a3f1)06:22
- chomwitt (QUIT: Ping timeout: 265 seconds) (~chomwitt@2a02:85f:9a74:ce00:1ac0:4dff:fedb:a3f1)06:32
- RandyK (QUIT: Remote host closed the connection) (~RandyK@user/randyk)06:34
+ RandyK (~RandyK@user/randyk)06:34
+ chomwitt (~chomwitt@2a02:85f:9a74:ce00:1ac0:4dff:fedb:a3f1)06:59
- hramrach (QUIT: Ping timeout: 252 seconds) (~hramrach@nat2.prg.suse.com)07:36
+ hramrach (~hramrach@nat2.prg.suse.com)07:49
- synnfynn (QUIT: Quit: gn) (~synnfynn@user/synnfynn)08:02
- wickedshell (QUIT: Ping timeout: 248 seconds) (~wickedshe@c-174-56-77-83.hsd1.nm.comcast.net)09:14
+ mjw (~mjw@178.230.122.127)10:42
- mjw (QUIT: Remote host closed the connection) (~mjw@178.230.122.127)10:51
+ mjw (~mjw@178.230.122.127)10:51
- mjw (QUIT: Read error: Connection reset by peer) (~mjw@178.230.122.127)10:58
+ mjw (~mjw@89.205.167.88)10:59
+ thelounge2708 (~thelounge@148.168.138.88.rev.sfr.net)11:05
- mjw (QUIT: Ping timeout: 260 seconds) (~mjw@89.205.167.88)11:11
+ mjw (~mjw@89.205.167.88)11:13
- mjw (QUIT: Remote host closed the connection) (~mjw@89.205.167.88)11:20
+ mjw (~mjw@89.205.167.88)11:21
- mjw (QUIT: Ping timeout: 256 seconds) (~mjw@89.205.167.88)11:54
+ MartiniMoe (~moe@p200300eecf1ede469b2ac4c17de74025.dip0.t-ipconnect.de)11:56
- chomwitt (QUIT: Ping timeout: 255 seconds) (~chomwitt@2a02:85f:9a74:ce00:1ac0:4dff:fedb:a3f1)12:07
joschminute: what are your thoughts about a new reform-tools release? Are the things you recently pushed into main ready? Do you want to finish something else (like the lpc dkms fixes) before releasing? Current list of changes since the last release a month ago: https://source.mnt.re/reform/reform-tools/-/merge_requests/145https://source.mnt.re/reform/reform-tools/-/merge_requests/14512:11
joschah my middle mouse key switch is borked again12:11
joschhttps://source.mnt.re/reform/reform-tools/-/merge_requests/14512:11
- buckket (QUIT: Quit: buckket) (~buckket@vps.buckket.org)12:25
+ buckket (~buckket@vps.buckket.org)12:25
+ robin_ (~robin@user/terpri)12:25
- robin (QUIT: Read error: Connection reset by peer) (~robin@user/terpri)12:25
+ kensanata1 (~alex@user/kensanata)12:25
- irimi1 (QUIT: Read error: Connection reset by peer) (47a15995ae@2a03:6000:1812:100::12aa)12:25
- [tj] (QUIT: Read error: Connection reset by peer) (sid609767@id-609767.lymington.irccloud.com)12:25
- theesm1 (QUIT: Read error: Connection reset by peer) (2cbdf4b38a@2a03:6000:1812:100::11c8)12:25
- jfred (QUIT: Read error: Connection reset by peer) (c9b58a1025@libera/sponsor/jfred)12:25
- burley (QUIT: Read error: Connection reset by peer) (fc32d5b940@user/burley)12:25
- spew (QUIT: Read error: Connection reset by peer) (e9e8135d87@user/spew)12:25
- romi (QUIT: Ping timeout: 245 seconds) (bd30729973@user/romi)12:25
- Zaba (QUIT: Ping timeout: 245 seconds) (80b9b4b35e@2a03:6000:1812:100::116)12:25
- jbmorley_ (QUIT: Read error: Connection reset by peer) (sid21953@id-21953.tinside.irccloud.com)12:25
- polymetis (QUIT: Read error: Connection reset by peer) (sid320610@id-320610.hampstead.irccloud.com)12:25
- kuno (QUIT: Read error: Connection reset by peer) (sid299442@id-299442.helmsley.irccloud.com)12:25
- austriancoder (QUIT: Read error: Connection reset by peer) (sid152545@id-152545.hampstead.irccloud.com)12:25
+ burley (fc32d5b940@user/burley)12:25
+ irimi1 (47a15995ae@2a03:6000:1812:100::12aa)12:25
+ spew_ (e9e8135d87@user/spew)12:25
+ jfred (c9b58a1025@libera/sponsor/jfred)12:25
+ jbmorley_ (sid21953@id-21953.tinside.irccloud.com)12:25
+ theesm1 (2cbdf4b38a@2a03:6000:1812:100::11c8)12:25
+ [tj] (sid609767@id-609767.lymington.irccloud.com)12:25
- voxpelli (QUIT: Read error: Connection reset by peer) (sid31634@id-31634.tinside.irccloud.com)12:25
- noam (QUIT: Ping timeout: 248 seconds) (81879d1ffa@2a03:6000:1812:100::dfc)12:25
- chorc (QUIT: Quit: ZNC 1.9.1 - https://znc.in) (~chorc@user/chorc)12:25
+ austriancoder (sid152545@id-152545.hampstead.irccloud.com)12:25
+ kuno (sid299442@id-299442.helmsley.irccloud.com)12:25
+ polymetis (sid320610@id-320610.hampstead.irccloud.com)12:25
- arjan (QUIT: Ping timeout: 245 seconds) (~arjan@user/arjan)12:25
- amatecha (QUIT: Ping timeout: 245 seconds) (sid10006@user/amatecha)12:25
- ajr (QUIT: Read error: Connection reset by peer) (sid609314@user/ajr)12:25
+ voxpelli (sid31634@id-31634.tinside.irccloud.com)12:25
+ chorc (~chorc@user/chorc)12:25
* spew_ -> spew12:25
+ ajr (sid609314@user/ajr)12:25
+ amatecha (sid10006@user/amatecha)12:25
+ eschaton_ (eschaton@2600:3c01::f03c:91ff:fefd:5d92)12:25
- dodo (QUIT: Remote host closed the connection) (~dodo@user/dodo)12:25
- eschaton (QUIT: Read error: Connection reset by peer) (eschaton@2600:3c01::f03c:91ff:fefd:5d92)12:25
- kensanata (QUIT: Read error: Connection reset by peer) (~alex@user/kensanata)12:25
* kensanata1 -> kensanata12:25
+ noam (81879d1ffa@2a03:6000:1812:100::dfc)12:25
+ Zaba (80b9b4b35e@2a03:6000:1812:100::116)12:25
+ romi (bd30729973@user/romi)12:25
+ dodo (~dodo@user/dodo)12:25
- potash (QUIT: Read error: Connection reset by peer) (~potash@user/foghorn)12:26
+ potash (~potash@user/foghorn)12:27
+ paperManu (~paperManu@64.58.44.160)12:32
+ chomwitt (~chomwitt@2a02:85f:9a74:ce00:1ac0:4dff:fedb:a3f1)12:42
- MartiniMoe (QUIT: Ping timeout: 250 seconds) (~moe@p200300eecf1ede469b2ac4c17de74025.dip0.t-ipconnect.de)12:51
+ gustav2 (~gustav@c-78-82-55-162.bbcust.telenor.se)13:02
- dodo (QUIT: Quit: dodo) (~dodo@user/dodo)13:27
+ dodo (~dodo@user/dodo)13:27
+ potash9 (~potash@user/foghorn)13:27
- potash (QUIT: Read error: Connection reset by peer) (~potash@user/foghorn)13:27
* potash9 -> potash13:27
- chomwitt (QUIT: Ping timeout: 260 seconds) (~chomwitt@2a02:85f:9a74:ce00:1ac0:4dff:fedb:a3f1)13:37
elb`I think my pocket reform (3588) doesn't always identify the attached nvme in time14:04
elb`sometimes when the kernel boots it gets stuck waiting for cryptsetup to find and set up the encrypted volume14:05
elb`I can't tell exactly why that is, but my suspicion is that it isn't identifying that the underlying encrypted volume is available14:06
elb`power cycling usually fixes it immediately, somtimes I have to power cycle a time or two14:06
elb`then it will boot normally for a half dozen or more boots in a row14:06
elb`(or however many; I'm not suggesting that once it boots it's more reliable, but rather that it's far less frequent than 50% of the time that this happens)14:07
elb`I also sometimes get the blank screen at boot that some people mention on community.mnt.re, but I haven't yet had a uart hooked up when this happens14:08
joschelb`: yes, i have the same issue. If i remember correctly the problem is not with nvme (do you have uart output showing that this is a problem with nvme?) but a problem with emmc which sometimes does not init properly. I think I talked about this with m.inute who confirmed that this problem exists.14:09
elb`I haven't captured the uart output, no, but in the former case the emmc inits _well enough_ that it has booted the kernel and loaded the initramfs14:09
elb`in the latter case the emmc not initing seems very plausible14:09
joschah indeed, your problem is a different one than the one i have14:10
elb`(to be very clear I experience two things at boot which may be unrelated: one is a blank screen and no visible progress, the other is boot to initrd and an inability to find the nvme for decryption)14:10
joschelb`: which nvme do you have? there were problems with some in the past14:10
elb`I have a wd blue14:10
joschokay, same here14:10
elb`I previously had a sk hynix that froze the entire system, frequently14:11
elb`on moderately heavy I/O loads it would almost always freeze after just a minute or three14:11
joschah i remember the sk hynix problem but i forgot it was you who had it14:11
joschit broke with reform-migrate14:11
elb`correct14:11
elb`but then I did some just general I/O testing and found that it was repeatable14:11
elb`(it might be helpful to have a structured way to store various notes about hardware/bugs/etc.; the community forum and this IRC both seem ... difficult)14:12
joschelb`: i think the problem with blank screen and no visible progress might be the emmc issue. The other where you see the initrd failing to find nvme is a new one that i haven't heard of yet.14:12
* elb` -> elb14:12
elbit doesn't happen always, but it happens often enough that I might be able to catch a boot log on uart console14:12
joschelb: yes, the "structured" way is to file this as a bug report. Forum threads are indeed suboptimal as a bugtracker :)14:12
sigridI have wd blue sn570 1tb on a classic reform with rk3588 and had absolutely no issues so far. however, I run alpine and not the official reform image14:13
+ synnfynn (~synnfynn@user/synnfynn)14:13
elboh I don't mean bug reports per se, but like notes about what hardware works and what doesn't and what the various evidence is14:13
joschelb: bug tracker: https://source.mnt.re/bugs/bugs/-/issues/14:13
joschnow afk as i have to reboot to investigate https://community.mnt.re/t/suddenly-blank-screen-at-boot/3808/12 ttyl14:14
elboh, I created a source.mnt.re account but it's never been approved (as far as I know)14:17
minuteelb: i wonder if some nvmes take too long to initialize?! 14:17
minuteelb: what's your source username? i can approve it14:17
elbelb14:18
minutesigrid: i also use WD exclusively basically14:18
minuteand that's also what we sell at the moment14:18
elbminute: that's possible, but if that's the case I woudl expect one of the retries to eventually find it14:18
elbI guess if it takes too long in the sense that the kernel gives up trying to identify it14:18
minuteelb: ah sorry, that's right, if it needs power cycles...14:18
minutebtw i wrote down an internal "pocket pain list" today14:19
[tj]minute: feet!14:19
minute[tj]: ahaha you mean rubber feet? i recently attached some on mine! but good, i forgot about that, will go in14:19
[tj]I have cork feet14:19
elbI put rubber feet on my pocket but they fell off immediately14:19
[tj]having to put a foot on the logo suchs14:19
minuteelb: approved!14:20
[tj]https://usercontent.irccloud-cdn.com/file/xyhs0VEn/1758802824.JPG14:20
elbthe adhesive they came with stuck fine to the reform but came free of the silicone :-\14:20
elbminute: thank you14:20
[tj] I used cork furniture stops14:20
elbI'll try to get some more information about the boot sequence where it doesn't find the nvme and file a report14:21
minuteok, we have some feet that stick well... we should just always include them14:21
gordon1speaking of nvmes, i found this thread https://community.mnt.re/t/adding-a-delay-to-prevent-unsafe-shutdowns-for-nvme-drive/1207/214:23
- BAndiT1983_ (QUIT: Quit: No Ping reply in 180 seconds.) (~quassel@46.101.193.235)14:23
minutegordon1: ah that's outdated since we use SPI + poweroff handler in the lpc driver14:23
minutegordon1: back then it was a bash script that was executed before the kernel shut down everything completely14:24
gordon1bizzare thing, on rk3588 reform i have no issues with unsafe shutdown incrementing with poweroff/reboot, 14:24
gordon1yes14:24
gordon1it has been fixed14:24
gordon1however on my rock5b the issue is there, and i don't think it does anything differently, except triggering PMIC for a reboot instead of LPC14:25
elboh man I installed firmware-linux-free and it slowed down boot _so much_14:25
+ BAndiT1983 (~quassel@46.101.193.235)14:25
gordon1wondered if there is more to that than just doing poweroff with SPI driver14:25
elbI guess I can't be sure that was the difference as I also generally updated, but it seems likely based on the messages that are printing during boot14:25
gordon1maybe some devicetree change with power sequencing or something?14:26
gordon1as far as i know firefly and rock5b use the same PMIC...14:27
gordon1maybe somebody did some investigation there before it was fixed using lpc driver?14:30
minuteelb: interesting, i would like to know which firmware slows down the boot14:36
+ paperManu_ (~paperManu@modemcable141.205-200-24.mc.videotron.ca)14:39
- Twodisbetter (QUIT: Ping timeout: 252 seconds) (2cc0e4ea1c@irc.cheogram.com)15:09
+ adam78 (~adam@2001:ee0:4b72:3d40:955:12f1:a4bd:1e7f)15:10
- adam78 (QUIT: Client Quit) (~adam@2001:ee0:4b72:3d40:955:12f1:a4bd:1e7f)15:10
+ adamtc (~adamtc@2001:ee0:4b72:3d40:955:12f1:a4bd:1e7f)15:11
elbminute: I rebooted and it Got Better (?)15:12
elbit wasn't just boot, it was ... everything15:12
elbbut dmesg said nothing interesting that I could see15:12
elbwhat had confused me was it was still loading devices and reporting their initialization (including firmware update) long into the boot process, which is normally mostly done very early15:13
+ erle (~erle@user/erle)15:34
- thelounge2708 (QUIT: Quit: The Lounge - https://thelounge.chat) (~thelounge@148.168.138.88.rev.sfr.net)16:22
+ chomwitt (~chomwitt@2a02:85f:9a74:ce00:1ac0:4dff:fedb:a3f1)16:39
+ Guest23 (~Guest23@184.22.120.202)16:57
- Guest23 (QUIT: Client Quit) (~Guest23@184.22.120.202)16:57
- synnfynn (QUIT: Quit: leaving..) (~synnfynn@user/synnfynn)17:15
+ wickedshell (~wickedshe@c-174-56-77-83.hsd1.nm.comcast.net)17:27
gordon1okay, am i the only one who finds the experience to zoom in/out in online maps using trackball a completely miserable experience?17:32
gordon1i'm pretty sure it's because the trackball reports both vertical and horizontal scroll wheels at the same time17:32
gordon1so i wonder if maybe it will be a good idea to have one of the scroll buttons to have only vertical scroll axis reported instead of both17:33
gordon1gonna try it17:33
[tj]my ploopy trackball only does one axis for scroll17:34
gordon1oh, i'm talking about mnt reform classic one precisely, forgot to mention17:34
joschgordon1: yes, this works. I have the bottom left button for up/down and the bottom right button for up/down/left/right17:37
joschbecause usually i want up/down only17:37
joschand usually i use my left thumb to press the button and my right thumb to move the wheel17:37
joschonly sometimes i want both pan and wheel and then i have to swap my thumbs17:37
gordon1would be nice to be able to configure it17:38
joschgordon1: though i'm afraid my patch will likely not help you because you probably have a trackball v2, no?17:38
gordon1i mean without reflashing17:38
gordon1need to think about it17:38
erlei sometimes miss a scrollwheel. even knowing that every click of the wheel is only a single mouse event.17:38
gordon1i probably do17:38
erleit requires less concentration.17:38
gordon1it's fine, i think i'll manage to patch v2 fw17:39
gordon1just need to figure out how to flash it17:39
erleoh, regarding patches, i should make one to fix that weird keyboard thingy i encountered.17:39
erlei mean i have one, but i should submit it17:39
gordon1also need to address the usb suspend issue17:41
gordon1but that's when i receive my spare trackball...17:41
- adamtc (QUIT: Quit: Client closed) (~adamtc@2001:ee0:4b72:3d40:955:12f1:a4bd:1e7f)17:49
wickedshell[tj]: interesting, my ploopy adept does 2 axis, sometimes it's great, sometimes it's terrible :P17:59
erlejosch since you wrote that you tried hibernating before and it did not come up again, any useful notes? namely, things you tried that didn't work out to fix that?17:59
joscherle: with i.mx8mq?18:00
erlejosch yes18:38
+ mjw (~mjw@195.23.216.83)18:47
+ AnimaInvicta (~AnimaInvi@88-120-179-216.subs.proxad.net)19:11
joscherle: the last time i tried hibernate on i.mx8mq must've been more than 4 years ago -- no notes :)19:22
+ colinsane (~colinunin@97-113-128-166.tukw.qwest.net)19:27
minutefunky https://apps.gnome.org/Bustle/19:41
minuteerle: if you press both wheel buttons, it enters sticky wheel mode. maybe that can help for longer reading sessions.19:42
erleminute thank you, good to know!19:44
joschminute: do you have thoughts about a new reform-tools release (see my message to you above in the log). Do you want me to hold off the next release for more changes to the lpc dkms module?19:45
minutejosch: i think the changes i pushed to main are good to release early, the timing stuff needs more debugging and shouldn't delay the release19:48
joschthank you!19:48
erleminute i really like the “press two non-adjacent modifiers of the same type to lock them” pattern. neo2 has this for caps lock, so you never do it by accident.19:53
erle(press both shift keys for CAPS)19:54
joschwell... "never" ;)20:02
+ synnfynn (~synnfynn@user/synnfynn)20:16
elbahh, I remember the olden days when shift+shift was normally input language switch :-)20:29
elb(maybe it still is in some locales?)20:29
erleelb i think something like shift+space or ctrl+space is used nowadays21:04
+ ephase (~ephase@2a01:e0a:2a:5300:8af3:6216:8fce:7058)21:05
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)21:14
+ MartiniMoe (~moe@p200300eecf1ede4678904cc09fd8011c.dip0.t-ipconnect.de)21:15
elbthat's used in some east asian input systems for changing between options _within that input system_21:26
elbshift+shift was for changing languages that don't have an internal variety of methods21:26
elblike latin versus cyrillic21:27
erleelb i just checked, ibus uses super + space to switch between input methods21:52
erle> You have signed up successfully. However, we could not sign you in because your account is awaiting approval from your GitLab administrator.21:54
erleguess i should do the patch business during business hours21:54
chat least once ;)21:55
erleit makes sense. better defeat spam at the source!21:55
- ephase (QUIT: Quit: WeeChat 4.6.3) (~ephase@2a01:e0a:2a:5300:8af3:6216:8fce:7058)21:56
+ helgoman_ (~helgoman@178.38.121.62)22:00
joschi just hope that m.inute does not receive as many registration attempts as i see in my own forgejo instance (80-90 per day)22:01
- gustav2 (QUIT: Quit: Quit) (~gustav@c-78-82-55-162.bbcust.telenor.se)22:15
erlejosch since you are using neo2, does this patch (made using git-format-patch) look like the proper bugfix for my layers issue? https://mister-muffin.de/p/s9QT.diff22:23
erlei think you can pipe this into git-am to apply it to your current branch22:25
joscherle: yes, i can try this out tomorrow22:25
erlethx22:25
erledo you have keyboard variant 3, whatever that is?22:25
erle(i suspect it is the one with fewer keys)22:25
joscherle: i have 2, 3 and 422:26
joschi'm typing this on v2 and i'm thinking about putting my v2 keyboard into the rk3588 classic reform instead of the full-rgb v4 keyboard22:26
joschhavig two keys between the space keys is just very nice22:27
erlei guess you could make a similar patch for the newer ones then. i only have 1 internal and 2 external ones with 12 keys in the bottom row, so i guess they are all the same hardware (but evidently different firmware, one is still not on neo since i acquired it from someone else).22:27
joscherle: yes, but the firmware is entirely different22:27
erleoh yeah, that was why i actually bought a second external one from someone else22:27
joschi actually don't know why the two got merged into one22:28
joschi think the new key is a 2U key and there would actually be space for two keys even in v422:28
joschand even electronically, there is just some non-connected traces now22:28
erlethe external keyboard with the 12 keys in the bottom is the best external keyboard i have ever had. but granted, usually my external keyboards were “i spent 10 euros in a dutch krimskrams store” stuff.22:28
joschif i ever learn how to use kicad and how to send a project to jlcpcb or similar i think i want to mod the v4 keyboard to have two keys between the spacebar keys...22:29
erlei think my next quest is to figure out where the sysrq key is mapped22:30
erleso i can do better kernel debugging22:30
joscherle: you mean print screen?22:31
erlejosch Druck/SAbf i think22:32
joscherle: in the old firmware (the one you have) the key is KEY_PRINT_SCREEN. In the v4 firmware it's KEY_SYSRQ22:33
joscherle: by default there is no such key. I have it below the circle key.22:33
erlewell i have backspace there22:38
joschbackspace is to the left of the right spacebar as i've found i press it *a lot* :D22:39
joschhere is my diff: https://paste.debian.net/hidden/81814aa3/22:39
joschthe v4 layout is not final -- i'm not happy with ctrl being in the bottom left22:39
erlei press ctrl with my left thumb on the reform kbd. helps that C-x C-v C-c are all a single left-hand action22:41
joschyes, that's what i do with the v2 keyboard but i cannot do that anymore if i move ctrl all the way to the left22:42
joschi have to find a new home for my alt key which used to be between the space keys...22:43
- paperManu_ (QUIT: Ping timeout: 264 seconds) (~paperManu@modemcable141.205-200-24.mc.videotron.ca)22:46
- bail (PART: !!unknown attribute: msg!!) (585c46d254@2a03:6000:1812:100::f91)22:47
erleone thing where the horizontal and vertical scrolling are very annoying to be on the same input device is playing 0ad22:53
erleyou gave to set the renderer to OpenGL (ARB) and disable shadows but then it works nicely22:53
erlethe issue is that mousewheel up/down is zoom and mousewheel left/right is rotation22:53
erle(unless i am mistaken)22:53
- potash (QUIT: Quit: The Lounge - https://thelounge.chat) (~potash@user/foghorn)23:02
+ potash (~potash@user/foghorn)23:07
minutei think you should be able to use input-remapper to work around these things23:22
erlejosch i made an issue so i don't end up spamming this channel anymore with testing/discussion https://source.mnt.re/reform/reform/-/issues/2323:58

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