- Configuring LinuxCNC
- Advanced Configuration
- drivers for waveshare RS 485 usb serial converter for huangyang vfd
drivers for waveshare RS 485 usb serial converter for huangyang vfd
This is the converter: www.waveshare.com/wiki/USB_TO_RS485
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19196
- Thank you received: 6434
lsusb
before and after inserting the waveshare, post results here.
Please Log in or Create an account to join the conversation.
check dmesg after plugging it in. /dev/ttyUSB0 or /dev/ttyACM0 should appear - that's the device to use
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19196
- Thank you received: 6434
That raises a lot of questions, mostly not related, but:
Do not install any of those, none.
-brltty is for keyboards with braille for visually challenged people
-cgminer and pcgminer are miners, as in crypto miners for several algos
-no idea what the rest is, but i am sure you do not need those, for now
Your adapter is FTDI for programing STM and stuff, no idea if it works as RS485
Please Log in or Create an account to join the conversation.
The Linuxcnc ISO should not install it as I (hopefully) supressed their installation
Ref: github.com/LinuxCNC/linuxcnc-live-build/...sts/desktop.list#L18
In a therminal window, Try typing
sudo apt remove britty speech-dispatcher
Please Log in or Create an account to join the conversation.
[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
Please Log in or Create an account to join the conversation.
In the mean time:
The new adapter has a connector for ground, the old one did not. Can this be part of the problem?
Please Log in or Create an account to join the conversation.
In a terminal
lsusb
before and after inserting the waveshare, post results here.
Results:sven@svencnc:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 10ce:eb70 Silicon Labs
Bus 003 Device 003: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
Bus 003 Device 004: ID 0ac8:3420 Z-Star Microelectronics Corp. Venus USB2.0 Camera
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sven@svencnc:~$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 005: ID 10ce:eb70 Silicon Labs
Bus 003 Device 003: ID 046d:c408 Logitech, Inc. Marble Mouse (4-button)
Bus 003 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 003 Device 004: ID 0ac8:3420 Z-Star Microelectronics Corp. Venus USB2.0 Camera
Bus 003 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubSo this is the new device:
Bus 003 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) ICI found where the ttyusb0 and ttyusb1 for the inverter are called, changing these to the usb port in use did not make a difference.
EDIT: seems to need to be at ttyusb0 or linuxcnc will not start.
Please Log in or Create an account to join the conversation.
It seems that if linuxcnc cannot find the device, it closes with an error, calling out the missing device.
Does this mean that the device is defective or connected wrong?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
- Posts: 19196
- Thank you received: 6434
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- drivers for waveshare RS 485 usb serial converter for huangyang vfd