Parallel port Pci card. (Newbie help)

More
23 Jul 2023 02:33 #276050 by WilsonCreator
Sorry for re-hashing an old topic, But I've been struggling with this part for a while. Let me get started by saying i don't have a lot of Linux Experience or even cnc experience this is my first DIY machine... and i don't quite know what card i need to get. i made 2 amazon purchases of parallel port cards none of which have worked. i ran the Lspci -kk Command to find that neither were using a "parallel port" kernel driver.... so Idk what to do.
idealistically i would just want a card and i/o that i can buy that works enough for me to just get going and learn this software but im very open to learn a way to get these to work if i can. here are amazon links to the two cards I've purchased.

a.co/d/dFoGM4o

a.co/d/5LxIPJl

Also! I have done enough research to know that the best of the best "plug and play" stuff is the Mesa i/o cards but every single kit on the website say "out of stock" :(
 any links or names of cards to go after?
any idea on how to make these work?

Please Log in or Create an account to join the conversation.

More
23 Jul 2023 02:44 #276051 by cornholio
OK
You can try, this will give you the addresses you need.
If can help if you can convey the markings on the chip, the links aren't clear and what they show and what they send can be different.
sudo cat /proc/ioports

Or you can try:
sudo dmesg | grep parport

With lspci you may find that they are using the parport_serial driver.

Please Log in or Create an account to join the conversation.

More
23 Jul 2023 02:56 - 23 Jul 2023 03:00 #276052 by cornholio
Should get something similar
******@m72e-cnc:~$ sudo dmesg | grep parport
[sudo] password for ******:
[ 2.897792] parport_pc 00:08: reported by Plug and Play ACPI
[ 2.897863] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
[ 2.990647] lp0: using parport0 (interrupt-driven).
[ 3.499502] parport1: PC-style at 0xc100, irq 16 [PCSPP,TRISTATE]
[ 3.598822] lp1: using parport1 (interrupt-driven).
Note I've added comments explaining the entries
******@m72e-cnc:~$ sudo cat /proc/ioports
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 :This is a standard PP on the MB base address 0x0378
037b-037f : parport0
03c0-03df : vga+
03f8-03ff : serial
0400-0453 : pnp 00:01
0400-0403 : ACPI PM1a_EVT_BLK
0404-0405 : ACPI PM1a_CNT_BLK
0408-040b : ACPI PM_TMR
0420-042f : ACPI GPE0_BLK
0430-0433 : iTCO_wdt.1.auto
0430-0433 : iTCO_wdt
0450-0450 : ACPI PM2_CNT_BLK
0454-0457 : pnp 00:03
0458-047f : pnp 00:01
0460-047f : iTCO_wdt.1.auto
0460-047f : iTCO_wdt
04d0-04d1 : pnp 00:09
0500-057f : pnp 00:01
0680-069f : pnp 00:01
0a00-0a1f : pnp 00:04
0a20-0a2f : pnp 00:04
0a30-0a3f : pnp 00:04
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
1100-110f : pnp 00:01
164e-164f : pnp 00:01
b000-bfff : PCI Bus 0000:05
b000-b0ff : 0000:05:00.0
c000-cfff : PCI Bus 0000:04
c000-c0ff : 0000:04:00.0
c100-c103 : 0000:04:00.0
c100-c102 : parport1 :This is a PCIe card, base address 0xC100
d000-dfff : PCI Bus 0000:03
d000-d0ff : 0000:03:00.0
d0c0-d0c7 : serial :This is a 1st serial port on the PCIe card
d0c8-d0cf : serial :This is a 2nd serial port on the PCIe card
e000-efff : PCI Bus 0000:01
e000-e07f : 0000:01:00.0
f000-f01f : 0000:00:1f.3
f000-f01f : i801_smbus
f020-f03f : 0000:00:1f.2
f020-f03f : ahci
f040-f043 : 0000:00:1f.2
f040-f043 : ahci
f050-f057 : 0000:00:1f.2
f050-f057 : ahci
f060-f063 : 0000:00:1f.2
f060-f063 : ahci
f070-f077 : 0000:00:1f.2
f070-f077 : ahci
ffff-ffff : pnp 00:01
ffff-ffff : pnp 00:01

This is ouput of lspci cropped for the PP
04:00.0 Serial controller: Device 1c00:3250 (rev 10)
Subsystem: Device 1c00:3250
Kernel driver in use: parport_serial
Kernel modules: parport_serial
Last edit: 23 Jul 2023 03:00 by cornholio.

Please Log in or Create an account to join the conversation.

More
23 Jul 2023 03:03 #276053 by PCW

Sorry for re-hashing an old topic, But I've been struggling with this part for a while. Let me get started by saying i don't have a lot of Linux Experience or even cnc experience this is my first DIY machine... and i don't quite know what card i need to get. i made 2 amazon purchases of parallel port cards none of which have worked. i ran the Lspci -kk Command to find that neither were using a "parallel port" kernel driver.... so Idk what to do.
idealistically i would just want a card and i/o that i can buy that works enough for me to just get going and learn this software but im very open to learn a way to get these to work if i can. here are amazon links to the two cards I've purchased.

a.co/d/dFoGM4o

a.co/d/5LxIPJl

Also! I have done enough research to know that the best of the best "plug and play" stuff is the Mesa i/o cards but every single kit on the website say "out of stock" :(
 any links or names of cards to go after?
any idea on how to make these work?
 

 For most step/dir systems, a 7I96S is an available Mesa option.
The following user(s) said Thank You: WilsonCreator

Please Log in or Create an account to join the conversation.

More
23 Jul 2023 03:03 #276054 by cornholio
This shows the serial ports in dmesg
******@m72e-cnc:~$ sudo dmesg | grep tty
[    0.066315] printk: console [tty0] enabled
[    0.100117] printk: console [tty0] printing thread started
[    0.604202] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    3.599791] 0000:04:00.0: ttyS1 at I/O 0xc0c0 (irq = 16, base_baud = 115200) is a XR16850
[    3.601142] 0000:04:00.0: ttyS2 at I/O 0xc0c8 (irq = 16, base_baud = 115200) is a XR16850

ttyS0 is on the MB
ttyS1 & ttyS2 are on the PCIe Parallel\Serial Combo card
The following user(s) said Thank You: WilsonCreator

Please Log in or Create an account to join the conversation.

More
23 Jul 2023 03:30 #276055 by WilsonCreator
Okay, I'm currently not with the PC running it right now, but i have the response from running the command "sudo lspci -kk" saved on my laptop. I'm not sure if it helps you better understand but both are is listed one at 05:00.2 and the other at 01:00.2
From what i could gather thru research, is that i might have purchased cards with an incompatible chipsets that 'either wont be recognized by linux, or will be assigned the wrong kernel driver' As far as i can tell (and that aint much) after running all the info grabbing commands that know, the cards dont seem to have any "Parallel" kernel drivers attached at all.

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller
Kernel driver in use: ivb_uncore
Kernel modules: ie31200_edac
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer 6 Series/C200 Series Chipset Family MEI Controller
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer 6 Series/C200 Series Chipset Family USB Enhanced Host Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer 6 Series/C200 Series Chipset Family High Definition Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer 6 Series/C200 Series Chipset Family USB Enhanced Host Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation H67 Express Chipset Family LPC Controller (rev 05)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer H67 Express Chipset LPC Controller
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer 6 Series/C200 Series Chipset Family SMBus Controller
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 Serial controller: Asix Electronics Corporation Device 9105
Subsystem: Device a000:1000
01:00.2 Parallel controller: Asix Electronics Corporation Device 9100
Subsystem: Device a000:2000
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
Subsystem: Device 174c:2104
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Kernel driver in use: r8169
Kernel modules: r8169
05:00.0 Serial controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller
Subsystem: Device a000:1000
Kernel driver in use: serial
05:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller
Subsystem: Device a000:2000

Please Log in or Create an account to join the conversation.

More
23 Jul 2023 03:31 #276056 by WilsonCreator
Ill be sure to run the instructions you gave too when it becomes possible

Please Log in or Create an account to join the conversation.

More
23 Jul 2023 07:27 #276058 by cornholio
Here's One
01:00.2 Parallel controller: Asix Electronics Corporation Device 9100
Subsystem: Device a000:2000

Here's Two
05:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller
Subsystem: Device a000:2000

Both have the same Vendor & Device ID
The following user(s) said Thank You: WilsonCreator

Please Log in or Create an account to join the conversation.

More
24 Jul 2023 19:31 #276166 by WilsonCreator

 

 
 For most step/dir systems, a 7I96S is an available Mesa option.

Thank you for the recommendation ! i was a little confused on all the options the do have, I just officially got one of these cards to work :)
However In the near future im going to be building or converting a Mill so im definitely going to be going the Mesa Electronics route.

