- Posts: 19
- Thank you received: 0
Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter
- brian.heath
- Topic Author
- Offline
- New Member
-
Less
More
4 years 2 months ago #249238
by brian.heath
Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter was created by brian.heath
I am using a new to me I5 computer with very few ports, I have a USB to DB25 adapter and a sain smart 5 axis breakout board driving my CNC. I was using an older version and a computer that had a printer port on it. Now trying to set up the new system. I can't even figure out how to see if the new port is active, tried lsusb and got error. Does not seem to be recognizing the controller at minimum, and maybe not even the port. The Sain Smart I have uses USB for power but also a DB25 for data. I did put the DB25 straight to the Sain Smart, with no cable in between at this time.
Not sure if it's settings, the USB port, or the DB25 wrong and won't work.
Thanks for any help available. BTW I downloaded and installed the 2.8.2 - buster if that helps
Not sure if it's settings, the USB port, or the DB25 wrong and won't work.
Thanks for any help available. BTW I downloaded and installed the 2.8.2 - buster if that helps
Please Log in to join the conversation.
4 years 2 months ago #249239
by pippin88
Replied by pippin88 on topic Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter
Which USB to DB25 adaptor?
As a general rule, linuxcnc does not work over USB. USB is not real time / has too many delays
As a general rule, linuxcnc does not work over USB. USB is not real time / has too many delays
Please Log in to join the conversation.
4 years 2 months ago #249240
by cmorley
Replied by cmorley on topic Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter
linuxcnc can't use a USB to parallel port adapter unfortunately.
Please Log in to join the conversation.
- brian.heath
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
4 years 2 months ago #249241
by brian.heath
Replied by brian.heath on topic Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter
ugreen off of amazon, I take it I need a pci card with a serial port on it to work
Please Log in to join the conversation.
- brian.heath
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
4 years 2 months ago #249243
by brian.heath
Replied by brian.heath on topic Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter
I did have but wasn't sure about a DB25 mother board cable out of an HP computer, I have a Lenovo that also has a motherboard plug, I plugged in that port cable, checked the bios to make sure it's not deactivated, and now get the 3 red lights on the mach3 breakout board, the 5v, a second one near the 5v looks like a comm/connection light and the 12/24v at edge of board where power supply attaches. Still no comm though. Tried with both just 0 in port address and 0x378.
Please Log in to join the conversation.
4 years 2 months ago #249245
by JohnnyCNC
Replied by JohnnyCNC on topic Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter
I would think you need a PCI express to parallel port card.
Please Log in to join the conversation.
- tommylight
-
- Online
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
4 years 2 months ago #249254
by tommylight
Replied by tommylight on topic Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter
In a terminal,
sudo lspci -v
What does it return? Look for parport.
If you can start LinuxCNC and it does not complain about missing port, check the header on the motherboard, it some cases it can be inserted in reverse.
sudo lspci -v
What does it return? Look for parport.
If you can start LinuxCNC and it does not complain about missing port, check the header on the motherboard, it some cases it can be inserted in reverse.
Please Log in to join the conversation.
4 years 2 months ago #249311
by andypugh
Replied by andypugh on topic Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter
lspci won't (typically) show an onboard parallel port header, so try also
Sample output:
So this PC has a motherboard parport normal 0x378
But, also:
So the same PC also has a PCI parport at e030 (and I think that the PCI Express to PCI bridge is the 5i25 card that is also in this machine)
Code:
sudo cat /proc/ioports
Sample output:
Code:
andypugh@rm-one:~$ sudo cat /proc/ioports
[sudo] password for andypugh:
0000-0cf7 : PCI Bus 0000:00
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0077 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : PNP0C04:00
00f0-00ff : fpu
0378-037a : parport0
But, also:
Code:
andypugh@rm-one:~$ lspci -v
...
02:00.0 PCI bridge: Texas Instruments XIO2001 PCI Express-to-PCI Bridge (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=02, secondary=03, subordinate=03, sec-latency=64
Memory behind bridge: f7d00000-f7dfffff
Capabilities: <access denied>
...
04:00.0 Parallel controller: Oxford Semiconductor Ltd OX9162 Mode 0 (parallel port) (prog-if 03 [IEEE1284])
Subsystem: Oxford Semiconductor Ltd OX9162 Mode 0 (parallel port)
Flags: medium devsel, IRQ 16
I/O ports at e030 [size=8]
I/O ports at e020 [size=4]
I/O ports at e000 [size=32]
Memory at f7c00000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: parport_pc
Kernel modules: parport_pc
So the same PC also has a PCI parport at e030 (and I think that the PCI Express to PCI bridge is the 5i25 card that is also in this machine)
Please Log in to join the conversation.
- brian.heath
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
4 years 2 months ago #249375
by brian.heath
Replied by brian.heath on topic Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter
I did try the command line you suggested and here's the results, do not see paraport anywhere butr do see serial port listed.
Attachment not found
Please Log in to join the conversation.
- brian.heath
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
4 years 2 months ago #249376
by brian.heath
Replied by brian.heath on topic Got a newer computer, downloaded Linuxcnc, have to use a USB to DB25 adapter
realized there was more at top 2 serial listings
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.213 seconds
