Advanced Search

Search Results (Searched for: XHC)

20 Apr 2024 10:11

Lcnc on LMDE6 with rt 6.1.0.18/20 -- realtek problem --- solved by krn. 6.10.6

Category: Installing LinuxCNC

these installation is new and dmesg show all problem until first install .... I have some error ... some is well know some is new:
    1.888584] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.UBTC.RUCC], AE_NOT_FOUND (20220331/psargs-330)
[    1.888624] ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.HS01._PLD due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[    1.888673] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.UBTC.RUCC], AE_NOT_FOUND (20220331/psargs-330)
[    1.888701] ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.HS01._PLD due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[    1.888751] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.UBTC.RUCC], AE_NOT_FOUND (20220331/psargs-330)
[    1.888777] ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.HS02._PLD due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
[    1.888818] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.UBTC.RUCC], AE_NOT_FOUND (20220331/psargs-330)
[    1.890053] ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.HS02._PLD due to previous error (AE_NOT_FOUND) (20220331/psparse-529)


and these one is well know .... after the new one:
   3.619582] hid: raw HID events driver (C) Jiri Kosina
    3.629375] usbhid 1-6:1.3: couldn't find an input interrupt endpoint

[    6.247940] Bluetooth: hci0: RTL: fw version 0xdfb791cb
[    6.323928] Bluetooth: hci0: Failed to read codec capabilities (-22)
[    6.553941] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.553949] Bluetooth: BNEP filters: protocol multicast
[    6.553956] Bluetooth: BNEP socket layer initialized
[    6.558753] Bluetooth: MGMT ver 1.22
[    6.574770] NET: Registered PF_ALG protocol family
[    6.860591] r8169 0000:01:00.0: firmware: direct-loading firmware rtl_nic/rtl8168h-2.fw
[    6.870651] NET: Registered PF_QIPCRTR protocol family
[    6.885020] Generic FE-GE Realtek PHY r8169-0-100:00: attached PHY driver (mii_bus:phy_addr=r8169-0-100:00, irq=MAC)
[    7.085862] r8169 0000:01:00.0 enp1s0: Link is Down
[    7.117085] Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
[    7.309155] r8169 0000:03:00.0 enp3s0: Link is Down
[    9.054678] Bluetooth: RFCOMM TTY layer initialized
[    9.054696] Bluetooth: RFCOMM socket layer initialized
[    9.054707] Bluetooth: RFCOMM ver 1.11
[   10.423853] r8169 0000:01:00.0 enp1s0: Link is Up - 1Gbps/Full - flow control rx/tx
[   10.423873] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready

so seems we have some trouble with bluethoot .... we have r8169 driver that not helps us ... but seems not have other problem ... on ACPI Error we try to solve later .... for now erase dmesg for discover future differences better ...
so -> sudo dmesg -C

now dmesg is clean ..... becase problem of these post is realtek driver and suspicious is a general problem .... we try to run firefox youtube with some exiciting video music for some hours so we can check again dmesg.

For not we not install rt-preempt.
16 Apr 2024 16:13

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

Hello.
Sorry that I'm asking 2nd time, but...
How can I change the resolution, orientation (+touch) and make it sound?
I have a 10.1" IPS Touch display with resolution 1920x1200 @60 Hz + audio speakers.
But there is no sound, the resolution is only 1920x1080, no possibility to rotate the screen.
Is it possible to make it work?
On a Windows system the display works fine. (even tried on the Orange Pi PC with Armbian and it almost worked)

My config.txt file
arm_64bit=1
initramfs initrd.gz followkernel

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=1920
framebuffer_height=1200

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=87
hdmi_cvt=1920 1200 60 5 0 0 0

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

# camera
#start_x=1
#gpu_mem=128

# automatically load overlays for detected cameras
#camera_auto_detect=1

# automatically load overlays for detected DSI displays
#display_auto_detect=1

# uncomment to overclock: https://www.tomshardware.com/how-to/overclock-any-raspberry-pi
#arm_freq=
#gpu_freq=
#core_freq=
#over_voltage=
#force_turbo=1

# uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# additional overlays and parameters are documented /boot/overlays/README

# enable audio (loads snd_bcm2835)
dtparam=audio=on

# enable uart
enable_uart=0

# disable wifi and bluetooth
#dtoverlay=disable-wifi
#dtoverlay=disable-bt
#dtoverlay=pi3-disable-wifi
#dtoverlay=pi3-disable-bt

# remove test rainbow
disable_splash=1

# disables the warning overlays
#avoid_warnings=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[pi4]
# enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-kms-v3d
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
arm_boost=1

max_usb_current=1
15 Apr 2024 09:10
Fehler Rules was created by Edi_48

Fehler Rules

Category: General LinuxCNC Questions

