Advanced Search

Search Results (Searched for: XHC)

14 May 2024 21:07

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

Therein lies my confusion. When I read the basic hal linuxcnc.org/docs/2.6/html/hal/basic_hal.html it says "The same signal-name can be used in multiple net commands to connect additional pins, as long as the rules above are obeyed." (then there's a diagram showing the flow)

My understanding (which may be incorrect?):
machine.is-on (signal)
halui.machine.is-on (signal reader)
whb.halui.machine.is-on (signal reader)


And the man page (their example) states:
"Since the signal xStep contains the value of stepgen.0.out (the source) you can use the same signal again to send the value to another reader. To do this just use the signal with the readers on another line."
So my first attempt was to do just that, but it did not work as I'd expected. Am I incorrect about the nature of these pins?
e.g.
net a b1 b2
does not appear to be the same as
net a b1
net a b2


As I say - maybe my understanding of these pins is flawed. New to the hal concept, and I'm thinking about it like logic circuit wiring.
14 May 2024 20:48

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

net = connect some pin to some other pin
machine.is-on = LinuxCNC machine on/off pin
halui.machine.is-on = hal UI meaning User interface machine on/off pin
whb.halui.machine.is-on = WHB "joystick" machine on/off pin
14 May 2024 18:47

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

Holy. Moly.
The issue plaguing me was NOT obvious AT ALL. It turns out the issue with spindle toggle (S-ON/OFF button) not toggling (only setting "on"), E-Stop (RESET button) not working, jog dial not working, yeah, they were actually all related and it speaks to something I wish someone could explain to me about HAL pin wiring.

The facts:
I used pncconf to generate my ini and hal files. In the main hal file, it wires up (among other things)
net machine-is-on halui.machine.is-on
However, in the sample XHC WHB04B file, there is a conflicting line:
net machine.is-on                        whb.halui.machine.is-on                halui.machine.is-on
OK, says I, no problem, according to the HAL man page, signals are additive, so I changed that line to 
net machine.is-on                        whb.halui.machine.is-on
thinking that the 2 pins would be connected through the 1 common signal. That's a big nope, and for the life of me I do not understand why. (maybe someday I'll have a lightbulb moment...)
The solution: 
The key was to NOT change the sample  XHC HAL, but to comment out the net line in the main config.

That was ridiculously difficult to sort out.

Why almost everything else worked on the pendant except for the dial still makes little sense to me. e.g. if the machine is in E-Stop, why should spindle on/off be allowed? Everywhere I've worked, the E-stop is a safety device, not a "some parts are safe" device.
14 May 2024 16:40 - 14 May 2024 16:55

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

The error below is just because I had the multiplier knob on "Lead"  Still the pendant wheel does not increment count even if it's on a valid setting.
So I just noticed when I ran xhc-whb04b-6 -ue I am getting an error I do not understand when I spin the jog dial. Maybe there is something here?

in 0x04 10 00 00 90 11 04 10 delta 144 => | 04 | 10 | | | ( ) | X( ) | 4 | 10
pndnt failed to interpret axis code feed axisCode={�}
pndnt wheel total counts {counts=0 activeCounter=0 isLeadActive=0}
14 May 2024 15:00

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

I'm having the same problem as well. Seems this is a common problem with no obvious solution. Step count stays = 0 in halshow. I started with the pendant config file from linuxcnc.org/docs/stable/html/man/man1/xhc-whb04b-6.1.html 
and modified it to fix the duplicated pin mappings (there were not too many)

I've tried the [HMOT](CARD0) change suggested. That doesn't work.
I've also tried all of the various other fixes from people posting on the forum to no avail.

I can see the jog dial send messages when I run xhc-whb04b-6 -ue so I'm certain the pendant is not a dud.
However when I run xhc-whb04b-6 -p I don't see any messages from the jog dial. Is this expected?  I'm beginning to think maybe there is a bug in this version of the driver.
Linux 2.9.2 using 7i96s Relevant hal files attached.

 
10 May 2024 21:28

Fatal Error After Computer Crash

Category: Installing LinuxCNC

We experienced a computer crash and now LinuxCNC is unable to load. Below is the error log and I've attached the ini and hal files.

Warning: Spoiler!
04 May 2024 13:59

Debian 12 Bookworm Linuxcnc 2.9.2....Latency problem

Category: Installing LinuxCNC

after sudo dpkg headers and image =

uname -v=
#3 SMP PREEMPT_RT Sun Apr 28 23:39:38 CEST 2024

cat /proc/cmdline=
BOOT_IMAGE=/boot/vmlinuz-6.9.0-rc5-rt1+ root=UUID=1c171f88-4f36-42ba-b84a-1dcf20ae1a6b ro initrd=/install/gtk/initrd.gz quiet

