Advanced Search

Search Results (Searched for: XHC)

14 Dec 2023 13:24
Replied by CNC_ANDI on topic Machine stop working

Machine stop working

Category: QtPyVCP

got this message

cnc@debian:~/linuxcnc/configs/cnc_andi$ linuxcnc CNC-ANDI.ini
LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7
Machine configuration directory is '/home/cnc/linuxcnc/configs/cnc_andi'
Machine configuration file is 'CNC-ANDI.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
twopass:invoked with <> options
twopass:found ./CNC-ANDI.hal
twopass:found ./handrad.hal
twopass:found ./custom.hal
twopass:pass0: loadusr -W hal_manualtoolchange
twopass:pass0: loadusr -W xhc-whb04b-6 -HsfB
twopass:pass0: loadusr -W vfdmod fulingvfd.ini

identityKinematicsSetup: coordinates:XYYZBC
   Joint 0 ==> Axis X
   Joint 1 ==> Axis Y
   Joint 2 ==> Axis Y
   Joint 3 ==> Axis Z
   Joint 4 ==> Axis B
   Joint 5 ==> Axis C
identityKinematicsSetup: Recommend: kinstype=both

hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:10:43:6d
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Low Level init 0.15
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i76e.0: 51 I/O Pins used:
hm2/hm2_7i76e.0:     IO Pin 000 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 001 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 002 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 003 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 004 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 005 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 006 (P1-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 007 (P1-17): StepGen #3, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 008 (P1-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 009 (P1-06): StepGen #4, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 010 (P1-07): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_7i76e.0:     IO Pin 011 (P1-08): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_7i76e.0:     IO Pin 012 (P1-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 013 (P1-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 014 (P1-11): Encoder #0, pin Index (Input)
hm2/hm2_7i76e.0:     IO Pin 015 (P1-12): Encoder #0, pin B (Input)
hm2/hm2_7i76e.0:     IO Pin 016 (P1-13): Encoder #0, pin A (Input)
hm2/hm2_7i76e.0:     IO Pin 017 (P2-01): StepGen #5, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 018 (P2-14): StepGen #5, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 019 (P2-02): StepGen #6, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 020 (P2-15): StepGen #6, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 021 (P2-03): StepGen #7, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 022 (P2-16): StepGen #7, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 023 (P2-04): StepGen #8, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 024 (P2-17): StepGen #8, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_7i76e.0:     IO Pin 034 (P3-01): IOPort
hm2/hm2_7i76e.0:     IO Pin 035 (P3-14): IOPort
hm2/hm2_7i76e.0:     IO Pin 036 (P3-02): IOPort
hm2/hm2_7i76e.0:     IO Pin 037 (P3-15): IOPort
hm2/hm2_7i76e.0:     IO Pin 038 (P3-03): IOPort
hm2/hm2_7i76e.0:     IO Pin 039 (P3-16): IOPort
hm2/hm2_7i76e.0:     IO Pin 040 (P3-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 041 (P3-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 042 (P3-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 043 (P3-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 044 (P3-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 045 (P3-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 046 (P3-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 047 (P3-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 048 (P3-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 049 (P3-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 050 (P3-13): IOPort
hm2/hm2_7i76e.0: registered
error deleting "/tmp/tmp_CNC-ANDI.hal": not owner
    while executing
"file delete $::TP($name)"
    invoked from within
"if $::tp::nodelete {
      verbose "nodelete: $::TP($name)"
    } else {
      verbose "deleting: $::TP($name)"
      file delete $::TP($name)
    }"
    (procedure "::tp::pass1" line 13)
    invoked from within
"::tp::pass1"
    (file "/usr/lib/tcltk/linuxcnc/twopass.tcl" line 768)
    invoked from within
"source $filename"
    invoked from within
"set result [source $filename]"
    (file "/usr/bin/haltcl" line 42)
Shutting down and cleaning up LinuxCNC...
vfdmod: close request received.
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
vfdmod: application closed.
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/cnc/linuxcnc_debug.txt
and
    /home/cnc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
 
12 Dec 2023 21:54

Spindle control using XHC-WHB04B-6 pendant

Category: Gmoccapy

Sorry for the late reply.
The [DISPLAY] DEFAULT_SPINDLE_SPEED value is only taken for the first time if no gmoccapy preference file is available. After that the starting speed will be set by the gmoccapy settings:
 Spindle
  • Starting RPM - Sets the rpm to be used if the spindle is started and no S value has been set.NoteThis value will be presetted according to your settings in
    [DISPLAY] DEFAULT_SPINDLE_SPEED of your INI file. If you change the settings on the settings page, that value will be default from that moment, your INI file will not be modified.

See linuxcnc.org/docs/devel/html/gui/gmoccapy.html#_hardware
11 Dec 2023 20:39

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

I have nearly the same problem as the OP (same pendant, buttons are working). I see the events from the dial when I run 'xhc-whb04b-6 -p', but there is nothing in hal. 'whb.axis.x.jog-counts' stays zero.
Attached are the .hal files. Any pointers to what is wrong are appreciated.

Thanks.
 

File Attachment:

File Name: Janus_2023-12-11.hal
File Size:9 KB

File Attachment:

File Name: custom.hal
File Size:0 KB

File Attachment:

File Name: WHB04B-6.hal
File Size:13 KB
08 Dec 2023 06:21
Replied by angelnu on topic Error with card MESA 5i25

Error with card MESA 5i25

Category: Driver Boards

thanks for answering

Output  uname -a
Linux pc-cnc 6.1.0-13-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux

Output  sudo mesaflash --device 5i25 --readhmid
ERROR: no HOSTMOT2 firmware found. FFFFFFFF
Configuration Name:

General configuration information:

  BoardName :
  FPGA Size: 0 KGates
  FPGA Pins: 0
  Number of IO Ports: 0
  Width of one I/O port: 0
  Clock Low frequency: 0.0000 MHz
  Clock High frequency: 0.0000 MHz
  IDROM Type: 0
  Instance Stride 0: 0
  Instance Stride 1: 0
  Register Stride 0: 0
  Register Stride 1: 0

Modules in configuration:

Output  lspci -v 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge
    Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
    Flags: bus master, 66MHz, medium devsel, latency 0, NUMA node 0
    Capabilities: [c4] HyperTransport: Slave or Primary Interface
    Capabilities: [54] HyperTransport: UnitID Clumping
    Capabilities: [40] HyperTransport: Retry Mode
    Capabilities: [9c] HyperTransport: #1a
    Capabilities: [f8] HyperTransport: #1c

00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0) (prog-if 00 [Normal decode])
    Subsystem: ASUSTeK Computer Inc. RS780 PCI to PCI bridge (ext gfx port 0)
    Flags: bus master, fast devsel, latency 0, IRQ 24, NUMA node 0
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    I/O behind bridge: d000-dfff [size=4K] [16-bit]
    Memory behind bridge: fa000000-fe8fffff [size=73M] [32-bit]
    Prefetchable memory behind bridge: d0000000-dfffffff [size=256M] [32-bit]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Root Port (Slot+), MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [b0] Subsystem: ASUSTeK Computer Inc. RS780 PCI to PCI bridge (ext gfx port 0)
    Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [110] Virtual Channel
    Kernel driver in use: pcieport

00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 1) (prog-if 00 [Normal decode])
    Subsystem: ASUSTeK Computer Inc. RS780/RS880 PCI to PCI bridge (PCIE port 1)
    Flags: bus master, fast devsel, latency 0, IRQ 25, NUMA node 0
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    I/O behind bridge: [disabled] [32-bit]
    Memory behind bridge: fe900000-fe9fffff [size=1M] [32-bit]
    Prefetchable memory behind bridge: [disabled] [64-bit]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Root Port (Slot+), MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [b0] Subsystem: ASUSTeK Computer Inc. RS780/RS880 PCI to PCI bridge (PCIE port 1)
    Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [110] Virtual Channel
    Kernel driver in use: pcieport

00:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 4) (prog-if 00 [Normal decode])
    Subsystem: ASUSTeK Computer Inc. RS780/RS880 PCI to PCI bridge (PCIE port 4)
    Flags: bus master, fast devsel, latency 0, IRQ 26, NUMA node 0
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
    I/O behind bridge: [disabled] [32-bit]
    Memory behind bridge: fea00000-feafffff [size=1M] [32-bit]
    Prefetchable memory behind bridge: [disabled] [64-bit]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Root Port (Slot+), MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [b0] Subsystem: ASUSTeK Computer Inc. RS780/RS880 PCI to PCI bridge (PCIE port 4)
    Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [110] Virtual Channel
    Kernel driver in use: pcieport

00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5) (prog-if 00 [Normal decode])
    Subsystem: ASUSTeK Computer Inc. RS780/RS880 PCI to PCI bridge (PCIE port 5)
    Flags: bus master, fast devsel, latency 0, IRQ 27, NUMA node 0
    Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
    I/O behind bridge: e000-efff [size=4K] [16-bit]
    Memory behind bridge: [disabled] [32-bit]
    Prefetchable memory behind bridge: f8f00000-f8ffffff [size=1M] [32-bit]
    Capabilities: [50] Power Management version 3
    Capabilities: [58] Express Root Port (Slot+), MSI 00
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [b0] Subsystem: ASUSTeK Computer Inc. RS780/RS880 PCI to PCI bridge (PCIE port 5)
    Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
    Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [110] Virtual Channel
    Kernel driver in use: pcieport

00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (rev 40) (prog-if 01 [AHCI 1.0])
    Subsystem: ASUSTeK Computer Inc. SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19, NUMA node 0
    I/O ports at c000
    I/O ports at b000
    I/O ports at a000
    I/O ports at 9000
    I/O ports at 8000
    Memory at f9fffc00 (32-bit, non-prefetchable) [size=1K]
    Capabilities: [70] SATA HBA v1.0
    Capabilities: [a4] PCI Advanced Features
    Kernel driver in use: ahci
    Kernel modules: ahci

00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
    Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18, NUMA node 0
    Memory at f9ffe000 (32-bit, non-prefetchable) [size=4K]
    Kernel driver in use: ohci-pci
    Kernel modules: ohci_pci

00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
    Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17, NUMA node 0
    Memory at f9fff800 (32-bit, non-prefetchable)
    Capabilities: [c0] Power Management version 2
    Capabilities: [e4] Debug port: BAR=1 offset=00e0
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci

00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
    Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18, NUMA node 0
    Memory at f9ffd000 (32-bit, non-prefetchable) [size=4K]
    Kernel driver in use: ohci-pci
    Kernel modules: ohci_pci

00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
    Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17, NUMA node 0
    Memory at f9fff400 (32-bit, non-prefetchable)
    Capabilities: [c0] Power Management version 2
    Capabilities: [e4] Debug port: BAR=1 offset=00e0
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 42)
    Flags: 66MHz, medium devsel, NUMA node 0
    Kernel modules: i2c_piix4, sp5100_tco

00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller (rev 40) (prog-if 8a [ISA Compatibility mode controller, supports both channels switched to PCI native mode, supports bus mastering])
    Subsystem: ASUSTeK Computer Inc. SB7x0/SB8x0/SB9x0 IDE Controller
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17, NUMA node 0
    I/O ports at 01f0
    I/O ports at 03f4
    I/O ports at 0170
    I/O ports at 0374
    I/O ports at ff00
    Kernel driver in use: pata_atiixp
    Kernel modules: pata_atiixp, ata_generic

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) (rev 40)
    Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
    Flags: bus master, slow devsel, latency 64, IRQ 16, NUMA node 0
    Memory at f9ff8000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 2
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
    Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
    Flags: bus master, 66MHz, medium devsel, latency 0, NUMA node 0

00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (rev 40) (prog-if 01 [Subtractive decode])
    Flags: bus master, 66MHz, medium devsel, latency 64, NUMA node 0
    Bus: primary=00, secondary=05, subordinate=05, sec-latency=64
    I/O behind bridge: [disabled] [16-bit]
    Memory behind bridge: feb00000-febfffff [size=1M] [32-bit]
    Prefetchable memory behind bridge: [disabled] [32-bit]

00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller (prog-if 10 [OHCI])
    Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18, NUMA node 0
    Memory at f9ffc000 (32-bit, non-prefetchable) [size=4K]
    Kernel driver in use: ohci-pci
    Kernel modules: ohci_pci

00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
    Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18, NUMA node 0
    Memory at f9ff7000 (32-bit, non-prefetchable) [size=4K]
    Kernel driver in use: ohci-pci
    Kernel modules: ohci_pci

00:16.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
    Subsystem: ASUSTeK Computer Inc. M5A88-V EVO
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17, NUMA node 0
    Memory at f9fff000 (32-bit, non-prefetchable)
    Capabilities: [c0] Power Management version 2
    Capabilities: [e4] Debug port: BAR=1 offset=00e0
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
    Flags: fast devsel, NUMA node 0
    Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
    Flags: fast devsel, NUMA node 0

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
    Flags: fast devsel, NUMA node 0

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
    Flags: fast devsel, NUMA node 0
    Capabilities: [f0] Secure device <?>
    Kernel driver in use: k10temp
    Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
    Flags: fast devsel, NUMA node 0
    Kernel driver in use: fam15h_power
    Kernel modules: fam15h_power

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
    Flags: fast devsel, NUMA node 0

01:00.0 VGA compatible controller: NVIDIA Corporation G96C [GeForce 9400 GT] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Micro-Star International Co., Ltd. [MSI] G96C [GeForce 9400 GT]
    Flags: bus master, fast devsel, latency 0, IRQ 46, NUMA node 0
    Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    Memory at fa000000 (64-bit, non-prefetchable) [size=32M]
    I/O ports at dc00
    Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [78] Express Endpoint, MSI 00
    Capabilities: [b4] Vendor Specific Information: Len=14 <?>
    Capabilities: [100] Virtual Channel
    Capabilities: [128] Power Budgeting <?>
    Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
    Kernel driver in use: nouveau
    Kernel modules: nouveau

02:00.0 Non-Volatile memory controller: Sandisk Corp WD Black 2018/SN750 / PC SN720 NVMe SSD (prog-if 02 [NVM Express])
    Subsystem: Sandisk Corp WD Black 2018/SN750 / PC SN720 NVMe SSD
    Flags: bus master, fast devsel, latency 0, IRQ 17, NUMA node 0
    Memory at fe9fc000 (64-bit, non-prefetchable) [size=16K]
    Memory at fe9fbc00 (64-bit, non-prefetchable)
    Capabilities: [80] Power Management version 3
    Capabilities: [90] MSI: Enable- Count=1/32 Maskable- 64bit+
    Capabilities: [b0] MSI-X: Enable+ Count=65 Masked-
    Capabilities: [c0] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [150] Device Serial Number 00-00-00-00-00-00-00-00
    Capabilities: [1b8] Latency Tolerance Reporting
    Capabilities: [300] Secondary PCI Express
    Capabilities: [900] L1 PM Substates
    Kernel driver in use: nvme
    Kernel modules: nvme

03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller (prog-if 30 [XHCI])
    Subsystem: ASUSTeK Computer Inc. P8B WS Motherboard
    Flags: bus master, fast devsel, latency 0, IRQ 17, NUMA node 0
    Memory at feaf0000 (64-bit, non-prefetchable) [size=32K]
    Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
    Capabilities: [68] MSI-X: Enable+ Count=8 Masked-
    Capabilities: [78] Power Management version 3
    Capabilities: [80] Express Legacy Endpoint, MSI 00
    Capabilities: [100] Virtual Channel
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
    Subsystem: ASUSTeK Computer Inc. P8P67 and other motherboards
    Flags: bus master, fast devsel, latency 0, IRQ 18, NUMA node 0
    I/O ports at e800
    Memory at f8fff000 (64-bit, prefetchable) [size=4K]
    Memory at f8ff8000 (64-bit, prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Endpoint, MSI 01
    Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
    Capabilities: [d0] Vital Product Data
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Virtual Channel
    Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
    Kernel driver in use: r8169
    Kernel modules: r8169

05:05.0 DPIO module: Device 2718:5125 (rev 01)
    Subsystem: Device 2718:5125
    Flags: medium devsel, NUMA node 0
    Memory at feb00000 (32-bit, non-prefetchable) [virtual] [size=64K]

 
07 Dec 2023 09:47 - 07 Dec 2023 09:49

drivers for waveshare RS 485 usb serial converter for huangyang vfd

Category: Advanced Configuration

The bits that seem to matter:
xhc-hb04.tcl: !!! <halui.spindle.stop> target pin does not exist, continuing
xhc-hb04.tcl: !!! <halui.spindle.start> target pin does not exist, continuing



I think that this might be important too.

It appears that you have updated from 2.7 to 2.8+ and there are hal pin name differences between the two as LinuxCNC now supports multiple spindles.
linuxcnc.org/docs/2.8/html/getting-start...iple_spindle_support

It says there that the update script will fix the hal pin names, but you have found a gap in the coverage, as you seem to have a custom xhc-hb04.tcl file in your config? The updater script only fixes HAL and INI files.

Try editing that file so that halui.spindle.start is halui.spindle.0.start and the same for spindle.stop.
linuxcnc.org/docs/2.8/html/man/man1/halui.1.html

I think that this might be the only problem, the hy_vfd module does send a lot of spurious error messages before it is enabled.
01 Dec 2023 21:25 - 01 Dec 2023 21:26

Building Linuxcnc 2.8 from source

Category: Installing LinuxCNC

Hi Guys

I want to install linuxcnc 2.8.4 on debian 10 from source. This is so i can modify the xhc pendant drivers and update my working mill with the changes.

I believe if I clone using this command it will be cloning v2.9 (master)
git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev

Its probably simple, but How do i specify cloning the 2.8 branch ?

Thanks


 
30 Nov 2023 10:26

drivers for waveshare RS 485 usb serial converter for huangyang vfd

Category: Advanced Configuration

All errors I now get are:

ERROR Communication time out (-12)
error reading setup from VFD, retrying
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
error reading setup from VFD, retrying
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
error reading setup from VFD, retrying
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
error reading setup from VFD, retrying
Shutting down and cleaning up LinuxCNC...
WAIT_DATA(): comms time out

task: 1567 cycles, min=0.000008, max=0.013308, avg=0.009983, 0 latency excursions (> 10x expected cycle time of 0.010000s)
A non blocked signal was caught
xhc-hb04: connection lost, cleaning up
hm2_5i25.0: dropping AnyIO board at 0000:04:00.0
hm2/hm2_5i25.0: unregistered
RTAPI_PCI: Unmapped 65536 bytes at 0x7fe58895f000
hm2_pci: driver unloaded
hm2: unloading
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
error reading setup from VFD, retrying
Note: Using POSIX realtime

Adding additional info in next post.
30 Nov 2023 08:34 - 30 Nov 2023 08:54

drivers for waveshare RS 485 usb serial converter for huangyang vfd

Category: Advanced Configuration

The bits that seem to matter:

LINUXCNC - 2.9.1
Machine configuration directory is '/home/sven/linuxcnc/configs/Alu-XYZA'
Machine configuration file is 'Alu-XYZA.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./Alu-XYZA.hal
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i25 at 0000:04:00.0
hm2/hm2_5i25.0: Low Level init 0.15
hm2/hm2_5i25.0: Smart Serial Firmware Version 43
Board hm2_5i25.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_5i25.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_5i25.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_5i25.0: 34 I/O Pins used:
hm2/hm2_5i25.0:     IO Pin 000 (P3-01): StepGen #0, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 001 (P3-14): StepGen #0, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 002 (P3-02): StepGen #1, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 003 (P3-15): StepGen #1, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 004 (P3-03): StepGen #2, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 005 (P3-16): StepGen #2, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 006 (P3-04): StepGen #3, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 007 (P3-17): StepGen #3, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 008 (P3-05): StepGen #4, pin Direction (Output)
hm2/hm2_5i25.0:     IO Pin 009 (P3-06): StepGen #4, pin Step (Output)
hm2/hm2_5i25.0:     IO Pin 010 (P3-07): Smart Serial Interface #0, pin tx0 (Output)
hm2/hm2_5i25.0:     IO Pin 011 (P3-08): Smart Serial Interface #0, pin rx0 (Input)
hm2/hm2_5i25.0:     IO Pin 012 (P3-09): IOPort
hm2/hm2_5i25.0:     IO Pin 013 (P3-10): IOPort
hm2/hm2_5i25.0:     IO Pin 014 (P3-11): Encoder #0, pin Index (Input)
hm2/hm2_5i25.0:     IO Pin 015 (P3-12): Encoder #0, pin B (Input)
hm2/hm2_5i25.0:     IO Pin 016 (P3-13): Encoder #0, pin A (Input)
hm2/hm2_5i25.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_5i25.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_5i25.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_5i25.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_5i25.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_5i25.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_5i25.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_5i25.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_5i25.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_5i25.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_5i25.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_5i25.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_5i25.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_5i25.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_5i25.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_5i25.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_5i25.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_5i25.0: registered
hm2_5i25.0: initialized AnyIO board at 0000:04:00.0
Found file(LIB): /usr/share/linuxcnc/hallib/xhc-hb04.tcl
xhc-hb04: waiting for XHC-HB04 device
xhc-hb04.tcl: !!! <halui.spindle.stop> target pin does not exist, continuing
xhc-hb04.tcl: !!! <halui.spindle.start> target pin does not exist, continuing
xhc-hb04.tcl: using std_start_pause_button
xhc-hb04.tcl: Using existing outpin signame: spindle-cmd-rps-abs
APP: monitor-xhc-hb04 found: </usr/bin/monitor-xhc-hb04>
note: MAXV     max: 100.000 units/sec 6000.000 units/min
note: LJOG     max: 100.000 units/sec 6000.000 units/min
note: LJOG default: 75.000 units/sec 4500.000 units/min
note: AJOG     max: 5600.000 units/sec 336000.000 units/min
note: AJOG default: 36.000 units/sec 2160.000 units/min
note: jog_order='XYZA'
note: jog_invert=set()

ERROR invalid crc received 44BF - crc_calc 68EB (-16)
error reading setup from VFD, retrying

ERROR invalid crc received 44BF - crc_calc 78EA (-16)
error reading setup from VFD, retrying

ERROR invalid crc received 44BF - crc_calc 68EB (-16)
error reading setup from VFD, retrying

ERROR invalid crc received 84BF - crc_calc 78EA (-16)
error reading setup from VFD, retrying

ERROR invalid crc received 44BF - crc_calc 78EA (-16)
error reading setup from VFD, retrying

ERROR invalid crc received 44BF - crc_calc 78EA (-16)
error reading setup from VFD, retrying

ERROR invalid crc received 44BF - crc_calc 78EA (-16)
error reading setup from VFD, retrying

ERROR invalid crc received 44BF - crc_calc 78EA (-16)
error reading setup from VFD, retrying

@ Bart:
It looks like the stuff about xhc-hb04.tcl may also relate to the high acceleration during homing and jogging, you added slower acceleration for these but I needed to remove something from the pendant from config, will search for this and include.

Some errors showing up when shutting down:

hm2/hm2_5i25.0: Watchdog has bit! (set the .has-bit pin to False to resume)
hm2/hm2_5i25.0: Watchdog has bit! (set the .has-bit pin to False to resume)
Shutting down and cleaning up LinuxCNC...
ERROR invalid crc received 44BF - crc_calc 78EA (-16)
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (31) LBPCOM Fault

error reading setup from VFD, retrying
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (30) Illegal Remote Mode
task: main loop took 35.010058 seconds
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (29) Under Voltage
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (28) Over Voltage
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (27) Over Current
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (26) Over Temperature
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (25) No Enable
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (24) Watchdog Fault
hm2/hm2_5i25.0: Smart Serial port 0: DoIt not cleared from previous servo thread. Servo thread rate probably too fast. This message will not be repeated, but the hm2_5i25.0.sserial.0.fault-count pin will indicate if this is happening frequently.
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 local error = (13) Communication error
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 local error = (3) Timeout
hm2/hm2_5i25.0: Smart Serial Comms Error: There have been more than 1 errors in 10 thread executions at least 200 times. See other error messages for details.
hm2/hm2_5i25.0: ***Smart Serial Port 0 will be stopped***
hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (31) LBPCOM Fault

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (30) Illegal Remote Mode

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (29) Under Voltage

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (28) Over Voltage

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (27) Over Current

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (26) Over Temperature

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (25) No Enable

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 remote error = (24) Watchdog Fault

hm2/hm2_5i25.0: Smart Serial port 0: DoIt not cleared from previous servo thread. Servo thread rate probably too fast. This message will not be repeated, but the hm2_5i25.0.sserial.0.fault-count pin will indicate if this is happening frequently.

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 local error = (13) Communication error

hm2/hm2_5i25.0: Smart serial card hm2_5i25.0.7i76.0.0 local error = (3) Timeout

hm2/hm2_5i25.0: Smart Serial Comms Error: There have been more than 1 errors in 10 thread executions at least 200 times. See other error messages for details.

hm2/hm2_5i25.0: ***Smart Serial Port 0 will be stopped***

task: 8108 cycles, min=0.000007, max=35.010058, avg=0.014363, 1 latency excursions (> 10x expected cycle time of 0.010000s)
A non blocked signal was caught
xhc-hb04: connection lost, cleaning up
hm2_5i25.0: dropping AnyIO board at 0000:04:00.0
hm2/hm2_5i25.0: unregistered
RTAPI_PCI: Unmapped 65536 bytes at 0x7f4c2db2c000
hm2_pci: driver unloaded
hm2: unloading
WAIT_DATA(): comms time out

ERROR Communication time out (-12)
error reading setup from VFD, retrying
Note: Using POSIX realtime

 

29 Nov 2023 07:36

drivers for waveshare RS 485 usb serial converter for huangyang vfd

Category: Advanced Configuration

i've found the exact same waveshare dongle. and it behaves as expected in debian12, without suggesting any weird software install

[346226.385084] usb 3-2: new full-speed USB device number 25 using xhci_hcd
[346226.516670] usb 3-2: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[346226.516674] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[346226.516675] usb 3-2: Product: FT232R USB UART
[346226.516676] usb 3-2: Manufacturer: FTDI
[346226.516677] usb 3-2: SerialNumber: A10OGKOK
[346226.564023] usbcore: registered new interface driver ftdi_sio
[346226.564038] usbserial: USB Serial support registered for FTDI USB Serial Device
[346226.564060] ftdi_sio 3-2:1.0: FTDI USB Serial Device converter detected
[346226.564081] usb 3-2: Detected FT232R
[346226.564554] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0
26 Nov 2023 10:41

XHC WH04B-4 Driver issues and improvements

Category: HAL

Step size of 5 and 10 is still huge on a metric machine.  Very easy to crash into things.. step mode often used for position and tool touch so should be  

In fact even 2mm on my machine can get you into trouble 

​​​​​​For travelling large distance continuous mode is better. / Safer

I now have a version that has fived lead mode. Improved speed of cont mode and I'm working on implementing step options of .01  05  0.1 0.5. And 1mm 

Also increased the step size for feed override. Means I can sweep from 0 to 100 % override much faster. 

I'm getting closer to the pendant I really need. 

 
26 Nov 2023 10:20

XHC WH04B-4 Driver issues and improvements

Category: HAL

there seems to be some pr in the past around the lead code of 0x1c vs 0x9b

github.com/LinuxCNC/linuxcnc/pull/987

step size of 5 and 10 might be huge on an imperial setup but they are nice sizes on a metric setup (5" vs 5mm)
so changes to this should may want to be unit aware (either machine INI or G20/G21) if its not already
21 Nov 2023 08:39
Replied by bally123 on topic WHB04B-4 Lead Switch Issue

WHB04B-4 Lead Switch Issue

Category: General LinuxCNC Questions

Hi Slammers

I will try the permissions setting later on - thanks

Regards the make instruction - I get this error :   make: *** No rule to make target '../bin/xhc-whb04-6'

I don't see a makefile in the folders - which i think is the problem.

Cheers Andy
21 Nov 2023 01:22
Replied by slammers on topic WHB04B-4 Lead Switch Issue

WHB04B-4 Lead Switch Issue

Category: General LinuxCNC Questions

I think you can just do the following

cd into src directory then

make ../bin/xhc-whb04b-4
19 Nov 2023 15:40

Spindle control using XHC-WHB04B-6 pendant

Category: Gmoccapy

Nobody? Anyway, I will try to find a solution and write here if I succeed. :)
18 Nov 2023 16:22

Advice installing Linuxcnc from source - modifying XHC WHB04b - 6

Category: Installing LinuxCNC

Got linuxcnc 2.9  installed from source today. Rods video was pretty much a walk through. and the mnual pages helped with pasting the commands.

Only issue I hit was an opengl error when i started the program.    No module named 'OpenGL'

A bit of googling and i went with  - sudo apt install python3-opengl

That solved it.  Hope it helps someone.

Now into digging around a bit and setting up the XHC-WHB04b pendant
 
Displaying 151 - 165 out of 197 results.
Time to create page: 1.052 seconds
Powered by Kunena Forum