Hallo, ich habe einen Linux-Recher mit Debian 12, Kernel 6.1.0.18-RT und64
Linuxcnc V2.9.0. Feb.2023
Ich habe folgenden Fehler:
Wenn ich einen eintrag /etc/udev/rules.d/99-xhc-hb04.rules 
ATTR{idProduct}=="eb70", ATTR{idVendor}=="10ce", MODE= "0666", OWNER="root", GROUP="plugdev"
mache und Linux neu starten und den Befehl lsusb eingegeben bekommen ich keinen Eintrag eb70 oder 10ce
Wen ich im Menü in den Synaptic Paket Manager wechseln möchte kann ich 2mal kliegen aber er öffnet sich nicht.
Egal SU oder sudo
wo liegt der Fehler?
mfg 
Hilton
14 Apr 2024 19:58
Replied by fixer on topic XHC-WHB04-4 Python component

XHC-WHB04-4 Python component

Category: HAL

Great, thanks.
Make a pull request...
14 Apr 2024 18:01

XHC-WHB04-4 Python component

Category: HAL

I've updated this to work with LinuxCNC 2.9+ and Python3. I also added the secondary function buttons that the original code was missing. I rather prefer this component over the built-in whb04b component *because* its written in python and I can easily modify it to do whatever I want. Thank you to the original author!

github.com/probotix/whb04

Enjoy!

 
08 Apr 2024 20:27

XHC WH04B-4 Driver issues and improvements

Category: HAL

any updates on this?

I have the 4 axis model and pendant starts in MPG mode and i have to press either con or step button to get it moving.

also step and cont. modes seem very similar in movement in my machine.

pendant responded differently on mach3

on step mode it stepped with every pulse but i was not able to make consequtive steps as i do in linuxcnc. there was some kind of delay.

on cont. mode motion was more smooth on mach3 as if it was averaging the values. now on linuxcnc its more sensitive to the rotation of the wheel and if i dont turn it at a constant speed, it makes a stuttering motion. it it very similar to step mode.

as i said above i couldn't see the difference between 2 modes.

also i never fully understood the LEAD mode. In mach3 %100 setting meant max feedrate set at the moment for example F3000 and LEAD mode meant max possible feedrate.
01 Apr 2024 17:00 - 01 Apr 2024 17:07

Homing mit shared switches funkt nicht. Debian 10 und LCNC 2.9.2

Category: Deutsch

Homing mit einem einzigen/kombinierten End-Referenzschalter
Liebe LCNC Fans, ich bin relativ neu in Linuxcnc.ich sitze schon seit Stunden an einem simplen Problem und probiere mich tot. Jetzt muss ich doch mal um Hilfe bitten.Ich habe Debian 10 mit LCNC 2.9.2 auf einem Lenovo MiniPC 2,9 GHz, 8GB Ram installiert. Meine Konfig stammt von einer Pncconf Version, die ich auch irgendwann zum Laufen gebracht habe. Es stehen mir noch einige Hindernisse bevor, da ich zwar seit 10 Jahren CNC Fräsen baue, aber bisher immer mit hardware orientierten Steuerungen wie Estlcam, Planetcnc zu tun hatte. Verdrahten, einschalten testen fertig. Da ich nicht groß programmieren kann fällt mir der Einstieg in LCNC ziemlich schwer. MIt Hilfe von Freunden und Talla Videos und anderen EN sprachigen Tutorials bin ich schon einigermaßen in iNI und HAL eingestiegen. AUch das WHLXHC Handrad habe ich mit viel Unterstützung zum Laufen bekommen.

Jetzt bin ich nach einer ZWangspause wieder dran, meine Konfiguration einzurichten. Heute mal das Homing Problem:Ich habe meine INI nach einem Talla83 Video zu Referenzfahrt orientiert, er beschreibt das auch mit nur einem Schalter. Es funktioniert aber bei mir nicht so. Auch die DE und EN Manuals habe ich durch zum Thema Homing, da wird das ja auch beschrieben. Ich habe schon diverse Varianten aus den Manuals durch probiert, (v.a. die zweite von oben, ohne Index) - es will einfach nicht wie ich will.

Ich möchte auf den Schalter zu fahren (bzw dran vorbei) dann soll die Achse 5mm wegfahren und langsamer wieder drauf zu. Vom Schaltpunkt aus soll die Achse dann 10mm weg fahren und dort soll dann der G53 Null/Home Punkt sein.Nach meinen EInstellungen fährt die Achse aber nur auf den Punkt (immerhin mit korrekter Fahrtrichtung) und stoppt bei Auslösen des Sensors. Da bleibt sie stehen, der Nullpunkt wird nicht gesetzt, keine Fahrt weg und wieder drauf. Wo ist der Fehler? Ich würde mich freuen ein paar Hinweise zu bekommen.Vielen Dank dafür schon mal!   Arno

Hier meine Einstellungen in der .INI  

File Attachment:

File Name: Homing_X-A..._INI.txt
File Size:1 KB
01 Apr 2024 16:32

XHC WHB04b-6 - Disconnects / freezes?

Category: Basic Configuration

Hello i have the same problem, before i have old model and never problem, from new it s a big problem.
Regards
31 Mar 2024 16:40

XHC WHB04b-6 - Disconnects / freezes?

