ATC arduino and Linux 2.8
26 Nov 2021 14:38 - 26 Nov 2021 14:41 #227654
by Sekai
ATC arduino and Linux 2.8 was created by Sekai
Hi I'm trying to install the atc part with arduino on linuxcnc 2.8 from github.com/mardini1974/ATCduino
The problem is when i start from command line "linuxcnc *.ini", it find the arduino comunicate with the pc and it says:
The problem is when i start from command line "linuxcnc *.ini", it find the arduino comunicate with the pc and it says:
Found ATC (Auto tool changer) and connecting on port /tty/USB0................................................................................................. ................................................................................................................................... .................................................................................................................................
and i waited for 15 min and the same ................
When i issue commands from the arduino serial terminal, the arduino receive the comands and responses back as well.(when i start the linuxcnc, arduino ide is closed)
Could the serial python plugin be the problem?
cnc@cnc:~/linuxcnc/configs/frezz$ dmesg |grep -i "usb"
[ 1.771471] usbcore: registered new interface driver usbfs
[ 1.771531] usbcore: registered new interface driver hub
[ 1.777798] usbcore: registered new device driver usb
[ 1.778889] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.791718] ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
[ 1.800059] ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00
[ 1.800150] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.800159] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.800168] usb usb1: Product: EHCI Host Controller
[ 1.800174] usb usb1: Manufacturer: Linux 3.4-9-rtai-686-pae ehci_hcd
[ 1.800181] usb usb1: SerialNumber: 0000:00:10.4
[ 1.800510] hub 1-0:1.0: USB hub found
[ 1.810895] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.811085] uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
[ 1.811228] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.811236] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.811244] usb usb2: Product: UHCI Host Controller
[ 1.811250] usb usb2: Manufacturer: Linux 3.4-9-rtai-686-pae uhci_hcd
[ 1.811255] usb usb2: SerialNumber: 0000:00:10.0
[ 1.811563] hub 2-0:1.0: USB hub found
[ 1.811807] uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
[ 1.811924] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.811931] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.811939] usb usb3: Product: UHCI Host Controller
[ 1.811945] usb usb3: Manufacturer: Linux 3.4-9-rtai-686-pae uhci_hcd
[ 1.811951] usb usb3: SerialNumber: 0000:00:10.1
[ 1.812258] hub 3-0:1.0: USB hub found
[ 1.812483] uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
[ 1.812600] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.812609] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.812616] usb usb4: Product: UHCI Host Controller
[ 1.812622] usb usb4: Manufacturer: Linux 3.4-9-rtai-686-pae uhci_hcd
[ 1.812628] usb usb4: SerialNumber: 0000:00:10.2
[ 1.812863] hub 4-0:1.0: USB hub found
[ 1.813100] uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
[ 1.813194] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.813201] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.813207] usb usb5: Product: UHCI Host Controller
[ 1.813213] usb usb5: Manufacturer: Linux 3.4-9-rtai-686-pae uhci_hcd
[ 1.813219] usb usb5: SerialNumber: 0000:00:10.3
[ 1.813448] hub 5-0:1.0: USB hub found
[ 2.576028] usb 3-1: new full-speed USB device number 2 using uhci_hcd
[ 2.739925] usb 3-1: New USB device found, idVendor=1a86, idProduct=7523
[ 2.739934] usb 3-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 2.739943] usb 3-1: Product: USB2.0-Serial
[ 2.980026] usb 3-2: new low-speed USB device number 3 using uhci_hcd
[ 3.157924] usb 3-2: New USB device found, idVendor=04f2, idProduct=0833
[ 3.157933] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.157940] usb 3-2: Product: USB Keyboard
[ 3.157946] usb 3-2: Manufacturer: CHICONY
[ 3.182463] input: CHICONY USB Keyboard as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.0/input/input0
[ 3.182592] generic-usb 0003:04F2:0833.0001: input,hidraw0: USB HID v1.11 Keyboard [CHICONY USB Keyboard] on usb-0000:00:10.1-2/input0
[ 3.219089] input: CHICONY USB Keyboard as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.1/input/input1
[ 3.219314] generic-usb 0003:04F2:0833.0002: input,hiddev0,hidraw1: USB HID v1.11 Device [CHICONY USB Keyboard] on usb-0000:00:10.1-2/input1
[ 3.219637] usbcore: registered new interface driver usbhid
[ 3.219644] usbhid: USB HID core driver
[ 3.400031] usb 4-1: new full-speed USB device number 2 using uhci_hcd
[ 4.492592] usb 4-1: New USB device found, idVendor=16e3, idProduct=f9e9
[ 4.492601] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.492610] usb 4-1: Product: USB Touch Panel
[ 4.492616] usb 4-1: Manufacturer: ITM Inc
[ 4.816038] usb 4-2: new low-speed USB device number 3 using uhci_hcd
[ 4.984599] usb 4-2: New USB device found, idVendor=1bcf, idProduct=0005
[ 4.984608] usb 4-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 4.984616] usb 4-2: Product: USB Optical Mouse
[ 5.006096] input: USB Optical Mouse as /devices/pci0000:00/0000:00:10.2/usb4/4-2/4-2:1.0/input/input2
[ 5.006257] generic-usb 0003:1BCF:0005.0003: input,hidraw2: USB HID v1.10 Mouse [USB Optical Mouse] on usb-0000:00:10.2-2/input0
[ 10.654740] input: ITM Inc USB Touch Panel as /devices/pci0000:00/0000:00:10.2/usb4/4-1/4-1:1.0/input/input6
[ 10.654963] usbcore: registered new interface driver usbtouchscreen
[ 10.657851] usbcore: registered new interface driver usbserial
[ 10.657892] usbcore: registered new interface driver usbserial_generic
[ 10.657922] USB Serial support registered for generic
[ 10.657956] usbserial: USB Serial Driver core
[ 10.659345] usbcore: registered new interface driver ch341
[ 10.659380] USB Serial support registered for ch341-uart
[ 10.672182] usb 3-1: ch341-uart converter now attached to ttyUSB0
[ 973.320179] usb 3-1: USB disconnect, device number 2
[ 973.320544] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 973.560084] usb 3-1: new full-speed USB device number 4 using uhci_hcd
[ 973.723131] usb 3-1: New USB device found, idVendor=1a86, idProduct=7523
[ 973.723143] usb 3-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[ 973.723154] usb 3-1: Product: USB2.0-Serial
[ 973.738623] usb 3-1: ch341-uart converter now attached to ttyUSB0
Bus 003 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 003 Device 003: ID 04f2:0833 Chicony Electronics Co., Ltd
Bus 004 Device 002: ID 16e3:f9e9
Bus 004 Device 003: ID 1bcf:0005 Sunplus Innovation Technology Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 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 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I am using debian wheezy.
Upgraded from linuxcnc 2.7 to 2.8
Last edit: 26 Nov 2021 14:41 by Sekai.
Please Log in or Create an account to join the conversation.
30 Nov 2021 14:00 #228011
by andypugh
Replied by andypugh on topic ATC arduino and Linux 2.8
I see that you are getting some help on the ATCduino github. I suspect that is more likely to be fruitful than asking here.
Have you considered using the LinuxCNC "carousel" component instead?
Have you considered using the LinuxCNC "carousel" component instead?
Please Log in or Create an account to join the conversation.
Time to create page: 0.121 seconds