#linuxcnc Logs

Aug 28 2022

#linuxcnc Calendar

01:25 AM Deejay: moin
01:37 AM pere: hi
05:28 AM JT-Cave: mornng
05:29 AM roscogamer[m]: morning
05:31 AM perry_j1987: morning
06:24 AM Rowow[m] is now known as Rowow5457[m]
06:40 AM fogl: hello
06:42 AM fogl: Hello everybody. Can you please suggest what is wrong with my homing procedure. When i start linuxcnc the initial x position is 400 (xmin=-230, xmax230). When i hit home, the axis moves and hit end switch and report "joint 0 on limit switch error.
06:43 AM fogl: The x value doesnt change to -230 as set in ini.
06:44 AM fogl: HOME_OFFSET=-230
06:45 AM fogl: Why is that. I assume the problem is the x coordinate is out of range, but how can i solve this. I cant move until homed, and i cant home because of this error.
06:46 AM fogl: Why is initial value when i turn on linuxcnc some high value (i assume the last value stored when machine is turned off)
06:52 AM JT-Cave: the x and y axis are normally 0 to the end of travel
06:52 AM JT-Cave: the home offset is usually some small amount that moves off the home switch
06:56 AM JT-Cave: roscogamer[m], https://gnipsel.com/linuxcnc/debian-10-emc.html
06:57 AM Tom_L: morning
06:57 AM roscogamer[m]: i got the 4.19 kernel installed
06:57 AM roscogamer[m]: now just figure out lcnc
06:57 AM JT-Cave: nice
06:58 AM roscogamer[m]: now do i need to compile lcnc or can i use the precppoiled one
06:58 AM Tom_L: i started installing bookworm on the rpi4 from a daily image build but it comes with no gui
06:58 AM fogl: JT-Cave, so i should set the search and latch velocity to negative number, to hit the end switch at 0 position (i have no home switch)?
06:59 AM Tom_L: yes
06:59 AM Tom_L: at least one of them
07:00 AM Tom_L: my search is positive and latch is negative
07:00 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_SHOP_2.8.2/new_mill_A.ini
07:01 AM JT-Cave: http://linuxcnc.org/docs/stable/html/config/ini-homing.html#_homing_sequence
07:01 AM JT-Cave: roscogamer[m], if you want to use your 7i96s with 2.8 use my instructions
07:02 AM roscogamer[m]: can the 2.8 do the plc stuff
07:02 AM roscogamer[m]: also
07:02 AM roscogamer[m]: i still have the compiled deps from lcnc 2.9 cant i just use those
07:02 AM JT-Cave: plc as in classicladder?
07:03 AM JT-Cave: sure if you want 2.9
07:03 AM JT-Cave: I assume you mean debs
07:03 AM * roscogamer[m] posted a file: (19621KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/LyaLrIAxsJAVuXsWWLBCsWbx/linuxcnc-uspace_2.9.0_pre0_amd64.deb >
07:03 AM * roscogamer[m] posted a file: (272KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/dvZXyQRvbmeYtmFzcYGRLlNa/linuxcnc-uspace-dev_2.9.0_pre0_amd64.deb >
07:03 AM * roscogamer[m] posted a file: (23654KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/sfYWEPywnRqWYezhEawQWoaA/linuxcnc-doc-en_2.9.0_pre0_all.deb >
07:03 AM roscogamer[m]: like these
07:03 AM roscogamer[m]: can i just do these or is it going to complain about dependencies
07:04 AM roscogamer[m]: ye
07:26 AM roscogamer[m]: i did 2.9
07:26 AM roscogamer[m]: something imma probbly regret
07:26 AM roscogamer[m]: xd
07:36 AM solarwind: All the motorcycle dealers are closed on Sunday and I need some 15w50 oil for my boxer engine
07:36 AM solarwind: Anyone have any ideas where I can get some?
07:36 AM solarwind: Car oil is pretty easy to find, but 15w50 for air cooled engines is a lot harder to find in stores like Canadian Tire
07:37 AM solarwind: JT-Cave / JT-Shop you look like a guy that would know if I remember correctly from the forums
07:39 AM JT-Cave: know what?
07:40 AM solarwind: Off the top of your head, where to get 15w50 motorcycle oil if all the dealerships are closed on Sunday
07:45 AM roscogamer[m]: i got some oil
07:47 AM JT-Cave: I'm in Missouri...
07:47 AM JT-Cave: be a long drive for you...
09:58 AM roguish[m]: JT-Cave: good morning... small issue with my upgrade from debian 10 to 11. trying to install lcnc, error says in effect (don't recall the exact wording) 'lcnc needs python less that 3.8, but 3.9 is installed'
09:59 AM Tom_L: 2 choices.. upgrade to 2.9.xx
10:00 AM Tom_L: downgrade python
10:01 AM roguish[m]: it is at 2.9.pre. and how does one downgrade python?
10:01 AM Tom_L: i dunno
10:02 AM pere: what exactly is locked to 3.8? I expected any 3.x to work.
10:02 AM Tom_L: i would certainly hope so
10:02 AM roguish[m]: pere: wow, you're the expert.... I have no idea
10:03 AM pere: roguish[m]: well, you are the only one that saw the error.
10:03 AM Tom_L: the ship is goin down fer shure now!
10:04 AM roguish[m]: pere: that's my luck. I may have fxxd it up....
10:05 AM pere: if you could put the message on 0bin.net or similar, we others could see it too.
10:08 AM roguish[m]: thanks. i'll try. last evening I did a build of python 3.7.11 and just did and altinstall following a guide on www.linuxcapable.com 'how to install python 3.8 on debian 11 bullseye' I changed all references to 3.8 to 3.7
10:09 AM roguish[m]: now synaptic says 'you have held broken packages' what the heck is that???
10:09 AM Tom_L: dpkg-checkdependencies
10:09 AM Tom_L: see what that tells
10:15 AM roguish[m]: Tom_L: I don't see that command..
10:16 AM Tom_L: i could have misspelled it..
10:37 AM roguish[m]: ok, simple question........ if I want to run 2.9.pre on bullseye, do I have to build it and RIP ???
10:38 AM Tom_itx: debian/configure uspace
10:48 AM Tom_itx is now known as Tom_L
10:48 AM roguish[m]: or is there a deb available somewhere ....
10:48 AM Tom_L: i'm not aware of one
10:48 AM roguish[m]: or is there a deb available somewhere....
10:48 AM Tom_L: the buildbot stops at buster iirc
10:48 AM roguish[m]: yes it does
10:48 AM Tom_L: so you have to build or wait for the main channel to have it
10:48 AM Tom_L: afik
04:21 PM roguish[m]: stupid me. that's cradek...... sorry
04:22 PM XXCoder: yo
04:22 PM roguish[m]: JT-Shop: got debian 12 in. lcnc working with qtdragon gui. a little help from cmorley, the qtvcp king
04:24 PM JT-Shop: aye that's his baby
04:28 PM roguish[m]: made a small batch of chocolate chip ice cream today,,,,,
04:34 PM perry_j1987: what were your speeds and feeds roguish[m]
04:38 PM roguish[m]: slow and cold....
04:38 PM roguish[m]: hahaha
04:40 PM JT-Shop: my favorite is butter pecan ice cream
04:41 PM Tom_L: you can stop now. making me want ice cream...
04:41 PM JT-Shop: lol
04:43 PM * JT-Shop will drive 150 miles round trip for ice cream in a heartbeat
04:47 PM perry_j1987: went to a ice cream shop yesterday on our trip
04:48 PM Tom_L: haven't made home made ice cream in quite a while but the strawberry & peach were always a hit
04:48 PM perry_j1987: place was from early 1900's got some ice cream
04:48 PM perry_j1987: mint chocolate chip
04:50 PM Tom_L: JT-Shop, if you're ever down there: https://www.leopoldsicecream.com/
04:50 PM Tom_L: but
04:50 PM Tom_L: the 'no line' is bs
04:50 PM perry_j1987: we went to tour SC Johnson campus yesterday
04:51 PM Tom_L: they used to give out samples
04:56 PM JT-Shop2: the Dairy Shack sometimes has a huge line
05:10 PM perry_j1987: pncconf still doesnt let you specify num of pwm generators for 7i96 eh?
05:13 PM JT-Shop2: don't use it if it won't do what you want
05:14 PM perry_j1987: i think i remember couple years ago i had to hardcode the pwm stuff to get it working
05:26 PM perry_j1987: k progress. command it to go 500 rpm and the encoder shows 1000-ish
05:29 PM Tom_L: something must be wrong
05:29 PM Tom_L: :)
05:32 PM perry_j1987: yup lol
05:33 PM perry_j1987: i love how my 0-10v setup must be so unique to the millions of others on the planet that the wizard cant figure how to auto configure in 2022 lol
05:35 PM JT-Shop: doesn't do any good to complain here the programmer of that tool is not here
05:36 PM perry_j1987: just in case they might see it :P
05:36 PM JT-Shop: he's not here
05:36 PM JT-Shop: almost never here but is on the forum
05:43 PM Tom_L: does buster natively install 32 or 64 bit?
05:46 PM JT-Shop: what ever you pick
05:46 PM Tom_L: just trying to figure out what rpi uses
05:47 PM JT-Shop: last time I looked 64 bit was troublesome for the rip
05:47 PM JT-Shop: rpi
05:47 PM Tom_L: kinda looks like the buster one i have is 32bit
05:47 PM Tom_L: but the bookworm one is 64
05:48 PM Tom_L: but not called arm64 rather aarch64
05:48 PM JT-Shop: I thought it was called armfh
05:49 PM Tom_L: that's 32bit i think
05:50 PM Tom_L: there are aarch64 and arm64 bootloaders
05:50 PM JT-Shop: sounds like fun
05:50 PM Tom_L: not even slightly :)
05:50 PM JT-Shop: lol
05:50 PM Tom_L: arch linux is the first one
05:51 PM Tom_L: afik
05:53 PM Tom_L: i can make a bootable sd but getting that on an img is another thing
06:01 PM * JT-Shop calls it a day
06:32 PM silopolis[m]: <Tom_L> "i can make a bootable sd but..." <- dd if=/dev/sdX of=file.img ?
06:43 PM Tom_L: yes but you have to have the img first :)
06:44 PM Tom_L: the goal is to build an img with an installable bookworm with linuxcnc on it
06:45 PM Tom_L: the reverse of your dd
07:23 PM CaptHindsight[m]: @marcel22:libera.chat: the only hope of a laptop working with LCNC will be over Ethernet, not LPT port
07:30 PM Tom_L: ironic..
07:30 PM Tom_L: buster seems to be a 32bit build
07:31 PM Tom_L: bookworm is a 64bit build however this script pulls linuxcnc from the buildbot buster repo
07:37 PM CaptHindsight[m]: @marcel22:libera.chat: https://forum.linuxcnc.org/18-computer/36821-laptop-with-low-latency-for-use-with-mesa-ethernet-boards
07:56 PM roycroft: i just picked up a nice 8" vise from a yard sale for $30
07:57 PM roycroft: it's marked 8", but the jaws are 9" wide and it opens a bit over 10"
07:57 PM roycroft: it's not a wilton, but a broken wilton goes for $800 these days because they are "collectable"
07:58 PM XXCoder: not bad
07:58 PM roycroft: yes
07:58 PM roycroft: it's fairly old, and was made in taiwan, not mainland china
07:59 PM roycroft: definitely worth $30 :)
07:59 PM XXCoder: no problems with looseness an such?
08:02 PM roycroft: it seems pretty tight
08:02 PM roycroft: and the nut is not cracked
08:02 PM roycroft: it's well-used, but that's fine
08:02 PM roycroft: i'll clean it up and paint it up and maybe make some new jaws for it
08:03 PM roycroft: i'll snap a couple pics when i move it into the shop
08:03 PM roycroft: my welding table has a couple 6" vises, but sometimes it would be nice have a bit more capacity
08:03 PM roycroft: now i do :)
08:04 PM CloudEvil: :)
08:05 PM roycroft: the barn where the garage sale was at had a nice machine shop setup in the back
08:06 PM roycroft: and there was a giant steel workbench - it was 1" thick and about 5'x9'
08:06 PM roycroft: on that bench was a 15" wilton industrial vise
08:06 PM roycroft: the guy told me he found it one day for $400
08:06 PM roycroft: he said he went to get it, and the guy did not say a word
08:07 PM roycroft: he just drove up with a forklift, lifted it up, put it on the back of the truck, and held out his hand
08:07 PM roycroft: the buyer paid him the $400 and the seller drove away
08:07 PM roycroft: that is about a $4000 vise
08:08 PM roycroft: i'd probably have given him $1k for it if i had anywhere to put it
08:09 PM XXCoder: good deal, tgat vase
08:12 PM Tom_L: so if a regular linux package is called linux-image-rt, would a preempt be linux-image-preempt-rt?
08:14 PM CaptHindsight[m]: @marcel22:libera.chat: Ryzen on a gaming Motherboard tends to have the least broken BIOSes for lowest latency, if you plan on Mesa FPGA then just about anything works
08:15 PM CaptHindsight[m]: Tom_L: 5.18.0-4-rt-amd64 #1 SMP PREEMPT_RT Debian 5.18.16-1 (2022-08-10) x86_64 GNU/Linux
08:17 PM Tom_L: not searching for a specific name i don't believe...
08:17 PM Tom_L: maybe a category?
08:17 PM Tom_L: the config has: --linux-packages linux-image-rt
08:17 PM CaptHindsight[m]: linux-image-rt-amd64
08:18 PM Tom_L: so i was thinking if i added the preempt it would load that one instead
08:18 PM CaptHindsight[m]: vs linux-image-5.18.0-2-amd64
08:21 PM Tom_L: i'm not looking for amd though
08:24 PM Tom_L: with this repo there are 2 options. buster and bookworm. if i build buster it has to be armhf and bookworm has to be arm64
08:30 PM Tom_L: at least it's building again... i broke it for a while
09:27 PM XXCoder: yay
10:10 PM sinned69152 is now known as sinned6915
10:12 PM t4nk_fn: I think I just grabbed the tip of my soldering iron full on
10:14 PM t4nk_fn: not sure, but due to the sizzling and the excruciating pain
10:14 PM t4nk_fn: I'd say so hehe
10:14 PM Tom_L: try it again just to be sure
10:14 PM t4nk_fn: lol
10:14 PM t4nk_fn: I will.
10:15 PM t4nk_fn: don't worry hehe