Category: Basic Configuration

Sorry to bump an old thread, but this has been plaguing me pretty badly. I did look at everything I could find on this forum and the one workaround (booting computer and homing before turning on pendant) seemed to briefly offer a little hope til it didn't again.

I checked lsusb in terminal and it shows that the pendant's USB connection might be being briefly dropped, and when it comes in again nothing on the pendant works until the gui is restarted. There seems to be a correlation with the endings of programs or the stop button the pendant being pressed, but I haven't tested for that specifically.

Has anyone figured this out the last couple of years? 

Thanks,

Hal
29 Mar 2024 23:51 - 29 Mar 2024 23:52
Replied by BHar on topic xhc-mk4 controller

xhc-mk4 controller

Category: General LinuxCNC Questions

The Mk-4/4 are not controllers, they are multi axis step pulse generators with some basic IO Attached. They have no interpolation ability or trajectory planning and do not accept gcode so are far from an cnc controller. The firmware on the Mk boards are a cut down version of a more effective product that does have these abilities. A quick google of some of the function calls exposed via the usb version of this device suggests that it could be allot more capable than it is generally assumed to be and I expect a better programmer than I could make it work just fine with Linux cnc.
28 Mar 2024 11:35
Replied by rodw on topic Hardware Recommendation

Hardware Recommendation

Category: General LinuxCNC Questions

I get it! Its a big machine so you do need wireless. But you should not consider  USB.
I would look at this pendant which has a 433 Mhz receiver and designed for industrial use. Pair it with an external antenna at the receiver end.
www.wixhc.cn/product/433mhz-manual-pulse-generator
Unfortunately, you still end up with those 20 odd wires but they are contained in the control box.
These work really well with a Mesa card that has  a MPG input built in (eg 7i76e etc). For Ethercat, you would need an encoder input which are pretty costly. Note the Estop is  dual circuit so designed to work with a safety relay.
There is a fair bit of custom hal code to get these going.

Note Ethercat adds an additional layer of complexity to a linuxcnc build and it was hard work when I built my machine. But it is a lot eaiser today with efforts from myself, Scott Laird and others...
25 Mar 2024 23:31

gearchange with DC motor (3 gears) halcompile problems

Category: Milling Machines

Hi Wieser,

I managed to finish my machine and now I have almost 5 months working with it. In the end I used the S remap route for gear selection because this allowed me to switch gears without having to start the spindle, just like in the original control. You can find my configuration in the attached and if you have any questions let me know.

Some things you may find interesting in my configuration:
1. Automatic lubrication based on distance traveled (just in auto mode, no jog)
2. Automatic gear selection based on S remap
3. Spindle orient and spindle pid tunning based on selected gear
4. Automatic tool changer based on carousel component, M6 remap and subroutines
5. Classic ladder for auto feed (like in the original control)
6. Implementation of xhc-whb04b-6 pendant
7. Different acceleration and deceleration ramp (useful for rapid breaking in tapping, otherwise rigid tapping tend to overshoot the desired depth)
8. Use of potentiometers for feed and rapid override.
9. Use of macros in the macro bar of gmmocapy (some with pictures)

Sure there is a lot of room for improvement but it can be used as a reference.

Kind regards,
Alex
19 Mar 2024 17:41
Replied by TooTall18T on topic Handrad xhc-whb04b-6

Handrad xhc-whb04b-6

Category: Deutsch

Schön das es jetzt funktioniert.

Verstehe tue ich es allerdings nicht.
Der Eingang "whb.halui.machine.is-on" ist so vorgegeben, du hast jetzt einen Eingang beschrieben den es eigentlich nicht gibt. Dieser ist mit einem Netz verknüpft, welches Vermutlich nicht von einem Ausgang beschaltet wird. Also dürfte es meiner Meinung nach nicht funktionieren.

Aber ich kann mich auch irren.
19 Mar 2024 09:39 - 19 Mar 2024 09:50
Replied by ToTo-fm on topic Handrad xhc-whb04b-6

Handrad xhc-whb04b-6

Category: Deutsch

Hi,
hab den Fehler gefunden. Handrad hat keine Meldung bekommen ob Maschine an ist.

net machine.is-on halui.machine.is-on whb.halui.machine.is-on 
habe ich geändert in -->
net machine- is-on whb.halui.machine- is-on 

Jetzt funktioniert alles einwandfrei.

Gruss
ToTo

 
17 Mar 2024 16:21
Replied by ToTo-fm on topic Handrad xhc-whb04b-6

Handrad xhc-whb04b-6

Category: Deutsch

Hi,
deine Hilfestellung, Tipps und Versuche in alle Ehren. Vielen Dank nochmal.
Aber ich bekomme es nicht vollkommend zum laufen.
Ich werde mich jetzt erstmal mit den funktionierenden Teilen begnügen und bei Gelegenheit wieder mich dran versuchen.

Danke nochmal.

Gruss
ToTo
Displaying 61 - 75 out of 197 results.
Time to create page: 1.072 seconds
Powered by Kunena Forum