Advanced Search

Search Results (Searched for: XHC)

08 Sep 2024 16:35

XHC-WH04b USB not detected in front port

Category: General LinuxCNC Questions

I have the same problem here with the WH04B-6. Cant see the device on any ports. I checked my bios and the legacy usb is already enabled. i enabled some other usb stuff with no results. Any luck fixing this?
27 Aug 2024 08:07 - 27 Aug 2024 08:09

XHC WHB04b-6 - Disconnects / freezes?

Category: Basic Configuration

Alright a few other related forum posts (forum.linuxcnc.org/gmoccapy/34296-xhc-hc04-lost-connection, forum.linuxcnc.org/38-general-linuxcnc-q...-hb04-pendant-issues) convinced me to upgrade LinuxCNC, which appears to have solved the issue.

I upgraded from 2.8 to 2.9.3.
 

I have the same MPG, which I only use for the macro buttons for when I'm far from the controller and doing manual fixture setup and other non-automation related tasks. Regardless of the Lcnc version that MPG is near if not close to being useless. Similar to the keyboard, it's quite dangerous ($$$) I would like to add. There is no CRC neither data integrity to that thing and so, don't complain if it decides to randomly wander either sides and crash your >5k worth spindle into something... you get the idea. 

A safe & honest MPG requires to be hard wired. Only hardware that is legally allowed to move my axis here (no keyboard, no wifi, nothing else). 
27 Aug 2024 01:36

QTDragon spindle raise issues

Category: Qtvcp

The halui.pause nad halui.resume are coming from the xhc-whb04b-6.hal file.

I'm not sure how to change those entries.

17 # program related signals
  18 net pdnt.program.is-idle                  whb.halui.program.is-idle             halui.program.is-idle
  19 net pdnt.program.is-paused                whb.halui.program.is-paused           halui.program.is-paused
  20 net pdnt.program-is-running               whb.halui.program.is-running          halui.program.is-running
  21 net pdnt.program.resume                   whb.halui.program.resume              halui.program.resume
  22 net pdnt.program.pause                    whb.halui.program.pause               halui.program.pause
  23 net pdnt.program.run                      whb.halui.program.run                 halui.program.run
  24 net pdnt.program.stop                     whb.halui.program.stop                halui.program.stop
 
26 Aug 2024 19:58

XHC WHB04b-6 - Disconnects / freezes?

Category: Basic Configuration

Alright a few other related forum posts (forum.linuxcnc.org/gmoccapy/34296-xhc-hc04-lost-connection, forum.linuxcnc.org/38-general-linuxcnc-q...-hb04-pendant-issues) convinced me to upgrade LinuxCNC, which appears to have solved the issue.

I upgraded from 2.8 to 2.9.3.
23 Aug 2024 15:03 - 23 Aug 2024 15:05

XHC WHB04b-6 - Disconnects / freezes?

Category: Basic Configuration

