#linuxcnc Logs
Jun 22 2025
#linuxcnc Calendar
04:46 AM Tom_L: morning
06:23 AM Deejay: hi
09:08 AM lcnc-relay: <ccatlett1984@> Tom_L: Need to build mesaflash from source, repos are too old.
09:09 AM Tom_L: i always do that
09:13 AM Tom_L: good thing to remember though :)
09:43 AM slobodan__ is now known as slobodan
02:44 PM lcnc-relay: <sodakaustik@> Is there a common way to compensate for axis non-orthogonality
02:45 PM lcnc-relay: <sodakaustik@> It would be cool to be able to make an interpolated compensation-table for various machine positions
02:47 PM lcnc-relay: <sodakaustik@> * use
02:53 PM lcnc-relay: <skunkworks8841@> yes - with kins
02:54 PM lcnc-relay: <skunkworks8841@> don't ask me how though.
02:54 PM lcnc-relay: <skunkworks8841@> Tom_L: what kind of latency do you get on the rpi4
03:26 PM Unterhaus_ is now known as Unterhausen
03:41 PM Tom_L: i'm not sure i saved a snapshot of one
03:42 PM lcnc-relay: <skunkworks8841@> I seem to get about 60us which seems ok
03:42 PM Tom_L: i honestly don't know if i've checked on it
03:42 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/RTAI_TEST/
03:42 PM Tom_L: don't see one there
03:43 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/Rpi4/rpi4-10us-latency.png
03:43 PM Tom_L: ah ha
03:43 PM Tom_L: is that mine though?
03:43 PM Tom_L: hmm
03:44 PM Tom_L: no
03:44 PM Tom_L: how did i end up with seb's
03:44 PM Tom_L: :)
03:44 PM lcnc-relay: <skunkworks8841@> lol - what the heck is that...
03:45 PM Tom_L: that was some test he did i think
03:45 PM lcnc-relay: <skunkworks8841@> very weird - only above - no bleow
03:46 PM Tom_L: i noticed that
03:46 PM lcnc-relay: <skunkworks8841@> https://photos.app.goo.gl/3EiHCApbsNbpjaPX7
03:49 PM lcnc-relay: <skunkworks8841@> seb's kernel line is really wierd?
03:50 PM Tom_L: i forget what he was doing there but didn't recomend it as being stable
03:51 PM lcnc-relay: <skunkworks8841@> I remember him and Chris doing some kernel stuff. I don't remember the specifics
03:51 PM Tom_L: i barely remember what i did this morning
03:51 PM lcnc-relay: <skunkworks8841@> 91 here again
03:52 PM Tom_L: same here
03:52 PM Tom_L: but that could be temp or wind speed
03:52 PM lcnc-relay: <skunkworks8841@> lol - same
03:52 PM lcnc-relay: <skunkworks8841@> although it isn't as windy as it was yesterday
03:52 PM Tom_L: it is here
03:54 PM roycroft: summer has returned here
03:54 PM roycroft: but not crazy back east heat wave summer
03:54 PM roycroft: we had that a couple weeks ago, and i'm fine with not having it again for a while
03:55 PM xxcoder: still mostly cool here. will warm a little bit in few days, then cool again till sat, then hot returns
03:55 PM lcnc-relay: <skunkworks8841@> if the rpi works decent enough - I will swap it out with the rpi5 on the monarch. Don't need that much power to run the spindle (or even when I cnc it)
03:56 PM Tom_L: it seems to work on the green machine
03:57 PM lcnc-relay: <skunkworks8841@> yes
03:57 PM lcnc-relay: <skunkworks8841@> I should put that config on here and see if it works
03:57 PM Tom_L: here where? rpi5?
03:58 PM lcnc-relay: <skunkworks8841@> on the latest image on the rpi4
03:58 PM lcnc-relay: <skunkworks8841@> from linuxcnc
03:58 PM Tom_L: my mill config worked ok in the office test, just had to add in the spix stuff
03:58 PM Tom_L: keep a tested backup before going nuts
03:59 PM lcnc-relay: <skunkworks8841@> I would have to build the polygon componant.
03:59 PM Tom_L: i picked up a couple more sd today
03:59 PM lcnc-relay: <skunkworks8841@> other than that
03:59 PM Tom_L: i've never build a component
03:59 PM Tom_L: yet..
04:00 PM lcnc-relay: <skunkworks8841@> They come in handy.. The 16 speed gear box on the K&T is a hal componant.
04:00 PM lcnc-relay: <skunkworks8841@> I could wrap my head around that programmically more than ladder...
04:01 PM Tom_L: i'll leave ladder to JT
04:01 PM lcnc-relay: <skunkworks8841@> I have to re-teach myself every time I use it.
04:02 PM Tom_L: i somewhat look at it like programming a fpga. things all happen at once
04:03 PM Tom_L: in parallel
04:03 PM lcnc-relay: <skunkworks8841@> left to right - top to bottom..
04:03 PM Tom_L: i've never really looked at it
04:04 PM lcnc-relay: <skunkworks8841@> it kinda makes sense when you use it a few times
04:06 PM Tom_L: next pi5 step is to put flex dev on it and copy my touch-probe3 config
04:10 PM lcnc-relay: <meisterdippel@> ethercat hackers here ? : https://github.com/multigcs/esitool/
04:11 PM roycroft: i'm engraving the labels on my brass plates today
04:12 PM roycroft: i messed the first one up - i did one pass, then removed it to test to make sure there was enough clearance, and my registration pins must have shifted, because when i ran the rest of it it was offset a little from the first pass
04:12 PM roycroft: and the first pass was really faint so i did not notice until it was done
04:12 PM roycroft: that was the the plate where the cutter slipped at the very end, so it was already imperfect
04:13 PM * roycroft is going to live with the twice-messed up plate for now until he has a chance to remake it
04:13 PM xxcoder: seems to be cursed plate so far lol
04:13 PM roycroft: the second one is working great, though
04:13 PM lcnc-relay: <skunkworks8841@> on what?
04:13 PM roycroft: but it's a 5 hour engraving time
04:13 PM roycroft: brass plate
04:13 PM lcnc-relay: <skunkworks8841@> what machine?
04:13 PM lcnc-relay: <skunkworks8841@> *how are you engraving the brass plates
04:14 PM roycroft: https://roycroft.us/MiniRouter/MotionControlPanel.jpeg
04:14 PM roycroft: that's the one i'm working on now
04:14 PM roycroft: oh
04:14 PM roycroft: i'm using my laser cutter
04:14 PM lcnc-relay: <skunkworks8841@> ah\
04:15 PM roycroft: with a low power (2w) 1064nm laser head
04:15 PM roycroft: i'm not going to be making any money with that
04:16 PM roycroft: https://roycroft.us/MiniRouter/BackPanelSecondFitment.jpeg
04:16 PM roycroft: the opening for the usb ports is where the cutter slipped
04:17 PM roycroft: you can see that the bottom of the hole is a little rough
04:18 PM lcnc-relay: <skunkworks8841@> very cool!
04:19 PM roycroft: it will look good when it's done
04:19 PM lcnc-relay: <skunkworks8841@> starting to turn a little steam punk
04:19 PM roycroft: and more importantly, i'll have a working controller for the mini-router when it's done
04:20 PM roycroft: i need to modify the cutout for the air inlet, then i'm going to go cut that
04:20 PM roycroft: after that it will be time to do the joinery
04:22 PM roycroft: i've struggled with aligning parts on the laser cutter every since i got it, but i think i have a good workflow for that now, the attempt earlier today notwithstanding
04:22 PM roycroft: and when i finally get the enclosure for the laser finished, it should be trivial to index things repeatably
04:23 PM roycroft: right now i have to square things up manually every time
04:23 PM -!- #linuxcnc mode set to +v by ChanServ
04:33 PM lcnc-relay: <big_kevin420@> dammit i went to bring one of my machines from the basement to the garage and it started sweating like crazy and my glasses started to fog up
04:33 PM lcnc-relay: <big_kevin420@> i think i will transition it to upstairs first for a little bit, then outside
04:34 PM Tom_L: get the younger you to do it
04:38 PM roycroft: yes, this is the one big advantage to breeding
04:41 PM -!- #linuxcnc mode set to +v by ChanServ
05:04 PM lcnc-relay: <skunkworks8841@> Lol..
05:27 PM Tom_L: skunkworks, http://tom-itx.no-ip.biz:443/~webpage/cnc/RTAI_TEST/Rpi5_histogram1.png
05:32 PM JT-Shop: I should go fill up the deer feeder...
05:35 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/RTAI_TEST/Rpi5_histogram2.png
05:35 PM Tom_L: 8 gears
06:04 PM Unterhaus_ is now known as Unterhausen
06:09 PM * JT-Shop calls it a day
06:29 PM lcnc-relay: <skunkworks8841@> Tom_L: is that rpi5?
06:30 PM lcnc-relay: <skunkworks8841@> (That is what I would expect from 5)
06:51 PM Tom_L: yeah, i'm getting ready to run the 4 next
06:52 PM Tom_L: i don't expect much from it
07:10 PM Tom_L: skunkworks.. i may need your cmdline.txt this latency is horrible
07:10 PM Tom_L: maybe the config.txt as well
07:11 PM Tom_L: i think this install is older too
07:12 PM Tom_L: not the latest from the dl page
07:12 PM Tom_L: servo is at 146
07:14 PM Tom_L: yeah this is running 2.9.3 which is an older image
07:27 PM lcnc-relay: <skunkworks8841@> Tom_L: console=serial0,115200 console=tty1 root=PARTUUID=c8fda93c-02 rootfstype=ext4 fsck.repair=yes loglevel=5 net.ifnames=0 processor.max_cstate=1 idle=poll isolcpus=1,2,3 firmware_class.path=/lib/firmware/updates/brcm rootwait
07:27 PM lcnc-relay: <skunkworks8841@> Don't run a base thread
07:27 PM lcnc-relay: <skunkworks8841@> --nobase
07:29 PM Tom_L: i'm making a sd for 2.9.4
07:29 PM Tom_L: so we're on the same playing field
07:30 PM lcnc-relay: <skunkworks8841@> I just added force_turbo=1
07:30 PM lcnc-relay: <skunkworks8841@> and
07:30 PM lcnc-relay: <skunkworks8841@> gpu_freq=600
07:30 PM lcnc-relay: over_voltage=6
07:30 PM lcnc-relay: arm_freq=1800
07:31 PM lcnc-relay: <skunkworks8841@> to the config.txt
07:31 PM Tom_L: cmdline.txt?
07:32 PM lcnc-relay: <skunkworks8841@> config.txt
07:32 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/Rpi4/Rpi4_histogram_282.png
07:32 PM lcnc-relay: <skunkworks8841@> the cmdline.txt is the command line
07:32 PM Tom_L: there's an older one i just ran
07:32 PM lcnc-relay: <skunkworks8841@> *kernel line
07:32 PM Tom_L: ok
07:32 PM lcnc-relay: <skunkworks8841@> yeck
07:32 PM Tom_L: 32bit
07:32 PM lcnc-relay: <skunkworks8841@> but don't run a base theread
07:33 PM Tom_L: i'll run it as it comes first
07:33 PM Tom_L: once it's done burning
07:33 PM lcnc-relay: <skunkworks8841@> this is running aarch64 - whatever the current downloadable iso
07:34 PM Tom_L: d12 lcnc 2.9.4
07:34 PM lcnc-relay: <skunkworks8841@> yes
07:38 PM Tom_L: 65 so far
07:38 PM Tom_L: he's got isolcpus 2,3 already set in the image
07:42 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/Rpi4/Rpi4_histogram294..png
07:42 PM Tom_L: not much better
07:44 PM Tom_L: that's the untouched image file
07:47 PM Tom_L: i doubt i'll be putting it on hardware
07:47 PM Tom_L: although i have with the older version
07:50 PM lcnc-relay: <skunkworks8841@> wow - it just worked..
07:50 PM lcnc-relay: <skunkworks8841@> https://photos.app.goo.gl/T52hXS7chtggkcM76
07:50 PM lcnc-relay: <skunkworks8841@> for mesa hardware - those latency numbers a just fine
07:50 PM lcnc-relay: <skunkworks8841@> homed and the spinle worked..
07:50 PM Tom_L: nice
07:51 PM Tom_L: is that the rpi4?
07:51 PM lcnc-relay: <skunkworks8841@> yes
07:51 PM lcnc-relay: <skunkworks8841@> I swapped out the 4 with the 4 and latest image
07:51 PM Tom_L: nice, did you copy your config.txt over?
07:52 PM lcnc-relay: <skunkworks8841@> yes - and compiled the one comp
07:52 PM Tom_L: nice
07:53 PM Tom_L: now get flex on the rpi5 on the green machine
07:53 PM lcnc-relay: <skunkworks8841@> lol - soon
07:53 PM Tom_L: or something
07:53 PM lcnc-relay: <skunkworks8841@> will flex run on the rpi4?
07:54 PM Tom_L: i got my axis config running on the 5 on spi for a test and it worked good
07:54 PM Tom_L: brought up my flex touch-probe3 and it came right up
07:54 PM Tom_L: had to change all the paths to cnc
07:54 PM Tom_L: i doubt it
07:54 PM lcnc-relay: <skunkworks8841@> my config is obviously non-trivial and it is nice to see it just work on a newer image.
07:54 PM Tom_L: it might
07:55 PM Tom_L: i think some may be running on the 4 and i can't honestly remember if i tested one or not on it
07:56 PM Tom_L: it has to be 64 bit i know
07:56 PM Tom_L: 32bit is missing a dependency
07:56 PM lcnc-relay: <skunkworks8841@> they are both bookworm - (4 and 5) 64 bit - shouldn't it work?
07:57 PM Tom_L: right
07:57 PM lcnc-relay: <skunkworks8841@> ok
07:57 PM Tom_L: 6.12.11 kernel
07:58 PM lcnc-relay: <skunkworks8841@> yes - same here
07:58 PM Tom_L: if that latency pic is right
07:58 PM lcnc-relay: <skunkworks8841@> no latency errors so far.
07:59 PM Tom_L: he's got an axis lookalike example you could start with
08:00 PM Tom_L: i haven't run that one yet
08:00 PM Tom_L: i've used the probe3 one enough i'm almost used to it like axis
08:01 PM rdtsc: I ran flex on the rpi4, worked fine... just moved to rpi5 for more speed
08:01 PM rdtsc: flex on the rpi4 was snappier than the other guis
08:02 PM lcnc-relay: <skunkworks8841@> It is still amazing how nice these work for machine controls
08:02 PM lcnc-relay: <skunkworks8841@> I should try running the matsurra on a pi...
08:02 PM lcnc-relay: <skunkworks8841@> (it should work just fine)
08:02 PM rdtsc: there's only one weak point - the sd card wear and sd card damage from power outage
08:03 PM lcnc-relay: <skunkworks8841@> I have not had an issue with it. And I have just shut the machine off more than once. like a lot.. (killing the power)
08:03 PM lcnc-relay: <skunkworks8841@> but now I have a backup 🙂
08:03 PM Tom_L: https://hackergadgets.com/products/nvme-hat-2280?gQT=2
08:03 PM rdtsc: it tends to damage the filesystem
08:04 PM lcnc-relay: <skunkworks8841@> I have run it with a usb->nvme but didn't see a latency improvment and just stopped using it.
08:04 PM lcnc-relay: <skunkworks8841@> on the 4
08:04 PM Tom_L: https://www.pishop.us/product/raspberry-pi-m-2-hat-ssd-kit-for-raspberry-pi-5-256gb/?gQT=2
08:05 PM lcnc-relay: <skunkworks8841@> like I say - I might lead a pure life - but I have a lot of pi's here from retropi to linuxcnc installs and have not had an issue with the file system
08:05 PM Tom_L: looks like it goes thru the buss now
08:05 PM lcnc-relay: <skunkworks8841@> yes - the 5 has access to the pci bus now iirc
08:06 PM rdtsc: prolly booted way faster with NVME, but yeah, that's not going to do much for latency
08:06 PM Tom_L: the 5 has a respectable boot time
08:06 PM lcnc-relay: <skunkworks8841@> I don't remember
08:07 PM lcnc-relay: <skunkworks8841@> the monach boots in like 15 seconds?
08:43 PM roycroft: https://roycroft.us/MiniRouter/ComputerInterfacePanelLabeled.jpeg
08:43 PM roycroft: the ghost image is more visible in the picture than in person, but it still bugs me a lot
08:44 PM roycroft: https://roycroft.us/MiniRouter/MotionControlPanelLabeled.jpeg
08:44 PM roycroft: that one turned out great, though
08:47 PM roycroft: https://roycroft.us/MiniRouter/FanInletOutside.jpeg
08:47 PM roycroft: that's my revised air inlet for the fan
08:48 PM roycroft: https://roycroft.us/MiniRouter/FanInletInside.jpeg
08:48 PM roycroft: i have my indexing issue solved
08:49 PM * roycroft is done posting for the day
08:57 PM xxcoder: very nice engraves
08:57 PM roycroft: thanks
08:58 PM roycroft: it's better than self-adhesive labels
08:58 PM xxcoder: I'd be shocked if those laser engraves peel off ;)
09:00 PM roycroft: yes, i think that is unlikely
09:25 PM Tom_L: roycroft, flip the hdmi one over and use the backside
09:25 PM Tom_L: it looks rather symetrical
09:26 PM xxcoder: it should be on infinite rotate connector, so it could be at any angle anytim,e
09:43 PM roycroft: it's not - the holes are different sizes
09:43 PM roycroft: i'm going to leave it as is for now
09:43 PM roycroft: i'm probably going to add an ethernet jack to that panel at some point
09:43 PM xxcoder: lol honestly I think its just perfectly fine
09:43 PM roycroft: at which time i'll either remake the panel or i'll sand it down and relabel it
09:44 PM roycroft: but i want to move on with the project, so i'm not going to do anything else with it right now
10:47 PM roycroft: lightburn are coming out with some new cad/cam/control software for milling machines, and the cam part can work directly with linuxcnc
10:47 PM roycroft: the license is $199 for everything
10:47 PM roycroft: i have not installed it nor even read much of the documentation, so i have no idea how capable it is
10:47 PM roycroft: and it is in beta at this point
10:47 PM roycroft: https://docs.millmagesoftware.com/0.8/