Linux parallel port @1911 not found
- mpvriens
- Offline
- Premium Member
-
Less
More
- Posts: 101
- Thank you received: 0
02 Feb 2019 15:44 #125544
by mpvriens
Linux parallel port @1911 not found was created by mpvriens
challange to find my driver board
Used a pice PEX1P board with a mach3 interface board
with lspi -vv i find:
02:00.0 Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02 [ECP])
Subsystem: Oxford Semiconductor Ltd Device c110
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 18
Region 0: I/O ports at e010
Region 1: I/O ports at e000
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=55mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Have put : loadrt hal_parport cfg="0x378" into my hal file , but don't get a respond from an in ore output
Used a pice PEX1P board with a mach3 interface board
with lspi -vv i find:
02:00.0 Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02 [ECP])
Subsystem: Oxford Semiconductor Ltd Device c110
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 18
Region 0: I/O ports at e010
Region 1: I/O ports at e000
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=55mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Have put : loadrt hal_parport cfg="0x378" into my hal file , but don't get a respond from an in ore output
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18533
- Thank you received: 5080
02 Feb 2019 16:11 #125548
by PCW
Replied by PCW on topic Linux parallel port @1911 not found
You would need to have
loadrt hal_parport cfg="0xe000" or
or
loadrt hal_parport cfg="0xe010"
instead of
loadrt hal_parport cfg="0x378"
in your hal file
loadrt hal_parport cfg="0xe000" or
or
loadrt hal_parport cfg="0xe010"
instead of
loadrt hal_parport cfg="0x378"
in your hal file
Please Log in or Create an account to join the conversation.
- hoffeys
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
26 Oct 2020 05:19 #187274
by hoffeys
Replied by hoffeys on topic Linux parallel port @1911 not found
Thank you! I'll be back up there in the afternoon to give that a shot
Can you explain why I would use those addresses and not 0x378?

Please Log in or Create an account to join the conversation.
- BeagleBrainz
-
- Visitor
-
26 Oct 2020 05:58 #187276
by BeagleBrainz
Replied by BeagleBrainz on topic Linux parallel port @1911 not found
Because they are the addresses being reported by lspci. Address 0x378 doesn't exist for that card.
Please Log in or Create an account to join the conversation.
- jmelson
- Offline
- Moderator
-
Less
More
- Posts: 817
- Thank you received: 157
26 Oct 2020 15:58 #187320
by jmelson
The address space starts at 0x1000, I think, but almost all systems seem to map PCI devices above 0xa000.
Jon
Replied by jmelson on topic Linux parallel port @1911 not found
0x378 is the traditional on-motherboard parallel port address. PCI cards are enumerated by an algorithm that has an available address space and maps all the PCI devices before making decisions on what address to put them at.Can you explain why I would use those addresses and not 0x378?
The address space starts at 0x1000, I think, but almost all systems seem to map PCI devices above 0xa000.
Jon
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4988
- Thank you received: 1455
26 Oct 2020 16:02 - 26 Oct 2020 16:04 #187322
by Todd Zuercher
The 0x378 address is the address normally used for a motherboard's built in parallel port. It would never be used for the address of an add in PCI card. (Even if the motherboard does not have a built in parallel port.)
(edit: Jon beat me to it.)
Replied by Todd Zuercher on topic Linux parallel port @1911 not found
Thank you! I'll be back up there in the afternoon to give that a shot
Can you explain why I would use those addresses and not 0x378?
The 0x378 address is the address normally used for a motherboard's built in parallel port. It would never be used for the address of an add in PCI card. (Even if the motherboard does not have a built in parallel port.)
(edit: Jon beat me to it.)
Last edit: 26 Oct 2020 16:04 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.063 seconds