#linuxcnc Logs
Jun 20 2025
#linuxcnc Calendar
12:11 AM xxcoder: oh yes! almost forgot
12:26 AM xxcoder: https://www.thingiverse.com/thing:1447214 roycroft this is what im talking about
01:25 AM Deejay: moin
02:29 AM lcnc-relay: <meisterdippel@> moin moin
02:57 AM lcnc-relay: <sodakaustik@> mornin
04:36 AM Tom_L: morning
05:03 AM -!- #linuxcnc mode set to +v by ChanServ
08:57 AM -!- #linuxcnc mode set to +v by ChanServ
09:06 AM rdtsc-wk: time to reset all of your passwords... https://www.tomsguide.com/news/live/16-billion-passwords-data-breach
09:09 AM Tom_L: why? mine are all still 'password'
09:18 AM -!- #linuxcnc mode set to +v by ChanServ
10:11 AM bjorkintosh: the front is falling off: https://usercontent.irccloud-cdn.com/file/jddjOf7U/image.png
10:11 AM bjorkintosh: I don't know the origin of that image.
10:11 AM bjorkintosh: but that's expensive.
10:15 AM rdtsc-wk: that's insane... hit by a train? fell off shipping barge? tornado damage?
10:15 AM bjorkintosh: no idea rdtsc-wk.
10:16 AM bjorkintosh: I'm inclined to think it fell.
10:20 AM roycroft: just a cosmetic blemish
10:20 AM roycroft: it probably works fine
10:21 AM roycroft: a little touch up paint and it'll be like new
10:21 AM bjorkintosh: it'll buff right out.
10:22 AM Scopeuk: https://www.reddit.com/r/ThatLookedExpensive/comments/1f8r5h9/truck_hit_an_overpass_on_the_way_to_delivering/?share_id=mtSPae5g32HNdRfZkK79Q&utm_content=1&utm_medium=ios_app&utm_name=ioscss&utm_source=share&utm_term=1
10:22 AM Scopeuk: hmm I should have trimmed that
10:22 AM roycroft: i wonder if it's still under warranty
10:23 AM bjorkintosh: the important thing is, it was delivered _on_time_
10:23 AM roycroft: by a spacex rocket?
10:23 AM JT-MShop: shipping on a 300 pound item yesterday was $240 and today it's $813 WTF?
10:24 AM bjorkintosh: we're getting Tarriffied
10:25 AM roycroft: maybe the ups truck was built in china
10:25 AM JT-MShop: ABF freight lines
10:25 AM JT-MShop: just to the terminal too
10:26 AM JT-MShop is now known as JT-Shop
10:27 AM bjorkintosh: JT-Shop: you might have to hotshot it yourself if you have a forklift and some tie downs.
10:27 AM -!- #linuxcnc mode set to +v by ChanServ
10:39 AM pcw--home: JT-MShop: We had a shipment from China (DHL) that normally would have been about $1100 and they charged us $3100 + a $900 fuel surcharge (and that's just the shipping, not the tariff)
10:40 AM pcw--home: I think when there is inflation and confusion about tariffs then just stick to the customers...
10:41 AM roycroft: part of that issue is because a lot of importers are holding off on shipments while the tariff fiasco is playing itself out, and some of the cargo ships are not full
10:42 AM roycroft: when tariffs bounce between 30% and 145% you don't want to order a container of stuff that takes a month to get here
10:42 AM roycroft: you have no idea what the tariff will be the day that container is unloaded
10:43 AM roycroft: and with the situation in iran, fuel prices are also bouncing around, so fuel surcharges may change daily
10:46 AM xxcoder: it sucks when prices is so unstable
10:46 AM roycroft: not a good time to be in the import/export business
10:47 AM rifraf: just melted aluminum in an oven with 10A :)
10:47 AM rifraf: https://desire3d.com/images/public/kiln/ally-in.jpg
10:48 AM rifraf: https://desire3d.com/images/public/kiln/win.jpg
10:48 AM roycroft: i have a heat treating oven that can do that, but i've never done so
10:48 AM roycroft: i've slumped glass in it
10:49 AM xxcoder: telescope?
10:49 AM rifraf: i just wired up a thing i found the other day, so happy
10:49 AM roycroft: well the rain is going to start in earnest in an hour or so
10:50 AM roycroft: one of my grinders i covered with a plastic bag yesterday - i think i need to move that under shelter before the real rain starts
10:50 AM xxcoder: whats up with neighbor
10:50 AM rifraf: need a castable resin oven, if it can melt ally it can burn out resin :)
10:50 AM JT-Shop: https://gnipsel.com/images/casting/Burner%20Test%2003.jpg
10:50 AM roycroft: btw, the roofers next door worked until almost dark last night, and got all the decking on, and felted the entire roof
10:50 AM roycroft: but no shingles yet
10:51 AM xxcoder: oh boy. in least its not roofless entirely
10:51 AM JT-Shop: is it raining now?
10:51 AM roycroft: and we're due for enough rain that felt alone may not suffice
10:51 AM roycroft: not right now, but in about an hour it will start
10:51 AM rifraf: roycroft yep heat treating and hardening also on the list of future uses
10:51 AM xxcoder: here we will probably have rain in few hours. chances go over 50% in 4 hours
10:51 AM roycroft: 18mm todya, an 16mm yesterday
10:52 AM xxcoder: still curious on why you needed to slump glass lol
10:52 AM roycroft: my oven has an analog temperature controller, but i built a pid controller for it and am bypassing the analog one
10:52 AM rifraf: had to wire it up from a non working unit thoughm and limit power for a 10A circiut so am stoked
10:52 AM roycroft: oh, just to make some domed pieces of art glass for a stained glass project a friend was making
10:52 AM rifraf: currently at 10.8A, don't roast me, had enough, the proof is in the pudding
10:52 AM xxcoder: congats on fixing kilm rif :D
10:53 AM xxcoder: roy nice
10:53 AM rifraf: xxcoder cheers :)
10:53 AM * roycroft heads off to finish preparing for rain, and to feed and water his hungry cats
10:53 AM lcnc-relay: <skunkworks8841@> we had a fire last week at work. One of the laser had too much plastic buildup on the bed/exhaust...
10:54 AM lcnc-relay: <skunkworks8841@> I guess it was like a blow torch..
10:58 AM rdtsc-wk: yikes, with the forced airflow. surprised lasers do not have flame sensors
10:59 AM xxcoder: yeah. wonder if machine is ok now
11:03 AM rifraf: ouch, too hot for welding gloves but got it out with with a clamp slipping a bit, is totally liquid now
11:04 AM rifraf: gonna call it a win and crash out
11:04 AM rifraf: pics of the block in a the morning
11:27 AM roycroft: well that was good timing on my part
11:28 AM roycroft: the rain commenced 45 minutes early, just as i was bringing the last item into covered storage
11:28 AM xxcoder: nice
11:29 AM roycroft: there are no roofers next door
11:29 AM roycroft: i hope they don't decide to take the next two days off while it's raining
11:31 AM bjorkintosh: roofers work at the whim of the weather.
11:31 AM bjorkintosh: sauce: did roofing once and never again.
11:37 AM roycroft: i've done more than my fair share of roofing
11:38 AM roycroft: when i was a young kid i could haul two bundles of shingles up a ladder onto a roof
11:38 AM roycroft: then it got to one bundle
11:38 AM roycroft: when i do my roof this summer i'll probably split the bundles and haul half a bundle or less at a time
11:39 AM roycroft: not very efficient
11:39 AM roycroft: but it will get the job done without (hopefully) my killing myself
11:40 AM xxcoder: get a lift so you have to haul zero bundles
11:42 AM bjorkintosh: tsk tsk.
11:42 AM bjorkintosh: https://www.youtube.com/watch?v=Xdtf1o11ihU
11:42 AM bjorkintosh: TranzSporter TP250 Ladder Hoist (Laddervator) Shingle Lift
11:42 AM bjorkintosh: Homo Faber: Man the tool maker.
11:44 AM xxcoder: interesting
11:45 AM roycroft: i would not be able to park the lift close enough to the shop building to be effective
11:45 AM roycroft: a telehandler would work but that would be way too expensive
11:46 AM lcnc-relay: <sodakaustik@> Whats the common consensus on Z-axis leadscrews on retrofitted old mills. My Aciera F5-EP has an ordinary trapezoidal leadscrew, but from what i can visually inspect it is in great shape and i wouldnt want to exchange it for a ballscrew. Am i missing something? It is preloaded by gravity after all
11:46 AM xxcoder: yeah. it looks simple enough to be makable but is it worth making? eh
11:46 AM roycroft: and since it's a gambrel roof, the lower part at least will be so steep there's no way i could pile the shingles on the roof for staging them - they'll need to be staged on scaffolding
11:47 AM roycroft: sodakaustik: it depends entirely on how accurate the existing lead screw is, although you can compensate for any inaccuracies if you have the time and patience
11:47 AM roycroft: well, it also depends on your expectations
11:48 AM * roycroft has not discounted a metal roof as an option yet
11:49 AM roycroft: so maybe there will be no shingles
11:49 AM xxcoder: I hear many postives on those, though bad for extreme wind, since it would lift off wholesale rather than sections
11:50 AM roycroft: i can secure the panels well enough
11:51 AM roycroft: it would be more expensive, but it would also last longer
11:51 AM roycroft: however, properly installed architectural shingles should last at least as long as my remaining time in this world
11:52 AM lcnc-relay: <sodakaustik@> It looks like a ground screw to be honest, not very used machine too
11:52 AM roycroft: so that's not really a factor
11:53 AM roycroft: well measure it and see if it's accurate enough for your application
11:53 AM roycroft: if so, bob's your uncle
11:54 AM roycroft: if not, look into compensation methods
11:54 AM lcnc-relay: <sodakaustik@> The linear encoders do coincide with the machine handle readings always
11:54 AM roycroft: this is assuming stepper motors without feedback
11:55 AM roycroft: if you are using encoders for positioning then you don't need to do any compensation
11:55 AM lcnc-relay: <sodakaustik@> It has the original heidenhein linear encoders
11:55 AM lcnc-relay: <sodakaustik@> its one of those oddball almost-cnc machines
11:56 AM roycroft: so the only other factor to consider is that the acme screw will have more friction than a ball screw
11:56 AM lcnc-relay: <sodakaustik@> You can program Gcode moves, but only in one axis at a time. It has only one DC servo and hirth clutches for each axis
11:56 AM roycroft: but if your motor is powerful enough to move it as is, that's also not a factor
11:57 AM roycroft: i would not open up a can of sleeping dogs - let the worms lie
12:00 PM lcnc-relay: <sodakaustik@> I think ill use the original DC servo for Z and put some velocity-mode AC servos on Y and X
12:00 PM lcnc-relay: The Dc servo is quite fancy and nice to control from what i can feel by using the machine. I was replaced in 2016 with a new-old-stock unit. i remember it being a super cool pancake-style motor (with tach)
12:03 PM lcnc-relay: <sodakaustik@> spindle is also DC but i dont like how the drive behaves. It is an old Simoreg drive which opens like a book, where the pages are circuit boards. Absolutely mind boggling analog tech, but something isnt right with it
12:17 PM Guest84: allah will win 100%!
12:17 PM Guest84: i bet
12:18 PM xxcoder: ?
12:19 PM bjorkintosh: Guest84: Bismillah. wrong channel.
12:19 PM Guest84: all by will of allah!
12:20 PM Guest84: jews you won't defeat allah!
12:20 PM -!- #linuxcnc mode set to +o by ChanServ
12:24 PM rdtsc-wk: that was like a firework that just fizzled out... didn't even get a chance to grab popcorn
12:24 PM xxcoder: 🍿🍿🍿 have some
12:24 PM -!- #linuxcnc mode set to -o by ChanServ
12:24 PM roycroft: we delve into politics here upon occasion, more than we should, and admittedly i'm sometimes guilty of that
12:25 PM roycroft: but moreso than not discussing politics we need to not discuss religion here
12:25 PM bjorkintosh: yeah. religious wars won't get us anywhere. Mazak vs G-Code?
12:25 PM xxcoder: nobody is ever changing mind so no point to go on on religion yeah
12:25 PM bjorkintosh: it's all movement!
12:26 PM roycroft: i'll observe, though, that it's the various factions of the abrahamic religions that seem to fight with each other more than other religions fight with each other
12:27 PM roycroft: it appears that my 3.5mm jacks are out for delivery, so i should be able to finish up the machining of the front panel today
12:27 PM roycroft: i also have a new internet radio out for delivery, so i'll have a better choice of music in my shop
12:28 PM roycroft: there are only three radios stations that come in clearly here
12:28 PM roycroft: i had a couple internet radios at my old house, and they have been life savers at the new place
12:29 PM * roycroft thinks, btw, if we're really going to discuss religion here it should be emacs vs vi :)
12:29 PM bjorkintosh: roycroft: sibling rivalries.
12:29 PM rdtsc-wk: Iso 32 oil arrived... found shop lathe's oil level was below fill bubble, oops
12:30 PM roycroft: bjorkintosh: and the more closely related the more intense
12:31 PM roycroft: christians fight jews, jews fight muslims, and muslims fight christians
12:31 PM roycroft: but all those squabbles pale in comparsion to catholics vs protestants, orthodox vs reformed/liberals, and sunni vs shia
12:31 PM roycroft: historically
12:33 PM bjorkintosh: https://www.youtube.com/watch?v=l3fAcxcxoZ8 Emo Phillips - Golden Gate Bridge
01:54 PM -!- #linuxcnc mode set to +v by ChanServ
02:24 PM lcnc-relay: <_sebastianm@> hey!
02:24 PM lcnc-relay: is the "axes" parameter in [TRAJ] deprecated? the 2.6 documentation still shows it, but current one not anymore
02:24 PM lcnc-relay: <_sebastianm@> pncconf still creates it though
02:33 PM Tom_L: i'm not sure if anything still looks at that section
02:34 PM Tom_L: it still calls for a couple entries
02:35 PM Tom_L: max_velocity, max_acceleration and possibly min/max_limit
02:35 PM Tom_L: wait.. not [AXIS]
02:36 PM Tom_L: although there's not much there now either
02:36 PM Tom_L: some things just disappear unnoticed
02:44 PM Tom_L: pcw--home, spi loopback test works
02:45 PM Tom_L: worked on the cable.. has 4 GND now
02:45 PM Tom_L: no change
02:46 PM Tom_L: max speed reported 500Khz
02:50 PM -!- #linuxcnc mode set to +v by ChanServ
02:50 PM Tom_rpi5: http://paste.debian.net/1381335/
02:51 PM Tom_L: wait... i unplugged the wire there..
02:53 PM -!- #linuxcnc mode set to +v by ChanServ
02:53 PM Tom_rpi5: http://paste.debian.net/1381337/
03:46 PM roycroft: my new internet radio is here
03:46 PM roycroft: setup was easy, it sounds pretty good for what it is, but the station list is a bit out of date and i can't enter a url directly
03:47 PM roycroft: most of my stations are current and working, though
03:52 PM roycroft: i also got the jack for the z-touch probe, and the hole in the front panel is still too big for the new jack, so i have some creative work to do to fix that
05:01 PM roycroft: a truck load of shingles just showed up next door, so i guess they'll be loading shingles on the roof in the rain
05:01 PM roycroft: fun times
05:01 PM roycroft: i'm glad it's not me
05:03 PM Tom_L: alot of them have conveyor belts and a guy on each end
05:04 PM xxcoder: hopefully damage isnt bad after rains on just basic cover
05:05 PM xxcoder: raining here now
05:05 PM Tom_L: 94F here
05:05 PM Tom_L: sunny
05:06 PM xxcoder: cool 60f here
05:14 PM roycroft: it's cool here today and tomorrow
05:14 PM roycroft: but when the rain is over on sunday it will get warm again
05:14 PM * roycroft is getting ready to machine the other brass insert plate
05:15 PM roycroft: i want to get that done so i can clean up the shop
05:15 PM roycroft: it's getting brassy in the back
05:15 PM xxcoder: any balls?
05:15 PM xxcoder: ;)
05:15 PM xxcoder: nice. cant wait to see it done lol
05:24 PM roycroft: it will be a while yet, but i'm making daily progress
06:38 PM roycroft: well, i learned something today about cutting brass with a router
06:38 PM roycroft: there's a lot more pressure and vibration than with wood
06:38 PM roycroft: on the last pass of the last hole, my cutter slipped out of the collet
06:39 PM roycroft: i've never had that happen with wood before, and i know it was tightened properly when i started using it
06:39 PM roycroft: so i guess with brass one needs to check that occasionally
06:39 PM xxcoder: interesting
06:40 PM roycroft: it damaged the workpiece slightly, but made another pass a couple thousandths bigger, and i think it's good enough that i can live with it
06:40 PM roycroft: otherwise i have to remake the part, which is no big deal, except the leftover piece of brass i have is 1/16" too short, and i don't want to cut up another sheet
06:43 PM roycroft: https://roycroft.us/MiniRouter/BackPanelSecondFitment.jpeg
06:44 PM roycroft: it's on the underside of the cutout, and won't be visible at all when the controller is installed, but it still bugs me a bit
06:45 PM roycroft: i think i can live with it for now, though, and when it's time to add an ethernet jack or some other port to that panel i'll just remake the whole thing
06:45 PM xxcoder: you will forget it evenually. looks good
06:45 PM roycroft: if it were for a customer i'd be remaking it right now
06:46 PM Tom_L: should root be the owner of /dev/spidev?
06:46 PM roycroft: i do want to finish this proiject this year
06:46 PM Tom_L: user is in spi group
06:46 PM * roycroft has no /dev/spidev to check
06:47 PM Tom_L: i wonder if i need to chown that?
06:47 PM Tom_L: and how do you do that on a dev?
06:47 PM Tom_L: same as a file?
06:47 PM roycroft: yes
06:47 PM roycroft: that's the simple beauty of unix
06:47 PM Tom_L: user is in spi group though?
06:47 PM roycroft: everything is a file
06:48 PM -!- #linuxcnc mode set to +v by ChanServ
06:48 PM roycroft: since i don't have that device i don't know what ownership/permissions should be, unfortunately
06:48 PM Tom_rpi5: crw-rw---- 1 root spi 153, 0 Jun 20 18:01 /dev/spidev0.0
06:48 PM Tom_rpi5: crw-rw---- 1 root spi 153, 1 Jun 20 18:01 /dev/spidev10.0
06:48 PM roycroft: that could be correct
06:49 PM roycroft: is there a problem that you think those permissions are causing?
06:49 PM Tom_L: i don't know
06:49 PM Tom_L: everything shows it there and working
06:49 PM roycroft: then it's probably fine
06:51 PM roycroft: so i still have to cut that spiderweb-like air intake on a side panel, and then i can start on the joinery of the controller cabinet
06:51 PM Tom_L: everything but mesaflash
06:51 PM roycroft: i have to do a slight redesign of the intake to cut it the way i want
06:52 PM roycroft: what user does mesaflash run as?
06:52 PM Tom_L: any
06:52 PM Tom_L: afik
06:52 PM Tom_L: well you sudo mesaflash
06:52 PM Tom_L: come to think of it
06:52 PM roycroft: if you sudo, then permissions on those devices don't matter
06:52 PM roycroft: root has read/write access to the device already
06:52 PM Tom_L: i suppose
06:53 PM roycroft: if you want to run mesaflash as another user and have it access those devices, add the other user to the spi group
06:53 PM Tom_L: right
06:53 PM Tom_L: user already is
06:53 PM Tom_L: and there's just one
06:54 PM roycroft: and remember you have to log out as that user and log back in for the new group memebership to take effect
06:54 PM Tom_L: yeah
06:54 PM Tom_L: user was a member from the get to
06:54 PM Tom_L: go
06:54 PM roycroft: so if mesaflash is not able to access that device there is some other problem, i suspect
06:55 PM Tom_L: i'll just keep checking things then
06:55 PM rdtsc: were you able to slow down the clock?
06:55 PM Tom_L: the clock is running at 500Khz
06:55 PM * roycroft is trying to decide whether to attempt laser etching the labels on those brass insert plates or just use a label maker
06:55 PM rdtsc: should see lots of detail in the saleae now
06:55 PM Tom_L: and i have a python file that will but i think it reverts as soon as it runs
06:56 PM Tom_L: i haven't had a chance to hook that back up yet
06:56 PM roycroft: since this is a learning/practicing new techniques project i probably should do the laser etch
06:56 PM Tom_L: how would i write something to it with python?
06:56 PM Tom_L: i can add that to that test and see what that shows
06:56 PM roycroft: the only time i've used my laser on brass is when i made id tags for my cats
06:56 PM roycroft: and that turned out just fine
06:57 PM rdtsc: oh.... you could call mesaflash from within python...
06:57 PM Tom_L: maybe you could :D
06:57 PM Tom_L: roycroft, powder
06:57 PM roycroft: powder?
06:57 PM Tom_L: on shiney to lasercut
06:57 PM roycroft: oh
06:58 PM roycroft: i just want to engrave some labels, not cut it
06:58 PM roycroft: but when i made the id tags i covered the brass with masking tape and cut through that
07:01 PM roycroft: are you suggesting regular talcum powder?
07:02 PM lcnc-relay: <big_kevin420@> tom did you get the spi mesa thing working or no?
07:03 PM -!- #linuxcnc mode set to +v by ChanServ
07:03 PM roycroft: he's working on it now, big_kevin420
07:03 PM Tom_L: not yet
07:04 PM lcnc-relay: <big_kevin420@> where are you at with it>?
07:04 PM Tom_L: i'm at the not working part
07:04 PM Tom_L: have a c spitest that shows it's there
07:04 PM lcnc-relay: <big_kevin420@> which part linuxcnc not working or mesaflash not working
07:04 PM roycroft: that's not as good a part as the working now part
07:04 PM Tom_L: i'm not using linuxcnc for this
07:05 PM Tom_L: just testing mesaflash until it works
07:05 PM lcnc-relay: <big_kevin420@> is the intention to not use linuxcnc>?
07:05 PM Tom_L: http://paste.debian.net/1381355
07:05 PM Tom_L: last bit of tests using the official pi os
07:05 PM Tom_L: the bottom 2 are the c file test
07:06 PM Tom_L: i plan to use linuxcnc but until i get mesaflash working i'm not
07:06 PM Tom_L: it's mostly for proof testing it out
07:07 PM rdtsc: can see something coming across spi using logic analyzer, but don't think signals are right - unsure if signalling prob, or board firmware
07:08 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/Rpi5/ SPI1 - 4 jpg
07:08 PM lcnc-relay: <big_kevin420@> did pcw say anything abvout the 7i90 firmware and RPi5?
07:08 PM Tom_L: the funny thing is i've had it working on the rpi4 using an older os
07:08 PM Tom_L: it doesn't work on it either now
07:09 PM rdtsc: firmware has changed
07:09 PM Tom_L: the cable is proven
07:10 PM lcnc-relay: <big_kevin420@> yeah the cable looks good
07:10 PM Tom_L: the spi is there and aparently enabled
07:10 PM rdtsc: likely firmware then?
07:10 PM lcnc-relay: <big_kevin420@> looks like
07:10 PM Tom_L: i added more gnd to the cable
07:10 PM Tom_L: 4 gnd now
07:10 PM lcnc-relay: <big_kevin420@> so after fw it doesnt connect to either 4 or 5?
07:10 PM Tom_L: not now
07:11 PM Tom_L: i think the 4 is running debian12 as well
07:11 PM Tom_L: i'd have to boot it and double check
07:11 PM lcnc-relay: <big_kevin420@> and you dont want to cheat at all fior sanity reasons to check with linuxcnc spix driver?
07:11 PM Tom_L: this should work
07:12 PM Tom_L: if i need a firmware change i wouldn't be able to easily
07:12 PM Tom_L: although i did :D
07:12 PM Tom_L: mesa that is
07:13 PM Tom_L: peter said those charts didn't look good
07:13 PM lcnc-relay: <big_kevin420@> the spi output numbers?
07:14 PM lcnc-relay: <big_kevin420@> k so you8 did do a sanity check and it does connect to lcnc
07:14 PM Tom_L: could be the saleae is old and not high enough sample rate
07:14 PM Tom_L: no i haven't started lcnc yet
07:14 PM Tom_L: i haven't even copied a config over yet
07:15 PM rdtsc: is it a newer mesaflash version?
07:15 PM Tom_L: the latest
07:15 PM Tom_L: i have probably 25 versions :)
07:16 PM Tom_L: that came in handy lately too
07:16 PM lcnc-relay: <big_kevin420@> i understand you want to get mesaflash working but only like you and gene are old enough to be using a 7i90, so theres not a large pool of users to reference
07:16 PM Tom_L: device name changes
07:16 PM Tom_L: i know that
07:16 PM Tom_L: i have ethernet i can use if i want
07:17 PM Tom_L: i got the rpi5 as a testbed not necessarily to use it on anything
07:17 PM lcnc-relay: <big_kevin420@> im just suggesting for a sanity check, if it works with linuxcnc you know the issue. if it doesnt work with the linuxcnc driver, then its something you arent gonna fix with rpi
07:17 PM Tom_L: i may get to that eventually
07:18 PM Tom_L: it's not like i've been working day and night steady on this
07:18 PM Tom_L: i do have a life :)
07:19 PM lcnc-relay: <big_kevin420@> i know, im just suggesting so that it is eaier to narrow down the issue to mesaflash/spidev specifically, and not potentially something mapped wrong in the FW or somethign
07:19 PM Tom_L: i've got a 7i80 i can slap right in and use ethernet if i wanted
07:20 PM Tom_L: i hear ya
07:20 PM Tom_L: they are basically the same card
07:20 PM lcnc-relay: <big_kevin420@> i dont mean to use, just to verify that it should be working
07:20 PM lcnc-relay: <big_kevin420@> so you arent spinning the wheels
07:20 PM Tom_L: we don't know that for sure now do we?
07:20 PM Tom_L: :)
07:21 PM Tom_L: it will likely be one of the next few steps
07:21 PM Tom_L: i probably should flash my mill firmware to it if i'm gonna do that
07:22 PM Tom_L: i'm not sure about the other cards but the 7i90 has 2 separate eeprom with a fallback & regular bitfile on each one
07:23 PM lcnc-relay: <big_kevin420@> mesaflash part seems to consistently be the harder thing to setup, so if its an issue like the other guys had where it was something like a wrong CS pin or something
07:24 PM Tom_L: i've been thru all the obvious multiple times
07:25 PM lcnc-relay: <big_kevin420@> i know you have, you are a smart guy
07:25 PM lcnc-relay: <big_kevin420@> i read the logs
07:25 PM Tom_L: there are a couple ways to set the spi clock in the rpi5
07:25 PM Tom_L: one (the permanent one) requires compiling a file and patching the kernel
07:25 PM Tom_L: i'm not up for that right now
07:26 PM Tom_L: the other is thru an app like the python thing
07:26 PM lcnc-relay: <big_kevin420@> sounds unnecessary, considering the other guys have it working on the other boards
07:26 PM Tom_L: http://paste.debian.net/1381358/
07:26 PM lcnc-relay: <big_kevin420@> did the header bits change at all with the new fw?
07:26 PM Tom_L: i realize that
07:26 PM Tom_L: i dunno
07:27 PM Tom_L: which firmware?
07:27 PM lcnc-relay: <big_kevin420@> if they are the same as in the manual, i was fairly sure they are at the bottom of the manual
07:27 PM lcnc-relay: <big_kevin420@> 7i90
07:27 PM Tom_L: oh
07:27 PM Tom_L: for this i used one peter had already done up for spi
07:28 PM Tom_L: i have one of my own but didn't wanna try that until it was working
07:28 PM lcnc-relay: <big_kevin420@> like, the classic one or did he do a new one or something?
07:28 PM Tom_L: no it's part of the zip
07:29 PM Tom_L: there's a bunch of em in there
07:29 PM Tom_L: i just grabbed one that was close to what i use
07:30 PM Tom_L: he said he'd try one but i'm not gonna pressure that
07:30 PM Tom_L: he may find something...
07:30 PM lcnc-relay: <big_kevin420@> ok, so when you said you updated the fw, you meant the rpi firmware not the 7i90 bitfile
07:31 PM Tom_L: the 7i90 has been reflashed because i'd written 2 spi files to it not knowing
07:31 PM Tom_L: i'm confident in it working
07:31 PM Tom_L: the parallel bit file works fine
07:31 PM Tom_L: the alternate eeprom has the spi config in it
07:32 PM roycroft: holy moly
07:32 PM roycroft: my imac is actking a little sluggish, and i just checked the load average - it's currently 437 and rising
07:33 PM roycroft: firefox consuming 23GB of ram isn't helping
07:33 PM bjorkintosh: what's cooking?
07:33 PM Tom_L: big_kevin, the firmware on the rpi is what came with it
07:34 PM lcnc-relay: <big_kevin420@> what are you mining bitcoin in firefox
07:34 PM Tom_L: and it is the latest one
07:34 PM bjorkintosh: hmm. you might be able to kill the offending process in FF
07:34 PM lcnc-relay: <big_kevin420@> ok
07:34 PM Tom_L: newer than rdtsc has
07:34 PM lcnc-relay: <big_kevin420@> when did you buy it? are we suspecting its newer rpi5 related?
07:34 PM Tom_L: couple days ago
07:35 PM roycroft: i did visit foxnews.com recently, and that tends to drive the load up no matter what browser one uses
07:35 PM roycroft: i should make sure that window is not still open
07:35 PM Tom_L: took a bit to get wifi working on it as well
07:36 PM Tom_L: using networkmanager instead of the old standbys
07:36 PM Tom_L: you have to REMOVE interfaces for it to work
07:36 PM lcnc-relay: <big_kevin420@> im not gonna warranty anything with wifi, i never use it
07:36 PM Tom_L: and that othe wpa file i've never heard of
07:36 PM roycroft: and yeah, that window was still open and complaining about being nonresponsive
07:37 PM roycroft: i closed it and a bunch of other windows and the load is already back down below 20
07:37 PM Tom_L: the wifi & static ip are solid now
07:38 PM Tom_L: manager now creates a separate file for each connection
07:38 PM Tom_L: and you can't hand edit it
07:39 PM lcnc-relay: <big_kevin420@> are suggesting new rpi5 related issue?
07:39 PM Tom_L: i've no idea really
07:40 PM Tom_L: i wouldn't know what the old ones were :)
07:40 PM Tom_L: this is the deck i was handed
07:41 PM lcnc-relay: <big_kevin420@> you should probably daignose the issue with the rpi4 then instead
07:41 PM Tom_L: i may
07:41 PM Tom_L: i might see if i still have an older os on sd for it
07:41 PM Tom_L: and start there
07:42 PM Tom_L: i've got probably 5 sd in various states for it
07:42 PM lcnc-relay: <big_kevin420@> rpi4 has most uptime, and shares the driver with rpi3 so it has the longest support so far
07:42 PM lcnc-relay: <big_kevin420@> i hiope you labeled which sd is which
07:43 PM Tom_L: naw.. no fun in that
07:43 PM Tom_L: just toss em all in a pile and grab one
07:43 PM lcnc-relay: <big_kevin420@> exactly. a series of dots in different colours just to confuse me later is all i need
07:44 PM Tom_L: they're all labelled 'this is the latest'
07:44 PM bjorkintosh: the differnce in the weight of the '1's alone should indicate what's what
07:46 PM lcnc-relay: <big_kevin420@> it should "just work" with the rpi4
07:52 PM Tom_L: rdtsc, i tried your python suggestion and get the unknown cookie error running mesaflash from python too
07:53 PM -!- #linuxcnc mode set to +v by ChanServ
07:53 PM Tom_rpi5: python3 spi_clock.py
07:53 PM Tom_rpi5: Unexpected cookie at 0100..0110:
07:53 PM Tom_rpi5: 00000000 00000000 00000000
07:53 PM Tom_rpi5: No 7I90HD board found
07:53 PM Tom_L: surprised that worked on the first try
07:53 PM Tom_L: i don't do python...
07:54 PM Tom_L: but it supposedly sets the clock to 1mhz then runs mesaflash
07:54 PM Centurion_Dan1 is now known as Centurion_Dan
08:38 PM pcw--home: Unexpected cookie at 0100..0110: 00000000 00000000 00000000
08:38 PM pcw--home: Disconnect MISO from the 7I90 and pull it up to 3.3V and see if you get FFFFFFFF FFFFFFFF FFFFFFFF
08:41 PM Tom_L: on the pi side?
08:42 PM Tom_L: tomorrow...
09:35 PM -!- #linuxcnc mode set to +v by ChanServ
09:35 PM Tom_rpi5: pcw--home, python3 spi_clock.py
09:35 PM Tom_rpi5: Unexpected cookie at 0100..0110:
09:35 PM Tom_rpi5: ffffffff ffffffff ffffffff
09:35 PM Tom_rpi5: No 7I90HD board found
09:36 PM Tom_rpi5: as you expected
09:37 PM Tom_rpi5: same with:
09:37 PM Tom_rpi5: sudo mesaflash --device 7i90HD --spi --addr /dev/spidev0.0 --readhmid
09:37 PM Tom_rpi5: Unexpected cookie at 0100..0110:
09:37 PM Tom_rpi5: ffffffff ffffffff ffffffff
09:37 PM Tom_rpi5: No 7I90HD board found
09:43 PM Tom_L: spi_clock.py sets the freq to 1mhz and calls mesaflash from python
09:47 PM pcw--home: I haven't had a chance to try with a 7I90HD but maybe next week
09:49 PM pcw--home: It did seem that the 7I90 responded but not sure why the data looked so strange, I can capture the mesaflash read cookie sequence on a RPI5/7C80 for some comparison data
09:51 PM pcw--home: I should note that Gene H. has been running a 7I90+RPI4 or 5 for many years now (hope he is OK, haven't heard from him in a while)
09:53 PM Tom_L: no rush on my part
09:53 PM Tom_L: i doubt many pp are using that combination. just felt like testing out spi since i had it
09:55 PM pcw--home: I can send you a 7C80/7C81 for comparison purposes
09:55 PM Tom_L: that's up to you
09:55 PM Tom_L: i'd test it out for sure
09:55 PM pcw--home: simpler cable!
09:55 PM Tom_L: heh
09:55 PM Tom_L: straight thru?
09:56 PM pcw--home: yep
09:56 PM Tom_L: if you have a cable.. i'm running out of ends
09:56 PM pcw--home: I can send cable/ends
09:56 PM Tom_L: ok, i appreciate that
09:57 PM Tom_L: you need my info or do you still have it?
09:57 PM pcw--home: email it to me to be sure
09:57 PM pcw--home: (me or mesa)
09:58 PM Tom_L: tech@ ?
09:58 PM pcw--home: yeah
10:00 PM Tom_L: ok