2025-10-24.log

+ paperManu_ (~paperManu@142.169.16.60)00:03
minutecan't wake it up from the real deal yet :D00:04
- schalken (QUIT: Ping timeout: 256 seconds) (~schalken@117-118-178-69.gci.net)00:07
+ schalken (~schalken@117-118-178-69.gci.net)00:11
minuteah, i found a busybox static binary, that's more comfy00:16
- schalken (QUIT: Ping timeout: 265 seconds) (~schalken@117-118-178-69.gci.net)00:16
+ schalken (~schalken@117-118-178-69.gci.net)00:17
minutetesting "core" pm_test again, this time crash caused by hdmi00:40
minuteah, this was just a spurious irq...00:41
+ LainIwakura (~LainIwaku@user/LainIwakura)00:43
- paperManu_ (QUIT: Ping timeout: 265 seconds) (~paperManu@142.169.16.60)00:49
- LainIwakura (QUIT: Ping timeout: 250 seconds) (~LainIwaku@user/LainIwakura)00:52
minuteok, tried to set up gpio-keys with wake function in dts, and disabled emmc and pcie00:56
minutelinux be like: 2.87 seconds to shell00:56
minute~ # cat /sys/devices/platform/gpio-keys/wakeup/wakeup1/active_count 00:58
minute400:58
minuteso, i can increase this number using the spacebar on the classic reform keyboard in the oled menu00:58
minute("wake")00:58
minutestrangely, no dice. wakeups just don't do anything after echo mem > state00:59
- schalken (QUIT: Ping timeout: 256 seconds) (~schalken@117-118-178-69.gci.net)01:00
minutei wonder what's the difference between the "core" pm_test and the non-test suspend01:00
vagrantchrm. after updating my lpc firmware, now i am occasioanlly getting wild battery readings on the OLED display ... ahlf the cells show 0 volts, the other half show 9 volts ... briefly and then goes back to normal charging01:00
vagrantcer, 9.9 volts01:00
vagrantce.g voltages are all 3.4-3.6 or so01:01
+ schalken (~schalken@117-118-178-69.gci.net)01:01
minutevagrantc: ah, interesting that that happens only after lpc fw update and not before01:03
minutevagrantc: how's your keyboard firmware?01:03
vagrantcminute: that is whatever shipped with what i presume is the v3 keyboard (white LEDs only)01:04
vagrantckeyboard layout more conventional than the original...01:05
- chomwitt (QUIT: Ping timeout: 252 seconds) (~chomwitt@2a02:85f:9a5f:900:1ac0:4dff:fedb:a3f1)01:05
minutevagrantc: ah i see01:06
vagrantcit is *possible* I never noticed it before ... but i think not likely, as i have been finding the OLED to be reliable by contrast to the kernel module (that's why i switched)01:06
vagrantci upgraded the firmware to try and resolve issues with the kernel module for battery status01:06
minuteyep01:06
- schalken (QUIT: Ping timeout: 256 seconds) (~schalken@117-118-178-69.gci.net)01:06
+ schalken (~schalken@117-118-178-69.gci.net)01:07
minutevagrantc: it's possible that the atmega keyboard code needs some tweaking in the serial code 01:07
minutetimings or so01:07
vagrantcthe ghosting on the OLED is also definitely ne01:08
vagrantcnew01:08
minutehmm the oled is driven solely by the keyboard01:08
vagrantcfirmware build was from git 3cc6fbb01:08
minuteghosting always happens if you leave some non-changing graphics/text for a long time on the OLED01:09
minuteit is cheap to replace though01:09
vagrantci do frequently leave the battery monitor, but it was the first thing i noticed after updating the firmware ...01:10
vagrantcit was definitely not like that earlier today01:10
minutewell you didn't update the keyboard firmware, right?01:10
vagrantcno01:10
minuteonly the keyboard firmware can affect the oled, nothing else01:10
minuteit must be a coincidence01:10
+ LainIwakura (~LainIwaku@user/LainIwakura)01:11
+ LainIwakura43 (~LainIwaku@user/LainIwakura)01:11
vagrantcit seems to perfectly timed, but ... it is a fairly minor issue01:11
minuteohhh suspend resume works... if s2idle and not deep01:14
minutedeep probably needs some TF-A support?01:14
minutefor ddr parking01:14
chsounds likely01:14
minutewakeup interrupts _do_ work01:15
- schalken (QUIT: Ping timeout: 246 seconds) (~schalken@117-118-178-69.gci.net)01:16
minutei wonder why deep is the default?01:16
minute(in /sys/power/mem_sleep)01:16
minuteok, time to turn on some devices in dts again...01:17
- LainIwakura (QUIT: Quit: Client closed) (~LainIwaku@user/LainIwakura)01:27
- chorc (QUIT: Quit: ZNC 1.9.1 - https://znc.in) (~chorc@user/chorc)01:28
- enwu1 (QUIT: Quit: Ping timeout (120 seconds)) (~enwu@user/enwu)01:29
+ enwu (~enwu@user/enwu)01:31
- LainIwakura43 (QUIT: Ping timeout: 250 seconds) (~LainIwaku@user/LainIwakura)01:31
+ chorc (~chorc@user/chorc)01:36
minutei can enable all the things in dts and it wakes up fine (from s2idle)01:37
* jn_ -> jn01:38
- chorc (QUIT: Quit: ZNC 1.9.1 - https://znc.in) (~chorc@user/chorc)01:45
+ chorc (~chorc@user/chorc)01:46
minutei did some more tests. HDMI can greatly delay the wake from suspend02:15
minuteup to 30 seconds02:15
minutenot sure what's going on in that driver. but if the screen/grabber is disconnected, the wakeup is instant02:16
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)02:33
+ schalken (~schalken@117-118-178-69.gci.net)02:39
minutehttps://source.mnt.re/reform/reform-debian-packages/-/merge_requests/143/diffs02:40
minutehttps://source.mnt.re/reform/pocket-reform/-/merge_requests/72/diffs02:41
minutewhen all these are built, i can check on my pocket + classic if i can just suspend to s2idle or if there are pcie issues02:42
Tramtrist💓02:46
- paperManu (QUIT: Ping timeout: 244 seconds) (~paperManu@198.58.139.163)02:57
- mjw (QUIT: Ping timeout: 265 seconds) (~mjw@gnu.wildebeest.org)03:09
+ bkeys (~Thunderbi@h193.131.19.98.dynamic.ip.windstream.net)03:22
- mlarkin_ (QUIT: Ping timeout: 256 seconds) (~mlarkin@syn-076-081-194-027.biz.spectrum.com)03:25
elbok I am pretty sure that pressed_keys should be volatile, but it's not the source of the race that I'm seeing03:25
elb(and it's maybe not a race at all; it may just be plain old bad data)03:26
elbI'll put some thoughts together and file an issue, it's going to be a day or two before I can dig on it, I think03:26
minuteelb: looking forward!03:29
+ pomel0 (~pomel0@user/pomel0)03:32
+ mlarkin (~mlarkin@syn-076-081-194-027.biz.spectrum.com)03:38
- mlarkin (QUIT: Client Quit) (~mlarkin@syn-076-081-194-027.biz.spectrum.com)03:40
+ mlarkin (~mlarkin@syn-076-081-194-027.biz.spectrum.com)03:40
elbok, I filed !7, I hope it makes sense03:49
minutedid a quick test at home on my pocket reform, with the debian kernel from that build, wakeup from s2idle doesn't work. that will be interesting to debug03:49
minutebut first, some sleep, nighty03:49
elbit's not an urgent bug by any means, and I'll maybe have time to dig on it this weekend03:49
elbamen my friend, it's late for me, it's gotta be way late for you :-)03:49
elbsleep well!03:49
elb#7, sorry, not !7, don't know my gitlab parlance well :-)03:50
- pomel0 (QUIT: Ping timeout: 264 seconds) (~pomel0@user/pomel0)04:54
+ pomel0 (~pomel0@user/pomel0)04:59
- aelius (QUIT: Ping timeout: 244 seconds) (~aelius@user/aelius)05:07
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-71-58.tukw.qwest.net)06:28
+ chomwitt (~chomwitt@2a02:85f:9a5f:900:1ac0:4dff:fedb:a3f1)07:10
+ LainIwakura (~LainIwaku@user/LainIwakura)07:19
joschminute: really awesome to read the backlog this morning -- you rock!07:31
- LainIwakura (QUIT: Quit: Client closed) (~LainIwaku@user/LainIwakura)07:31
- casparvitch (QUIT: Remote host closed the connection) (~casparvit@user/casparvitch)07:44
+ casparvitch (~casparvit@user/casparvitch)07:45
+ colinsane (~colinunin@97-113-71-58.tukw.qwest.net)07:45
- casparvitch (QUIT: Remote host closed the connection) (~casparvit@user/casparvitch)07:48
+ casparvitch (~casparvit@user/casparvitch)07:48
+ LainIwakura (~LainIwaku@user/LainIwakura)07:56
- LainIwakura (QUIT: Quit: Client closed) (~LainIwaku@user/LainIwakura)08:26
+ LainIwakura (~LainIwaku@user/LainIwakura)08:44
- LainIwakura (QUIT: Quit: Client closed) (~LainIwaku@user/LainIwakura)08:58
Tramtristagreed09:16
+ LainIwakura (~LainIwaku@user/LainIwakura)09:31
joschminute: maybe some more things are working in linux6.17. I integrated your patch cleanup changes into my linux6.17 branch and attempted to perform a similar cleanup for the 6.17 rk3588 patch stack from collabora. I made my patch removal its own commit (sitting on the top) in case you find anything useful for your suspend work in it. Many more patches can likely still be dropped but I didn't want to get 09:34
joschoverzealous.09:34
joschhttps://source.mnt.re/reform/reform-debian-packages/-/merge_requests/14409:34
joschminute: the pipeline fails but since you are building your own kernel anyways, that should not matter to you09:36
- LainIwakura (QUIT: Quit: Client closed) (~LainIwaku@user/LainIwakura)10:34
grimmwareit's been a very exciting couple of weeks in this channel :)11:19
rick_interesting.. i think i don't experince brownouts anymore since i changed the cpu governor like minute wrote in the forums. i had them at least every few ours, but since yesterday evening everything seems to run fine ^11:31
rick_i let it run over the weekend, but this seems really promising11:32
grimmwarerick_: out of interest which desktop environment are you using?11:39
rick_sway, also been using it on may old laptop since years. i really love it11:43
grimmwaregotcha, I was expecting you were gonna say Gnome because I had a hunch that it was the higher power usage (I think holo_memory's was browning out on the switcher because of high CPU usage)11:47
grimmwareI've also been using sway for years, recently switched to Niri and it is my new love in part because it's not too far removed from Sway11:48
rick_yeah.. i despise gnome cause of that XDD11:51
rick_a few years ago i had tbh a really old laptop. worked fine with sway, but with gnome.. naah.. one core spiked to 100% when i just moved the mouse cursor XDD11:51
rick_oh i need to check it out ^^11:51
rick_well at first i used i3.. than came sway with wayland11:52
grimmwareYeah same :)11:52
rick_tbh the biggest change regarding the pocket is going back/used to debian again XDD11:53
grimmwarehahah yeah this as well - I was using arch previously11:54
rick_same XDD well i still have it on my other laptop11:54
grimmwarethis :)11:54
grimmwareI would have switched the pocket over to it as well but I really like the idea of having a roughly representative build so I can contribute to the community :)11:54
grimmwareHaving spent most of my professional career in debian derived environments makes that a lot easier too11:55
rick_and i was like "well i use debian on my servers.. why not test it again for desktop usage" XD11:55
grimmwareI'm pretty pleased with unstable to be honest, I feel like it's a little more dicey than arch in terms of reliability but for the most part it's like using debian with new software hahah11:58
grimmwareI should really do some digging to see if there's a built-in way to only install packages once they're at least N days old (with exemptions for like, kernel) 11:59
grimmwareI bet unstable on like a 2 week delay is actually pretty stable12:00
bremnerthat's testing, basically12:00
rick_yeah.. arch seems to be a litte more stable.. well i only have one problem currently. i updated evolution and now it crashes when i try to load external images in my mails. buuut i think it will be fixed soon12:00
grimmwarethe main thing I miss from arch is the AUR12:05
grimmwareI had a really nice containerized build environment using systemd-nspawn so I could install all the build dependencies in the container so I didn't litter the host system with bullshit from half-hearted experiments12:05
rick_yeah.. and i felt for one trap. i know not all desktop application supports arm.. and i thought... well i have flatpak.. this should not be arch depened.. well i learned sth new there XDD12:14
rick_and here i thought flatpkat would fix this XDD12:15
+ paperManu (~paperManu@198.58.139.163)12:18
bremnerjosch: minute: btw I noticed that the "enable PM" patch by Shawn Lin was dropped from the latest collabora patch stack. previous version: https://paste.debian.net/1402470. I haven't had a chance to investigate further, I don't even know if this was intentional12:19
+ mjw (~mjw@gnu.wildebeest.org)12:30
+ LainIwakura (~LainIwaku@user/LainIwakura)12:40
joschbremner: I'd ask Sebastian Reichel. He answered super quickly to the mails i wrote him in the past.12:51
bremnerok12:51
+ gustav25 (~gustav@c-78-82-53-228.bbcust.telenor.se)13:02
- mjw (QUIT: Ping timeout: 240 seconds) (~mjw@gnu.wildebeest.org)13:11
elbhere's minute getting up this morning and immediately showing us everything we've been dreaming of in a fifteen second video ;-)13:17
minutebremner: interesting, i also dropped that in my mono kernel but only because it didn't apply cleanly and i wanted to fix that later13:19
* Guest6281 -> mjw13:19
minuteelb: haha :D i don't know how much power saving there will be through this in the end on pocket reform though. but it should help a bit13:20
+ andreas-e (~Andreas@2a02-8434-b6a3-e901-facc-8e87-8e54-890e.rev.sfr.net)13:20
minuterick_: but so far most things i tried from flathub had arm64 builds!13:22
grimmwareit's so frustrating that some people just need to enable an arm64 CI runner in github13:22
elbminute: I mean, even an apparatus that shuts off all the lights and backlights and tells the browser or whatever other godforsaken modern software is running to chill the %!@# out for a bit will make a big difference ;-)13:23
grimmwareyeah s2idle would be great in combination with e.g. swayidle13:23
bremnerminute: josch: Oh, I think it might be replaced by cf28eebd4269a89814af13:24
grimmwareI don't know about anyone else but now that I don't have display flicker and can power the display on and off, and hopefully with the v2 charger board my head-of-queue problem for this to be the machine I want it to be probably becomes sysctl power consumption.13:25
bremnerminute: josch: https://paste.debian.net/1402479/13:25
elbI think a lid switch would be pretty easy on the pocket, too13:25
grimmwareminute: with the v2 board is there any idle power consumption with the shipping switch set to off?13:26
elbright corner away from the hinges13:26
minuteelb: yeah, that apparatus is def. there13:26
elbthe latch magnets are pretty close, one of them might need to come out13:26
elb(assuming hall effect or similar)13:26
grimmwaretbf you could probably just glue one into the case elsewhere13:27
minutegrimmware: good Q. it should be miniscule but haven't measured yet. a good job for the nordic power profiler kit that sits yet unused on my shelf13:27
grimmwarenothing like a bit of kit to make you want to do a job ;)13:28
minutehehehe13:28
minutethe display bezel, which is a pcb, could have a mechanical end stop lid switch with i2c gpio on the inside. just sayin'13:29
minutebut first i want s2idle for everyone :0 (i hope this isn't thwarted by unsurmountable pcie stuff)13:29
minutebremner: good find, thanks!13:30
elbon the pocket I can tell you that using trackball motion to wake from idle is going to take some firmware changes, though ;-)13:32
elbI've done some playing with that, and you get significant pointer movement if you just close the case and give it a good shake13:32
minuteelb: ohh haha13:33
minuteelb: so far wake is a special command that the keyboard sends to sysctl, and sysctl passes it on to SoC by wiggling a gpio line that is reserved for this13:33
minutei.e. no usb necessary (but also not sure if usb wake works at all)13:34
elbis it different from 1p?13:34
bremnerso false alarm I guess re the PM patch13:34
elbbut yeah that solves the trackball problem either way13:34
elbI think I'm headed to looking closely at that sysctl/keyboard remote interface, btw, I think it's the answer to #713:37
elb(which is super not urgent, but I've always found that getting deep into a project is well served by starting with poking around the edges)13:37
minuteelb: just checked, yeah it's 'w'13:37
minuteelb: yeah, appreciate you turning those stones13:38
elbok so this stuff might also be relevant for gating the USB HID and full keyboard polling13:38
elbwhen the system is powered off/sleeping/etc13:38
minuteelb: some of these things have history that by now feels ancient. this uart sysctl interface was already in reform 1.0 which was like 7 or 8 years ago13:38
elbI might have some opinions about this sysctl interface in general ;-)13:39
elbI love that it's plain text13:39
elbbut I itch for a spec and some careful regularity in the syntax13:39
minuteelb: right. the keyboard will have to know about the sleep mode to also gate everything13:39
minuteelb: right. there is i think regularity in the commands (it's always digit + letter), this was to ensure parsing would never cause headaches. just rhe responses are not regular enough which irks me as well, and they could use some crc or similar13:41
elbyeah exactly, the commands seem solid, but the responses are complicated13:41
elbin particular the battery and power stuff13:41
minutei also want to add crc to the spi interface, which mojyack prototyped once but it needs to be done in a cleaner way. which is now possible since we have api versioning on that part13:42
minuteelb: right, i agree13:42
elbon the sysctl serial interface, crc has the disadvantage that it's not uart-bangable13:42
elbwait let me clarify that13:43
elbit's not uart-bangable into my terminal with a keyboard ;-)13:43
elbI don't know if you actually use that, but it sure feels designed to allow it13:43
minuteelb: right. i mean we rarely if ever have issues with data integrity of 2 letter commands13:43
minuteelb: it is absolutely designed to allow that.13:43
elbfair, re: 2 letter commands :-)13:44
elbbut also that could be "fixed" with framing13:44
minuteelb: i also have a little on switch/face plate pcb that plugs into a sysctl port, it has an attiny and it was really easy to implement the necessary uart protocol :D13:44
minuteelb: right13:44
elblike, send ASCII SOH or STX or something, then the message, then the CRC, then ETX or EOT13:45
minuteelb: for the responses you mean?13:45
elbrequest13:45
elband if the request is sent that way, the response comes back with framing and CRC13:46
minuteah, a frame marker that also suggests a newer api version13:46
elbyeah13:46
minutesounds good to me13:46
elbbut essentially dual-stack13:46
minuteright, i like that13:47
elbif you type at the keyboard, and it's a valid message, it accepts and it does what it does13:47
elbbut if the keyboard firmware sends a request, it's more robust and has a binary nature13:47
elbthese microcontrollers are _super_ under-used, there's plenty of room for dual stack, the cost is code complexity13:47
bremnerACTION rebuilds kernel on pocket, again13:59
minuteelb: agreed. with the 2350 there's even more unused oomph14:08
minuteone could make a personal computer just out of the keyboard... i mean it's much faster than the desktop computers i had in the 90s14:09
elbabsolutely14:09
rick_> it's so frustrating that some people just need to enable an arm64 CI runner in github14:09
elbI have a project on the back burner here I call the "retro-modern workstation" that's basically a mid-90s Unix workstation on a moderately fast ARM Cortex-M14:09
rick_yeah looking at you threema desktop...14:09
minutethe rp2350a has 520kB SRAM14:10
- paperManu (QUIT: Ping timeout: 255 seconds) (~paperManu@198.58.139.163)14:10
minuteand dual core 150MHz 14:10
minutemore than enough for text web browsing and playing doom :D14:10
elbmeanwhile my first Linux box was a 50 MHz 486 ;-)14:10
elbit did have more than 520 kB of RAM, but it was slower RAM than that SRAM, so ...14:11
elb(and the difference between the on-chip flash or an eMMC and a 90s hard disk is difficult to overstate)14:11
minutehaha yeah i think my first linux was probably on a 166mhz pentium already (or maybe already amd something?) i also vaguely remember having had a amd k6-iii box with freebsd for a while14:12
- LainIwakura (QUIT: Quit: Client closed) (~LainIwaku@user/LainIwakura)14:12
elbok well when I'm chasing down this power-off detection situation I'm going to be in the remote interface, I'll think about what a more structured protocol might look like14:12
elband at the very least get some more detailed documentation in place14:12
minuteelb: awesome, looking fwd14:12
elbI really love how tiny these firmwares are14:13
bremnerI guess the pocket resume is getting farther with Sebastian's latest patches, but still triggering watchdog / LOCKUP: https://paste.debian.net/1402487/14:13
minuteelb: that's one of the reason why i still can't commit to frameworks like zmk/zephyr etc, because i still think, this stuff is so small, solution still fits in head... 14:21
minute(and pico-sdk and tinyusb are already the frameworks here)14:21
minutebremner: can you try with echo s2idle > pm_sleep ?14:21
minutebremner: or you already did?14:22
+ LainIwakura (~LainIwaku@user/LainIwakura)14:23
bremnerminute: I will try it, one sec.14:25
minutegrimmware: could i use ebpf to trace all the PM related calls in the kernel? instead of putting many printks in there i mean14:26
bremnerminute: did you mean mem_sleep? I don't have /sys/power/pm_sleep14:28
bremneror some other path?14:28
bremnerminute: by eye, the result looks about the same.14:35
+ paperManu (~paperManu@modemcable141.205-200-24.mc.videotron.ca)14:36
minutebremner: ah yes mem_sleep14:39
minutebremner: that's weird, because i wasn't able to wake from the default "deep"14:39
bremnerI ran (basically) echo s2idle > mem_sleep && echo mem > state14:40
minutebremner: right. could you show the log of that?14:41
minutebremner: and how are you triggering wake? or not at all?14:41
minutebremner: and what if you echo core > pm_test and then echo mem > state? (it should auto wake after 5 seconds)14:42
bremnerminute: I ran https://paste.debian.net/1402490/14:43
bremnerit does auto wake, but then hard locks during the resume14:43
bremnerdropping the PCI busses is cargo-culted from a hibernation test, I guess I could try without that14:44
minutebremner: yeah can you comment out all pci related stuff?14:44
minuteit looks to me as if it is hanging during pci rescan14:45
grimmwareminute: yes. I can probably take a look at it this weekend if you can just write down what it is roughly you want to see. Probably give you a working bpftrace example and then enough relevant knowledge to be dangerous.14:46
grimmwareI’ve been wanting to sharpen my skills on this for a while14:47
bremnerminute: without the PCI stuff it complains about NVME  nvme 0004:41:00.0: Unable to change power state from D3hot to D0, device inaccessible14:48
grimmwareI’m guessing you’re wanting to trace syscalls and introspect on their invocation and arguments and log out to a file in userland, right? If so the names of some of the syscalls would be handy.14:49
bremnerah, a log. I can grab a log of the version with pci unloading. I'm not sure if core is different than platform here14:49
minutegrimmware: log to dmesg / serial also fine14:50
minutegrimmware: i don't need syscalls, but all the pm suspend related function calls inside the kernel and their args yes. to see which point it reaches before hanging14:51
bremnerPM: Unsupported test mode for suspend to idle, please choose none/freezer/devices/platform.14:52
bremnerso I guess platform it is14:52
minutegrimmware: i would normally stick printk with function/line macro in every function, but was wondering if there are more elegant ways.14:52
minutebremner: hmm you don't have core? that's weird14:53
grimmwareminute: I can give you something I think you’ll be exceptionally pleased with as a future debugging tool.14:54
grimmwareminute: can you give me an example of one of the function names you’re interested in?14:54
grimmwareI can probably put together an example this afternoon14:55
minutewoah there (re deep sleep) https://sc.sigmaris.info/@hughcb/11542918563684786014:55
minutegrimmware: just an example: rockchip_pcie_suspend / rockchip_pcie_resume14:57
minutegrimmware: but basically anything *_suspend and *_resume14:57
bremnerbtw is it expected to traceback when removing the mt76x2u module? https://paste.debian.net/1402494/ ?14:58
bremnerI wonder if the kernel is already in bad state before the suspend?14:58
minutebremner: no that's a bug14:59
minutemaybe drivers/irqchip/irq-gic-v3-its.c:3639 has a comment14:59
bremnerminute: here's a partial log for the platform test https://paste.debian.net/1402496/ ; I have to run now but I can test more later.15:03
minutebremner: many thanks. i'll try to reproduce that15:04
- ericsfraga (QUIT: Quit: ERC 5.6.1-git (IRC client for GNU Emacs 31.0.50)) (~user@2a00:23cc:b475:7c01:53b:6ddf:a36e:d38b)15:16
elbI'd like to write a HACKING document for the keyboard firmware, since I've spent the time to figure some things out; how do people think that should be done?  HACKING.rst (the handbook is RST, is that the preferred format for Reform stuff?  I love me a little bit of org-mode ...) in pocket-hid?  Something else?15:40
grimmwareelb: not that I have any decision rights here but I love what you're talking about doing here :)15:41
elbI see that the README for the handbook is markdown, though, maybe markdown is better15:45
elbanyway, format is negotiable, I think the question is the appropriate way to make it available15:46
cararemixedEasy to pandoc it postfacto I guess? I'm very curious to read this.15:51
grimmware^ yeah I'd crack on and write what it is you want to write :)15:56
grimmwareit sounds really helpful15:56
minuteelb: HACKING.md sounds great!16:22
minute(rst is fine too, i thnk gitlab can render that as well)16:22
grimmwareI have opinions about that particular bikeshed but I'm going to wait until it's built before arguing about what colour it should be painted :)16:26
minute.md is what most people know, so we do everything except the actual handbooks with it16:27
minutehaha i didn't know that "worse is better" is also called the "New Jersey approach" in the original essay16:29
minute(https://dreamsongs.com/WIB.html)16:29
elbOK, I'll draft up some high level stuff and drop it in as HACKING.md16:37
cwebberWorse is Better is one of my favorite essays16:55
cwebbershock and surprise :)16:55
minute;D17:06
minuteok on my test kernel i see > [    1.711085] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])17:06
minutebut i don't have that on the pocket with regular kernel17:06
minute> [    1.730077] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc17:07
minuteah, pocket doesn't have pcie3x4 currently17:09
grimmwareoh shit we're not distributing the btf data for the kernel are we?17:11
grimmwarelemme see if I can figure out what's required to build and distribute it17:12
minuteno idea :017:12
grimmwareI'll take a look at that later, I'll see if I can get this bpftrace working without, I think it should be fine with just the headers...17:13
minutei wanted to test pcie+suspend with an old samsung 970 evoplus i have here on my desk, and it looks like it needs to much BAR space lol17:16
minutethat gives me an excuse to try https://raw.githubusercontent.com/mariobalanica/arm-pcie-gpu-patches/refs/heads/main/linux/6.16/0004-PCI-dwrockchip-Disable-root-port-BARs.patch17:16
- LainIwakura (QUIT: Quit: Client closed) (~LainIwaku@user/LainIwakura)17:21
minuteuff, there's a pcie probing race https://gitlab.collabora.com/hardware-enablement/rockchip-3588/linux/-/issues/3017:23
+ rwa_ (~rene@2001:9e8:3397:df00:9df8:e9ab:69c:821)17:24
minutethis is supposed to be the fix, but i have that in the git log https://lore.kernel.org/linux-pci/20250403093137.1481-1-ilpo.jarvinen@linux.intel.com/17:25
minuteok, other nvme works, it's just something weird about this samsung17:49
minutebremner: i can do s2idle with nvme no problem on my test kernel17:53
minute(the nvme isn't mounted, but will try that now)17:53
lidstahsamsung evo 970? (I have one, the controller can hit 110°C on sustained writes - I do have some Crucial and Kingston nvme drives who barely hit 60°C in the same NUCs (proxmox cluster)) - and Hi all btw !17:53
minutelidstah: hi! yeah 970evo plus. it might be broken also. 17:54
lidstahmine is now shelved, nice paperweight tho17:54
lidstah(sigh)17:54
lidstahcan't afford losing a node in my cluster as I use it both for work, for home and for an engineering school I work for part-time17:55
minutebremner: i took my (taifast) out of my personal pocket reform onto the test board, and s2idle suspend/wake works with it18:07
minute(mounted)18:07
minutenow lets try the pcie2 host...18:07
minuteworks there as well18:12
minutebremner: what nvme brand do you have? probably WD?18:12
+ LainIwakura (~LainIwaku@user/LainIwakura)18:25
- mlarkin (QUIT: Quit: leaving) (~mlarkin@syn-076-081-194-027.biz.spectrum.com)18:29
+ mlarkin (~mlarkin@syn-076-081-194-027.biz.spectrum.com)18:29
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)18:38
gordon2okay, so i implemented parametrized classic trackball cup in freecad ( https://source.mnt.re/gordon/sin-trackball-parts ) that allows the change of ball size, sensor offsets and some other parameters and printed a bag of cups with various offsets, 20mm SiN ball works in all the cases no matter how far you offset it down or up and no matter how you move the sensor ±2mm offset from center, with18:39
gordon225mm SiN ball adding 2mm ball offset from baseline makes it track quite well and reliably (but obviously it won't fit in the case), so i ordered some other balls (24mm and 22.225mm dia) to possibly find a sweet spot18:39
minutegordon2: cool!18:43
+ wielaard (~mjw@gnu.wildebeest.org)18:47
gordon2also my hands are sore after screwing hundreds of screws directly into printed holes =/18:50
gordon2but as a conclusion, distance between ball and sensor is probably the most defining factor18:52
- rwa_ (QUIT: Quit: Leaving) (~rene@2001:9e8:3397:df00:9df8:e9ab:69c:821)19:06
rick_Oh so much for the good news.. My charger board went poof on my pocket. Battery was full, so it shouldn't had thaat much load, but its clearly bured throug19:10
rick_I did remove the batteries for now19:10
rick_Well the system itsel had some load.. Watched a stream via mpv while it happened19:11
minuterick_: oh well ;/ we'll send you a v2 one of course19:12
rick_yeah, thanks ^^ i'll alreday created a support ticket yesterday :319:16
rick_and no hurries ^^19:16
bremnerminute: err. /sys/class/block/nvme0n1/device/device/vendor is 0x126f20:22
bremnerthings like lsblk report the helpful "SSD 1TB"20:23
bremnerthat seems to refer to Silicon Motion.20:24
bremnerwhich is also what I saw under the back cover20:24
+ cellmoose (cellmoose@znc.tilde.green)20:29
- LainIwakura (QUIT: Ping timeout: 250 seconds) (~LainIwaku@user/LainIwakura)20:31
cellmoosehello! i'm a new owner of a pocket reform, and thought it would be fun to check this place out20:31
+ LainIwakura19 (~LainIwaku@user/LainIwakura)20:32
cellmooseand I might as well start with a question: I've got the DIY kit. I've assembled everything except the top cover, and when I turn the thing on the LED on the processor module is pink (I've unplugged/plugged in the ribbon cable). I assuming the pink light indicates some issue?20:36
+ LainIwakura (~LainIwaku@user/LainIwakura)20:36
- LainIwakura19 (QUIT: Ping timeout: 250 seconds) (~LainIwaku@user/LainIwakura)20:39
bremneroops I ran the battery of my pocket to zero again, because only one usb c port works for charging21:00
bremnercellmoose: it might depend on the module but my rk3588 is green21:01
joschgordon2: awesome work! I'd like to try and replicate one of your designs21:15
gordon2josch: oh, this one is quite more conventional, with screws and all, just pick the ball size you like and print it21:18
gordon2tbh i am still not convinced that magnets are way to go, especially with heavier and harder ball21:21
gordon2if they won't keep it in place for example in my bag if i bump it21:21
- pomel0 (QUIT: Ping timeout: 252 seconds) (~pomel0@user/pomel0)21:23
+ pomel0 (~pomel0@user/pomel0)21:23
- paperManu (QUIT: Ping timeout: 240 seconds) (~paperManu@modemcable141.205-200-24.mc.videotron.ca)21:24
minutei just had kmscube running on an amdgpu (polaris10) over mpcie->pcie breakout on rk3588 reform classic21:24
minutecellmoose: the pink LED is fine, it's just the power led of rcore21:25
gordon2wow that's quite an achievement21:26
+ paperManu (~paperManu@modemcable141.205-200-24.mc.videotron.ca)21:26
* mjw -> Guest944421:29
- Guest9444 (QUIT: Killed (zinc.libera.chat (Nickname regained by services))) (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c)21:29
* wielaard -> mjw21:29
+ Guest9444 (~mjw@2001:1c06:2486:a800:7602:5eff:dc71:a72c)21:29
minutegordon2: well i basically only added these patches https://github.com/mariobalanica/arm-pcie-gpu-patches/tree/main/linux/6.1621:36
minute(and found a wonky hardware setup that kind of works)21:36
cellmooseminute: good to know. then there are some other issue. When I try to power it on I get a pink LED on the processor, but the display is completely blank. I'll pick up a mini HDMI adapter and see if I can get an image on an external monitor22:00
- pomel0 (QUIT: Ping timeout: 256 seconds) (~pomel0@user/pomel0)22:09
+ pomel0 (~pomel0@user/pomel0)22:09
- gustav25 (QUIT: Quit: Quit) (~gustav@c-78-82-53-228.bbcust.telenor.se)22:15
minutecellmoose: maybe one of the display cables not connected correctly?22:17
cellmooseminute: ill have to double check both ends. the connector pads are supposed to be facing down?22:23
cellmooseon the ribbon cabel, i mean22:23
- schalken (QUIT: Ping timeout: 256 seconds) (~schalken@117-118-178-69.gci.net)22:32
+ schalken (~schalken@117-118-178-69.gci.net)22:33
minutecellmoose: yes, and there's also the DSI cable connecting RCORE to the motherboard22:51
minutecellmoose: you can also show some photos to check22:51
- schalken (QUIT: Ping timeout: 264 seconds) (~schalken@117-118-178-69.gci.net)22:58
+ schalken (~schalken@117-118-178-69.gci.net)23:01
- schalken (QUIT: Ping timeout: 244 seconds) (~schalken@117-118-178-69.gci.net)23:08
- paperManu (QUIT: Ping timeout: 244 seconds) (~paperManu@modemcable141.205-200-24.mc.videotron.ca)23:08
+ schalken (~schalken@117-118-178-69.gci.net)23:10
- LainIwakura (QUIT: Quit: Client closed) (~LainIwaku@user/LainIwakura)23:11
+ LainIwakura (~LainIwaku@user/LainIwakura)23:22
+ paperManu (~paperManu@198.58.139.163)23:24
jfredre: Worse is Better, as someone who lives in New Jersey... sounds about right lol23:30

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