- bluerise (QUIT: Changing host) (~bluerise@pc19f89b4.dip0.t-ipconnect.de) | 01:13 | |
+ bluerise (~bluerise@user/bluerise) | 01:13 | |
+ odnes (~odnes@109-178-158-192.pat.ren.cosmote.net) | 06:34 | |
+ ggoes (~gregf@user/ggoes) | 06:43 | |
- artfwo (QUIT: Ping timeout: 240 seconds) (~artfwo@2a02:8109:8500:26d0:cb00:c4a5:d98d:8f2d) | 07:07 | |
- odnes (QUIT: Ping timeout: 256 seconds) (~odnes@109-178-158-192.pat.ren.cosmote.net) | 07:08 | |
+ artfwo (~artfwo@2a02:8109:8500:26d0:1226:d1c2:ded3:b445) | 08:43 | |
- wiedi_ (QUIT: Quit: Textual IRC Client: www.textualapp.com) (~wiedi@2a01:138:a015:15:c5c7:30d6:f553:2953) | 11:12 | |
mntmn | i want REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES from the trackball | 13:04 |
---|---|---|
mntmn | https://lwn.net/Articles/772785/ | 13:04 |
+ ZylonMaster (~dlkdk@c-73-86-82-24.hsd1.md.comcast.net) | 14:24 | |
mjw | hmmm, in sway if I accidentally sent a window to purgatory with MNT-shift-"-" how do I get it back? | 14:26 |
ZylonMaster | do you mean close it or maximize it? | 14:26 |
ZylonMaster | if you mean close it htop works | 14:27 |
Asmadeus | that's probably the scratchpad | 14:27 |
Asmadeus | there should be a key combinaison for 'scratchpad show' in sway config | 14:27 |
Asmadeus | (not using reform's so not sure if it's still the default) | 14:27 |
Asmadeus | (probably mnt-"-" if default) | 14:27 |
mntmn | ok cool got horizontal wheel working | 14:28 |
mjw | Asmadeus, thanks. There is indeed bindsym $mod+minus scratchpad show | 14:31 |
mjw | now to figure out how to get that window "normal" again. | 14:32 |
Asmadeus | mod+shift+space? | 14:32 |
Asmadeus | iirc getting it out of the scratchpad will make it float, then you just need to unfloat it | 14:32 |
mjw | Asmadeus, and again thanks. I am not very familiar with the sway terminology, but indeed, there is: | 14:34 |
mjw | # Toggle the current focus between tiling and floating mode | 14:34 |
mjw | bindsym $mod+space floating toggle | 14:34 |
- ZylonMaster (QUIT: Quit: Leaving) (~dlkdk@c-73-86-82-24.hsd1.md.comcast.net) | 14:38 | |
+ wiedi (~wiedi@2a01:138:a015:15:c4dc:1d3:39dd:b2ed) | 14:44 | |
mntmn | i have implemented hi resolution wheel/pan in the trackball now, pushed | 16:08 |
mntmn | but it's not supported by the desktop stack yet: https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/652 | 16:08 |
mntmn | still, it makes scrolling a lot better imho due to the kernel accumulating high res events and sending legacy wheel events on thresholds | 16:08 |
scops | 👍️ | 18:28 |
mntmn | it's pushed to latest reform master if you wanna try it | 18:30 |
mntmn | this can and should also be ported over to the trackpad | 18:30 |
- wiedi (QUIT: Ping timeout: 256 seconds) (~wiedi@2a01:138:a015:15:c4dc:1d3:39dd:b2ed) | 19:21 | |
+ wiedi (~wiedi@2a01:138:a015:15:6947:c549:7011:deb4) | 19:21 | |
mntmn | now ported over to trackpad https://mastodon.social/@mntmn/106642393238657042 | 19:23 |
mntmn | bluerise: someone just asked me about OpenBSD on reform, how is it going over there? | 19:37 |
mjw | mntmn, speaking of firmware updates. | 20:09 |
mjw | mntmn, I assume this also controls the led display? | 20:10 |
mjw | https://mntre.com/reform2/handbook/parts.html#keyboard-firmware | 20:10 |
mntmn | mjw: do you mean the OLED display? yes | 20:13 |
mjw | mntmn, how do I figure out which version I have now? | 20:15 |
mntmn | mjw: "system status" in the oled menu | 20:17 |
mjw | aha, ok, so I have 20210309 which corresponds to commit d7ebe47e08dff89abad2536a8d81a9654cfdd48f | 20:19 |
mjw | mntmn, which packages do I need to have installed to build? | 20:23 |
mjw | avr-size: not found | 20:23 |
mntmn | mntmn@mntmn-i9:~$ sudo apt-file search avr-size | 20:24 |
mntmn | binutils-avr: /usr/bin/avr-size | 20:24 |
mntmn | mjw: install gcc-avr | 20:24 |
mntmn | i guess binutils-avr is included / a dependency | 20:24 |
mntmn | mjw: also install dfu-programmer | 20:25 |
mjw | mntmn, dfu-programmer I got but avr-binutils and avr-gcc not. Are they in a particular apt repo? | 20:26 |
mntmn | mjw: it is gcc-avr | 20:27 |
mntmn | mjw: not avr-gcc | 20:27 |
mjw | doh | 20:27 |
mjw | sorry | 20:27 |
mjw | and avr-libc | 20:30 |
mjw | but now we are cooking! | 20:30 |
mntmn | ok cool | 20:30 |
mjw | lets open up this puppy and slash some bits :) | 20:31 |
mjw | flash | 20:31 |
mntmn | :3 | 20:31 |
mjw | hmmm, no device present | 20:41 |
mjw | so I switched the switch to on | 20:42 |
mjw | pressed the reset button | 20:43 |
mntmn | mjw: use sudo ./flash.sh | 20:43 |
mjw | keyboard lights turned off (now typing on external keyboard) | 20:43 |
mjw | but led display is still on | 20:43 |
mntmn | (if no device present) | 20:43 |
mntmn | mjw: did it work? | 20:44 |
mjw | O of course! that worked | 20:44 |
mntmn | ok cool | 20:44 |
mjw | man, I am dense today... | 20:44 |
mntmn | no problem | 20:44 |
mntmn | it is not exactly obvious | 20:44 |
mjw | great, keyboard back (typing on it again) and the annoying blinking battery is gone :) | 20:47 |
mjw | Still showing ???% though | 20:47 |
mntmn | mjw: better than nothing! | 20:51 |
mntmn | mjw: the ??? is coming from lpc directly i think | 20:51 |
mntmn | as a string | 20:51 |
mntmn | mjw: which version is the lpc firmware? you can also see that in the system status | 20:51 |
mjw | mntmn, MREF2LPC R2 20210309 | 20:53 |
mjw | so same version as the keyboard before I flashed it | 20:53 |
mntmn | mjw: ok, you should update to 20210419 | 20:54 |
mntmn | mjw: for this you need a second computer and a microUSB cable, though | 20:54 |
mntmn | but it is easy to do | 20:54 |
mjw | ACTION checks handbook | 20:55 |
mntmn | mjw: but! is your motherboard "upgraded" with this fix? https://community.mnt.re/t/mnt-reform-r-2-motherboard-update-2021-04-19/177 | 20:55 |
mntmn | mjw: if you have old firmware, perhaps not? when did you get your reform? | 20:56 |
mntmn | mjw: are you in the EU? | 20:56 |
mjw | how fun, so I have 4 arm64 cores, an avr processor and another 32bit arm processor | 20:56 |
mntmn | mjw: 2 avr processors | 20:57 |
mntmn | (one in the keyboard, one in trackball/trackpad) | 20:57 |
mntmn | mjw: also another 32 bit arm processor in the imx | 20:57 |
- adjtm (QUIT: Read error: Connection reset by peer) (~adjtm@188.26.220.205) | 20:57 | |
mntmn | (which currently does nothing) | 20:57 |
mntmn | (cortex-m4) | 20:57 |
+ adjtm (~adjtm@188.26.220.205) | 20:58 | |
mjw | mntmn, No I didn't do that modification, don't have a soldering iron | 20:58 |
mjw | yeah, I know, terrible hardware hacker... | 20:59 |
mjw | I am still hoping a nearby hackerspace will open again so someone can help me with that. | 20:59 |
mjw | darn pandemic | 20:59 |
mntmn | mjw: ok in that case you need to set REFORM_MBREV_R2 instead of R3 in line 40 in src/boards/reform2/board_reform2.c | 21:00 |
mjw | mntmn, so I shouldn't update the firmware till I have done that hardware hack? | 21:00 |
mntmn | mjw: no you can, but you need to make sure the correct value is set for the #define REFORM_MOTHERBOARD_REV | 21:00 |
mntmn | the unmodified one is _R2, the modified _R3 | 21:00 |
mjw | ah, even cooler, I get to hack the software to workaround the hardware :) | 21:00 |
mntmn | this will change a few voltage thresholds | 21:00 |
mjw | mntmn, BTW. Note that R2 is the default in current git | 21:23 |
mntmn | mjw: ah yeah ok | 21:24 |
mntmn | probably there should be no default | 21:24 |
- XgF (QUIT: Remote host closed the connection) (~quassel@2001:19f0:5001:1174:bdb1:5e:dc1:e93c) | 21:26 | |
+ XgF (~quassel@2001:19f0:5001:1174:74ae:2a03:c37e:3e47) | 21:28 | |
mjw | mntmn, also you need to first cd tools/lpcrc && make to create/update the crc | 21:34 |
mntmn | ah yeah that is true | 21:34 |
mjw | mntmn, flash.sh has dd if=bin/firmware.bin of="/mnt/firmware.bin" conv=nocreat,notrunc | 21:37 |
mjw | mntmn, Which implies you mount the device under /mnt? But the instructions seem to imply you have to overwrite the whole device? | 21:38 |
mntmn | so uhm no, you have to mount it | 21:38 |
mjw | ACTION gets another machine and looks what /dev/sdx really is | 21:38 |
mntmn | but do not read from it | 21:38 |
mntmn | it is a virtual fat16 device | 21:39 |
mntmn | with this one file in it | 21:39 |
mjw | aha | 21:39 |
mntmn | that should only be written to | 21:39 |
mntmn | it is just nxp's weird implementation of accessing the flash | 21:39 |
mntmn | so, mount, dd to the file and unmount | 21:39 |
mntmn | reading from it or doing other stuff makes it break | 21:39 |
mjw | thanks | 21:40 |
mjw | maybe update "Edit flash.sh and change the path to virtual flash drive (i.e. /dev/sdx)." to mention the mount point instead of /dev/sdx... ? | 21:40 |
mntmn | well yeah the sd_x_ has to be the right letter | 21:42 |
mjw | so this has to be done with batteries still connected I assume? | 21:46 |
- mrus (QUIT: Ping timeout: 240 seconds) (~mrus@149.28.61.155) | 21:46 | |
mntmn | mjw: no, you can also use the power brick | 21:48 |
mntmn | mjw: some kind of power supply is required :) | 21:48 |
- mjw (QUIT: Ping timeout: 268 seconds) (~mark@herd.wildebeest.org) | 21:54 | |
+ mjw (~mark@herd.wildebeest.org) | 22:17 | |
mjw | mntmn, and we are back with updated firmware \o/ | 22:18 |
mntmn | mjw: awesome! | 22:19 |
mjw | that was fun, now I got two additional toolchains | 22:20 |
mjw | so to talk to the lpc I should do screen /dev/ttymxc2 57600 | 22:25 |
mjw | but that doesn't seem to do anything | 22:25 |
mjw | even as root | 22:26 |
mntmn | mjw: that's tricky | 22:27 |
mntmn | mjw: you can't write to it, only reas | 22:27 |
mntmn | read | 22:27 |
mntmn | mjw: you need to tell the keyboard to enable this snooping feature | 22:28 |
mjw | aha | 22:29 |
mntmn | mjw: https://mntre.com/reform-irc-logs/2021-04-24.log.html | 22:29 |
mntmn | mjw: search for xUAR1 in this page | 22:29 |
mjw | echo "xUAR1" | sudo tee /dev/hidraw0 | 22:33 |
bluerise | someone rang | 22:34 |
mntmn | bluerise: it was me! | 22:35 |
bluerise | ah, mntmn did. uhm, OpenBSD, right. well, no graphics output (neither LCD/HDMI), no sounds | 22:35 |
bluerise | that's tbh a bit crappy for a laptop | 22:35 |
bluerise | (and the fault blames in OpenBSD of course) | 22:35 |
mntmn | bluerise: yeah well lets get graphics going? | 22:35 |
bluerise | easier said than done | 22:35 |
bluerise | linux drivers are GPL | 22:35 |
bluerise | so I can't just copy it | 22:36 |
mntmn | bluerise: lets use u-boot to set up the internal display, this is almost working | 22:36 |
- adjtm (QUIT: Remote host closed the connection) (~adjtm@188.26.220.205) | 22:36 | |
bluerise | yup. u-boot mainline is a bit more far away from that than the boundary devices fork | 22:37 |
+ adjtm (~adjtm@188.26.220.205) | 22:37 | |
bluerise | it's a bit sad they don't upstream their stuff | 22:37 |
mntmn | lets just use the fork | 22:38 |
mntmn | lets get some demo to work, and this will create more incentive to go the remaining steps for graphics perhaps | 22:39 |
- mjw (QUIT: Quit: Leaving) (~mark@herd.wildebeest.org) | 22:50 | |
mntmn | bluerise: here, only a bit of tinkering left to get the u-boot framebuffer on the internal display, i think https://community.mnt.re/t/u-boot-and-internal-screen/295/10 | 23:00 |
mntmn | anyway, feierabend for today | 23:00 |
bluerise | I'll have a look next time, not today | 23:01 |
bluerise | 11PM.. | 23:01 |
mntmn | same | 23:02 |
sknebel | https://twitter.com/9600/status/1419328399399653380 "Since learning of the MNT Reform FPGA module I can't stop thinking about the recent announcement also of an FPGA VAX implementation. A VAX laptop running VMS and DECwindows would be amazing. " | 23:29 |
+ erlehmann (~erle@dynamic-046-114-038-177.46.114.pool.telefonica.de) | 23:36 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!