#linuxcnc Logs

Feb 20 2023

#linuxcnc Calendar

01:10 AM Deejay: moin
01:25 AM TurBoss: morning
03:05 AM travis_farmer[m]: G'Morning ☕️
04:24 AM travis_farmer[m]: is there a HAL component that takes the key scan code from a 7i73, and triggers a hal pin? i found sendkeys, but best i can tell, it triggers keyboard keys, as if the button on a keyboard was pressed, but does not trigger a HAL pin. in other words, i want to be able to trigger like "halui.program.pause" from a 7i73 key, or "halui.mdi-command-01" from another key, and so on. i mean, i could write my own comp program, but if there is
04:24 AM travis_farmer[m]: one ready-made...
04:44 AM Centurion_Dan1 is now known as Centurion_Dan
04:45 AM rmu: travis_farmer[m]: did you look at matrix_kb component?
04:49 AM Tom_L: morning
04:50 AM travis_farmer[m]: will look now..
05:04 AM -!- #linuxcnc mode set to +v by ChanServ
05:12 AM travis_farmer[m]: rmu: it isn't super well documented, but i think it will work. Thanks :-)
05:12 AM JT-Cave: morning
07:12 AM perry_j1987: morning
07:28 AM perry_j1987: Lcvette[m] got probe basic launched yesterday
07:37 AM Guido[m] is now known as Guido2665[m]
07:37 AM Guido2665[m]: What do you mean by that? Dependencies point to 2.9 and py3.9, yet the release is still from 2021
07:40 AM travis_farmer[m]: i think he meant that he was able to launch it on his computer
07:49 AM Guido2665[m]: Oh:)
07:54 AM perry_j1987: yup :)
08:23 AM -!- #linuxcnc mode set to +v by ChanServ
10:00 AM Lcvette[m]: perry_j1987: sweet
10:00 AM Lcvette[m]: Was out of town yesterday
10:13 AM Lcvette[m]: What was the issue with the install?
11:33 AM IG_Kevin0751[m]: anyone available to help me set up a 7i76e mill?
12:47 PM perry_j1987: https://www.redlinetools.com/customer/docs/skudocs/RedLine-National-Lathe-Tool-Catalog%2068.pdf well thats interesting
01:05 PM IG_Kevin0751[m]: so, setting up the pncconfig wizard, im following a video that said change it to 10.10.10.10, im now getting error:
01:05 PM IG_Kevin0751[m]: hm2_eth: error: can't connect: Network is unreachable
01:20 PM CaptHindsight[m]: MOSCO: https://gnipsel.com/linuxcnc/debian-12-eth.html
01:55 PM XXCoder: https://youtu.be/Gs6YRANUR-c
01:55 PM XXCoder: pretty cool. adding telsa old model electric motor to escape
02:03 PM * Lcvette[m] posted a file: linuxcnc.report (7KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/tglbaVBjuiWglSKVQRgLvDpx >
02:03 PM Lcvette[m]: has anyone else started seeing this error message?
02:03 PM Lcvette[m]: Debug file information:
02:03 PM Lcvette[m]: Note: Using POSIX realtime
02:03 PM Lcvette[m]: hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)
02:03 PM Lcvette[m]: /home/xk7130/linuxcnc/configs/xk7130/hallib/XK7130_INCH.hal:6: waitpid failed /usr/bin/rtapi_app hm2_eth
02:04 PM Lcvette[m]: * ```... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/7c1c2454eacf74309b2e5d7dfd95a2e78fc5b497>)
02:04 PM Lcvette[m]: I have been getting it intermittently since installing bookworm and 2.9
02:04 PM Lcvette[m]: never saw it previously with buster
02:05 PM travis_farmer[m]: not seeing it on 2.9 with Bullseye
02:06 PM Lcvette[m]: wierd
02:09 PM IG_Kevin0751[m]: dumb question, but how do i get to the network manager to set it to 192.168.1.120?
02:11 PM TurBoss: Lcvette: how does your XK7130_INCH.hal line 6 looks?
02:11 PM * Lcvette[m] sent a code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/4b4dba03314fb87a0d0f8532eae5b43af8c53094
02:13 PM TurBoss: out of ideas 😕 but could you try to run whereis hm2_eth ?
02:13 PM TurBoss: that will show the path of that binary
02:14 PM Lcvette[m]: i just deleted the network manager wired connection
02:14 PM Lcvette[m]: maybe it was having issues from having two connections?
02:14 PM Lcvette[m]: one in the network/interfaces folder and the one in the network manager?
02:14 PM TurBoss: oh
02:14 PM TurBoss: what does ip a show?
02:17 PM * Lcvette[m] sent a code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/78da75a0d5a2bb3985a8c0eb46d73c554887bb94
02:17 PM Lcvette[m]: i just restarted and got the message again, but then it loaded 4 times after that with no message
02:19 PM * Lcvette[m] uploaded an image: (63KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/annahpLnrsHNskYTCuWZHnVk/image.png >
02:20 PM TurBoss: is there more files in /etc/network/interfaces.d/
02:20 PM TurBoss: doesn't look like
02:21 PM TurBoss: ip a doesn't show more ip addresses
02:21 PM Lcvette[m]: i haVE WIFI ENABLED
02:21 PM Lcvette[m]: * i have wifi enabled
02:24 PM Lcvette[m]: where is the folder located?
02:24 PM TurBoss: https://wiki.debian.org/NetworkConfiguration#Configuring_the_interface_manually
02:26 PM Lcvette[m]: do i need to change the subnet mask?
02:27 PM Lcvette[m]: in the interfaces file i list as 255.255.255.0, but ip as shows as 24
02:27 PM TurBoss: means the same 255.255.255.0 = 24
02:30 PM Lcvette[m]: should the ethernet be on a different subnet mask than the wifi?
02:31 PM TurBoss: duno this works 😄 :https://wiki.debian.org/NetworkConfiguration
02:31 PM TurBoss: ops
02:32 PM TurBoss: https://gnipsel.com/linuxcnc/debian-12-eth.html
02:35 PM -!- #linuxcnc mode set to +v by ChanServ
02:38 PM Lcvette[m]: not sure what i did now, but now i cannot seem to connect at all
02:43 PM -!- #linuxcnc mode set to +v by ChanServ
02:47 PM Lcvette[m]: TurBoss: what is the temrinal command to restart the network?
02:47 PM TurBoss8676[m]: sudo systemctl restart networking
02:47 PM * Lcvette[m] sent a code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/d35ecee145b2b695913db65ac58c0df571ea112b
02:48 PM Lcvette[m]: thats what i saw on google, it gives this error
02:51 PM -!- #linuxcnc mode set to +v by ChanServ
02:55 PM TurBoss: Lcvette: can you add this to your /etc/network/interfaces... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/c5f723f834008605ec421784690b565ec7f5c7aa>)
02:55 PM TurBoss: and delete all from the manager?
02:56 PM TurBoss: use enp0s25
03:00 PM Lcvette[m]: ok, i removed what i had in the etc/network/interfaces file
03:03 PM * TurBoss sent a code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/a64fe2733363ab2a76d3c228050ba02afa547927
03:03 PM Lcvette[m]: TurBoss: sorry i was trying to restore the connection
03:03 PM Lcvette[m]: i was only able to do so by removing what was in the interfaces file and using the network manager
03:03 PM TurBoss: ouc
03:03 PM TurBoss: * ouch
03:03 PM Lcvette[m]: if i use the interfaces folder do i remove everything from the network manager?
03:03 PM TurBoss: can you use network manager for ethernet ?
03:04 PM TurBoss: if so skip the config file
03:04 PM Lcvette[m]: yes everything seems to be working
03:05 PM Lcvette[m]: but i was using the file to add the:
03:05 PM Lcvette[m]: hardware-irq-coalesce-rx-usecs 0
03:05 PM Lcvette[m]: which cuts the ping times in half
03:05 PM TurBoss: 😲 didn't know
03:06 PM Lcvette[m]: i don't mind using the file to do everything and remove the network manager connections
03:06 PM Lcvette[m]: is that possiuble?
03:06 PM Lcvette[m]: it may be why i was having that error message
03:06 PM * TurBoss sent a code block: https://libera.ems.host/_matrix/media/v3/download/libera.chat/8b00147b7b5bcf668349754bc26d8c63a71f8258
03:07 PM Lcvette[m]: whats essid?
03:07 PM TurBoss: wireless name
03:08 PM travis_farmer[m]: dang, i slept through the best part of the afternoon, due to a migraine... :-(
03:15 PM perry_j1987: Lcvette[m] on the conversational tab, are some of them suppose to be blank?
03:15 PM perry_j1987: i see facing, holes and pattern holes populated