#linuxcnc Logs

Jul 04 2024

#linuxcnc Calendar

05:39 PM * Tom_L slaps the logbot
05:52 PM lcnc-relay: <captainhindsight_.> there is a reason why it is so much work to make packages, Debian dumps stuff all over, we had to use Synaptic to remove all the extra doc packages
05:52 PM lcnc-relay: <captainhindsight_.> and as usual the first run after installing RTAI always gets the worst latency results, it's like Debian knows
05:54 PM Tom_L: you might double check em
05:54 PM Tom_L: try M1 button too
05:54 PM rdtsc is now known as rdtsc_away
06:03 PM -!- #linuxcnc mode set to +v by ChanServ
06:16 PM Tom_L: mmm i smell food
06:16 PM JT-Shop: we ate at 4 when the chicken was done
06:17 PM Tom_L: it's been a saturday here..
06:17 PM JT-Shop: we have a huge pile left over for Saturday
06:17 PM Tom_L: i like that dark gui
06:18 PM JT-Shop: coo
06:18 PM JT-Shop: l
06:18 PM * roycroft just got back from eugene with a truckload of machines and stuff
06:18 PM Tom_L: some parts are hard for me to focus on but i still like it
06:18 PM roycroft: there will be time to celebrate our nation's birthday later
06:18 PM Tom_L: when you open the menus for one
06:18 PM roycroft: for now, i have to unload the truck, partially into my shop, and partially into the storage unit
06:18 PM xxcoder: not going anywhere here, its way too hot lol
06:19 PM roycroft: yeah, it's pretty bloody hot here too
06:19 PM roycroft: i did bring the last of the machines from my garage shop that i'm keeping today
06:19 PM Tom_L: not too bad here.. 85F
06:19 PM Tom_L: did the yard this AM
06:19 PM Tom_L: nice and wet from the storms
06:19 PM Tom_L: but it's done
06:19 PM roycroft: all that's left there for machinery are the lathe and horizontal mill, both of which are going away
06:19 PM lcnc-relay: <ffffrf> hey - does anyone know what the "amplifier enable" pin does? is mentioned in linuxcnc and trying to figoure out if I actully need this pin when wiring sherline driver box to my mesa board
06:19 PM JT-Shop: 86°F
06:20 PM roycroft: 32c here right now
06:20 PM Tom_L: fffff, probably a drive enable
06:20 PM roycroft: 39 tomorrow and over the weekend
06:20 PM roycroft: that's triple digits, in colloquial units
06:20 PM lcnc-relay: <ffffrf> like enables it to operate?
06:20 PM JT-Shop: stepper drivers usually have a drive disable pin
06:20 PM Tom_L: yes
06:20 PM Tom_L: you should have that in case you need ESTOP or have a better way to shut things off
06:20 PM lcnc-relay: <ffffrf> is it producing a signal or receiving a signal?
06:21 PM Tom_L: receiving
06:21 PM roycroft: oh, and exit polling shows that labour will have the biggest majority since at least wwii, if not in all of british history
06:21 PM roycroft: whodathunk?
06:21 PM lcnc-relay: <ffffrf> okay, so i should wire it to like a generic i/o pin on mesa and feed it voltage
06:21 PM Tom_L: you can map that pin to an enable signal too :)
06:22 PM Tom_L: how about that....
06:23 PM lcnc-relay: <ffffrf> ok so i was reading about that but I ws not understanding what that means - like is there a specific pin that is an "enable" pin on mesa 7i96s? I was looking at the pin diagram and was not seeing anything of the sort
06:24 PM roycroft: i wisely turned on the ac before i left for eugene
06:24 PM JT-Shop: stepper drivers usually have a "disable" pin... any output can be used to enable/disable a drive
06:24 PM * roycroft has been basking in the coolness for a while, but needs to go out into the heat to unload soon
06:25 PM JT-Shop: fffffffff do you know about the mesa configuration tool?
06:25 PM lcnc-relay: <ffffrf> i have not used it yet but yes
06:25 PM roycroft: also, i had been wondering if there were spots on the rivers i cross on the way up here that are popular for swimming
06:25 PM JT-Shop: ok
06:25 PM lcnc-relay: <ffffrf> ohhh are you saying to map a mesa pin as an "enable" pin in the tool?
06:25 PM roycroft: i discovered there are, on my way home today
06:26 PM lcnc-relay: <ffffrf> i was asking physically where to wire my sherlines enable pin onto the mesa - or am i mixing myself up more?
06:26 PM roycroft: several places very near here seem to be popular swimming areas
06:26 PM JT-Shop: if you need and enable pin yes but typically steppers don't need that
06:26 PM lcnc-relay: <ffffrf> haha sorry for my stupidity
06:27 PM roycroft: lack of knowledge/experience is not stupidity
06:28 PM JT-Shop: yup
06:28 PM * JT-Shop calls it a day
06:28 PM xxcoder: stupidity is unwilling to learn
06:28 PM lcnc-relay: <ffffrf> ok, so i should physically wire the enable pin onto a generic io pin of the 7i96s and set that pin as an "enable pin" in the config tool? Is that a correct interpretation
06:29 PM roycroft: or unable to learn
06:29 PM roycroft: unwilling to learn is more laziness than stupidity, in my view
06:37 PM xxcoder: I suppose lol
06:44 PM roycroft: now it may be stupid to be lazy :)
07:01 PM rdtsc_away is now known as rdtsc
07:03 PM rdtsc: Are you using stepper drives?
07:03 PM lcnc-relay: <captainhindsight_.> same system (Core 2 Duo) with RTAI but with a PCIe GPU card, the latency is @ 1.6uS vs 3.6uS with integrated GPU
07:16 PM lcnc-relay: <captainhindsight_.> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/JwcDZhSZFdytHOWuvNPiuXJO/lcnc-04Jul2024-200.png
07:17 PM lcnc-relay: <captainhindsight_.> now I have to find a few extra GB of DDR2
07:17 PM rdtsc: Check eBay, can likely find them there for cheap
07:17 PM lcnc-relay: <ffffrf> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/qCigwGCDFaamtuCjZrlhYLDc/IMG_0051.jpg
07:17 PM lcnc-relay: <ffffrf> it’s coming together lol
07:18 PM lcnc-relay: <captainhindsight_.> I likely have some DDR2 in a box somewhere
07:19 PM Tom_L: wish i had a toothpic histogram
07:20 PM Tom_L: capt, is that the one ntulinux just built?
07:23 PM lcnc-relay: <captainhindsight_.> Tom_L: yes, test pics with and without a PCIe GPU, all else the same with only 2 GB of RAM
07:24 PM Tom_L: is the linuxcnc deb a full os install too?
07:25 PM Tom_L: no, probably not since it's a deb
07:25 PM lcnc-relay: <captainhindsight_.> just RTAI LCNC, I started with a 2.9 LCNC preempt-rt ISO install
07:25 PM lcnc-relay: <captainhindsight_.> I built it over the phone with his guidance
07:25 PM Tom_L: i usually start with a pure debian web install
07:26 PM Tom_L: may give it a go in the next few days
07:26 PM lcnc-relay: <captainhindsight_.> I was hoping preempt_rt would be low latency enough
07:26 PM Tom_L: mine would be on a D525
07:26 PM lcnc-relay: <captainhindsight_.> was not for LPT software stepping
07:27 PM lcnc-relay: <captainhindsight_.> oohh way up to 1.7uS now for jitter
07:28 PM Tom_L: i wonder if flex will run on this new one
07:29 PM lcnc-relay: <captainhindsight_.> these are just low cost systems for makerspace wood CNC routers
07:29 PM lcnc-relay: <captainhindsight_.> they have those awful tb6560 stepper drives on them, so fricken noisy
07:29 PM Tom_L: mmm
07:52 PM * Tom_L digs out his bookworm install disk
07:52 PM lcnc-relay: <captainhindsight_.> figures no DDR2 , DDR, DDR3, DDR4, and older stuff
08:08 PM lcnc-relay: <captainhindsight_.> I thought you guys made fun of LPT ports and RTAI stuff
08:08 PM Tom_L: i've been running RTAI on a parallel port on the mill since i built it
08:08 PM Tom_L: so NO!
08:09 PM Tom_L: i have the latest RTAI install running on it now
08:09 PM lcnc-relay: <captainhindsight_.> don't make me get out the old IRC logs 🙂
08:09 PM Tom_L: but if this one works better and runs flex win win
08:09 PM Tom_L: go ahead
08:09 PM Tom_L: !
08:10 PM Tom_L: what was that old 2 slot card before the 7i90? i forget the number
08:10 PM Tom_L: parport interface
08:10 PM Tom_L: that's what i started with
08:13 PM Tom_L: haha 7i43
08:14 PM lcnc-relay: <captainhindsight_.> I'm installing plain Debian 12 then going to add RTAI + LCNC
08:14 PM Tom_L: same here
08:14 PM Tom_L: doing the RTAI first? ... makes sense to do it that way
08:15 PM lcnc-relay: <captainhindsight_.> last test was Andy's LCNC 2.9 ISO and then changed over from preempt_rt to RTAI
08:16 PM Tom_L: i have the latest preempt-rt on a test pc i've run flex on hardware with
08:17 PM Tom_L: installing on a faster pc than the D525 though
08:21 PM Tom_L: we can't run linuxcnc-uspace on this though
08:21 PM Tom_L: what about updates?
08:24 PM lcnc-relay: <captainhindsight_.> this was to prove that RTAI works
08:24 PM lcnc-relay: <captainhindsight_.> Andy just needs to update what he wants to do
08:24 PM Tom_L: ok
08:24 PM lcnc-relay: <captainhindsight_.> memleak posted a hack to rip the docs out of the build to save time
08:25 PM lcnc-relay: <captainhindsight_.> https://github.com/NTULINUX/linuxcnc-rtai/commit/a197dad865a02e47a2aee4038eb1fb8089423d70
08:26 PM lcnc-relay: <captainhindsight_.> For a full list of changes:
08:26 PM lcnc-relay: https://github.com/NTULINUX/linuxcnc-rtai/commits/ntulinux/2.9-rtai/
08:26 PM lcnc-relay: <captainhindsight_.> I was able to successfully build RTAI debs in only a few minutes. My branch is synced with the latest checkout of 2.9 at the time I pushed.
08:28 PM lcnc-relay: <captainhindsight_.> it built on an old 3ghz core two duo while isolcpus=1 was on in a few minutes
08:29 PM lcnc-relay: <captainhindsight_.> easily under 1 minute on a modern cpu
08:31 PM Tom_L: mine has cob webs on it
08:35 PM Tom_L: is there a certain way to instll the RTAI deb?
08:36 PM rdtsc: Tried LinuxCNC on the old HP TouchSmart 300 (dual-core AMD X2 @2.7GHz) - abysmal latency histogram; almost a flat line. On-board radeon video = blech.
08:38 PM Tom_L: capt, is this a RIP install?
08:39 PM rdtsc is now known as rdtsc_away
08:42 PM -!- #linuxcnc mode set to +v by ChanServ
08:43 PM -!- #linuxcnc mode set to +v by ChanServ
08:54 PM lcnc-relay: <captainhindsight_.> i used dpkg for all
08:55 PM lcnc-relay: <captainhindsight_.> no , it's not RIP
08:55 PM Tom_L: i get an error
08:55 PM lcnc-relay: <captainhindsight_.> it's just not installed through apt or the package manager
08:57 PM lcnc-relay: <captainhindsight_.> rdtsc: HP's are usually the worst for real time since HP keeps the BIOS options to a minimum
08:57 PM Tom_dev: This package is uninstallable
08:57 PM Tom_dev: Dependency is not satisfiable: linux-image-5.4.258-rtai-amd64
08:57 PM lcnc-relay: <captainhindsight_.> HP's can rarely turn off power management, speed stepping and virtualization
08:58 PM Tom_dev: install the other one first?
08:58 PM lcnc-relay: <captainhindsight_.> try that, like i said I went from a working uspace install to RTAI
08:59 PM Tom_dev: had to be very specific about the path to the first one
08:59 PM Tom_dev: but it's installing
09:01 PM Tom_dev: i started with a plain vanilla debian 12
09:01 PM lcnc-relay: <captainhindsight_.> same here
09:01 PM Tom_dev: Download is performed unsandboxed as root as file '/home/tom/NTULINUX/linuxcnc_2.9.2_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
09:01 PM Tom_dev: E: Sub-process /usr/bin/dpkg returned an error code (1)
09:04 PM lcnc-relay: <captainhindsight_.> ok so it looks like wait for Andy or I'll have to write a howto for installing RTAI using dpkg
09:04 PM Tom_dev: doesn't like it here
09:04 PM roycroft: all done moving for the day
09:05 PM xxcoder: yay. cool time
09:05 PM Tom_dev: dpkg-buildpackage -us -c is what i normally use
09:05 PM Tom_dev: dpkg-buildpackage -us -uc
09:06 PM Tom_dev: but that's to build a deb and i doubt it's the same for this
09:07 PM Tom_L: ok enough of that for one night
09:14 PM lcnc-relay: <captainhindsight_.> my memory is so bad now that i just have to search my bash history
09:14 PM Tom_L: welcome to the club
09:14 PM Tom_L: i just happen to build and install quite a bit lately
09:14 PM lcnc-relay: <captainhindsight_.> lack of testosterone really stinks when you've gotten used to a lifetime of it
09:15 PM xxcoder: no monthly injections of pre-t?
09:15 PM lcnc-relay: <captainhindsight_.> nope it's poison to me, it feeds my cancer
09:15 PM xxcoder: oh boy. sucks
09:16 PM lcnc-relay: <captainhindsight_.> have to remain testosterone free for the next 2 years minimum
09:17 PM lcnc-relay: <captainhindsight_.> the docs just shrug their shoulders and mention that you might have some hot flashes
09:17 PM lcnc-relay: <captainhindsight_.> I was having them every 20 minutes even in the deep freezer
09:18 PM xxcoder: interesting, didnt know stopping t does that
09:18 PM lcnc-relay: <captainhindsight_.> yeah you get the same symptoms that women go through with menopause
09:18 PM Tom_L: i wonder how many hundred dollar bills are being blown up tonight
09:19 PM xxcoder: directly? probably a few lol
09:19 PM Tom_L: i'm downstairs and it sounds like a war zone
09:19 PM xxcoder: interesting. I hope I never find out directly myself
09:19 PM xxcoder: its still perfectly silent here
09:20 PM Tom_L: do you have tinitus/
09:20 PM Tom_L: ?
09:20 PM lcnc-relay: <captainhindsight_.> xxcoder: have your PSA checked
09:20 PM Tom_L: or just nothing
09:20 PM xxcoder: thankfully no lol
09:20 PM Tom_L: i have it in one ear
09:20 PM roycroft: there has been three fireworks-related fires that i know of in the eugene area today
09:20 PM Tom_L: rather annoying
09:20 PM xxcoder: friend of mine had it cured by death. after more than 50 years of constant tinnitus
09:20 PM roycroft: but nobody is shooting them off up here
09:21 PM lcnc-relay: <captainhindsight_.> around here it's all the road closures that get frustrating
09:21 PM roycroft: for decades i've had to monitor my back yard and roof on the night of the fourth of july, as i had neighbors behind me that would shoot off illegal bottle rockets all night long
09:21 PM xxcoder: honestly during day its impossible for me to know if anyone is blowing em up
09:21 PM lcnc-relay: <captainhindsight_.> they block things to control the exits from the fireworks viewing areas
09:21 PM roycroft: no sign of any of that here so far
09:22 PM xxcoder: only if I see em directly, or during dark that I can see if someone is blowing stuff up
09:22 PM roycroft: almost all fireworks are illegal in oregon, but there are lots of indian reservations
09:22 PM Tom_L: this is the first year 'anything goes' in town here
09:23 PM Tom_L: i think 911 got tired of it
09:23 PM lcnc-relay: <captainhindsight_.> RPG's, howitzers....
09:23 PM lcnc-relay: <xxcodery> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/poJiCcWkykeQEDQceVfUopuT/449783826_10211904138034690_4446381678261690839_n.png
09:23 PM lcnc-relay: <xxcodery> july 4 chemistry tricks
09:24 PM xxcoder: all different colors. amazing isnt it
09:26 PM roycroft: i have an aladdin lamp whose base is made of uranium glass
09:26 PM roycroft: it's mostly white, with a wee bit of a yellow tint
09:27 PM roycroft: but under a black light it glows a bright green
09:27 PM roycroft: well, more a yellow-green, but still very bright
09:28 PM xxcoder: those glassworkds really do look cool
09:28 PM xxcoder: but dont think I will ever buy one
09:40 PM lcnc-relay: <captainhindsight_.> our local booms have begun
09:49 PM Tom_L: JT-Shop, mdi_history_lw & mdi_command_le could use qss access
09:52 PM Tom_L: oh nevermind i figured it out
10:14 PM pcw---home: Snek!
11:14 PM mrec: pcw---home: I did not use the 7i96s for a year, I wonder do you remember how many luts are free on the FPGA?
11:26 PM roycroft: it is past sundown, and i am starting to hear some fireworks, but they are way off in the distance
11:40 PM pcw---home: Quite a bit free on the 7I96S with most firmware, maybe 1/2 full with default 7i96s_d.bin
11:40 PM pcw---home: 7I96 is closer to full (smaller FPGA)