cat /proc/interrupts=
CPU0 CPU1 CPU2 CPU3
0: 20 0 0 0 IO-APIC 2-edge timer
8: 0 0 0 0 IO-APIC 8-edge rtc0
9: 0 4 0 0 IO-APIC 9-fasteoi acpi
16: 0 0 0 25 IO-APIC 16-fasteoi ehci_hcd:usb1
18: 0 0 5 0 IO-APIC 18-fasteoi i801_smbus
23: 0 31 0 0 IO-APIC 23-fasteoi ehci_hcd:usb3
24: 0 0 0 0 PCI-MSI-0000:00:1c.0 0-edge PCIe PME, pciehp
25: 0 0 0 0 PCI-MSI-0000:00:1c.2 0-edge PCIe PME
26: 0 0 0 0 PCI-MSI-0000:00:1c.3 0-edge PCIe PME
27: 71 0 0 0 PCI-MSIX-0000:02:00.0 0-edge enp2s0
28: 4315 0 0 0 PCI-MSI-0000:00:14.0 0-edge xhci_hcd
29: 0 0 13954 0 PCI-MSI-0000:00:1f.2 0-edge ahci[0000:00:1f.2]
30: 0 0 0 7021 PCI-MSI-0000:00:02.0 0-edge i915
31: 22 0 0 0 PCI-MSI-0000:00:16.0 0-edge mei_me
32: 0 2407 0 0 PCI-MSI-0000:03:00.0 0-edge iwlwifi
33: 0 0 322 0 PCI-MSI-0000:00:03.0 0-edge snd_hda_intel:card0
34: 0 0 0 466 PCI-MSI-0000:00:1b.0 0-edge snd_hda_intel:card1
NMI: 1 0 0 1 Non-maskable interrupts
LOC: 26236 24028 22816 26873 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 1 0 0 1 Performance monitoring interrupts
IWI: 1074 1085 1382 4708 IRQ work interrupts
RTR: 0 0 0 0 APIC ICR read retries
RES: 907 822 916 928 Rescheduling interrupts
CAL: 5927 4453 4487 5567 Function call interrupts
TLB: 1085 470 1086 980 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 1 2 2 2 Machine check polls
ERR: 1
MIS: 0
04 May 2024 13:22

Debian 12 Bookworm Linuxcnc 2.9.2....Latency problem

Category: Installing LinuxCNC

after i dist-upgrade :

uname -v=
#1 SMP PREEMPT_RT Debian 6.1.85-1 (2024-04-11)


cat /proc/cmdline=
BOOT_IMAGE=/boot/vmlinuz-6.1.0-20-rt-amd64 root=UUID=1c171f88-4f36-42ba-b84a-1dcf20ae1a6b ro initrd=/install/gtk/initrd.gz quiet

cat /proc/interrupts=
CPU0 CPU1 CPU2 CPU3
0: 8 0 0 0 IO-APIC 2-edge timer
8: 0 0 0 0 IO-APIC 8-edge rtc0
9: 0 4 0 0 IO-APIC 9-fasteoi acpi
16: 0 0 0 27 IO-APIC 16-fasteoi ehci_hcd:usb1
18: 0 0 3 0 IO-APIC 18-fasteoi i801_smbus
23: 0 0 31 0 IO-APIC 23-fasteoi ehci_hcd:usb3
24: 0 0 0 0 PCI-MSI 458752-edge PCIe PME, pciehp
25: 0 0 0 0 PCI-MSI 462848-edge PCIe PME
26: 0 0 0 0 PCI-MSI 464896-edge PCIe PME
27: 50 0 0 0 PCI-MSI 1048576-edge enp2s0
28: 13962 0 0 0 PCI-MSI 512000-edge ahci[0000:00:1f.2]
29: 0 2805 0 0 PCI-MSI 327680-edge xhci_hcd
30: 0 0 0 4484 PCI-MSI 32768-edge i915
31: 18 0 0 0 PCI-MSI 360448-edge mei_me
32: 0 4590 0 0 PCI-MSI 1572864-edge iwlwifi
33: 0 0 322 0 PCI-MSI 49152-edge snd_hda_intel:card0
34: 0 0 0 466 PCI-MSI 442368-edge snd_hda_intel:card1
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 10116 10066 9694 9853 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 Performance monitoring interrupts
IWI: 808 698 598 4301 IRQ work interrupts
RTR: 0 0 0 0 APIC ICR read retries
RES: 2950 3180 3717 3080 Rescheduling interrupts
CAL: 7556 8256 5742 6800 Function call interrupts
TLB: 1080 781 519 815 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 1 2 2 2 Machine check polls
ERR: 1
MIS: 0
PIN: 0 0 0 0 Posted-interrupt notification event
NPI: 0 0 0 0 Nested posted-interrupt event
PIW: 0 0 0 0 Posted-interrupt wakeup event
04 May 2024 13:05