Please Log in or Create an account to join the conversation.

More
24 Jul 2023 20:05 #276171 by WilsonCreator
Cornholio post=276058 userid=35653

Here's One
01:00.2 Parallel controller: Asix Electronics Corporation Device 9100
Subsystem: Device a000:2000

Here's Two
05:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller
Subsystem: Device a000:2000

Both have the same Vendor & Device ID
 

Great news man! i got it to drive the motors.

Between following your commands and doing some more digging around in the topics here i found another post with nearly Identical problems to mine.
forum.linuxcnc.org/16-stepconf-wizard/48...t-work-with-stepconf

 I was able to apply the knowledge gained to get this to work So thanks man!
I really cant state how much I appreciate Not only your Help but your hilarious username.
I'm new(ish) to this CNC stuff and Really new to Linux as a whole, Im 25 (just getting started in life) and been a working as welder/fabricator for the last 3 years. Ive always known about Linux and always knew that it was the OS of choice of most experts/professionals. My Uncle's a Ubuntu/Redhat guy and I used to work in IT running Cat6 cable and Fiber lines for Commercial buildings. Linux always seemed really intimidating and WAY above my pay grade. That being said I'm incredibly excited to learn use this software and this community makes it seem far less daunting to do so.
Cant say thanks enough
The following user(s) said Thank You: cornholio

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum