Can I use a WCH Parallel Port Card?

More
20 Jan 2021 20:23 #196014 by mf290997
Hi,

I'm trying to get LinuxCNC running for my CNC using this Parallel Port Card (www.amazon.de/gp/product/B00GT686IW/ref=...06_s00?ie=UTF8&psc=1). I read on this website (wiki.linuxcnc.org/cgi-bin/wiki.pl?WCH) that the card may not be working, but There was some kind of Kernel change so it might still work now, even though it shows up as a Serial Device? I don't really understand what that all means, could somebody clarify it for me?

Thanks alot,

Max

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

More
20 Jan 2021 20:26 #196015 by mf290997
Also, if its not possible, do you think this card would work? (www.amazon.de/DIGITUS-Interface-Schnitts...omputers&sr=1-5&th=1)

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

More
20 Jan 2021 20:47 #196020 by tommylight
These should work, although it is never certain what you really get.
Had over 20 of PCI ones with MosChip, all of them worked properly. Never had PCI-E though.

www.amazon.de/s?k=moschip+parallel&__mk_...C3%91&ref=nb_sb_noss

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

More
20 Jan 2021 20:56 #196022 by mf290997
Thanks for the quick reply. Do you know how I can be sure if the card is working? I'm not able to install any drivers from the attatched CD, but the device is showing up as Serial Controller (I guess that's bad?!).

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

More
20 Jan 2021 21:07 #196025 by tommylight
sudo lspci -v | grep par
in a terminal

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

More
21 Jan 2021 01:04 - 21 Jan 2021 01:14 #196044 by mf290997
This gives back:

Kernel driver in use: parport_pc
Kernel modules: parport_pc, parport_serial




Without the grep I get the following:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RX780/RX790 Host Bridge
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RX780/RX790 Host Bridge
Flags: bus master, 66MHz, medium devsel, latency 32, NUMA node 0
Memory at <ignored> (64-bit, non-prefetchable)
Capabilities: [c4] HyperTransport: Slave or Primary Interface
Capabilities: [40] HyperTransport: Retry Mode
Capabilities: [54] HyperTransport: UnitID Clumping
Capabilities: [9c] HyperTransport: #1a

00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RX780/RD790 PCI to PCI bridge (external gfx0 port A) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 18, NUMA node 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: fde00000-fdefffff
Prefetchable memory behind bridge: 00000000d0000000-00000000dfffffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-), MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [b0] Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RX780/RD790 PCI to PCI bridge (external gfx0 port A)
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [110] Virtual Channel
Kernel driver in use: pcieport

00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD790 PCI to PCI bridge (PCI express gpp port A) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fdd00000-fddfffff
Prefetchable memory behind bridge: 00000000fdc00000-00000000fdcfffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-), MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [b0] Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RD790 PCI to PCI bridge (PCI express gpp port A)
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [110] Virtual Channel
Kernel driver in use: pcieport

00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD790 PCI to PCI bridge (PCI express gpp port F) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 18, NUMA node 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fd900000-fd9fffff
Prefetchable memory behind bridge: 00000000fdf00000-00000000fdffffff
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-), MSI 00
Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [b0] Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RD790 PCI to PCI bridge (PCI express gpp port F)
Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [110] Virtual Channel
Kernel driver in use: pcieport

00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (prog-if 01 [AHCI 1.0])
Subsystem: Gigabyte Technology Co., Ltd GA-MA770-DS3rev2.0 Motherboard
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 22, NUMA node 0
I/O ports at ff00
I/O ports at fe00
I/O ports at fd00
I/O ports at fc00
I/O ports at fb00
Memory at fe02f000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [60] Power Management version 2
Capabilities: [70] SATA HBA v1.0
Kernel driver in use: ahci
Kernel modules: ahci

00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
Subsystem: Gigabyte Technology Co., Ltd SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16, NUMA node 0
Memory at fe02e000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci

00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
Subsystem: Gigabyte Technology Co., Ltd SB7x0 USB OHCI1 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16, NUMA node 0
Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci

00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
Subsystem: Gigabyte Technology Co., Ltd SB7x0/SB8x0/SB9x0 USB EHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 17, NUMA node 0
Memory at fe02c000 (32-bit, non-prefetchable)
Capabilities: [c0] Power Management version 2
Capabilities: [e4] Debug port: BAR=1 offset=00e0
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
Subsystem: Gigabyte Technology Co., Ltd SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18, NUMA node 0
Memory at fe02b000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci

00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller (prog-if 10 [OHCI])
Subsystem: Gigabyte Technology Co., Ltd SB7x0 USB OHCI1 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18, NUMA node 0
Memory at fe02a000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci

00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
Subsystem: Gigabyte Technology Co., Ltd SB7x0/SB8x0/SB9x0 USB EHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 19, NUMA node 0
Memory at fe029000 (32-bit, non-prefetchable)
Capabilities: [c0] Power Management version 2
Capabilities: [e4] Debug port: BAR=1 offset=00e0
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
Subsystem: Gigabyte Technology Co., Ltd GA-MA770-DS3rev2.0 Motherboard
Flags: 66MHz, medium devsel, NUMA node 0
Capabilities: [b0] HyperTransport: MSI Mapping Enable- Fixed+
Kernel modules: i2c_piix4, sp5100_tco

