2025-10-28.log

minutenew pocket sleeve and some new spare parts https://mastodon.social/@mntmn/11544860471984045100:01
joschi think the big news here is the MNT Pocket Reform Headset/Switch Board 2.000:05
joschthis was part of the upgrade bundle, right?00:06
+ paperManu (~paperManu@198.58.209.52)00:07
- LainIwakura (QUIT: Quit: Client closed) (~LainIwaku@user/LainIwakura)00:16
- paperManu (QUIT: Ping timeout: 264 seconds) (~paperManu@198.58.209.52)00:24
+ pomel0 (~pomel0@user/pomel0)00:26
+ paperManu (~paperManu@198.58.209.52)00:27
- leony (QUIT: Quit: leony) (~leony@2a02:8109:f084:a900::e761)00:39
minutejosch: it's not that big, it's just a spare part. except if you happen to have mrcorexxr02, then you can get the wifi expansion cheaper now00:43
minutebefore, the cheapest option if you had mrcorexxr02 was 100 eur carrier upgrade incl this expansion00:44
joschin the fotos you showed on fedi one can see a purple rev4 rcore board?00:44
minuteyeah ;300:44
minutethat's the newest batch and also what will be shipped to crowd supply00:44
joschminute: could i also send you a friendly ping about my messages from earlier today at around 7:30 berlin time?00:45
minutesure, will check00:45
joschwell... not today obviously XD00:45
minutejosch: already did :D00:48
- paperManu (QUIT: Ping timeout: 246 seconds) (~paperManu@198.58.209.52)00:52
joschminute: perfect, thank you!00:54
+ paperManu (~paperManu@node-1w7jra78xlwv3hmhumsr2vo99.ipv6.telus.net)00:54
joschminute: any idea on how to debug a non-moving mouse cursor with pocket reform keyboard? sensor is visually absolutely clean01:00
minutejosch: hmmm seems rare, did you already try keyboard reset (in oled menu)?01:01
minuteotherwise i'd say maybe the cable is a bit loose01:01
joschwat01:02
joschreset fixed it01:02
joscho001:02
minuteok, so software issue in the keyboard01:02
minutewhich fw are you on btw?01:02
josch2025100101:02
minuteseems relatively recent :D01:03
minutenot exactly bleeding edge though! :D01:03
joschoh i missed the new release then01:03
joschthank you!01:03
elbhuh I just popped dmy rcore off the carrier board and saw the HDMI flat flex cable header under there01:04
elbis that a different HDMI port from the one on the other side of the motherboard, or same?01:04
minutejosch: sorry, there was no real release after 20251001 but several new builds ^^01:04
joschah that you mean :)01:04
minuteelb: different, you found the "free additional HDMI" easter egg01:04
elbnice01:04
elbI'd honestly quite appreciate a full size HDMI port, maybe on the headphone jack side01:05
elbit'd save me a dongle that I use every single day01:05
minuteyeah... 01:05
minuteif i put an oculink, fullsize hdmi and usb-a there, no idea where i would put the intel wifi though ;/01:06
elbheh yeah01:06
elbit's definitely a tradeoff01:06
elband I understand (for that reason) why the other size is micro HDMI01:06
minuteit's sad that HDMI alt mode never took off01:07
minutenow we only get DP alt mode and TVs don't really speak DP01:07
minuteotherwise one could've wrapped hdmi nicely in usb-c01:07
elbisn't HDMI except for HDCP a strict subset of DP, though?01:08
minutebtw i'm only half joking about oculink. i ordered the minisforum deg-1 today, and some oculink breakouts for m.2, cables, sfx power supply, the goods01:08
minuteelb: no, you're thinking of DVI maybe?01:08
minuteelb: there's DP++ which means a DP port that can alternatively output HDMI if asked nicely01:09
elboh yeah maybe01:09
minute(but not input)01:09
minuteDVI-D and HDMI are somewhat compatible, i.e. DVI-D doesn't have audio and a few other things01:09
minuteACTION has flashbacks to DVI-I01:10
elbyeah I knew I remembered that some protocol and HDMI were signal-compatible but had only overlapping modes, maybe it was some revision of DVI01:11
elblike you could do one direction with a passive cable, and the other required a converter chip01:11
elboh that headset/switch 2.0 board for only 19 eur is a deal01:12
minuteyeah, i guess my colleague underpriced that one a bit lol01:13
elbuh does it come with the cable01:13
minutenormally not yet. but i realize that most people who have rcore R02 will want the cable 01:14
elbyeah it's maybe too late to do it right now, but I think you could add another 5-10 eur onto that and nobody (reasonable) could complain01:14
minutei think we'll do that tomorrow, i already wrote to my colleague about this, and to include the cable. and i also made a compatibility table earlier today that didn't make the cut01:15
minute(yet)01:16
elbso I know that m.2 is pitched as a port for wi-fi, but ... it's just a 40 mm PCIe, right?01:16
minutewell it's key E01:16
minute3220 i think? if memory serves01:16
elbohhhhhh the really little guy01:17
elbhard to see in those photos01:17
minutesorry, 223001:17
minuteeven little-er01:17
bremnerisn't 3220 a robert johnson song?01:17
minuteand there is pcie and usb 2.0 on it01:17
minutebremner: i don't know :D01:18
bremnerhttps://en.wikipedia.org/wiki/32-20_Blues01:18
bremneruh, glad I could contribute :P01:18
elbI normally love parts that have true parametric sizes01:18
elbbut like m.2 can chill out a little01:18
minutehaha yes m.2 has a lot of form factors and keys01:19
elbway back in the day, the first m.2 I ever used was in an APU or something01:19
elbI remember being utterly baffled as to whether the SSD I ultimately bought would even go in the hole, much less work when it got there01:19
elb(it did)01:19
elband there were a lot fewer options in 2017 or whenever that was01:20
minuteoh right.01:20
- mjw (QUIT: Ping timeout: 256 seconds) (~mjw@gnu.wildebeest.org)01:31
- paperManu (QUIT: Ping timeout: 255 seconds) (~paperManu@node-1w7jra78xlwv3hmhumsr2vo99.ipv6.telus.net)01:31
minute> Welcome to the OpenBSD/arm64 7.8 installation program.02:06
minuteout of curiosity i booted openbsd arm64 img on classic rk3588 reform02:07
minutepcie and usb work, looks like everything is recognized. but of course there are no graphics drivers02:12
+ paperManu (~paperManu@107.159.15.124)02:40
- paperManu (QUIT: Ping timeout: 255 seconds) (~paperManu@107.159.15.124)02:47
elbnice, though02:48
elbthat means the reform desktop kind of form factor could be a great contender in the set top routing field02:49
elbnow that the APU2 is gone there's a hole02:49
^alexour home network nat router and captive dns cache is a pair of apu2s, pourin' one out02:57
^alexand yes, they do run openbsd :}02:57
- kop316 (QUIT: Remote host closed the connection) (m-6f6zq6@static.138.159.90.157.clients.your-server.de)03:06
+ kop316 (m-6f6zq6@static.138.159.90.157.clients.your-server.de)03:08
- kop316 (QUIT: Remote host closed the connection) (m-6f6zq6@static.138.159.90.157.clients.your-server.de)03:08
+ kop316 (m-6f6zq6@static.138.159.90.157.clients.your-server.de)03:08
sigrid[h264 @ 0xaaaac3ea0790] Using V4L2 media driver hantro-vpu (6.17.5) for S26404:34
sigridlooks like i got ffmpeg8 work with this thing04:34
sigridon rk358804:35
sigrid[hevc @ 0xffff95a8bc40] Using V4L2 media driver rkvdec (6.17.5) for S26504:46
sigridguess that's the other video core04:46
wytchminute: Thank you so much with your help with my display woes. I am now happily typing this on my pocket with no external display. I'll email plom to close my ticket, but the new motherboard appears to have done the trick!07:13
wytchit also appears that according to cloudflare, the combination of the new wifi antenna and the back cover have greatly increased my network speeds07:18
+ chomwitt (~chomwitt@2a02:85f:9a5f:900:1ac0:4dff:fedb:a3f1)08:20
josch\o/08:40
joschsigrid: how did you do it?08:40
joschi *really* enjoyed hardware video decoding on imx8mq. It's so neat to compile your kernel on all eight cores and watch 1080p@60 video without frame drops at the same time. :D08:41
- chomwitt (QUIT: Ping timeout: 256 seconds) (~chomwitt@2a02:85f:9a5f:900:1ac0:4dff:fedb:a3f1)09:15
+ chomwitt (~chomwitt@2a02:85f:9a5f:900:1ac0:4dff:fedb:a3f1)10:02
minutesigrid: oh nice10:36
minutewytch: glad to hear it!10:37
+ mjw (~mjw@gnu.wildebeest.org)11:29
+ paperManu (~paperManu@107.159.15.124)11:53
sigridjosch: patched the kernel with https://lore.kernel.org/linux-media/20251023214247.459931-1-detlev.casanova@collabora.com/T/#t (although the previous version of it) and reapplied v4l2request patches on ffmpeg 812:06
sigridhad to fix things here and there for it to build, but it wasn't that much work. tested the result with ffplay ... -hwaccel v4l2request -vf hwdownload,format=nv1212:07
sigridwithout the latter it complains about invalid dmabuf layer format being nv12, which I have no idea what to do about12:08
sigridall the patches are on the last two commits here if anybody wants it: https://git.sr.ht/~ft/aports/12:09
+ gustav25 (~gustav@c-92-32-81-177.bbcust.telenor.se)13:02
- RandyK (QUIT: Ping timeout: 272 seconds) (~RandyK@user/randyk)13:03
+ RandyK (~RandyK@user/randyk)13:03
- erle (QUIT: Quit: K-lined) (~erle@user/erle)13:24
- chomwitt (QUIT: Ping timeout: 260 seconds) (~chomwitt@2a02:85f:9a5f:900:1ac0:4dff:fedb:a3f1)13:31
- paperManu (QUIT: Ping timeout: 260 seconds) (~paperManu@107.159.15.124)13:33
joschsigrid: thank you!13:38
- mjw (QUIT: Ping timeout: 256 seconds) (~mjw@gnu.wildebeest.org)13:39
joschminute: should the MNT repository ship ffmpeg with the v4l2request patch-set again? We disabled that in the past because the patches did not allow for a gui overlay in mpv, because of irregular stutters in the h264 output (on imx8mq back then) and because h265 did not work at all13:39
* Guest1670 -> mjw13:42
+ paperManu (~paperManu@modemcable141.205-200-24.mc.videotron.ca)13:51
+ andreas-e (~Andreas@2a02-8434-b6a3-e901-facc-8e87-8e54-890e.rev.sfr.net)14:44
- paperManu (QUIT: Ping timeout: 260 seconds) (~paperManu@modemcable141.205-200-24.mc.videotron.ca)14:48
elbugh my digikey order with a new console cable in it is delayed and has been ... somewhere ... for a week now14:52
elbI itch to move from the keyboard to sysctl, but I have trepidation about doing that without a console cable14:52
minuteelb: console cable for SoC output? because you can get serial from sysctl just with usb-c to another computer if needed15:27
minutejosch: it's fine if we ship the mpv config where hwdec is disabled by default 15:29
minutenot sure if that's still the case or if it's "auto"15:29
elbyeah I want SoM and sysctl15:29
minuteelb: alright15:30
elblike I anticipate getting into "this doesns't boot, why not?" territory15:30
elbso far I have managed to not run into any hiccoughs whatsoever with the keyboard (except for failing to do the dance of putting it into flashing mode and running the uploader in exactly the right timings, once or twice)15:31
minuteright15:32
elbI've been thinking about the remote protocol some, and looking at it ... we had discussed the other day a dual-stack kind of idea15:33
elbbut I dislike the complexity of having to maintain two protocols15:33
elbso now I've been thinking, what about a sysctl console kind of program, that you run on a host computer and it speaks the framed, now-binary remote protocol, with a few commands and queries and a decoder that pretty-prints the returned data?15:34
elbI see pluses and minuses to that, versus just firing up a terminal15:34
+ paperManu (~paperManu@64.187.189.252)15:34
amksigrid: does the rk3588 kernel work with the pocket? been wanting to get alpine running on mine15:34
[tj]elb: run the sysctl firmware on a pi pico for development15:36
sigridamk: the dts files for the pocket are there too, I think it should work. I can't test it though since I have no pocket15:37
elb[tj]: an interesting suggestion15:37
amkah cool, ill see about giving it a try15:37
- paperManu (QUIT: Ping timeout: 240 seconds) (~paperManu@64.187.189.252)15:42
+ paperManu (~paperManu@142.169.16.151)15:44
minuteelb: yeah, single is better than dual for complexity, sure. regarding the framing, i think we agreed the command side was pretty ok, and that we could focus on restructuring the responses. i think it's fine to change the responses totally in the firmware, so only have the "new stack" there, as keeping backwards compat only in the driver is easier to manage there15:47
minuteelb: because we want as little as possible complexity in the FW which is harder to change and failures are less forgiving, than on the linux driver side which is easier and less risky to update, and more resources are available15:48
elboh I'm talking about the sysctl-to-keyboard remote protocol at this moment15:48
elbso it's firmware-to-firmware15:49
minuteelb: oh you're right. it's the same commandset though15:49
elbok, I haven't gotten that far yet15:49
elbso your suggestion is that we leave commands to the sysctl as plain text, and re-frame the responses as binary-only?15:49
minuteelb: the SPI stuff is basically a port of that to a more restrictive transport layer15:49
minuteelb: hmm, i don't necessarily see a huge gain in them being binary... that's up for debate15:50
minuteelb: a checksum and other framing could also be printable digits :D (unusual, but...)15:51
elbit could, and I thought about that15:51
elbit really depends on what the goal is15:51
minutei see two goals: 1. make the message integrity 100% reliable (recognize transfer errors with certainty, and make sure the syntax is correct before parsing) 2. ideally make it still plaintext compatible (more friendly to debug). but this can be examined more closely vs any tradeoffs i might glance over at the moment15:53
minuteand a subgoal of 1. is probably, define a regular response syntax15:53
minutewhen choosing a syntax, i like to consider what existing tooling it would immediately be compatible to15:54
minutefor example, if it was CSV/TSV, or JSON, it could be verbatim logged and graphed15:55
minuteif it was custom, one would require extra parsers/adapters15:55
elbI see two specific benefits of going binary; one, a much more robust check (even something like a CRC) becomes easy without having to, say, base64 or something.  Two, the numeric fields can stay numeric, which simplifies parsing and means fewer hacks to keep things fixed-width15:55
elbyeah plaintext has real benefits for "let me just dump this through awk and gnuplot"15:55
- paperManu (QUIT: Ping timeout: 264 seconds) (~paperManu@142.169.16.151)15:56
elbbut is that something an interface tool could do?15:56
minuteelb: i mean plan9 got pretty far with plaintext interfaces ^^15:56
minuteelb: for crc, i was imagining that you would just crc the text string as if it was binary and then append it as a hex string15:57
elbI need to look at all of the messages more closely, I understand your position and I think this is something that I"ll have a better idea about once I see the landscape15:57
minute(utf8 is for me just a specific type of binary)15:57
elbthat's true, re: plan 9, but plan 9 was also more in the situation of the drivers you mention above15:58
elbeven more so, as it was almost all _userspace_ applications providing those services15:58
elbso they had memory protection and complex allocation interfaces and large standard libraries at their disposal15:58
minuteright. are you worried about arbitrary field lengths etc?15:59
elbyeah I was thinking the checksum could be represented in hex or base64 or somethning, yeah15:59
elbarbitrary field lengths and numeric parsing, yes15:59
elbI see that most of the current messages are fixed fields, but there's some questionable (to me) numeric stuff16:00
minuteelb: yeah, those are mainly bugs16:00
elbI think I even saw and atoi() (although maybe that was in hidraw)16:00
minuteelb: it was supposed to be regular, but i made at least one mistake16:00
elbok fair16:00
minutein the end, a proven, but a bit more flexible parser would have been better, but it would need to hard limit all lengths and use only fixed preallocated buffers.16:01
elbI should also say that I'm considering these surfaces taht should be hardened16:02
elbwhich is ... definitely something that requires a careful threat model16:02
elblike obviously if you can just send 0p and shut the thing down you have to be trusted16:02
elbbut also I don't want to see arbitrary memory accesses16:02
minuteelb: right.16:03
elbunrelated, but did you see my comments about HID reports the other day?16:03
- jogu (QUIT: Remote host closed the connection) (~jogu@user/jogu)16:03
minuteelb: 0p + checksum would be better though :D16:03
elbabsolutely!16:03
minuteelb: ah, i think i missed that about HID16:03
elbI have a slight concern that I'm not sure how to resolve16:04
elbrelated to suppressing unnecessary HID reports16:04
elbright now, we trigger one HID report on every keyboard poll, which sends a keyboard report immediately16:04
elband then when we receive confirmation that it was sent, we send the trackball16:05
minuteelb: ok, i just thought about it some more. i think arbitrary text and esp. number formatting/parsing adds a lot more overhead than is required for a machine interface, and needing a little tool on a computer to pretty print the responses is actually fine.16:05
elbbut we're only notified of that report completing on the _next_ keyboard poll16:05
elbbecause it comes as a callbnack when we call tud_task()16:05
minutemhm16:06
elbthis is absolutely imminently solvable, but it's gonig to be added complexity16:06
elbI can't find any way to get tinyusb to notify us of that truly asynchronously16:06
minuteelb: well, for me the current code about report is legacy because we really should first switch to something like in my next branch of keyboard4-fw, because we should send the reports only if any inputs to the reports differ16:07
elbI'm thinking something like a stuttered wakeup -- send a report and set a _very quick_ timer for the next wakeup, if there are chained reports, more like 1 ms or so, where the next wakeup does nthing but clock out the next report16:07
elbyeah that's exactly where I'm going with this16:07
elbok maybe I need to look at that firmware16:07
minutehang on, i'll send a link16:08
elbif you already have suppression there's no sense in me reinventing that16:08
minuteyeah that's what i mean16:08
minutebut that version is losing keydown/up events spuriously, so maybe you can figure out why16:08
minuteit might point to a deeper issue or maybe i just made a small mistake16:09
elbpopping back to binary vs text messages, I should also add that I have an aversion to "text" protocols which are _actually binary_ like NMEA and APRS, because they trick people into thinking that typing them is reasonable, when it's not ;-)16:09
minuteelb: https://source.mnt.re/reform/reform/-/blob/next-multitouch/reform2-keyboard4-fw/src/main.c?ref_type=heads#L48216:09
minuteelb: sorry, this is the more interesting part https://source.mnt.re/reform/reform/-/blob/next-multitouch/reform2-keyboard4-fw/src/main.c?ref_type=heads#L51716:10
minutethis version also has consumer reports for media keys btw16:10
elbok, I pulled that up and I'll plan to look at it before I dig any deeper into the HID reports16:11
minuteelb: ok ^^ i kind of thought in the last 10 minutes like "it would be so much easier/cleaner to just pass structs" so yeah. you have my blessing16:11
elbit took me a little bit to figure out what all tusb was doing16:11
elbsince, you know, there's absolutely no documentation16:11
minuteyeah, that, i read from the sidelines16:11
minutecool that you're digging in there!16:11
elboh I'm loving this16:12
elbso to close the second thread, I'll look at the sysctl interface with an eye to a very regular and simple but structured protocol for sysctl <-> keyboard and SoM; I wasn't previously aware of the unified protocol talking to the kernel, so I'll think about that, too16:13
elbmy instinct is to do something like a TLV chain with very simple framing to include a checksum16:14
elb(or more likely a CRC)16:15
elbI will note out loud that this also requires a method for forcing a re-sync16:16
elbif a message fails to decode, you can get into a situation where you don't know how to interpret the _next_ message16:16
elbnow to do my real job :-\16:18
minuteelb: yep, we have these sync problems already in practice, and a "resync" command is missing.16:20
minuteelb: ttyl!16:20
+ jogu (~jogu@user/jogu)16:54
^alexif we had infinite time/energy we would consider a Kaledioscope port to the pocket reform keyboard 17:06
- GNUmoon2 (QUIT: Ping timeout: 272 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)17:21
+ paperManu (~paperManu@142.169.16.151)17:33
+ GNUmoon2 (~GNUmoon@gateway/tor-sasl/gnumoon)17:33
- paperManu (QUIT: Ping timeout: 264 seconds) (~paperManu@142.169.16.151)17:43
+ FirefoxDeHuk (~FirefoxDe@109.108.69.106)18:09
sigridjosch: mpv works great as well - https://git.sr.ht/~ft/aports/commit/b4759c670a175d0b8cdb10cecae1c3b7c2f6dc3b18:14
elbminute: I see why this would drop consumer control keys, but not regular keyboard keys (at least not yet); does it drop only multimedia keys?18:25
elbis there a list of priorities or outstanding bugs/concerns somewhere?  I'm kind of applying effort on whatever catches my attention, which was great while I was getting a feel for the ecosystem, but now that I'm starting to feel comfortable with how things are put together I'd be happy to start tackling things people actually _care_ about.18:28
elb(I'm also happy to keep doing whatever and just try to make things cleaner/better here and there, but now that I see the divergence in this firmware, I'm wondering if me submitting a million patches to the pocket keyboard firmware is really what y'all want)18:29
grimmwareelb: my only ask is whilst you're in there keep an eye out for unnecessary interactions with the sysctl because the likelihood is that to get a lower power consumption from the sysctl (which we sorely need) it's liable to need to wake on an interrupt on a uart pin (or  some adjacent bodge) so if the keyboard's querying the sysctl when it doesn't need to that's likely to need cleaning up at some point18:32
grimmwareso I guess just generally keep low power states in mind because it would be great if these would stop draining the battery so much when the SoM is off18:33
elbgrimmware: power is one of the things I got started here to look at, in fact18:34
grimmwareoh nice!18:35
elbthe power thing currently on my radar is slowing down HID wakeups18:35
grimmwareah nice18:35
grimmwarethat sounds like a really good place to start :)18:35
elbI believe he keyboard isn't sending HID reports when the SoM is off/asleep, but it's still _waking up_ and doing a full poll18:35
elband when the SoM is awake, it's sending one or more HID reports every 5 ms, regardless of need18:36
grimmwareoh wow18:36
elbI'd hae to look, but I think it doesn't poke the sysctl uart if it knows the system is powered off, but it isn't good about knowing that18:36
elbin particular if the system powers off for anything except hyper+enter 0, I think it doesn't know18:36
elb(which is definitely a bug, I filed an issue for that)18:37
grimmwarewhat do you think is the answer, keepalive from the sysctl?18:37
+ paperManu (~paperManu@142.169.16.151)18:37
elbI haevn't tracked it down yet, I think I know generally why it's happening, but a casual glance at teh code alsoso suggested that it has an attempt to reventthat in palce18:38
elbugh lag18:38
elbsorry for that junk, I was out-typing my display update18:38
elbI think I know why it's happening, but I think the code is trying to do the right thing, basically18:39
elbit needs more inspection18:39
- FirefoxDeHuk (QUIT: Quit: Client closed) (~FirefoxDe@109.108.69.106)18:39
elbI don't know if keepalives is it; I'd like to see something that is synchronously correct, and it feels doable18:39
elbmaybe some pollings on reset/etc. to make sure everythiung is in the same state18:39
elbI'm going to look harder at that when I visit the remote protocol18:40
minuteelb: no it drops regular keys18:40
minuteelb: ok so in the keyboard space, my biggest priority is fixing that "dropping keys" bug so i can merge that to reform2-keyboard4 main, (and ship the reform next), and reuse that code on pocket to make the USB interface less spammy18:42
minuteelb: and we should decide at which point it makes the most sense to merge these two firmwares into one that has a pocket and a classic mode18:44
minuteelb: as the pocket's fw has the most polish currently, i think it makes sense to make a branch in the pocket repo and manually carry over features from reform2-keyboard4 until that fw works ok on a reform2-keyboard418:45
minuteor we could make a new repo reform-firmware that over time replaces all pico-sdk based impls with unified ones (i.e. one unified sysctl codebase and one unified hid/input codebase)18:47
minuteif sysctl and hid are in one repo together, it would be not too hard to run integration tests of the protocol between them in CI18:47
- chorc (QUIT: Quit: ZNC 1.9.1 - https://znc.in) (~chorc@user/chorc)18:48
+ chorc (~chorc@user/chorc)18:49
elbminute: personally I'd like to see a repo for unified firmware and then just pull that into pocket or next or whatever; how to _get_ there is a little bit of a different question18:52
minuteok18:53
elbright now I'm not setup to do that integration work, though18:54
elbin the sense that the only hardware I can test is the Pocket18:55
- paperManu (QUIT: Ping timeout: 260 seconds) (~paperManu@142.169.16.151)18:56
elbwhat I _can_ do is try to port some of the HID suppression stuff over to the pocket, but as things stand right now, it would then require back-porting18:56
elbbut I think something like a reform-fw repo where you just 'cmake -DPLATFORM=pocket' or -DPLATFORM=next or whatevber would be very nice18:58
grimmwareyeah unified firmware would definitely be good.18:59
+ erle (~erle@user/erle)19:00
elbalso; if it's dropping regular keys, I dont' immediately see why that is, and so I'd probably want to port it over to pocket and play with it a bit to try to figure that out19:01
+ paperManu (~paperManu@142.169.16.151)19:01
grimmware> if sysctl and hid are in one repo together, it would be not too hard to run integration tests of the protocol between them in CI19:04
grimmwareomg yes19:04
grimmwareI would happily help with that, it would do a lot to prevent bugs from finding their way back in.19:05
elba set of integration tests that could be run with a pair of pi picos would bbe  cool for reworking the remote protocol19:07
grimmware[tj] started looking into that some time ago but has been working on other stuff19:08
elbyeah they mentioned testing with a pico earlier is what made me think of it19:09
grimmwareIf I had a reliable development environment for that stuff I'd be working a lot more actively on it, the i2c-over-spi proxy stuff for one19:09
elbthat feels like it wants an emulator19:09
elbisn't the other end of the spi normally the SoM?19:09
elbbut again, a pico could handle that19:10
elba rack of picos and some wires with a usb hub ;-)19:10
grimmwareoh no wait yeah sorry I'm brainfarting19:10
grimmwareit's tunneling i2c over spi so you can present a kernel interface for the i2c which is actually connected to the sysctl19:11
grimmwarebecause that's the only thing with an exposed qwiic header19:11
elbright now the sysctl talks to the SoM in a streaming text protocol wrapped in I2C transported over SPI?19:12
grimmwareoh wait maybe I could try to do this with a pi and a pico...19:12
grimmwareno right now the sysctl talks to the SoM over pure SPI19:13
elbok good that hurts less19:13
grimmwareoh no yeah I want to *add* the jank so that i2c can be used without having to maintain your  own fork of both the sysctl firmware and the kernel module19:14
grimmwareminute, josch: actually on that note, what if the new reform-firmware repo was actually also a debian package which distributes source and firmware binaries for the picos but doesn't actually install them, and we also moved the kernel module to it? That way if you *did* want to maintain your own fork or patchset it would be significantly less painful.19:17
grimmwareit would also make the reform family significantly more moddable from the get-go19:17
+ rwa_ (~rene@2001:9e8:3393:dc00:555e:eb3:b087:a109)19:19
- paperManu (QUIT: Ping timeout: 264 seconds) (~paperManu@142.169.16.151)19:19
- erle (QUIT: Ping timeout: 264 seconds) (~erle@user/erle)19:26
+ wielaard (~mjw@gnu.wildebeest.org)19:30
+ paperManu (~paperManu@142.169.16.151)19:32
- paperManu (QUIT: Ping timeout: 264 seconds) (~paperManu@142.169.16.151)19:38
- qbit (QUIT: Remote host closed the connection) (~qbit@user/qbit)19:40
+ qbit (~qbit@user/qbit)19:43
joschgrimmware: firmware is already distributed via fwupd though20:00
joschalready found the first bug: W: unsupported machine: MNT Reform 2 with i.MX8MP Module20:01
+ paperManu (~paperManu@142.169.16.151)20:25
- paperManu (QUIT: Ping timeout: 244 seconds) (~paperManu@142.169.16.151)20:44
+ johl (~johl@ip-185-104-138-117.ptr.icomera.net)21:08
+ paperManu (~paperManu@142.169.16.151)21:18
- johl (QUIT: Quit: leaving) (~johl@ip-185-104-138-117.ptr.icomera.net)21:21
- aloo_shu (QUIT: Ping timeout: 252 seconds) (~aloo_shu@85.51.17.185)21:34
elbwell I just found a way to save a _little_ bit of power21:42
elbone of the column driver pins is idling high, which is six GPIO pulldown loads21:43
elbhmmm they're in the 50kohm range, that's pretty high21:44
elb(so not much current)21:44
elbI'll fix it anyway ;-)21:44
+ LainIwakura (~LainIwaku@user/LainIwakura)21:47
+ LainIwakura85 (~LainIwaku@user/LainIwakura)21:49
- LainIwakura (QUIT: Ping timeout: 250 seconds) (~LainIwaku@user/LainIwakura)21:54
- paperManu (QUIT: Ping timeout: 260 seconds) (~paperManu@142.169.16.151)21:58
+ leony (~leony@2a02:8109:f084:a900::e761)22:03
- rwa_ (QUIT: Remote host closed the connection) (~rene@2001:9e8:3393:dc00:555e:eb3:b087:a109)22:11
- gustav25 (QUIT: Quit: Quit) (~gustav@c-92-32-81-177.bbcust.telenor.se)22:15
+ chomwitt (~chomwitt@2a02:85f:9a5f:900:1ac0:4dff:fedb:a3f1)22:17
- plomtest (QUIT: Remote host closed the connection) (~plom@user/plomtest)22:23
+ plomtest (~plom@user/plomtest)22:24
+ paperManu (~paperManu@107.159.15.124)22:50
elbok the red wire is GND and the black wire is +5 V on the USB cable to the motherboard, that's just evil22:51
- andreas-e (QUIT: Quit: Leaving) (~Andreas@2a02-8434-b6a3-e901-facc-8e87-8e54-890e.rev.sfr.net)22:55
- plomtest (QUIT: Remote host closed the connection) (~plom@user/plomtest)22:55
+ plomtest (~plom@user/plomtest)22:55
elbgrimmware: I just scoped the pocket keyboard to sysctl interface and it's actually pretty quiet, I don't think it's waking the sysctl frequently23:02
elbtough to be sure because its' freaking hard to get a scope probe onto those pads23:02
elbI neeed to check the boards for a btter place to sniff23:03
+ aloo_shu (~aloo_shu@85.51.17.185)23:06
- mlarkin (QUIT: Ping timeout: 264 seconds) (~mlarkin@syn-076-081-194-027.biz.spectrum.com)23:26
- plomtest (QUIT: Remote host closed the connection) (~plom@user/plomtest)23:26
+ plomtest (~plom@user/plomtest)23:26
- LainIwakura85 (QUIT: Quit: Client closed) (~LainIwaku@user/LainIwakura)23:27
+ mlarkin (~mlarkin@syn-076-081-194-027.biz.spectrum.com)23:27
- plomtest (QUIT: Remote host closed the connection) (~plom@user/plomtest)23:27
+ plomtest (~plom@user/plomtest)23:28

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