2023-10-16.log

- IchikaZou (QUIT: Remote host closed the connection) (~IchikaZou@36-231-116-153.dynamic-ip.hinet.net)00:52
minuteawesome https://mastodon.social/@eigenform/11124055927179997901:03
- mjw (QUIT: Ping timeout: 255 seconds) (~mjw@gnu.wildebeest.org)01:56
- nsc (QUIT: Ping timeout: 255 seconds) (~nicolas@14-48-142-46.pool.kielnet.net)03:54
+ nsc (~nicolas@231-98-142-46.pool.kielnet.net)03:55
+ ZylonMaster (~fujwj@cpe-98-15-248-249.hvc.res.rr.com)03:59
- ZylonMaster (QUIT: Quit: Leaving) (~fujwj@cpe-98-15-248-249.hvc.res.rr.com)04:34
- vagrantc (QUIT: Quit: leaving) (~vagrant@2600:3c01:e000:21:7:77:0:20)05:34
- colinsane (QUIT: Quit: bye) (~colinunin@97-113-128-229.tukw.qwest.net)05:49
+ colinsane (~colinunin@97-113-128-229.tukw.qwest.net)05:49
+ micheal (~micheal@82.sub-174-215-177.myvzw.com)08:43
- micheal (QUIT: Quit: Quit) (~micheal@82.sub-174-215-177.myvzw.com)09:07
+ b06 (~b0@leo.uberspace.de)09:58
- GNUmoon (QUIT: Ping timeout: 252 seconds) (~GNUmoon@gateway/tor-sasl/gnumoon)10:00
- b0 (QUIT: Ping timeout: 264 seconds) (~b0@leo.uberspace.de)10:00
* b06 -> b010:00
+ GNUmoon (~GNUmoon@gateway/tor-sasl/gnumoon)10:08
- _nrb_ (QUIT: Ping timeout: 255 seconds) (~nrbnrb@2a01:4f8:172:299c:1::29)10:12
+ _nrb_ (~nrbnrb@2a01:4f8:172:299c:1::29)10:12
- V (QUIT: Ping timeout: 255 seconds) (~v@ircpuzzles/2022/april/winner/V)10:13
+ V (~v@ircpuzzles/2022/april/winner/V)10:13
+ mjw (~mjw@gnu.wildebeest.org)11:32
joschminute: to make testing of my reform-tools MR easier, I created a reform-system-image pipeline which installs that reform-tools version (1.33) as well as latest u-boot (2023-10-10) so that you now can just download the images and see if they still do the right thing: https://source.mnt.re/reform/reform-system-image/-/jobs/2366/artifacts/browse12:05
- mjw (QUIT: Remote host closed the connection) (~mjw@gnu.wildebeest.org)12:26
+ mjw (~mjw@gnu.wildebeest.org)12:26
- mjw (QUIT: Ping timeout: 258 seconds) (~mjw@gnu.wildebeest.org)12:45
Boostisbetterminute: that is very cool! I forgot about that control and wheels! Seriously amazing design there. I think is Lines or something like that. 13:11
* mark_ -> mjw13:17
- Boostisbetter (QUIT: Ping timeout: 255 seconds) (4a410829d7@irc.cheogram.com)13:51
- qbit (QUIT: Quit: WeeChat 3.8) (~qbit@h.suah.dev)14:17
+ bkeys (~Thunderbi@199.226-24.cm.ptn.tftn.dynamic.friendlycity.net)14:51
abortretryfailhuh i didnt know Renoise had an ARM port14:52
abortretryfailI haven't used that thing in like 10 years 14:55
abortretryfailnice to see they're still kicking14:55
- cwebber (QUIT: Ping timeout: 260 seconds) (~user@user/cwebber)16:57
+ qbit (~qbit@h.suah.dev)17:23
+ mark_ (~mjw@gnu.wildebeest.org)17:44
+ cwebber (~user@user/cwebber)17:47
- mark_ (QUIT: Ping timeout: 272 seconds) (~mjw@gnu.wildebeest.org)17:57
joschminute: as another data-point I now installed reform-tools 1.33 as built by the CI (so the same that is included in that reform-system-image from above) on my own machine and everything seems to work :)18:09
- cwebber (QUIT: Ping timeout: 272 seconds) (~user@user/cwebber)18:46
+ Boostisbetter (4a410829d7@irc.cheogram.com)19:06
abortretryfailHoly cannoli, Vendetta Online runs on the Reform via box64 19:08
vkoskivFirst sign of life from my trackpad firmware! I got the cursor to follow the movements of my finger, instead of bouncing around on the screen randomly :D19:09
vkoskivVery confused, though, as i2c and the microcontroller are both little endian, but I still have to swap bytes in 16-bit quantities for it to work19:31
vkoskivI guess the azoteq chip just sends the bytes in the wrong order. Kinda throws a wrench in my idea of just reading the bytes directly into a struct for much easier access19:35
vkoskivI'd have to run a lot of code to un-goof the 16-bit quantities in my structs19:36
+ mark_ (~mjw@gnu.wildebeest.org)20:47
+ wielaard (~mjw@gnu.wildebeest.org)20:55
- mark_ (QUIT: Read error: Connection reset by peer) (~mjw@gnu.wildebeest.org)20:56
minutewe figured out the yield issue with LS1028A, really mindblowing21:01
- Boostisbetter (QUIT: Ping timeout: 245 seconds) (4a410829d7@irc.cheogram.com)21:02
+ Boostisbetter (4a410829d7@irc.cheogram.com)21:11
vkoskivGreat to hear! Must be a relief21:12
vkoskivI'm pretty sure I've found ways to make the trackpad much more responsive, I swapped the firmware around and I can really feel the difference21:13
vkoskivI can use relative values directly from the sensor in the 1 finger case, without averaging or skipping initial values.21:13
vkoskivNeed to figure out a solution for the other cases now :D21:14
minutehttps://mastodon.social/@mntmn/11124628022368451921:14
minutevkoskiv: oh that's cool!21:14
vkoskivI think I know of a better solution for the skipping issue too, so we don't have to skip the initial 4 values from the sensor21:15
vkoskivCan't wait to hear how on earth you came up with *that* fix :D21:16
vkoskivOh, the thread continues21:16
minutevkoskiv: yeah, it was by chance21:20
minutebut then, reviewing all the datasheets/app notes etc and chatting with a friend who's into similar stuff21:20
minutevkoskiv: i found the initial hint when playing with the JTAG interface today (for the first time)21:20
vkoskivYeah I saw the thread just now. I don't really have any clue what dap_dp_poll_register() does though :D21:21
vkoskivIs that in linux, or the bootloader?21:21
vkoskivPre-bootloader, I guess21:22
sknebelcongrats on getting the LS1028A issue figured out!21:22
vkoskivShould be a robust fix though, right? Just throw some uv-cure resin on the bodge wire, should be durable21:22
minutesknebel: thanks!21:29
minutevkoskiv: that output is from openocd talking to the JTAG probe21:29
joschthat's amazing news, congratulations!21:29
minutevkoskiv: fix should be fine yeah. commodore shipped a lot of hardware like that lol21:30
minutejosch: thank you!21:30
vkoskivYeah, I have plenty of computers in my collection with bodge wires21:30
vkoskivFrom big companies :D21:30
minutei see :D21:30
abortretryfailI've got plenty of musical instruments with bodge wires and extra capacitors, resistors, etc tacked on to the back of boards.21:35
+ cwebber (~user@user/cwebber)21:37
- mjw (QUIT: Killed (NickServ (GHOST command used by wielaard!~mjw@gnu.wildebeest.org))) (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)21:38
* wielaard -> mjw21:39
+ mark_ (~mjw@2001:1c06:2488:1400:4fd:39a7:74ac:7bae)21:39
vkoskivminute: opinion: I made a small struct for the data we get from the sensor, which IMO makes the code read a bit nicer since that data is structured. BUT: I have to run code to swap bytes in 16-bit values to make it work.22:11
vkoskivSo what's your feeling, should I keep going with the struct approach, or keep it more minimal?22:12
vkoskivShifts are needed to load the 16-bit values either way, but it's your call22:13
vkoskivInstead of reading 20 bytes from the sensor in each poll, I'm reading 57 bytes, which gives us more info to work with22:15
- Boostisbetter (QUIT: Ping timeout: 245 seconds) (4a410829d7@irc.cheogram.com)22:15
joschgcc and clang have __bswap_16 which resolves to a dedicated byte-swapping instruction if the architecture supports it but experience has shown that gcc and clang are smart enough to recognize the ((value & 0x00FF) << 8) | ((value & 0xFF00) >> 8) pattern and do the right thing22:17
vkoskivI'd be willing to bet that 8-bit atmel chips don't have a byte swap instruction :D22:18
vkoskiv(I haven't checked, though)22:18
joschtrue :)22:19
vkoskivI disassembled my swap_16(), and it doesn't look like it does22:19
vkoskivThough I don't know all the mnemonics22:19
vkoskivIt does a bfmops, st1b and adds22:20
- qbit (QUIT: Quit: WeeChat 3.8) (~qbit@h.suah.dev)22:21
minutevkoskiv: i think go for the cleaner code22:24
minutevkoskiv: in the future we might also go with rp2040 on the trackpad too22:24
minutebut in any case, the atmel is still plenty fast22:24
vkoskivIs the keyboard/trackball firmwares unified between rp2040/avr? I haven't seen separate rp2040 stuff around yet22:26
vkoskivAh, I guess they are in these different directories I haven't looked in22:27
minutevkoskiv: yep, the keyboard stayed with atmega in the end22:27
minuteonly for pocket there is a combo rp2040 keyboard/trackball22:28
vkoskivWould be cool to share code between the two firmwares22:29
vkoskivLike kbd menu stuff, for instance22:29
vkoskivI say this because I might end up experimenting with that perhaps :322:30
+ Boostisbetter (4a410829d7@irc.cheogram.com)22:34
+ qbit (~qbit@2602:ff16:3:0:1:3a0:0:1)22:35
- Boostisbetter (QUIT: Ping timeout: 255 seconds) (4a410829d7@irc.cheogram.com)22:46
- ndufresne5 (QUIT: Quit: The Lounge - https://thelounge.chat) (~ndufresne@souvlakia.collabora.co.uk)22:50
+ ajr (uid609314@user/ajr)22:50
+ Boostisbetter (4a410829d7@irc.cheogram.com)23:05
- Boostisbetter (QUIT: Ping timeout: 272 seconds) (4a410829d7@irc.cheogram.com)23:10
- mjw (QUIT: Ping timeout: 255 seconds) (~mjw@gnu.wildebeest.org)23:55
abortretryfailWe don't currently have a way to send KEY_POWER, do we? 23:59

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