00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller (prog-if 8a [ISA Compatibility mode controller, supports both channels switched to PCI native mode, supports bus mastering])
Subsystem: Gigabyte Technology Co., Ltd SB7x0/SB8x0/SB9x0 IDE Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16, NUMA node 0
I/O ports at 01f0
I/O ports at 03f4
I/O ports at 0170
I/O ports at 0374
I/O ports at fa00
Capabilities: [70] MSI: Enable- Count=1/2 Maskable- 64bit-
Kernel driver in use: pata_atiixp
Kernel modules: pata_atiixp, ata_generic

00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
Subsystem: Gigabyte Technology Co., Ltd SBx00 Azalia (Intel HDA)
Flags: bus master, slow devsel, latency 32, IRQ 16, NUMA node 0
Memory at fe024000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
Flags: bus master, 66MHz, medium devsel, latency 0, NUMA node 0

00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge (prog-if 01 [Subtractive decode])
Flags: bus master, VGA palette snoop, 66MHz, medium devsel, latency 64, NUMA node 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=64
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: fdb00000-fdbfffff
Prefetchable memory behind bridge: fda00000-fdafffff

00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller (prog-if 10 [OHCI])
Subsystem: Gigabyte Technology Co., Ltd SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18, NUMA node 0
Memory at fe028000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
Flags: fast devsel, NUMA node 0
Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
Flags: fast devsel, NUMA node 0

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
Flags: fast devsel, NUMA node 0

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
Flags: fast devsel, NUMA node 0
Capabilities: [f0] Secure device <?>
Kernel driver in use: k10temp
Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
Flags: fast devsel, NUMA node 0

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barts XT [Radeon HD 6870] (prog-if 00 [VGA controller])
Subsystem: Hightech Information System Ltd. Barts XT [Radeon HD 6870]
Flags: bus master, fast devsel, latency 0, IRQ 25, NUMA node 0
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at fdec0000 (64-bit, non-prefetchable) [size=128K]
I/O ports at ee00
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: radeon
Kernel modules: radeon

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Barts HDMI Audio [Radeon HD 6790/6850/6870 / 7720 OEM]
Subsystem: Hightech Information System Ltd. Barts HDMI Audio [Radeon HD 6790/6850/6870 / 7720 OEM]
Flags: bus master, fast devsel, latency 0, IRQ 26, NUMA node 0
Memory at fdefc000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [150] Advanced Error Reporting
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

02:00.0 Serial controller: Device 1c00:3050 (rev 10) (prog-if 05 [16850])
Subsystem: Device 1c00:3050
Flags: fast devsel, IRQ 16, NUMA node 0
I/O ports at dc00
Memory at fdcf8000 (32-bit, prefetchable) [size=32K]
I/O ports at df00
[virtual] Expansion ROM at fdd00000 [disabled] [size=32K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: parport_pc
Kernel modules: parport_pc, parport_serial

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
Flags: bus master, fast devsel, latency 0, IRQ 18, NUMA node 0
I/O ports at ce00
Memory at fdfff000 (64-bit, prefetchable) [size=4K]
Memory at fdfe0000 (64-bit, prefetchable) [size=64K]
[virtual] Expansion ROM at fd900000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/2 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable+ Count=2 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 12-34-56-78-12-34-56-78
Kernel driver in use: r8169
Kernel modules: r8169

04:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
Subsystem: Gigabyte Technology Co., Ltd Motherboard
Flags: bus master, medium devsel, latency 32, IRQ 22, NUMA node 0
Memory at fdbff000 (32-bit, non-prefetchable) [size=2K]
Memory at fdbf8000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci





line 02.00 is the parallel port card. I don't know if that is whats its supposed to say....
Last edit: 21 Jan 2021 01:14 by mf290997.

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

More
21 Jan 2021 01:20 #196045 by tommylight


02:00.0 Serial controller: Device 1c00:3050 (rev 10) (prog-if 05 [16850])
Subsystem: Device 1c00:3050
Flags: fast devsel, IRQ 16, NUMA node 0
I/O ports at dc00
Memory at fdcf8000 (32-bit, prefetchable) [size=32K]
I/O ports at df00
[virtual] Expansion ROM at fdd00000 [disabled] [size=32K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: parport_pc
Kernel modules: parport_pc, parport_serial

Seems like it is found and working, so edit the hal file or in the stepconf wizard set the address to 0xdc00 and test, then if that does not work try the 0xdf00. Might need to reboot the pc after address change and test.

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

More
27 Jan 2021 23:03 #196845 by mf290997
Thanks for your help, I think it would have worked, but the card had very bad manufacturing tolerances and didn't really fit into the pcie slot. I bought a new card now and it works just fine.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.093 seconds
Powered by Kunena Forum