Debian 12 Bookworm Linuxcnc 2.9.2....Latency problem

Category: Installing LinuxCNC

and on Debian 12 with 2.9.2

uname -v =
#1 SMP PREEMPT_RT Debian 6.1.76-1 (2024-02-01)

cat /proc/cmdline =
BOOT_IMAGE=/boot/vmlinuz-6.1.0-18-rt-amd64 root=UUID=1c171f88-4f36-42ba-b84a-1dcf20ae1a6b ro initrd=/install/gtk/initrd.gz quiet

cat /proc/interrupts=cat /proc/interrupts=
<pre> CPU0 CPU1 CPU2 CPU3
0: 8 0 0 0 IO-APIC 2-edge timer
8: 0 0 0 0 IO-APIC 8-edge rtc0
9: 0 4 0 0 IO-APIC 9-fasteoi acpi
16: 0 0 0 25 IO-APIC 16-fasteoi ehci_hcd:usb1
18: 0 0 3 0 IO-APIC 18-fasteoi i801_smbus
23: 0 0 29 0 IO-APIC 23-fasteoi ehci_hcd:usb3
24: 0 0 0 0 PCI-MSI 458752-edge PCIe PME, pciehp
25: 0 0 0 0 PCI-MSI 462848-edge PCIe PME
26: 0 0 0 0 PCI-MSI 464896-edge PCIe PME
27: 18398 0 0 0 PCI-MSI 512000-edge ahci[0000:00:1f.2]
28: 88 0 0 0 PCI-MSI 1048576-edge enp2s0
29: 0 7214 0 0 PCI-MSI 327680-edge xhci_hcd
30: 0 0 0 8202 PCI-MSI 32768-edge i915
31: 18 0 0 0 PCI-MSI 360448-edge mei_me
32: 0 567 0 0 PCI-MSI 49152-edge snd_hda_intel:card0
33: 0 0 641 0 PCI-MSI 442368-edge snd_hda_intel:card1
34: 0 0 0 8354 PCI-MSI 1572864-edge iwlwifi
NMI: 2 2 1 2 Non-maskable interrupts
LOC: 24270 24754 22704 23422 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 2 2 1 2 Performance monitoring interrupts
IWI: 389 338 276 675 IRQ work interrupts
RTR: 0 0 0 0 APIC ICR read retries
RES: 5753 5763 5661 6035 Rescheduling interrupts
CAL: 15997 18728 20080 14703 Function call interrupts
TLB: 9323 10584 11866 10543 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 1 2 2 2 Machine check polls
ERR: 1
MIS: 0
PIN: 0 0 0 0 Posted-interrupt notification event
NPI: 0 0 0 0 Nested posted-interrupt event
PIW: 0 0 0 0 Posted-interrupt wakeup event
</pre>


thats are both clean installed SSDs the Debian 10 with 2.9.2 works perfect
Debian 12 with 2.9.2 crash


thanks for any help... i will try install your kernel?
04 May 2024 12:45 - 04 May 2024 12:49

Debian 12 Bookworm Linuxcnc 2.9.2....Latency problem

Category: Installing LinuxCNC

Hi Thanks for your help! First Debian 10:

uname -v =

Linux debian 4.19.0-26-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.304-1 (2024-01-09) x86_64 GNU/Linux

cat /proc/cmdline =
BOOT_IMAGE=/boot/vmlinuz-4.19.0-26-rt-amd64 root=UUID=c4845308-4dd9-4166-a1ab-c1420c7a7374 ro initrd=/install/gtk/initrd.gz quiet