When the problem does occur, there's a continual connect/disconnect cycle of the device every ~20sec:
$ sudo dmesg -T
[Fri Aug 23 10:50:47 2024] usb 1-3.4: new full-speed USB device number 61 using xhci_hcd
[Fri Aug 23 10:50:47 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00
[Fri Aug 23 10:50:47 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Aug 23 10:50:47 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English
[Fri Aug 23 10:50:47 2024] hid-generic 0003:10CE:EB93.0129: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0
[Fri Aug 23 10:50:57 2024] usb 1-3.4: USB disconnect, device number 61
[Fri Aug 23 10:51:07 2024] usb 1-3.4: new full-speed USB device number 62 using xhci_hcd
[Fri Aug 23 10:51:07 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00
[Fri Aug 23 10:51:07 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Aug 23 10:51:07 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English
[Fri Aug 23 10:51:07 2024] hid-generic 0003:10CE:EB93.012A: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0
[Fri Aug 23 10:51:17 2024] usb 1-3.4: USB disconnect, device number 62
[Fri Aug 23 10:51:27 2024] usb 1-3.4: new full-speed USB device number 63 using xhci_hcd
[Fri Aug 23 10:51:27 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00
[Fri Aug 23 10:51:27 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Aug 23 10:51:27 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English
[Fri Aug 23 10:51:27 2024] hid-generic 0003:10CE:EB93.012B: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0
[Fri Aug 23 10:51:40 2024] usb 1-3.4: USB disconnect, device number 63
[Fri Aug 23 10:51:50 2024] usb 1-3.4: new full-speed USB device number 64 using xhci_hcd
[Fri Aug 23 10:51:51 2024] usb 1-3.4: New USB device found, idVendor=10ce, idProduct=eb93, bcdDevice= 0.00
[Fri Aug 23 10:51:51 2024] usb 1-3.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[Fri Aug 23 10:51:51 2024] usb 1-3.4: language id specifier not provided by device, defaulting to English
[Fri Aug 23 10:51:51 2024] hid-generic 0003:10CE:EB93.012C: hiddev1,hidraw3: USB HID v1.00 Device [HID 10ce:eb93] on usb-0000:00:15.0-3.4/input0


After restarting linuxCNC, this reconnection cycle stops. I let the pendant stay on overnight and it was still connected to LinuxCNC the next morning, so I don't think it's a timeout issue. I've also tried carrying the pendant far enough away until it displays Lost RF, but then returning to the machine, turning the pendant off/on allows it to reconnect to LinuxCNC properly in a way that doesn't happen when this disconnect/freeze error occurs.
22 Aug 2024 18:21

XHC WHB04b-6 - Disconnects / freezes?

Category: Basic Configuration

I have the same problem. I've noticed that Linux itself has actually lost connection with the device, which I can see by running $lsusb while the pendant is working and again when it's not. The odd thing is that restarting LinuxCNC seems to mount the usb device in Linux.

I don't know the solution, but I'll continue taking notes and report back if I figure it out.
12 Aug 2024 15:35

USB Dongel wird nicht erkannt

Category: General LinuxCNC Questions

Hallo USB Reciever von WiXHc -WHB04B-4 ist defekt
07 Aug 2024 14:27 - 07 Aug 2024 14:33

Latency, error finishing read, and IRQ affinity

Category: General LinuxCNC Questions

Hi! 
I am working with a custom ethernet interface and think I really need this IRQ management. Unfortunately I have not been able to get what's described here to work after quite a few hours beating my head on the desk and rereading ALL these posts several times. I've tried a number of things but I don't know much about scripting. I'm probably missing something obvious.

If someone has debugging suggestions or can tell me what other information to post here I would really appreciate it.
Architecture: x86_64
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: AuthenticAMD
CPU family: 23
Model: 17
Model name: AMD Ryzen 5 PRO 2400G with Radeon Vega Graphics

The obvious things:
I did install irqbalance via Synaptic. I did change IP to 10.0.0.1 two places in rt_setup.sh--that's the address in interfaces file.

What happens:
If I run rt_setup.sh it says it is creating the affinity file, and it ends up in /etc/linuxcnc as expected with permissions correct. But after restart I seem to end up with ethernet interrupts always on cpu5 where I would expect cpu7.
user1@debian2:~/linuxcnc/irq-mgmt$ sudo ./rt_setup.sh
[sudo] password for user1:
Linux debian2 4.19.0-16-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.181-1 (2021-03-19) x86_64
GNU/Linux irqbalance is running AND there are more than 2 cpus - setting up policy script

The script comes up with isolcpus 6,7 in grub, which is what I determined months ago and added manually and seems like it should be correct.
    linux    /boot/vmlinuz-4.19.0-16-rt-amd64 root=UUID=5b220cf2-b101-424f-9abb-ee2246a65503
ro initrd=/install/gtk/initrd.gz quiet
isolcpus=6,7 intel_idle.max_cstate=1 i915.enable_rc6=0

my /etc/network/interfaces (after removing commented out lines and loopback):
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/*

# NEW - Lenovo Ryzen desktop PC
allow-hotplug enp8s0f0
iface enp8s0f0 inet static
address 10.0.0.1

Significant things I tried:
Running test script "pinirq_2024-05-12.txt" with parameter enp8s0f0 displays expected results. But watching interrupts stills shows the nic IRQs on cpu5.
user1@debian2:~/linuxcnc/irq-mgmt$ sudo ./pinirq enp8s0f0
Cores: 8 Old CPU Mask: 0020 Set device enp8s0f0 IRQ 61 CPU mask to 0128

I tried using NIC=`enp8s0f0` in place of both awks in rt_setup.sh but that does not work either (note the quotes I used!).

I did have loopback lines and old (commented out) iface and address lines in interfaces file. I removed them and reran everything as I'm not sure how picky that grep is.

user1@debian2:~/linuxcnc/irq-mgmt$ sudo /etc/init.d/irqbalance status -l
● irqbalance.service - irqbalance daemon
   Loaded: loaded (/lib/systemd/system/irqbalance.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2024-08-07 08:31:44 EDT; 1h 8min ago
     Docs: man:irqbalance(1)
           https://github.com/Irqbalance/irqbalance
 Main PID: 577 (irqbalance)
    Tasks: 2 (limit: 4915)
   Memory: 6.3M
   CGroup: /system.slice/irqbalance.service
           └─577 /usr/sbin/irqbalance --foreground --policyscript=/etc/linuxcnc/lcnc_irqbalancepolicy.sh

Aug 07 08:31:44 debian2 systemd[1]: Started irqbalance daemon.

section from /proc/interrupts:
60: 0 0 0 0 0 0 0 0 IR-PCI-MSI 4726791-edge xhci_hcd
61: 0 0 0 0 0 71062 0 0 IR-PCI-MSI 4194304-edge enp8s0f0
62: 0 0 0 697991 0 0 0 0 IR-PCI-MSI 4718592-edge amdgpu
28 Jul 2024 09:59 - 28 Jul 2024 10:18

Latency Test OK, dennoch Fehlermeldung

Category: Deutsch

Danke für den Link da muss ich mich mal reinarbeiten. Als erstes werde ich mal die Verbindungen tauschen, für die Mesa hab ich tatsächlich einen Realtec RTL8111, der könnte da Probleme machen.
Ja ich habe ein MPG XHC-WHB USB Handrad. Das funktioniert auch.
 
27 Jul 2024 20:55 - 27 Jul 2024 20:58

Latency Test OK, dennoch Fehlermeldung

Category: Deutsch

Hallo zusammen, ich schon wieder.
Nachdem PCW mich dieser Tage mit dem Start meiner Linuxcnc 2.9 Config einer 7i96S gerettet hat, dass die überhaupt startet, der nächste Fehler:
Ich habe einen Mini PC namens Lenovo ThinkCentre Intel(R) mit core-i5-3470T CPU @ 2.90GHz und 8GB RAM. Der Latency Test zeigte max Servo Thread Werte um die 30.000, max um 1.000.000, (s.Foto)  ich habe den Wert im PnCconf Wizard auf 1.200.000 gestellt, dann auf 1.500.000 um auf Nr. Sicher zu sein. Leider bekomme ich nach Fertgigstellung meiner Config für eine 7i96S immer die Start Fehlermeldung dass es Probleme mit der Latency geben soll. Ist mein eingestellter Wert jetzt zu hoch oder muss ich noch höher gehen? Ich verstehe den Fehler nicht.
(Den XHC-WHB Fehler bitte ignorieren das ist schon gelöst)

Vielen Dank für Eure Hinweise!
Grüße, Arno

 
27 Jul 2024 00:34
Replied by COFHAL on topic axis select

axis select

Category: General LinuxCNC Questions

How could this file work with xhc-whb04b-6?
24 Jul 2024 15:49 - 24 Jul 2024 15:51
Error in log was created by anli

Error in log

Category: Basic Configuration

Hello,
I get the following error in log:
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
Starting HAL User Interface program: halui

The full log for reference is (I solved the error with io.hal but wonder about the above three lines):
Warning: Spoiler!


How can I solve this? I'm using LinuxCNC 2.9.3 from recommended installation with Debian 12 (as downloadable on download site).

Thanks a lot for your help!
Best, André
21 Jul 2024 14:58

USB Dongel wird nicht erkannt

Category: General LinuxCNC Questions

Hallo Ich habe mit WiXHc -WHB04B-4 ein Problem!
USB-Wi Stick wird nicht erkant und ich bekomme keine Verbindung zum Handheld gerät.
Ich habe in rules.d  meine Eintragungen gemacht.
ATTR{idProduct}=="eb70", ATTR{idVendor}=="10ce", MODE="0666", OWNER="root", GROUP="plugdev"
ATTRS{idVendor}=="10ce", ATTRS{idProduct}=="eb93", MODE="666", OWNER="root", GROUP="users"

Rechner
Debian 12
Linuxcnc2.9.0
64 bit
Kernel 6.1.0.21-rt-amd64

root@Linuxcnc:/home/cnc# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 001 Device 006: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
Bus 001 Device 008: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 007: ID 152d:1561 JMicron Technology Corp. / JMicron USA Technology Corp. JMS561U two ports SATA 6Gb/s bridge
Bus 001 Device 005: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 003: ID 2109:2813 VIA Labs, Inc. VL813 Hub
Bus 001 Device 002: ID 0bda:c821 Realtek Semiconductor Corp. Bluetooth Radio 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@Linuxcnc:/home/cnc# 
17 Jul 2024 05:29

XHC-HB04: not work macro mdi_command Fn+macro3/macro4/macro8

Category: Advanced Configuration

On the lathe, I decided to use macro commands when changing tools: Т№M6 G43.
I have 10 instruments in total. I decided to bind these commands to xhc-hb04. I came across the fact that the macro3 macro4 macro8 buttons do not work, although the commands were written in the ini file. In the hal file responsible for the operation of mpg, I saw that these buttons are reserved.
Is it possible to somehow remove/exclude the default spindle control or change the hal file so that macros become active (Fn+macro3/macro4/macro8)?

p.s.
translated and voiced by Google translator
16 Jul 2024 03:35

Touch Monitor Size - Any Consensus?

Category: Computers and Hardware

Also, I have a wired, cheap MPG and I didn't know about the adversity to USB peripherals. Was and still am thinking about a wireless xhc-whb04b-04 pendent with a USB dongle. Seems someone have managed to make those work on Lcnc pretty recently.  

I also have an aversion to touchscreen machine controls and USB pendants, for the same reason blazini mentions.

Plenty of people have made them work; they work great and some have some rather useful features.

But they sometimes crap out, or have noticable latency.  This drives me nuts, as does not having any tactile feedback from a touchscreen.

Running a program for the first time in single-block, with one hand on the FRO and the other hand punching the cycle-start to walk through the code all while watching the DTG to avoid a turret-spindle kissy-kissy is not something I'm interested in doing with a touchscreen.

Everyone's situation is different, of course.
Displaying 1 - 15 out of 197 results.
Time to create page: 0.689 seconds
Powered by Kunena Forum