#linuxcnc Logs
Feb 03 2025
#linuxcnc Calendar
01:19 AM Deejay: moin
01:41 AM lcnc-relay: <meisterdippel@> moin
04:17 AM Tom_L: morning
04:44 AM rifraf: hey
04:44 AM rifraf: been throwin hot chips here
04:45 AM rifraf: whitlin down a bit of 60mm hollow bar
05:13 AM yaqwsx5 is now known as yaqwsx
10:15 AM lcnc-relay: <skunkworks8841@> Just another manic monday
10:15 AM lcnc-relay: <skunkworks8841@> lol - when I was a kid - I thought she was saying 'man ache'
10:17 AM * roycroft is still waiting for the snow to start falling
10:19 AM roycroft: it looks like it's almost here
10:19 AM roycroft: how much there will be remains to be seen, of course
10:21 AM lcnc-relay: <skunkworks8841@> we might get 1/2 inch today
10:22 AM lcnc-relay: <skunkworks8841@> maybe more this week
10:33 AM roycroft: radar shows the snow just to the east and north of here, coming from the southwest - we're right on the edge of it
10:54 AM xxcoder: heavy snow here when I woke up. quieter now
11:10 AM Unterhaus_ is now known as unterhausen
11:40 AM Tom_L: sunny & 61F
11:40 AM Tom_L: last nice day
11:42 AM roycroft: we don't use salt on our roads here - we use sand, and mostly just stay home when it's snowing
11:44 AM lcnc-relay: <voiditswarranty@> had 6" last night, didn't even think about it when I looked out the window. Tiny snowfall. still took the bicycle to work.
11:45 AM xxcoder: lol 6" would be "decade snow" here
11:45 AM xxcoder: it looks like 1-2 inch here
11:45 AM lcnc-relay: <tyrantelf@> y'all are getting snow? It's 68F and sunny where I'm at
11:46 AM lcnc-relay: <thorhian@> I miss getting 6” of snow. Now I live in the south.
11:46 AM lcnc-relay: <voiditswarranty@> we start thinking about decade snows when we start surpassing 3 feet in 48 hours
11:46 AM lcnc-relay: <voiditswarranty@> I'll take 3 feet of snow over a hurricane though, I hate getting wet
11:47 AM lcnc-relay: <tyrantelf@> I'm in the upper part of the south and we got 3-4" in January
11:47 AM lcnc-relay: <tyrantelf@> * late Dec/early Jan
11:49 AM lcnc-relay: <tyrantelf@> * northern
11:49 AM roycroft: 6" would be a light dusting where i grew up
11:49 AM roycroft: it would shut things down for a week here
11:50 AM lcnc-relay: <voiditswarranty@> I'm about 60 miles north of the north dakota/minnesota border, about as far from ocean effects as you can get. Winter just sets in and stalls
11:50 AM lcnc-relay: <thorhian@> I’d enjoy a couple of feet at least here, but I think NC’s residents would have an aneurysm.
11:50 AM roycroft: winnipeg?
11:50 AM lcnc-relay: <voiditswarranty@> wind starts in Montana and picks up speed with nothing in it's way until it packs the snow into my driveway
11:50 AM lcnc-relay: <voiditswarranty@> yup, winnipeg!
11:50 AM * roycroft has been there
11:50 AM xxcoder: tacoma here, snow is pretty rare as is, any snow that actually lasts, like now, rarer.
11:51 AM roycroft: i used to have a girlfriend from grand forks
11:51 AM lcnc-relay: <voiditswarranty@> been a pretty light year, I haven't needed to push any stuck cars
11:51 AM roycroft: winnipeg was where we would go for a nice dinner and a show or to go dancing
11:51 AM lcnc-relay: <voiditswarranty@> hah used to work at a bar, would get all the under21's from Grand Forks coming to do over-18 drinking
11:51 AM roycroft: when i was visiting there
11:51 AM lcnc-relay: <thorhian@> Montana is cool. My car broke down while I driving from Washington one time. Had to limp it to Missoula.
11:52 AM bjorkintosh: thorhian, what was wrong with your car?
11:52 AM roycroft: voiditswarranty: i grew up in chicago
11:52 AM roycroft: illinois had some weird drinking laws - the age was 19 for beer and wine, and 21 for liquor
11:52 AM lcnc-relay: <tyrantelf@> I'm fairly happy with a pretty snow once or twice a year then nicer weather. TN works well for that.
11:53 AM lcnc-relay: <voiditswarranty@> I got stuck on the toll roads around Chicago! couldn't figure out how to get off and quit paying! 😄
11:53 AM roycroft: in wisconsin the drinking age was 18, and in indiana 21
11:53 AM lcnc-relay: <thorhian@> Rod knocking. Got a new engine for free due to a class action lawsuit.
11:53 AM bjorkintosh: whoa.
11:53 AM roycroft: so on the weekends, the 19/20 year olds from illinois would go up to wisconsin to drink liquor
11:53 AM bjorkintosh: was it a German car, thorhian?
11:53 AM lcnc-relay: <tyrantelf@> thorhian@: Hyundai?
11:53 AM roycroft: and the 18-20 years olds from northwest indiana would go to chicago to drink
11:53 AM lcnc-relay: <thorhian@> tyrantelf@: Ding ding, Hyundai Tucson 2012
11:54 AM bjorkintosh: I thought it was a VW
11:54 AM lcnc-relay: <voiditswarranty@> woah, a friend's 2012 Tucson seized and they tossed a free engine in it without saying why
11:54 AM lcnc-relay: <tyrantelf@> Honestly amazed Hyundai and Kia manage to survive with how garbage their powertrains have been even in recent years
11:55 AM lcnc-relay: <tyrantelf@> Recent years being the past decade and a half apparently
11:55 AM lcnc-relay: <voiditswarranty@> *currently owns a 600,000 mile Toyota Sienna
11:56 AM lcnc-relay: <tyrantelf@> Of course now we have toyota replacing engines in al their Tundra and LX vehicles cause they don't understand how to clean chips out of oil passages
11:56 AM roycroft: well the radar shows the storm over town now, but the snow still has not started
11:56 AM lcnc-relay: <tyrantelf@> * all
11:56 AM lcnc-relay: <tyrantelf@> apparently incompetence is going around
11:57 AM lcnc-relay: <voiditswarranty@> tyrantelf@: just had to do that to a Starret dial indicator, chips stuck to too much oil in the gear train, from the factory
11:57 AM lcnc-relay: <voiditswarranty@> luckily a close friend is a watchmaker and it's cheaper to have him pop the back than phone Starret
11:57 AM lcnc-relay: <thorhian@> I hear that Starret isn’t what it used to be.
11:58 AM lcnc-relay: <tyrantelf@> Ngl the fact starret let that happens just kinda validates my thought that the Chinese stuff is just as good as they are nowadays
11:58 AM lcnc-relay: <tyrantelf@> They've fallen off a cliff and all the older machinists are still stuck in them
11:58 AM lcnc-relay: <voiditswarranty@> yeah, and the Chinese stuff is cheap enough that I have no qualms with cracking them open to improve them
11:59 AM xxcoder: my starret stuff thankfully is old enough
11:59 AM lcnc-relay: <voiditswarranty@> or not cry when I elbow my indicator stand off the mill onto the floor
11:59 AM lcnc-relay: <tyrantelf@> * on how great they are
11:59 AM xxcoder: most of my stuff is mytoto, the good stuff
11:59 AM lcnc-relay: <thorhian@> I think I’ll either cheap stuff or Mitutoyo.
12:00 PM xxcoder: *mitutoyo (I suck on spelling)
12:00 PM lcnc-relay: <tyrantelf@> Mitutoyo is also not what they once where but I do think they're still good at least
12:00 PM lcnc-relay: <voiditswarranty@> I generally do a mix of both. Mitutoyo for standards, and calibrate the cheap stuff to them
12:00 PM lcnc-relay: <tyrantelf@> That's my strategy too, Void
12:01 PM lcnc-relay: <voiditswarranty@> though I did pick up the smoothest set of snap gauges I have ever used, 100 year old Lufkin off of ebay
12:01 PM lcnc-relay: <thorhian@> Besides Mitutoyo, who actually makes precision and high quality measuring tools for machinists?
12:01 PM lcnc-relay: <wagon56@> hello hello, im back interupting mid convo haha, new day new issue, im trying to just load some GPIO pins with halcmd but they always seem flipped, i try loading it as an input but it seems to be loading with dir set as output and the vice versa, anyone in here knows what i can do to fix it?
12:01 PM lcnc-relay: cnc@raspberrypi:~$ halcmd loadrt hal_gpio outputs=GPIO18
12:01 PM lcnc-relay: Note: Using POSIX realtime
12:01 PM lcnc-relay: cnc@raspberrypi:~$ halcmd show pin hal_gpio.GPIO18-out
12:01 PM lcnc-relay: ... long message truncated: https://jauriarts.org/_heisenbridge/media/jauriarts.org/TSKJZnBLHdjmKjkQItLyWnTg/2Zk5TTJ7u_o (8 lines)
12:02 PM lcnc-relay: <wagon56@> -the
12:02 PM xxcoder: hi mark :)
12:05 PM lcnc-relay: <tyrantelf@> thorhian@: I doubt haas makes tools themselves but I'd probably trust they audit their suppliers more than most. https://www.haascnc.com/haas-tooling.html
12:06 PM lcnc-relay: <voiditswarranty@> wagon56@: which pi version? and is the pin already set as an input before linuxcnc takes over maybe?
12:07 PM lcnc-relay: <wagon56@> voiditswarranty@: its a pi5, and i havent set the pin atall before trying to set up linuxcnc, once again as soon as i try loading it as "inputs=GPIO18" it just changes to dir=outputs
12:08 PM lcnc-relay: <voiditswarranty@> I'm reading it from your screenshot as successfully being set to DIR=IN, but has a name named as out.
12:09 PM lcnc-relay: <wagon56@> voiditswarranty@: yeah it has successfully been set as DIR=IN but in the command above i tell it to set it to out
12:09 PM lcnc-relay: <voiditswarranty@> ah I see. I wonder if it would correct itself once linuxcnc toggles it
12:11 PM lcnc-relay: <wagon56@> well i noticed the issue through halshow as i was trying to run linuxcnc, it just doesnt do anything, it tries to change the output status but i cant measure a difference on the GPIO pin itself, it doesnt matter if the status is high/low i still get 3.3 volts
12:11 PM lcnc-relay: <wagon56@> like in the watch window it shows that it should be changing but it isnt
12:11 PM lcnc-relay: <voiditswarranty@> but I'd try installing the pi gpio tooling (like gpiod) to see if you can make the pin state change without linuxcnc with the same user. May be a group or permissions issue.
12:12 PM lcnc-relay: <voiditswarranty@> Is there any debug output about if you start linuxcnc from a terminal?
12:12 PM lcnc-relay: <wagon56@> voiditswarranty@: havent tried that, need to make a config first to try it out since it seems like i deleted the one i was testing with
12:13 PM lcnc-relay: <skunkworks8841@> wagon56@ this was my line
12:13 PM lcnc-relay: <skunkworks8841@> loadrt hal_gpio outputs=GPIO2,GPIO3,GPIO4,GPIO14,GPIO15 inputs=GPIO17
12:13 PM lcnc-relay: <wagon56@> voiditswarranty@: yeah will do, although im able to change the state of the GPIO with a different command that does work
12:14 PM lcnc-relay: <voiditswarranty@> the same gpio? some are input or output only, I can't remember which ones though
12:14 PM lcnc-relay: <wagon56@> voiditswarranty@: cnc@raspberrypi:~$ sudo gpioset gpiochip0 18=0
12:14 PM lcnc-relay: cnc@raspberrypi:~$ sudo gpioset gpiochip0 18=1
12:14 PM lcnc-relay: cnc@raspberrypi:~$```
12:14 PM lcnc-relay: running these commands does switch around
12:14 PM lcnc-relay: <voiditswarranty@> ok yeah, that's what I was talking about. gpioset, just couldn't remember
12:14 PM lcnc-relay: <voiditswarranty@> so it's not your user
12:14 PM lcnc-relay: <voiditswarranty@> what about gpioget while you do the halcmd thing?
12:14 PM lcnc-relay: <wagon56@> skunkworks8841@: i ran a similar config with the same issue
12:14 PM lcnc-relay: <wagon56@> voiditswarranty@: yeah one sec
12:16 PM lcnc-relay: <voiditswarranty@> gotta jump off for a bit, but I wonder if there's actually just a bug in hal_gpio for the rp1 gpio on the pi5
12:16 PM lcnc-relay: <wagon56@> gpioget: error reading GPIO values: Device or resource busy
12:16 PM lcnc-relay: cnc@raspberrypi:~$```
12:16 PM lcnc-relay: it cant read it since it just got linked to halcmd
12:16 PM lcnc-relay: <wagon56@> voiditswarranty@: will have to test around some more i guess, thanks you for your time though, i appreciate the help
12:31 PM lcnc-relay: <skunkworks8841@> it has been a few months - and I think it took a bit for it to work.. But I don't remember the process - I thought the GPIO section of linucnc docs gave some pointer on setting up the user and such
12:31 PM lcnc-relay: <skunkworks8841@> (and maybe some forum searches)
01:10 PM xxcoder: sunny again, snow is VERY dry though so probably will live though it
01:33 PM lcnc-relay: <wagon56@> skunkworks8841@: well i firstly tried running raspbian with the hal_pi_gpio but that lead to a LOT of permission based issues that seemed to have no end, after that i reinstalled and used the bookworm debian image provided specifically for the PI5 and it works better but still not quite there, this is the part of the docs i was looking at: https://linuxcnc.org/docs/stable/html/drivers/hal_gpio.html
01:34 PM lcnc-relay: <skunkworks8841@> I am pretty sure that is what I used.. (But I could not tell you what I used for the image at the time)
01:36 PM lcnc-relay: <wagon56@> skunkworks8841@: yeah im pretty sure you mentioned using that page for your setup last time i asked about it, it also just seems like the right way to go at it ive just never seen this issue im having and im not sure ive done something bad myself since i just reinstalled the os yesterday and didnt really mess around with any configs
01:36 PM lcnc-relay: <wagon56@> * do it,
01:40 PM lcnc-relay: <wagon56@> on this page it states something about using a modifier that can "Invert the sense of the physical pin relative to the value in HAL", its supposed to only work with outputs but i think thats a good start if i understood the meaning of the "inverter" correctly
02:07 PM lcnc-relay: <skunkworks8841@> I don't know if I got any of the modifiers to work.
02:07 PM lcnc-relay: <skunkworks8841@> but I don't know if I tried invert
02:22 PM roycroft: and now it is snowing
02:22 PM roycroft: i was just out at my storage unit, 5 minutes away to the east, and it was snowing heavily there
02:22 PM roycroft: right after i got home it started snowing at my house
02:23 PM xxcoder: it chased you
02:23 PM xxcoder: here we had brief sunny snow
02:23 PM * roycroft is done driving for the next couple days, so he can just enjoy the snow now
02:23 PM xxcoder: its just sunny now, and snow is slowly going away
02:23 PM roycroft: i bet it's snowing pretty heavily at the pass
02:24 PM roycroft: https://tripcheck.com/RoadCams/cams/Willamette%20Pass_pid3351.JPG?rand=1738613737782
02:24 PM roycroft: indeed, it is
02:25 PM roycroft: and the "carry chains" sign has been changed to "chains required"
02:25 PM xxcoder: time to bring out the russian jet engine snow clearer
02:25 PM roycroft: or stay home, make a mug of hot chocolate or tea, and enjoy the free entertainment nature brings
02:33 PM lcnc-relay: <roguish> hanging in the 50's here. no drizzle today. rain still forecasted for the rest of the week.
02:33 PM roycroft: our temps will be hovering a bit above freezing during the day and just below freezing at night for the next week
02:34 PM roycroft: any snow that starts to accumulate will likely stick around for a while
02:35 PM lcnc-relay: <roguish> I'm driving up to Poulsbo in WA end of the month.....
02:35 PM lcnc-relay: <roguish> a bit norht of Bremerton
02:35 PM roycroft: that should be a fun drive
02:35 PM * roycroft is familiar with poulsbo
02:36 PM roycroft: are you going to take the 101 all the way up?
02:36 PM lcnc-relay: <roguish> no, from SF area, up 5 thru OR.
02:36 PM lcnc-relay: <roguish> then not sure....
02:37 PM lcnc-relay: <roguish> surprise visit for my nephew's birthday.
02:37 PM roycroft: you might run into snow along that route
02:37 PM lcnc-relay: <schoch_@> https://www.youtube.com/watch?v=dJp56cy46C8
02:37 PM roycroft: but 101 would take a fair amount longer
02:38 PM roycroft: it's a much more scenic drive though, imo
02:38 PM roycroft: usually when i go to the bay area on the 101 i make it a 2 day trip, with an overnight stay in arcata
02:38 PM lcnc-relay: <roguish> I might venture out on the trip home....stopping in Ashland on the way north
02:38 PM roycroft: but on i5 it's just a long day of driving
02:39 PM roycroft: i don't like i5 in southern oregon
02:39 PM lcnc-relay: <roguish> G map shows about a 13 hr drive door to door
02:39 PM lcnc-relay: <roguish> on 5
02:39 PM roycroft: if i'm heading down on an inland route i usualy go over to us97 in central oregon and take that down to weed, and pick up i5 there
02:40 PM roycroft: but that avoids ashland as well, and if ashland is one of your objectives, then i5 is the way to go
02:40 PM lcnc-relay: <roguish> i don't want to drive 13 hours.... and I have a couple of aquaintences in Ashland.
02:41 PM lcnc-relay: <roguish> trip south will depend a lot on the weather..
02:42 PM roycroft: i5 to grants pass and then the redwood highway (us 199) down to the 101 by crescent city is also a route i take sometimes
02:42 PM roycroft: i enjoy road trips, and i dislike backtracking
02:43 PM roycroft: so i usually try to find a different route home when that is feasible
02:45 PM roycroft: it's 3 degrees, so i don't expect the snow to start sticking for a while, but it is coming down pretty steadily
02:48 PM roycroft: my boss wants me to spend some time in the office this week for no particular reason other than i don't go down there much
02:48 PM roycroft: snow is a perfect excuse to demur :)
03:39 PM roycroft: the snow is starting to accumulate
04:07 PM roycroft: my cats have discovered the snow outside, and are mesmerized
04:07 PM roycroft: as anticipated
04:08 PM roycroft: they are indoor cats, and as such have no idea that it's cold and wet out there
04:27 PM JT-Shop: my chickens won't go out in the snow for at least a week then they don't mind
04:38 PM JT-Shop: I should go jack up the C3 to start the power steering rebuild
04:41 PM * roycroft will be doing indoor work for a while, that's for sure
04:41 PM roycroft: it's not snowing in eugene
04:42 PM roycroft: i need to do some dump runs this coming weekend - i have a huge dump pile on the old propertly that i need to get rid of
04:42 PM roycroft: so if it's not snowy there, and if the road is clear, i should be able to get that done
04:44 PM JT-Shop: the forecast here is for rain tuesday - thursday
04:45 PM JT-Shop: friday I have an appointment to get new rear tires on the C8
04:46 PM JT-Shop: it's like 80 miles to the tire shop I use
04:50 PM roycroft: we have snow in the forecast here off and on all week still
04:57 PM xxcoder: it was solid 4 days snow, but now its snow/rain today, partial sun tomorrow, snow/rain wed then days of partial sun, then snow on sat
05:20 PM roycroft: my cats are still staring at the snow
05:21 PM roycroft: one of them keeps trying to bat the snowflaks as they fall
05:21 PM xxcoder: hopefully they wont get snow blind
05:22 PM roycroft: i can still see the ground somewhat, but the driveway and street are completely covered in snow now
05:22 PM * roycroft has to run out to the shop to get some tools, and will know how deep it is shortly