Parallel port controller issues, can not find address
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
18 Dec 2021 23:34 - 19 Dec 2021 00:55 #229453
by Jake
Parallel port controller issues, can not find address was created by Jake
I have setup a newer machine with LCNC to attempt to get past the locking up issue. I am using my same Lava parallel port card in the newer machine. Last install I used lspci -v to get the address of the parallel port card. This time I get
03:02.0 parallel controller: Lava computer mfg inc lava parallel (prog-if 01 [BiDir])
Flags: slow devsel, IRQ 19
I/O ports at <unassigned>
I copied my setup from the old machine to this one I was thinking somehow the 03:02.0 could translate to the address, I know I must have missed something in the setup of the PC. Especially since all the I/O ports are unassigned. I have not found anything useful in the searches so far that could lead to a solution.
Thanks!
03:02.0 parallel controller: Lava computer mfg inc lava parallel (prog-if 01 [BiDir])
Flags: slow devsel, IRQ 19
I/O ports at <unassigned>
I copied my setup from the old machine to this one I was thinking somehow the 03:02.0 could translate to the address, I know I must have missed something in the setup of the PC. Especially since all the I/O ports are unassigned. I have not found anything useful in the searches so far that could lead to a solution.
Thanks!
Last edit: 19 Dec 2021 00:55 by Jake.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
19 Dec 2021 01:03 #229460
by tommylight
Replied by tommylight on topic Parallel port controller issues, can not find address
sudo lspci -v
cat /proc/ioports | grep parport
cat /proc/ioports | grep parport
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
19 Dec 2021 01:57 #229461
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
Thanks Tommy,
I get the same output as above with
sudo lspci -v
What does the command below do? When I send that one, I just get a new line and nothing else. I'm in root@hurco:/home/hurco#
Thanks!
cat /proc/ioports | grep parport
I get the same output as above with
sudo lspci -v
What does the command below do? When I send that one, I just get a new line and nothing else. I'm in root@hurco:/home/hurco#
Thanks!
cat /proc/ioports | grep parport
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
19 Dec 2021 08:41 #229472
by tommylight
Replied by tommylight on topic Parallel port controller issues, can not find address
Is there another free slot on the board? Try another slot.
I/O ports unassigned is strange, so is IRQ 19, i would expect IRQ 11 or lower.
Enter the BIOS and find anything related to parallel port, see if you can enable DMA.
I/O ports unassigned is strange, so is IRQ 19, i would expect IRQ 11 or lower.
Enter the BIOS and find anything related to parallel port, see if you can enable DMA.
The following user(s) said Thank You: Jake
Please Log in or Create an account to join the conversation.
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
19 Dec 2021 14:16 #229486
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
Last night after a half day of not being able to make any progress on the network issue I dumped wheezy and installed buster. That fixed my network issue, that is the only PCIe slot I have. There is a PCI slot, I just need to get an adapter. I'll order one this morning. I'm going to head out to the shop in a bit and see what I can come up with now that Buster / 2.8 are installed
Please Log in or Create an account to join the conversation.
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
19 Dec 2021 18:39 - 19 Dec 2021 18:58 #229503
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
Here is what I am getting now with Buster and 2.8
03:02.0 Parallel controller: Lava Computer mfg Inc Lava Parallel (prog-if 01 [BiDir])
Flags: slow devsel, IRQ 19
I/O ports at 0000
Kernel modules: parport_pc
I have tried 0x378 and that does not get the job done. I am going to find the parallel port tester now that I have internet to the machine. See if I can run down the address that way
There is a PICe slot, which I ordered a card from the list on Pico's site. Just when will it get here.....
The other two slots are different PCI slots, they have the rejection pin on the other side for internal cards like the video card ( which I am not using)
03:02.0 Parallel controller: Lava Computer mfg Inc Lava Parallel (prog-if 01 [BiDir])
Flags: slow devsel, IRQ 19
I/O ports at 0000
Kernel modules: parport_pc
I have tried 0x378 and that does not get the job done. I am going to find the parallel port tester now that I have internet to the machine. See if I can run down the address that way
There is a PICe slot, which I ordered a card from the list on Pico's site. Just when will it get here.....
The other two slots are different PCI slots, they have the rejection pin on the other side for internal cards like the video card ( which I am not using)
Last edit: 19 Dec 2021 18:58 by Jake. Reason: id10t
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
19 Dec 2021 22:25 #229516
by tommylight
Replied by tommylight on topic Parallel port controller issues, can not find address
Try
0x0000
although that looks suspicious !
0x0000
although that looks suspicious !
The following user(s) said Thank You: Jake
Please Log in or Create an account to join the conversation.
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
19 Dec 2021 22:49 #229520
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
I tried that one with no luck.
I did find this, but it looks like it is specific to Redhat as one of the files it is talking about making the configuration changes in does not exist or I can not see it.
Linux holds the resource assignments of the parallel ports in the system. These resource assignments are in
‘/etc/conf.modules’file
as well as resource assignments of other cards such as network cards.The following is an example of the parallel port assignments in that file.alias parport_lowlevel parport_pcoptions parport_pc io=0x378 irq=7io=0x378 is the I/O assignment of the first (onboard) parallel port, and irq=7 is the IRQ assignments of the first parallel port. Initially, the Lava resource assignments will not be in this file. It is necessary to manually edit this file to add the resource assignments obtained from step (A) above.The following is an example the dual parallel PCI’s resource assignments added to this file. alias parport_lowlevel parport_pcoptions parport_pc io=0x378,0x6400,0x6500 irq=7,auto,auto
soooo I will keep hunting this evening. It appears that it may be some setup conflict. This Lava single parallel port card has been functioning for 6-7 years now with this machine. It was also working with LCNC 2.7x I just never made it to 2.8x with the old PC in there.
Thanks again for the help!!!
I did find this, but it looks like it is specific to Redhat as one of the files it is talking about making the configuration changes in does not exist or I can not see it.
Linux holds the resource assignments of the parallel ports in the system. These resource assignments are in
‘/etc/conf.modules’file
as well as resource assignments of other cards such as network cards.The following is an example of the parallel port assignments in that file.alias parport_lowlevel parport_pcoptions parport_pc io=0x378 irq=7io=0x378 is the I/O assignment of the first (onboard) parallel port, and irq=7 is the IRQ assignments of the first parallel port. Initially, the Lava resource assignments will not be in this file. It is necessary to manually edit this file to add the resource assignments obtained from step (A) above.The following is an example the dual parallel PCI’s resource assignments added to this file. alias parport_lowlevel parport_pcoptions parport_pc io=0x378,0x6400,0x6500 irq=7,auto,auto
soooo I will keep hunting this evening. It appears that it may be some setup conflict. This Lava single parallel port card has been functioning for 6-7 years now with this machine. It was also working with LCNC 2.7x I just never made it to 2.8x with the old PC in there.
Thanks again for the help!!!
Please Log in or Create an account to join the conversation.
- Jake
- Offline
- Elite Member
Less
More
- Posts: 315
- Thank you received: 10
21 Dec 2021 22:44 #229674
by Jake
Replied by Jake on topic Parallel port controller issues, can not find address
New parallel port card is in. Just have not figured out what the address is
lspci -v
04:00.0 Parallel controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
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 10
Region 0: I/O ports at e010
Region 1: I/O ports at e000
Region 2: Memory at f7c01000 (32-bit, non-prefetchable) [size=4K]
Region 5: Memory at f7c00000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Still digging to figure out what it can be. Also the capabilities is kinda odd.
lspci -v
04:00.0 Parallel controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
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 10
Region 0: I/O ports at e010
Region 1: I/O ports at e000
Region 2: Memory at f7c01000 (32-bit, non-prefetchable) [size=4K]
Region 5: Memory at f7c00000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Still digging to figure out what it can be. Also the capabilities is kinda odd.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
Less
More
- Posts: 19480
- Thank you received: 6532
22 Dec 2021 00:50 #229683
by tommylight
0xe010
Replied by tommylight on topic Parallel port controller issues, can not find address
Those are the port addresses, start with the first oneRegion 0: I/O ports at e010
Region 1: I/O ports at e000
0xe010
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds