LinuxCNC not connecting to 7i96S on 2.9.1

More
2 years 10 months ago #288720 by PCW
I have an EliteDesk 800 G2 that works very well but its the 65W version
with the 3.2GHz I5-6500 rather than the 35W 2.5 GHz I5-6500T version you
listed.

There is a post on this forum that says the  35W 2.5 GHz I5-6500T version of the G2
will work in UEFI  mode but If I had a choice, I would use the 65W  3.2 GHz I5-6500 model.

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #288741 by rodw
It might be a bit different if you install linux over your chromebox but I play with Linuxcnc sims on on my chromebook using the linux terminal.
Recently that has advanced from Bullseye to Bookworm and I have been unable to open axis despite pncconf and latency-histogram being able to run. I suspect its something to do with Wayland but previous fixes dont solve it. The long and the short is that I would never consider chromebook/chromebox being suitable for Linuxcnc.

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #288750 by Mecanix
Hint. Interface is provided by Quanta Computer Inc., apparently. Anything you guys can find related hardware specific on the linux venues?

mac.lc/address/54:AB:3A

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #288752 by Mecanix
@rowow - I also had this low latency issue on a Marvel Tech interface. Like yourself I was getting similar 0.300ms ish avg and miraculously enhanced it down to a fast & steady 0.04ms using below.  

Using ethtool --coalesce
$ sudo apt install ethtool
$ sudo ethtool -c eth0
( take notes of your rx-usecs and tx-usecs defaults. Mine were 100 and 1000 respectively)
( start Linuxcnc and have it connected to the card)
( Time to dial/tune)

$ sudo ethtool -C eth0 rx-usecs 50
$ sudo ethtool -C eth0 tx-usecs 500
$ ping ip.ip.ip.ip
....
$ sudo ethtool -C eth0 rx-usecs 25
$ sudo ethtool -C eth0 tx-usecs 250
$ ping ip.ip.ip.ip
....
( Repeat tuning until you get satisfactory latency and no lcnc task/axis pos errors, etc. )
( Once everyone's happy, save those in your interface conf. )

$ sudo nano /etc/network/interfaces

***********************************************
      # The loopback network interface
      auto lo
      iface lo inet loopback

      auto eth0
      iface eth0 inet static
      (... ... static address stuff)
      hardware-irq-coalesce-rx−usecs 25
      hardware-irq-coalesce-tx−usecs 250
***********************************************

$ sudo systemctl restart networking

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #288753 by rowow
my issue is linux CNC doesnt connect to the card in the first place. See the OP for the error code regarding
"hm2_eth: rtapi_app_main: Resource temporarily unavailable (-11)"

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #288754 by Mecanix
Yeah, saw that. I was getting the same over a dead slow ethernet link. My ping was well over 0.300~0.400ms OOTB install. Sorted though, with the ethtool hack above. "Marvel Technology" chipset.

Try that and see if you can at least connect to the card with this:

###HAL
#setp hm2_7i96s.0.watchdog.timeout_ns 5000000
setp hm2_7i96s.0.watchdog.timeout_ns 50000000

###INI
[EMCMOT]
#SERVO_PERIOD = 1000000
SERVO_PERIOD = 5000000

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.439 seconds
Powered by Kunena Forum