#linuxcnc Logs
Sep 16 2022
#linuxcnc Calendar
01:16 AM solarwind: Someone should buy a few small engines and run a test to compare engine oils
01:25 AM solarwind: That is semi-synthetic vs pure synthetic
01:25 AM solarwind: Then disassemble and measure the wear on internal components
01:25 AM solarwind: Would be a waste of a few hundred hours worth of gasoline in something like a 25cc engine, shouldn't be too expensive
01:25 AM solarwind: Could possibly hook them up to some car alternators and at least use the energy to heat a garage during the winter or whatever
04:41 AM Tom_L: morning
04:58 AM travis_farmer[m]: G'Morning
05:00 AM JT-Cave: morning
05:56 AM JT-Cave: https://forum.linuxcnc.org/9-installing-linuxcnc/39779-rpi4-raspbian-64-bit-linuxcnc?start=130#238020
05:56 AM JT-Cave: downloading this img now
07:33 AM Tom_L: JT-Cave, you try it?
07:35 AM JT-Cave: dd is doing it's thing now
07:36 AM Tom_L: where do you edit menu items?
07:36 AM JT-Cave: every pc that I have has ethernet errors with kernel 5.x, I just built master on debian 10 and running lcnc to see if it's anything to do with lcnc
07:36 AM Tom_L: i just booted it
07:36 AM Tom_L: iirc i tried it some time back
07:37 AM JT-Cave: in the rpi?
07:37 AM Tom_L: yeah
07:37 AM Tom_L: you get my messages?
07:37 AM JT-Cave: don't remember exactly does left click do anything
07:37 AM JT-Cave: yes
07:38 AM Tom_L: not on this one
07:38 AM Tom_L: it's supposed to have a menu item you can click on and edit but i don't see it on this build
07:38 AM Tom_L: it did put all linuxcnc in accessories as well as cnc though
07:39 AM Tom_L: how handy
07:39 AM JT-Cave: I guess I need to reinstall debian on this pc after trying Rods suggestion to get the realtek nic to work
07:39 AM JT-Cave: might need to install the menu editor
07:40 AM JT-Cave: the driver disabled my pcie nic but the nic is fine I tried it in the shop
07:40 AM Tom_L: how?
07:40 AM JT-Cave: dunno
07:40 AM Tom_L: heh, and you were so helpful yesterday...
07:40 AM JT-Cave: lol
07:41 AM Tom_L: no interweb menu item either
07:42 AM mrec: is there any technical documentation about linuxcnc available (not user but for developers)? I'm just having some insight into some topics so far.
07:42 AM JT-Cave: the docs and reading the source
07:43 AM Tom_L: what's uxterm opposed to xterm?
07:43 AM JT-Cave: dunno
07:43 AM JT-Cave: try and see
07:43 AM Tom_L: pretty well stripped down bare bones
07:44 AM Tom_L: ux is unicode
07:44 AM Tom_L: xterm standard
07:44 AM Tom_L: uses x window system
07:52 AM Tom_L: i don't like the desktop
07:52 AM JT-Cave: I usually change the desktop image first thing lol
07:55 AM Tom_L: the wifi is off to begin with and the dropdown is 1 line so you gotta be damn quick to select
07:56 AM Tom_L: not sure how you change timezones but it's gmt to begin with
07:57 AM JT-Cave: looks like mesact is reporting the correct version of lcnc on the pc, are you getting any errors on the rpi?
07:57 AM Tom_L: just what i mentioned yesterday
07:58 AM JT-Cave: bookworm version was 2.9.0~pre0
07:58 AM JT-Cave: <Tom_dev> ^^ error'd there
07:58 AM JT-Cave: what was the error?
07:58 AM Tom_L: on the 64bit with 2.9 for some reason it added 'installed' ahead of it
07:58 AM Tom_L: not just the numbers
07:58 AM Tom_L: and then reported that error i mentioned
07:58 AM Tom_L: it wouldn't start
07:59 AM Tom_L: but it did present the main screen then error'd
07:59 AM Tom_L: i forgot what the error was now
08:00 AM Tom_L: it worked fine on buster with 2.8.3
08:00 AM JT-Cave: what does apt-cache policy linuxcnc-uspace return on 64 bit
08:00 AM Tom_L: i'll have to boot it.. hang n
08:00 AM Tom_L: on
08:01 AM Tom_L: putzing with this new img
08:01 AM JT-Cave: I'm still waiting for disk destroyer to finish
08:02 AM Tom_L: i use disk image writer on the main pc
08:02 AM Tom_L: works great
08:02 AM Tom_L: right click on the file
08:02 AM JT-Cave: linux?
08:02 AM Tom_L: yessir
08:02 AM Tom_L: search for disks iirc
08:03 AM Tom_L: gnome disk utility
08:03 AM Tom_L: udisks 2.9.4
08:03 AM JT-Cave: found the gdu in snaptic
08:04 AM -!- #linuxcnc mode set to +v by ChanServ
08:05 AM Tom_dev: ok what was i supposed to check for?
08:05 AM JT-Cave: apt-cache policy linuxcnc-uspace
08:06 AM Tom_dev: linuxcnc-uspace:
08:06 AM Tom_dev: Installed: 2.9.0~pre0+git20220402.2500863908-4
08:06 AM Tom_dev: Candidate: 2.9.0~pre0+git20220906.02744cdef6-1
08:06 AM Tom_dev: Version table:
08:06 AM Tom_dev: 2.9.0~pre0+git20220906.02744cdef6-1 500
08:06 AM Tom_dev: 500 http://deb.debian.org/debian bookworm/main arm64 Packages
08:06 AM Tom_dev: *** 2.9.0~pre0+git20220402.2500863908-4 100
08:06 AM Tom_dev: 100 /var/lib/dpkg/status
08:06 AM Tom_dev: startup.py line 36 errprs
08:06 AM JT-Cave: that looks the same as the rest, it should have split on the : and +
08:07 AM Tom_dev: in the box it shows " Installed: 2.9.0~pre0"
08:07 AM Tom_dev: maybe an extra space ahead of INstalled
08:08 AM JT-Cave: ok I need to work on that a bit when I get the img done
08:08 AM Tom_dev: k
08:10 AM JT-Cave: Installed: 1:2.9.0~pre0 on this pc
08:10 AM Tom_L: huh
08:10 AM Tom_L: odd
08:10 AM Tom_L: i hate late start days.
08:16 AM -!- #linuxcnc mode set to +v by ChanServ
08:16 AM Tom_dev: http://cagewebdev.com/raspberry-pi-adding-start-menu-items/
08:16 AM Tom_L: for later
08:16 AM JT-Cave: k
08:16 AM Tom_L: make sure it got logged :)
08:18 AM Tom_L: figuring out timezone
08:20 AM JT-Cave: time to start my chicken day
08:21 AM Tom_L: sudo raspi-config
08:21 AM Tom_L: basic settings
08:58 AM JT-Cave: lol dd is still running I think
11:33 AM -!- #linuxcnc mode set to +v by ChanServ
11:40 AM Alicrow-phone: Got a message from someone from the Air Force looking to have 17 "Going Away" plaques made. Our CNC mill still isn't ready, but very tempted to just buy a CNC router to do them if feasible.
11:58 AM boozeman[m]: mesact, it is nice to have invert check button on outputs 🙂
11:59 AM boozeman[m]: and Joint > Machine Enable option
12:28 PM JT-Shop: thanks for the feedback
12:31 PM boozeman[m]: I like the software. I got my motors running quick and there's only some fine tuning left. I know that real men wrote hal and ini files by hand with vi-editor deep inside the dungeon 😄
12:36 PM Rab: You'll be in the dungeon soon enough!
12:36 PM boozeman[m]: * the dungeon edit: With Digital VT-420 text terminal 😄
12:36 PM jdh: Real men use vt102
12:37 PM jdh: I have vt240 in use
12:37 PM boozeman[m]: 😄
12:38 PM ziper2: wow, I understand a lot less about threads than I thought
12:38 PM ziper2: I'm trying to draw some up in solidworks with a custom profile to be easier to print
12:38 PM boozeman[m]: I had some 420 and even 510 😄
12:48 PM ziper2: duh... thread height is half of pitch, divided by the number of starts
12:59 PM skunkworks: CaptHindsight[m]: so far none of the pci-e printer ports support x mode.
01:13 PM CaptHindsight[m]: skunkworks: huh, I haven't tested any for it. Check their docs if it's mentioned in the data sheets for the chip used.
01:13 PM ziper2: no wait that isn't right either
01:13 PM CaptHindsight[m]: I haven't been testing for EPP either
01:16 PM CaptHindsight[m]: skunkworks: do you have a AX99100 board? It has SPI as well. I was going to mod one for PCIe to SPI use.
01:18 PM CaptHindsight[m]: http://cms.nacsemi.com/content/AuthDatasheets/asix/AX99100_Datasheet_v024.pdf
01:22 PM CaptHindsight[m]: it may also be configured for use as GPIO with independent 24 lines
01:23 PM skunkworks: CaptHindsight[m]: yes - I think I have a bunch of them.. All are not recognized as a printer port in linuxcnc - but work
01:24 PM skunkworks: CaptHindsight[m]: https://photos.app.goo.gl/kMB9p4zZHhp5jemX7
01:25 PM skunkworks: (as 'out')
01:26 PM CaptHindsight[m]: I wouldn't mind having a PCIe GPIO board with SPI
01:26 PM CaptHindsight[m]: easy enough to make
01:28 PM skunkworks: I don't know if the printer port fail to setup correctly.. Or it just doesn't work as x mode.
01:28 PM skunkworks: Hmm - I guess I could try 'in' and see if it works.
01:29 PM CaptHindsight[m]: the AX99100 can also be used as a PCIe to local bus bridge 8/16 wide
01:29 PM CaptHindsight[m]: oh neat so it could be used with an FPGA that doesn't have PCIe
01:29 PM CaptHindsight[m]: I like this part
01:31 PM JT-Shop: https://www.backyardchickens.com/threads/calling-any-one-from-missouri.73271/page-1589#post-26152466
01:33 PM CaptHindsight[m]: we won't have a fall again for a few days, then it might stick
01:33 PM CaptHindsight[m]: 80 F and humid now
01:34 PM JT-Shop: 85°F and 48% humidity so not too bad outside
01:34 PM roycroft: we might get a bit of actual rain tonight
01:35 PM roycroft: only 3mm, but that is at least somethign
01:37 PM JT-Shop: we could use some rain but none in sight for a while
01:37 PM CaptHindsight[m]: Halloween is only 6 weeks away, we have had snow by then
01:37 PM CaptHindsight[m]: i think we w went from 80F to snow in about 2 weeks that year
01:41 PM skunkworks: seems to work as 'out' just not x
01:41 PM skunkworks: *in
01:44 PM JT-Shop: looks like the 6.0 kernel solves the Mesa ethernet problem
01:46 PM CaptHindsight[m]: skunkworks: " A port will usually have to be configured for SPP mode in order to work with X-mode. X-mode will not work on a port configured for EPP."
01:49 PM CaptHindsight[m]: skunkworks: since the CH382's are now working for you and me, I now wonder why other had problems and what my earlier problems were. I know now that I have one bad ch382 card that has no OUT's working, only IN's. I poke at it further when I have time and see what it has wrong
01:50 PM XXCoder: capt does those card have jumpers settings?
01:50 PM XXCoder: if so, any different between working and not ones?
01:50 PM CaptHindsight[m]: maybe they had bad hardware as well, meaning broken cards vs just being ch382's
01:50 PM CaptHindsight[m]: XXCoder: no jumpers
01:51 PM XXCoder: ok
01:51 PM CaptHindsight[m]: but I have soldering irons so I can make my own jumpers
01:51 PM XXCoder: no difference found so far on those cards, besides working condition?
01:52 PM CaptHindsight[m]: different pcb layouts
01:52 PM CaptHindsight[m]: not much on them
01:53 PM Tom_L: JT-Shop, any luck this morning?
01:53 PM Tom_L: where did you see that about the 6.0 kernel?
01:54 PM CaptHindsight[m]: all it takes is a solder bridge to the pullup resistors common or filter caps
01:54 PM JT-Shop2: pcw-home, on the forum
01:55 PM Tom_L: mmm first of october
01:55 PM -!- #linuxcnc mode set to +v by ChanServ
01:55 PM Tom_dev: https://cloud7.news/linux/whats-new-in-linux-kernel-6-0/
01:56 PM JT-Shop2: https://forum.linuxcnc.org/27-driver-boards/46911-mesa-hm2-hm2-7i96s-0-error-finishing-read
01:56 PM Tom_L: you ever get your pi image?
01:56 PM JT-Shop2: I did but I want to burn it again with disk tool
01:57 PM Tom_L: shouldn't matter
01:57 PM Tom_L: it just makes it easier
01:58 PM JT-Shop2: I want to document the process
01:59 PM Tom_L: i'm gonna try to figure out how to edit the menus on that img
01:59 PM JT-Shop2: ok
01:59 PM Tom_L: the 'normal' way was left off the menu
02:01 PM XXCoder: 6.0. its been a while so I guess its time
02:06 PM skunkworks: CaptHindsight[m]: huh. Don't know how I would do that.
02:18 PM Tom_L: JT-Shop2, sudo apt install alacarte
02:19 PM Tom_dev: https://forums.raspberrypi.com/viewtopic.php?t=251790
02:19 PM CaptHindsight[m]: skunkworks: sorry, i forget what I proposed
02:19 PM JT-Shop: on the rpi?
02:20 PM Tom_L: for the menu editor yes
02:20 PM Tom_L: you can test for it first
02:21 PM Tom_L: run alacarte in the term
02:21 PM Tom_L: once installed it appears under preferences
02:22 PM skunkworks: CaptHindsight[m]: setting a pci-e printer port to spp
02:25 PM ziper2: OK, turns out it was really simple. thread width is just pitch/number of starts
02:25 PM ziper2: profile/thread height doesn't even come into it
02:40 PM * CaptHindsight[m] posted a file: (208KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/fguTCBUQcnXSocpHlyaPMOSL/CH382DS1.PDF >
02:41 PM * CaptHindsight[m] posted a file: (103KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/HknuLrIWukiHfvnuHkBBdZbx/CH382DS0-2.PDF >
02:42 PM * CaptHindsight[m] posted a file: (1782KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/KsjvKQzlYwZXGnNzRESdhaNv/AX99100_Datasheet_v101.pdf >
02:46 PM CaptHindsight[m]: skunkworks: ^^^
02:58 PM XXCoder: hmm I notice blondihacks skipped yeserday
02:59 PM roycroft: she posts on saturdays
02:59 PM roycroft: yesterday was thursday
02:59 PM XXCoder: thought it was thurs?
02:59 PM roycroft: no, it's saturdays
02:59 PM XXCoder: ok olviously im confusing sechules with someone else bah. thanks
03:02 PM CloudEvil: https://imgur.com/gallery/Id6fAJq
03:03 PM CloudEvil: Making plaster molds for a doublewall ceramic mug.
03:04 PM XXCoder: powdered ballscrews
03:05 PM XXCoder: pretty cool allright
03:08 PM JT-Cave: hmm disk writer must be using dd under the hood it does not seem any faster
03:08 PM JT-Cave: it is easier to do
03:16 PM XXCoder: probably
03:23 PM JT-Cave: what is our mascot's name?
03:23 PM XXCoder: chip I think'
03:24 PM JT-Cave: chips
03:24 PM XXCoder: whats funny is im in group chip's challenge. its 30 year old game
03:46 PM Tom_L: JT-Cave, you can only write as quick as the SD card will allow
03:48 PM Tom_L: like driving a bugatti veyron in downtown NY
04:11 PM roycroft: sd cards are pretty slow
04:14 PM Tom_L: faster than thumdrives
04:15 PM Tom_L: but yeah
04:16 PM roycroft: there are sd cards made for recording video that are faster than the standard ones, but they also cost a fair amount more
04:16 PM Tom_L: i've got a few decent ones
04:28 PM roycroft: the higher speed ones make a real difference
04:28 PM roycroft: but they're still slow
04:53 PM roycroft: i guess i had better make room for that 8" bench vise in my shop after work today, since it might rain tonight
04:53 PM roycroft: it's been sitting out in my back yard since i got it
04:57 PM roycroft: i could put a tarp over it, but i do need to clean out the fabrication shop anyway, and this would give me incentive to do so
04:59 PM XXCoder: yeah entering rainy season isnt it
04:59 PM roycroft: it's close
04:59 PM roycroft: hopefully
04:59 PM XXCoder: yeah soonish anyway
04:59 PM XXCoder: waiting for rain season before I go and car wash my car with wax
04:59 PM roguish[m]: after last weeks broiler daze. we're actually supposed to get some rain this weekend.
05:00 PM XXCoder: only do it twice a year, after first rains after summer, and before summer
05:00 PM roycroft: for me, it's 3mm tonight if we're lucky
05:00 PM roycroft: not a lot of rain
05:00 PM roycroft: but enough to start getting the dust down
05:01 PM XXCoder: yeah had that couple days ago. my car is very dirty by that
05:01 PM XXCoder: enough to get dust down into my car but not enough to wash it off lolk
05:01 PM roguish[m]: I have a really difficult time believing the rain quantity forecasts.....
05:02 PM roguish[m]: but it would be nice to get a bit rain. it'll rinse my truck off....
05:14 PM Tom_L: had a few sprinkles here this am
05:16 PM Tom_L: JT-Shop, you get anywhere with the lcnc version?
05:28 PM mrec: hm when looking at this XHC pendant it would be nice to rewrite the firmware for it
05:31 PM mrec: aliexpress.com/item/32769858399.html
05:31 PM mrec: just got my second one delivered for 69$
05:32 PM mrec: removed the switch stopper and converted the 4axis to 6axis
05:33 PM XXCoder: not bad
05:33 PM mrec: just need to scratch out some plastic stop from the 4axis version
05:34 PM mrec: the circuit and components for 6axis are all there.
05:34 PM mrec: but I'd like to have some better firmware on it some flexible menu would be nice
05:58 PM JT-Cave: Tom_L, on the rpi no, just booting up to that image from the forum
05:58 PM JT-Cave: got failed to open command line something
05:59 PM Tom_L: hmm
05:59 PM Tom_L: maybe a bad img write?
05:59 PM JT-Cave: hmm I pressed enter and it seems ok
06:00 PM JT-Cave: axis sim is running so I'll putz with it in the morning
06:00 PM Tom_L: some progress
06:01 PM JT-Cave: aye I can test mesact on it in the am, just got back from a winery and dinner
07:01 PM Rab: mrec, seen this? https://bitbucket.org/moonglow/openxhc/src/master/
07:03 PM Rab: It's for generic hardware, but if the pendant has a e.g. STM32F103 inside then it could be easily ported.
07:07 PM Rab: Somebody's taken one apart, but they're on a .ru domain I can't reach...wonder if it's embargoed. https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse2.mm.bing.net%2Fth%3Fid%3DOIP.e3Jyck0mZIzszJCt3OLKewHaFj%26pid%3DApi&f=1
07:07 PM Rab: Somebody's taken one apart, but they're on a .ru domain I can't reach...wonder if it's embargoed. https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse2.mm.bing.net%2Fth%3Fid%3DOIP.e3Jyck0mZIzszJCt3OLKewHaFj%26pid%3DApi&f=1
07:07 PM Rab: oops
07:07 PM Rab: http://forumcnc.ru/index.php?threads/%D0%9F%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%BA%D0%B0-xhc-hb04-wireless-mpg-pendant-%D0%B2-linuxcnc.130513/
07:21 PM Alicrow-bridget: I'm not sure what to do about the high f-error at the start and stop of moves. Seems like it just takes a few milliseconds for the motor to start or stop, so I'm applying plenty of power (it even overshoots), but it's just delayed too much to keep up properly.
07:23 PM Alicrow-bridget: Mostly the tart of moves.
07:23 PM Alicrow-bridget: *start
07:27 PM Alicrow-bridget: https://i.imgur.com/iZ1LdcF.png
07:46 PM mrec: Rab: interesting I cannot reach the russian website either
07:49 PM mrec: Rab: I think they're all very similar
08:34 PM Alicrow-phone: Has anyone else ever had this issue?
09:35 PM mrec: is it closed loop or open loop?
09:41 PM CaptHindsight[m]: Alicrow-bridget: have you tried posting this on the forums along with a list of your hardware/Mesa cards and all the config files?