Advanced Search

Search Results (Searched for: )

  • scsmith1451
  • scsmith1451's Avatar
08 Jul 2025 15:46
Replied by scsmith1451 on topic HY_VFD RS-485 HAL config

HY_VFD RS-485 HAL config

Category: General LinuxCNC Questions

Using the correct command:

halcmd: loadusr -Wn vfd hy_vfd -d /dev/ttyUSB1 -b 8 -p none -s1 -r 9600 -n vfd

worked.

Just having someone to bounce ideas off helps immensely.
Thank you Hakan
  • scsmith1451
  • scsmith1451's Avatar
08 Jul 2025 15:38
Replied by scsmith1451 on topic HY_VFD RS-485 HAL config

HY_VFD RS-485 HAL config

Category: General LinuxCNC Questions

dmesg | grep ch341
[57931.173236] usbcore: registered new interface driver ch341
[57931.173797] usbserial: USB Serial support registered for ch341-uart
[57931.173820] ch341 7-1:1.0: ch341-uart converter detected
[57931.189484] usb 7-1: ch341-uart converter now attached to ttyUSB1

alcmd: loadrt -Wn vfd hy_vfd -d /dev/ttyUSB1 -b 8 -p none -s 1 -r 9600 -n vfd
Note: Using POSIX realtime
-Wn: dlopen: /usr/lib/linuxcnc/modules/-Wn.so: cannot open shared object file: No such file or directory
<stdin>:1: waitpid failed /usr/bin/rtapi_app -Wn
<stdin>:1: /usr/bin/rtapi_app exited without becoming ready
<stdin>:1: insmod for -Wn failed, returned -1
halcmd: quit
Note: Using POSIX realtime
  • scsmith1451
  • scsmith1451's Avatar
08 Jul 2025 15:27
Replied by scsmith1451 on topic HY_VFD RS-485 HAL config

HY_VFD RS-485 HAL config

Category: General LinuxCNC Questions

Nope:

lsmod | grep ch341:

ch341 28672 0
usbserial 65536 2 cp210x,ch341
usbcore 348160 9 usbserial,ehci_pci,usbhid,cp210x,mt76_usb,ehci_hcd,ch341,uhci_hcd,mt7921u

looks like both have been loaded properly.
  • Hakan
  • Hakan
08 Jul 2025 15:24
Replied by Hakan on topic HY_VFD RS-485 HAL config

HY_VFD RS-485 HAL config

Category: General LinuxCNC Questions

Those two are the most common devices. That should work.
Redo that "sudo dmesg" with the search for serial. Limit to the last say 10 line though,
that should give the port name. I just plugged in a random usb-serial device I had and got this
hakan@server:~$ sudo dmesg | tail -11
[85176.404168] usb 1-9: new full-speed USB device number 2 using xhci_hcd
[85176.655288] usb 1-9: New USB device found, idVendor=1a86, idProduct=7523, bcdDevice= 2.54
[85176.655300] usb 1-9: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[85176.655304] usb 1-9: Product: USB2.0-Ser!
[85176.697428] usbcore: registered new interface driver usbserial_generic
[85176.697438] usbserial: USB Serial support registered for generic
[85176.698519] usbcore: registered new interface driver ch341
[85176.698527] usbserial: USB Serial support registered for ch341-uart
[85176.698541] ch341 1-9:1.0: ch341-uart converter detected
[85176.710753] ch341-uart ttyUSB0: break control not supported, using simulated break
[85176.710890] usb 1-9: ch341-uart converter now attached to ttyUSB0
You should hopefully get something similar and there is the device name: /dev/ttyUSB0

 
  • scsmith1451
  • scsmith1451's Avatar
08 Jul 2025 15:23
Replied by scsmith1451 on topic HY_VFD RS-485 HAL config

HY_VFD RS-485 HAL config

Category: General LinuxCNC Questions

Both of these devices have drivers listed in:

/usr/lib/modules/6.1.0-23-rt-amd64/kernel/drivers/usb/serial/ch341.ko

and

/usr/lib/modules/6.1.0-23-rt-amd64/kernel/drivers/usb/serial/cp210x.ko

respectfully. Maybe they haven't been loaded? (insmod?)
  • Murphy
  • Murphy
08 Jul 2025 15:21

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Anyone else here using the RT1052 ec500 with CSS??
  • scsmith1451
  • scsmith1451's Avatar
08 Jul 2025 15:15
Replied by scsmith1451 on topic HY_VFD RS-485 HAL config

HY_VFD RS-485 HAL config

Category: General LinuxCNC Questions

lsusb:

Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 1a86:7523 QinHeng Electronics CH340 serial converter
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0e8d:7961 MediaTek Inc. Wireless_Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard SK-8115
Bus 005 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

dmesg | grep serial:

[57931.173797] usbserial: USB Serial support registered for ch341-uart
 
Displaying 14521 - 14527 out of 14527 results.
Time to create page: 0.432 seconds
Powered by Kunena Forum