Raspbery pi5 pcie adapter to parport card

More
12 Aug 2025 23:00 #333301 by KaveMan
I've been gone from LinuxCNC for about 10 yrs. Thought I'd give a try again. And with that I have been working with pi5 GPIOs work fine but thought I might attempt a waveshare pcie adapter and that to the MosChip parallel port card which works in my old PC to run my plasma table.
Where I am at is, LinuxCNC recognizes the MosChip card but shows this error below. Any help would be appreciated.

Note the pcie adapter is from Amazoncnc@raspberrypi:~$ lspci -vv
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSELhttps://www.amazon.com/Waveshare-PCIe-x1-Board-Compatible/dp/B0DYCHPBL3/ref=sr_1_9?crid=33VGWMUG0BYP3&dib=eyJ2IjoiMSJ9.ypQynbq41MCoeL4QGbABJHPTLsXcsupt4y410Y7-ojV6fTZ0l1M0KgsBg1J-yDKzsnJKpEpvTI-4IPJQlz7VGpzcEdx4HVRXnVcwc6LUxmMsNXybT09m7bEUKP-XrAHi_aLbnWLF7A4PnWWFlLrgbw_c4POs6tvwYKhloFUVozBtrmY_6VMjehxaNp7EqRCznyaAfjPxqCbt5p75su5ewqCcAUu9DFlwG6k9lVeqdqE.BDsiMCAAEEQHMEl5wAkZVBy3hYMhbq_P1rJMjNTIVSc&dib_tag=se&sprefix=waveshare+pcie%2Caps%2C95

 =fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 39
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 80000000-800fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

0000:01:00.0 Parallel controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Asix Electronics Corporation (Wrong ID) MCS9900 Multi-I/O Controller
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 0
Region 2: Memory at 1b80000000 (32-bit, non-prefetchable) [disabled] [size=4K]
Region 5: Memory at 1b80001000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: <access denied>

0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 40
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 00000000-005fffff [size=6M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 40
Region 0: Memory at 1f00410000 (32-bit, non-prefetchable) [size=16K]
Region 1: Memory at 1f00000000 (32-bit, non-prefetchable) [virtual] [size=4M]
Region 2: Memory at 1f00400000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: rp1

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
13 Aug 2025 00:15 #333303 by tommylight
Replied by tommylight on topic Raspbery pi5 pcie adapter to parport card
Use sudo with lspci, a lot of info is not accessible without it
sudo lspci -v

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

More
13 Aug 2025 02:07 #333304 by KaveMan
Replied by KaveMan on topic Raspbery pi5 pcie adapter to parport card
Not sure if this helps?

cnc@raspberrypi:~$ sudo lspci -v
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 39
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 80000000-800fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: [48] Power Management version 3
Capabilities: [ac] Express Root Port (Slot-), MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [160] Virtual Channel
Capabilities: [180] Vendor Specific Information: ID=0000 Rev=0 Len=028 <?>
Capabilities: [240] L1 PM Substates
Capabilities: [300] Secondary PCI Express
Kernel driver in use: pcieport

0000:01:00.0 Parallel controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Asix Electronics Corporation (Wrong ID) MCS9900 Multi-I/O Controller
Flags: fast devsel
Memory at 1b80000000 (32-bit, non-prefetchable) [disabled] [size=4K]
Memory at 1b80001000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [800] Advanced Error Reporting

0001:00:00.0 PCI bridge: Broadcom Inc. and subsi

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

More
13 Aug 2025 02:08 #333305 by unknown
Replied by unknown on topic Raspbery pi5 pcie adapter to parport card
pipci.jeffgeerling.com/#other-cards

Has a list of cards that work.

BAR and arm64 have issues or no support.
For extra IO either mesa or the RIO project are best bet.

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

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
13 Aug 2025 03:01 #333306 by rodw
probably need to give permissions to the user for the par port

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

More
13 Aug 2025 03:32 #333309 by KaveMan
Replied by KaveMan on topic Raspbery pi5 pcie adapter to parport card
Thanks. but, I am unsure how and or what I would target for the permission? would you have an example?

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

Time to create page: 0.073 seconds
Powered by Kunena Forum