cat /proc/interrupts=cat /proc/interrupts=
CPU0 CPU1 CPU2 CPU3
0: 7 0 0 0 IO-APIC 2-edge timer
8: 0 1 0 0 IO-APIC 8-edge rtc0
9: 0 4 0 0 IO-APIC 9-fasteoi acpi
16: 0 0 0 25 IO-APIC 16-fasteoi ehci_hcd:usb1
18: 0 0 0 0 IO-APIC 18-fasteoi i801_smbus
23: 0 0 29 0 IO-APIC 23-fasteoi ehci_hcd:usb3
24: 0 0 0 0 PCI-MSI 458752-edge PCIe PME, pciehp
25: 0 0 0 0 PCI-MSI 462848-edge PCIe PME
26: 0 0 0 0 PCI-MSI 464896-edge PCIe PME
27: 64 0 0 0 PCI-MSI 1048576-edge enp2s0
28: 21186 0 0 0 PCI-MSI 512000-edge ahci[0000:00:1f.2]
29: 0 15746 0 0 PCI-MSI 327680-edge xhci_hcd
30: 0 0 0 19421 PCI-MSI 32768-edge i915
31: 14 0 0 0 PCI-MSI 360448-edge mei_me
32: 0 284 0 0 PCI-MSI 49152-edge snd_hda_intel:card0
33: 0 0 450 0 PCI-MSI 442368-edge snd_hda_intel:card1
34: 0 0 0 37625 PCI-MSI 1572864-edge iwlwifi
NMI: 4 4 4 4 Non-maskable interrupts
LOC: 52498 53988 52606 55808 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 4 4 4 4 Performance monitoring interrupts
IWI: 117 129 41 41 IRQ work interrupts
RTR: 1 0 0 0 APIC ICR read retries
RES: 17103 15345 12175 9979 Rescheduling interrupts
CAL: 20423 21178 18639 18313 Function call interrupts
TLB: 16008 16767 14838 14613 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 2 3 3 3 Machine check polls
ERR: 1
MIS: 0
PIN: 0 0 0 0 Posted-interrupt notification event
NPI: 0 0 0 0 Nested posted-interrupt event
PIW: 0 0 0 0 Posted-interrupt wakeup event
04 May 2024 12:39 - 04 May 2024 12:54

Touchscreen issues with debian12

Category: Computers and Hardware

I noticed for the Waveshare 22930 touchscreen , the following is listed in dmesg:

[ 3.194915] usb 1-1.4: new full-speed USB device number 5 using xhci_hcd
[ 3.309613] usb 1-1.4: New USB device found, idVendor=222a, idProduct=0001, bcdDevice= 0.02
[ 3.309646] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.309658] usb 1-1.4: Product: ILITEK-TP
[ 3.309668] usb 1-1.4: Manufacturer: ILITEK
[ 3.332490] input: ILITEK ILITEK-TP Touchscreen as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:222A:0001.0004/input/input3
[ 3.336105] input: ILITEK ILITEK-TP Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:222A:0001.0004/input/input5
[ 3.341179] hid-generic 0003:222A:0001.0004: input,hiddev97,hidraw3: USB HID v1.10 Mouse [ILITEK ILITEK-TP] on usb-0000:01:00.0-1.4/input0
...
[ 14.143042] input: ILITEK ILITEK-TP as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:222A:0001.0004/input/input8
[ 14.160772] input: ILITEK ILITEK-TP Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:222A:0001.0004/input/input10
[ 14.167235] hid-multitouch 0003:222A:0001.0004: input,hiddev97,hidraw3: USB HID v1.10 Mouse [ILITEK ILITEK-TP] on usb-0000:01:00.0-1.4/input0


So `input` is recognized for both touch and mouse, but only the mouse is registered as hid-generic at first. Touchscreen seems to be registered later. Maybe this is normal; unsure. Really surprised this is still an issue after all this time.
04 May 2024 11:32

WHB02 remote control to QtPlasmac

Category: Plasmac

Thanks for the answer, the WHB02 costs half as much as the WHB04 and it has enough functionality for plasma cutting.
The WHB02 is similar to the remote controls that come with laser cutting machines.
I thought that maybe the same component xhc-whb04b-6 could be suitable for this remote.
04 May 2024 09:14

WHB02 remote control to QtPlasmac

Category: Plasmac

Googling for Linuxcnc and XHC WHB02 seems to show Aliexpress vendors selling it for LinuxCNC use (but possibly only in Hebrew!, which I can't read) but then most vendors on Aliexpress have no idea what they are selling, so I wouldn't necessarily read too much onto that.

I don't see any mention of it on these forums.

It might be safer to go with the known-supported WHB04, if you don't feel like being the guinea pig.
29 Apr 2024 08:57
Replied by andypugh on topic Fehler Rules

Fehler Rules

Category: General LinuxCNC Questions

Well, that sounds like a Linux problem rather than a LinuxCNC problem.

Maybe this? www.forum.linuxcnc.org/38-general-linuxc...ing-up-as-usb#238667
28 Apr 2024 00:01

Mesa 7i76 error after xhc-whb04b-6 install

Category: Driver Boards

I would disable the xhc and see if the problem goes away.
Something else unrelated to jog controller may have
changed on the PC
Displaying 46 - 60 out of 168 results.
Time to create page: 0.728 seconds
Powered by Kunena Forum