2023-10-20.log

- jacobk (QUIT: Ping timeout: 255 seconds) (~quassel@129.110.242.224)00:18
+ jacobk (~quassel@utdpat242016.utdallas.edu)00:33
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@utdpat242016.utdallas.edu)00:51
+ jacobk (~quassel@utdpat241106.utdallas.edu)00:59
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:50)01:58
- mjw (QUIT: Ping timeout: 240 seconds) (~mjw@gnu.wildebeest.org)02:01
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@utdpat241106.utdallas.edu)02:31
- ajr (QUIT: Quit: Connection closed for inactivity) (uid609314@user/ajr)03:48
- S0rin (QUIT: Ping timeout: 272 seconds) (~S0rin@user/s0rin)04:41
+ S0rin (~S0rin@user/s0rin)04:42
- Ar|stote|is (QUIT: Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) (~linx@149.210.32.15)05:51
+ Ar|stote|is (~linx@149.210.32.15)05:51
+ jacobk (~quassel@129.110.242.173)06:29
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@129.110.242.173)06:33
+ jacobk (~quassel@129.110.242.173)06:45
- jacobk (QUIT: Ping timeout: 255 seconds) (~quassel@129.110.242.173)06:51
- doctorhoo (QUIT: Ping timeout: 255 seconds) (~doctorhoo@217-210-162-155-no600.tbcn.telia.com)07:04
+ doctorhoo (~doctorhoo@2a00:801:7a7:5c1a:9472:da2e:8edf:b925)07:07
+ jacobk (~quassel@129.110.242.173)07:22
- jacobk (QUIT: Ping timeout: 272 seconds) (~quassel@129.110.242.173)07:53
+ jacobk (~quassel@129.110.242.224)08:00
- jacobk (QUIT: Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) (~quassel@129.110.242.224)08:12
- GNUmoon (QUIT: Remote host closed the connection) (~GNUmoon@gateway/tor-sasl/gnumoon)08:22
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)08:23
+ jacobk (~quassel@64.189.201.150)09:18
vkoskivnoam: curious, did you measure the actual voltage at the jack when it was charging? How many amps did you see on the input side and on the oled?09:50
+ mjw (~mjw@gnu.wildebeest.org)10:46
- mjw (QUIT: Ping timeout: 255 seconds) (~mjw@gnu.wildebeest.org)10:55
+ mjw (~mjw@145.15.244.208)11:14
noamI didn't measure it at the jack, and I... don't recall?11:24
noamIt's been a long while11:24
- mjw (QUIT: Ping timeout: 272 seconds) (~mjw@145.15.244.208)11:27
+ mjw (~mjw@145.15.244.208)11:31
+ wielaard (~mjw@84.241.197.192)11:33
- mjw (QUIT: Ping timeout: 260 seconds) (~mjw@145.15.244.208)11:36
- wielaard (QUIT: Ping timeout: 260 seconds) (~mjw@84.241.197.192)12:14
vkoskivStill, cool to hear that it worked!12:29
+ IchikaZou (~IchikaZou@36-231-112-45.dynamic-ip.hinet.net)13:27
IchikaZouI have play around arcan display server for few days, it has some interesting features that seem might work will with a pocket reform and a desktop set up.13:29
IchikaZouhttps://youtu.be/rQlOQDKd5cc?si=1JbI7anFqGLrUz_T13:30
IchikaZouTimestamps from 0:14 to 0:2413:31
IchikaZouIf I can get this working, I will finally replace my dell with pocket reform.13:32
- buckket (QUIT: Quit: buckket) (~buckket@vps.buckket.org)13:47
+ buckket (~buckket@vps.buckket.org)13:48
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@64.189.201.150)14:56
- bkeys (QUIT: Quit: With every step we take, danger will follow closely) (~Thunderbi@199.226-24.cm.ptn.tftn.dynamic.friendlycity.net)15:05
+ jacobk (~quassel@utdpat241106.utdallas.edu)15:07
abortretryfailjosch: i ran mine straight off a solar panel before. Guess I could have taken pictures.15:29
- IchikaZou (QUIT: Remote host closed the connection) (~IchikaZou@36-231-112-45.dynamic-ip.hinet.net)15:29
erleminetest is having a release soon-ish. did someone test the new version on reform already?15:30
erle(they are not good with keeping compat with strange GPUs)15:30
abortretryfailvkoskiv: the LTC4020 is actually designed for that application, check out the datasheet. It makes me kinda mad more laptops *don't* do this.15:31
abortretryfailOne thing it is not good at though is avoiding drawing too much current from a limited supply, like a USB-C charger with a trigger cable. Those have been very hit and miss for me (mostly miss)15:32
vkoskivtrigger cable?15:33
abortretryfailYeah, it has a chip in it that tells the USB-C PD charger to send whatever voltage and then a regular barrel jack on the other end.15:33
abortretryfailI got ones for 20V, 15V, and 12V 15:33
vkoskivYeah, and it's super easy to tell cables that have that apart from the ones that don't :')15:33
abortretryfailIt is. You plug it in to the USB charger, and then measure the output with a voltmeter. If the charger can do more than 5V and you measure one of the other voltages that USB-PD supports, then it's doing the thing.15:34
vkoskivExplain what a voltmeter is to my >80yo grandparents wondering why their thing doesn't charge15:35
vkoskivD:15:35
vkoskiv* :D15:35
abortretryfailHeathkit called them "VTVM" back then. The >80yo ham radio guys I hang out with know what it is. :)15:36
abortretryfailMaybe it's just the city I live in, but I meet more old folks with basic electronics knowledge than I do people my own age or younger. :(15:37
vkoskivFair. Though it is pretty astounding how they managed to cram so many entirely different types of cables into the same connector, but made almost no effort to come up with a standard way to actually identify capabilities visually.15:37
+ mjw (~mjw@89.205.142.50)15:37
vkoskivThere's the thunderbolt logo, which I'm sure is trademarked and proprietary, and... That's it(?)15:37
abortretryfailFor the chargers?15:37
vkoskivNot only that, but the half dozen different transfer speeds/modes15:38
vkoskivI have a powerbank I bought on a work trip that I just straight up can't use. It's charged with USB-C, but it's missing some feature I don't know of, so none of my chargers will charge it up.15:38
vkoskivI think the only way to charge it is to plug it into a dumb 5V USB-A port.15:39
abortretryfailProbably doesn't support USB-PD 15:39
vkoskivI'm guessing it's missing the resistors in there or something15:39
abortretryfailwhich there is a logo for15:39
vkoskivYeah, I missed that when buying the thing :D15:40
abortretryfailNah, resistors are the old way to do it from when it was Micro USB-B and cell phone manufacturers all came up with their own proprietary nonsense ways of exceeding the spec.15:40
vkoskivI just assumed that a modern power bank probably would support, you know, USB-PD.15:40
abortretryfailPD has a negotiation process that needs more than just passives.15:40
vkoskivIt's not a no-name thing either, made by Belkin15:40
vkoskivI'm hoping we're just in the depths of the awkward transition phase, and it gets better from here.15:40
abortretryfailYeah pretty much.15:41
vkoskivJust today I was debugging why my Sandisk USB-C SSD was failing, data transfers were super slow and flaky15:41
vkoskivI unplug the SSD, flip the "reversible" USB-C connector around, and it works perfectly.15:41
abortretryfailI have one made by Anker that's very good. Charges and discharges out the same USB-C port and can output 5V, 9V, or 15V from an internal pair of 18650 li-ion cells.15:41
vkoskivNo markings or anything, you're supposed to ~just know~15:41
abortretryfailEither they got cheap with it and only connected one set of pins, or something broke and one half burned out15:42
vkoskivThe cable is short, and on one end it comes with a C -> A adapter, that is mechanically such that you are supposed to plug the C connector in a specific way15:44
vkoskivBut in this case, I'm just connecting it C -> C, without the adapter.15:45
vkoskivThis is a Sandisk product.15:45
abortretryfailMight just be a bad cable too.15:46
abortretryfailI've used cheap cables that only work in one orientation 15:46
vkoskivYeah, could be. I'd use another one, but then I'd risk picking one that only does USB2 speeds :D15:46
vkoskivNone of the cables I use for charging really say what they are capable of15:47
vkoskivI've heard that Apple cheaps out on theirs, USB 2 + PD only.15:47
vkoskivThe fact that I can't just look at the thing in a box of cables, and pick out the kind I want, is the fundamental flaw.15:48
vkoskivI have to test, and then mark them myself somehow, I guess.15:48
vkoskivI'm relatively savvy, and I barely know how to deal with this. Can't imagine how regular people deal with this15:49
Zabayou can 'negotiate' with just resistors in usb pd, the problem is that your device won't know if the power supply is actually able to give you the current you requested16:07
Zabaso it's really more of a hack for use with known-good power supplies than a proper way to build devices16:08
+ bkeys (~Thunderbi@199.226-24.cm.ptn.tftn.dynamic.friendlycity.net)16:09
Zabaalso, most 'charging' cables only support usb 2 data. this makes them not only cheaper, but also significantly less stiff, than fully-featured thunderbolt cables for example16:09
+ wielaard (~mjw@84.241.195.238)16:43
- mjw (QUIT: Ping timeout: 240 seconds) (~mjw@89.205.142.50)16:45
- wielaard (QUIT: Ping timeout: 258 seconds) (~mjw@84.241.195.238)17:01
+ IchikaZou (~IchikaZou@36-231-112-45.dynamic-ip.hinet.net)17:04
minutejosch: are you waiting on any responses to MRs from me atm, looking at https://source.mnt.re/reform/reform-system-image/-/merge_requests/85#note_6501 ?17:07
minutevkoskiv: your keyboard backlight fix is merged. very much appreciated, i like it a lot17:19
minutei think the keyboard flash.sh should mention that nowadays you can press circle, X if your fw is new enough17:20
- IchikaZou (QUIT: Remote host closed the connection) (~IchikaZou@36-231-112-45.dynamic-ip.hinet.net)17:25
minutevkoskiv: oh, but i'm now seeing that the backlight on my (standalone) unit sometimes turns off for a part of a sceond17:32
minutesecond17:32
- doctorhoo (QUIT: Read error: Connection reset by peer) (~doctorhoo@2a00:801:7a7:5c1a:9472:da2e:8edf:b925)17:34
+ doctorhoo (~doctorhoo@217-210-162-155-no600.tbcn.telia.com)17:34
abortretryfailvkoskiv: odds are the device the cable ships with only supports USB 2.0 as well.17:36
abortretryfailZaba: is that actually PD or is it chargers that also support that Qualcomm QC hackery?17:37
joschminute: yes, the reform-system-image MR will stay as a draft until reform-tools 1.33 gets merged17:52
joschminute: and that one is awating a review here: https://source.mnt.re/reform/reform-tools/-/merge_requests/5817:53
joschminute: i've built you system images that include all of this so that you have an easier time testing things -- i posted the links to those in the past17:53
joschcannot look them up right now as i have to leave now17:54
joschminute: just search the log of me seding you links to reform-system-image jobs :)17:54
- jacobk (QUIT: Ping timeout: 272 seconds) (~quassel@utdpat241106.utdallas.edu)18:06
Zabaabortretryfail: it is PD. In USB PD there's supposed to be a pullup resistor on the CC line in the current source and a pulldown resistor on the current sink, so a voltage divider is formed. and a well-behaved sink is supposed to monitor the voltage of the CC line to see the current capacity advertised by the source18:21
Zabasee for example https://www.st.com/resource/en/technical_article/dm00496853-overview-of-usb-type-c-and-power-delivery-technologies-stmicroelectronics.pdf18:23
Zaba(this is how your device is supposed to tell whether it's connected to an actual USB C power supply with a C-C cable, which should offer at least 3A at 5V, or if it's connected to a random USB-A port with a A-C cable, where it can expect to only get who knows how much current)18:24
abortretryfailZaba: I see there's a mode for cheepo stuff to get higher-than-usb2.0 current on 5V with just resistors18:28
abortretryfailFor the higher voltages it needs a chip.18:28
Zabayes, that's how it's been designed18:32
minutejosch: from reading through the code it looks very good to me, thanks for taking care of all the details. i would like an a311d test image yep :3 but i also might risk just merging this...18:34
+ jacobk (~quassel@129.110.242.224)18:53
+ vagrantc (~vagrant@2600:3c01:e000:21:7:77:0:50)18:53
joschminute: here are the latest images for you for all boards including reform-tools 1.33 as well as the latest u-boot: https://source.mnt.re/reform/reform-system-image/-/jobs/2386/artifacts/browse19:09
joschi'm running reform-tools 1.33 myself but i also have a non-default setup19:09
josch(which is why i didn't catch the last bugs surrounding wrong stuff in boot.scr)19:10
minutejosch: thanks!!19:16
vkoskivminute: re: standalone, will look into.19:24
vkoskivIf you max the brightness, and put your ear right next to where the ti backlight chip is, do you hear a whine?19:27
vkoskivI matched it to the expected 3906.25Hz by ear when I was testing19:28
vkoskivI couldn't find other settings at a higher pwm rate that worked reliably19:28
abortretryfailSinging coils/capacitors?19:32
vkoskivYeah, something like that19:32
vkoskivMaybe L119:33
abortretryfailACTION checks the schematic...19:35
joschminute: I saw your changes to the reform-system-image README. It is sad that there is still no good way to make sure to write to an SD-Card or USB drive instead of the attached SATA drive... Your lsblk tip is good. On reform.d.n I suggest using the following:19:35
joschudevadm monitor --udev --property --subsystem-match=block/disk | sed -ne 's/^DEVNAME=//p'19:35
joschno idea if that's better or worse19:35
joschbut once any block device gets added to the system, it will print its name19:36
minuteyeah...19:42
minutevkoskiv: for me the second-to-brightest setting is reliablae19:43
minutereliable19:43
vkoskivHow long of a flash are we talking?19:43
vkoskivI only have mine in the integrated configuration, but they don't differ much electrically, do they?19:44
vkoskivAdded a new PR, !49. This one I'd like a bit of testing on before merging - The trackpad is much more responsive, but I'm not sure if I removed too much filtering yet.20:04
vkoskiv(It's the trackpad go real fast and smooth PR)20:04
vkoskivAlso a small one-commit PR !50 that adds a ~30s timeout to the MNT Reform logo on the OLED20:06
vkoskivAand one more, !51 adds the smooth backlight fade-in on startup.20:07
vkoskivThat one especially needs to be tested on standalone, I wrote it such that it should work reasonably on there, but that is untested.20:08
vkoskivIn standalone mode, we get 5V power right away, so we show the animation right away. On the integrated one, it shows it when we get 5V power about ~25s into boot.20:08
minutenoice20:37
noamNeato, if I remove _everything_ from the mobo, it's able to activate the 5V line with no problems :D21:17
noamThat means I can just test each component to find the problem :D21:18
noamminute: yeah, shoulda tested the SoC as soon as you mentioned it. 5V line can't be activated with the SoC inserted :/21:23
- jacobk (QUIT: Ping timeout: 240 seconds) (~quassel@129.110.242.224)21:35
+ sevan (~sevan@user/venture37)22:04
josch Accepted linux 6.5.3-1~bpo12+1 (source) into stable-backports22:04
joschwhoo! a311d support in stable coming soon! :D22:04
Boostisbetterany idea if the newest kernel has any regressions in it that would affect standby, because 6.5.0.1 is amazing and has not messed up standby ONCE since I have been using it. 22:44
vkoskivI haven't tried out HDMI on the A311D yet. Wasn't it limited such that I could only use one display at a time?22:47
vkoskivAssuming the reform-display-config might need changes to support A311D?22:47
joschvkoskiv: a311d is disabled in reform-display-config22:48
vkoskivYep, it bails out at the start there I see22:48
minutevkoskiv: you can switch to hdmi by disabling edp and enabling hdmi at the same time22:51
vkoskivI don't know how to do that22:51
vkoskivI can see two outputs in sway22:52
vkoskivHDMI-A-1 maxes out at 1024x768, though.22:52
vkoskivI rarely use an external display. I tried it at Assembly or Instanssi, just to see how well it worked on the i.mx8, it seemed to work as expected there22:54
- sevan (QUIT: Ping timeout: 258 seconds) (~sevan@user/venture37)22:57
+ sevan (~sevan@2001:470:1f1d:1d6:5a55:caff:fe24:ed4)22:57
minutevkoskiv: probably edid not working23:05
minutevkoskiv: do you use sway or wayfire? i have scripts23:05
vkoskivsway 4 life23:08
+ jacobk (~quassel@utdpat241106.utdallas.edu)23:08
vkoskivI just downloaded a 439 page document on USB HID usages :D23:09
vkoskivGood thing the relevant juicy bits shouldn't be too long, I think23:10
minuteok, here's my script for sway:23:10
minuteswaymsg output eDP-1 disable23:10
minuteswaymsg output HDMI-A-1 enable23:10
minuteswaymsg output HDMI-A-1 modeline 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync23:10
minuteof course you can substitute another modeline if you want a different mode. this is 1080p23:10
minuteto switch back i do the following TWICE (don't remember why, i'm sure it's important): 23:11
minuteswaymsg output eDP-1 enable23:11
minuteswaymsg output HDMI-A-1 disable23:11
vkoskivHm, let me just give that a go. Will be easy enough to stick into a script and bind to a key if I want to use it more23:15
vkoskivNow where's my HDMI cable...23:15
abortretryfailyours requires manually setting a modeline?23:16
abortretryfailoh nvm, I see... edid broke. 23:17
abortretryfailACTION was having flashbacks to configuring XFree86 by hand. :(23:17
vkoskivI'm of a generation that didn't have to deal with that, luckily23:18
minuteabortretryfail: yeah edid seems unreliable, haven't looked into it yet, so i just made myself a failsafe thing23:22
abortretryfailunreliable for the a311d? It's fine on my imx8 Reform.23:23
minuteabortretryfail: yes, a311d23:23
abortretryfailAha okay23:23
minutein 99% of cases i want 1080p anyway23:23
abortretryfailI really wanted to scale a window to something smaller earlier this week. Vendetta Online is way too slow to play at native res :)23:25
minuteabortretryfail: for that i use output scale instead of setting the resolution :323:27
minutei guess a smaller resolution saves 1 blit though23:28
abortretryfailIf the display hardware has the ability to scale, might as well let it do the work.23:29
- Boostisbetter (QUIT: Ping timeout: 272 seconds) (4a410829d7@irc.cheogram.com)23:29
- jacobk (QUIT: Ping timeout: 260 seconds) (~quassel@utdpat241106.utdallas.edu)23:32
+ mjw (~mjw@77-174-248-71.fixed.kpn.net)23:37
+ Boostisbetter (4a410829d7@irc.cheogram.com)23:39
Boostisbettervkoskiv: sway 4 life indeed. I love it. 23:47

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