PCIe - No parport registered at "0x " . This is not Always an error.Continuing.

More
24 Mar 2025 01:37 #324712 by ContinenteCNC

Picture, capabilities access denied, that is usually due to not using sudo, so
sudo lspci -v
see if it shows the driver and kernel module.
Always use sudo when dealing with kernel level stuff, for reading only.


Thank you for the tip! 

This is the message showing up:

 

I have two cards, the top one it the PCIe Sunix 2212, the botton one is the PCI Moschip MCS9805CV (sudo lspci -v)



This is the output from sudo lspci -vv for both cards as well (maybe it helps)

01:00.0 Parallel controller: SUNIX Co., Ltd. Multiport serial controller (prog-if 03 [IEEE1284])
    Subsystem: SUNIX Co., Ltd. Multiport serial 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-
    Latency: 0, Cache Line Size: 64 bytes
    Interrupt: pin A routed to IRQ 11
    Region 0: I/O ports at dcc0
    Region 1: I/O ports at dcb0
    Region 2: I/O ports at dcb8
    Region 3: I/O ports at dce0
    Capabilities: [60] Power Management version 3
        Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+
        Address: 0000000000000000  Data: 0000
        Masking: 00000000  Pending: 00000000
    Capabilities: [80] Express (v2) Legacy Endpoint, MSI 00
        DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s <2us, L1 <32us
            ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal+ Fatal+ Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
        LnkCap:    Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 unlimited
            ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
        LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
        LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
             Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
             Compliance De-emphasis: -6dB
        LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
             EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
    Capabilities: [100 v1] Advanced Error Reporting
        UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UESvrt:    DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
        CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
        CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
        AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-

04:00.0 Communication controller: MosChip Semiconductor Technology Ltd. PCI 1 port parallel adapter (rev 01)
    Subsystem: LSI Logic / Symbios Logic PCI 1 port parallel adapter
    Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Interrupt: pin A routed to IRQ 16
    Region 0: I/O ports at ccc8
    Region 1: I/O ports at ccd0
    Region 2: I/O ports at ccd8
    Region 3: I/O ports at cce0
    Region 4: I/O ports at cce8
    Region 5: I/O ports at ccf0
    Kernel driver in use: parport_pc
    Kernel modules: parport_pc
Attachments:

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

More
24 Mar 2025 01:44 #324715 by ContinenteCNC
As you can see, no driver and no module.

I have ordered a couple of Sunix PCI (not PCIe) as well. They are supposed to arrive next week. As soon as I have them in hand I will post results here forum.linuxcnc.org/18-computer/54368-pci...-work-out-of-the-box

At leas two different Sunix chipsets. Maybe tree. All of them PCI.
The following user(s) said Thank You: tommylight

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
24 Mar 2025 01:54 #324716 by tommylight
Yup, missing module and driver AND using IRQ11 in your case, so there goes my "above 15 IRQ issue" out the window! :)
FLAGS!!! they are not the same (everything else is), yours has Bus Master and Latency shown, my friends PC is missing those.
Now that is something to chase...
Thank you.

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

More
24 Mar 2025 12:04 #324743 by unknown
Running
sudo lspci -vnn

Give both the name of the card name & PCI ID

Here's one that might you lead you astray
6:0d.0 Serial controller [0700]: WCH.CN CH352 PCI Serial and Parallel Port Controller [4348:5053] (rev 10) (prog-if 02 [16550])
	Subsystem: WCH.CN CH352 PCI Serial and Parallel Port Controller [4348:5053]
	Flags: medium devsel, IRQ 22, IOMMU group 19
	I/O ports at 3008 [size=8]
	I/O ports at 3000 [size=8]
	Kernel driver in use: parport_serial
	Kernel modules: parport_serial

Looking through /proc/ioports shows the serial port @3008 and the parallel port @3000

dmesg shows
0000:06:0d.0: ttyS4 at I/O 0x3008 (irq = 22, base_baud = 115200) is a 16550A
parport0: PC-style at 0x3000, irq 22 [PCSPP,TRISTATE]

Then there's info under /proc/sys/dev/parport/parport0 (in the case of the first parallel port) the hal_parport gets it's info from and depending on what is found there, gives the message that started this all.

Just saying there seems to be a couple of ways to skin the cats.

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

More
24 Mar 2025 12:56 #324751 by unknown
sudo lspci -vnn
as said I before gives the name (generic) & PCI ID eg like
[4348:5053]
which is the important bit and what the kernel uses to load a driver.

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

More
24 Mar 2025 13:00 #324753 by unknown
The editor is a pain the ass, when editing it's best to click the source button, sometimes you'll need to put the 'end tags' in the right place, especially if you have any
, all the [/code] get lumped at the end, not following the preceding [code]

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

More
24 Mar 2025 13:02 #324755 by unknown
It told you 3 times the correct usage, just
USAGE: lsmod
there's no options available at all.
The following user(s) said Thank You: langdons

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

More
24 Mar 2025 13:04 - 24 Mar 2025 13:08 #324757 by unknown
use grep with dmesg, we don't need the whole output, or if you're going to give the full output attach it as text file, then it can be searched in an editor.
dmesg | grep "parp"
or
demsg > dmesg.txt
or
dmesg | grep "parp" > demsg.txt

And attach the text files.
Last edit: 24 Mar 2025 13:08 by unknown.

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

More
24 Mar 2025 13:17 - 24 Mar 2025 13:23 #324763 by unknown
I'm impressed mate :)

Yeah I know you're giving your time, much appreciated, but text files are so much easier to search through. especially for something as long winded as dmesg. Anyway it's so much easier than cutting & pasting.....and millions of times better than a photo of a screen.

Cheers
Rob

Regarding Ubuntu, off topic a little, but did you hear that a lot of the core utilities they are rewriting as Rust and dropping the old stable C coded ones (I think a lot of origins from Unix days). I reckon Linux might be in for a few rough years.
Last edit: 24 Mar 2025 13:23 by unknown.

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

More
24 Mar 2025 13:25 #324766 by unknown
No mate, genuinely impressed, I think I may have misjudged you and would like to extend my apologies.

All The Best
Rob

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

Time to create page: 0.154 seconds
Powered by Kunena Forum