Black screen after trying to install PCI-E Parallel card
- denhen89
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 298
- Thank you received: 26
19 Sep 2017 20:19 #99137
by denhen89
Replied by denhen89 on topic Black screen after trying to install PCI-E Parallel card
Oh my god. I would like to avoid telling you why it hasnt shown any information when using this command: cat /proc/ioports | grep parport , but i should

Before the reinstall i tryed if i get into linux without the Parallel card, so i took it out.
Then if forgot to put it back.....
I already laugh about my self.
The good news: cat /proc/ioports | grep parport:
c800-c802 : parport0
So, do i understand that everything is okay ?
I hope so much


Before the reinstall i tryed if i get into linux without the Parallel card, so i took it out.
Then if forgot to put it back.....
I already laugh about my self.
The good news: cat /proc/ioports | grep parport:
c800-c802 : parport0
So, do i understand that everything is okay ?
I hope so much

Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4972
- Thank you received: 1447
19 Sep 2017 20:49 #99139
by Todd Zuercher
Replied by Todd Zuercher on topic Black screen after trying to install PCI-E Parallel card
If "cat /proc/ioports | grep parport" did not output anything, then Linux is not picking up your Parallel port card.
Try re-seating the card in it's slot a few times. Then try the "lspci -v" and look for anything that might be the card, and post what is there.
Try re-seating the card in it's slot a few times. Then try the "lspci -v" and look for anything that might be the card, and post what is there.
Please Log in or Create an account to join the conversation.
- denhen89
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 298
- Thank you received: 26
19 Sep 2017 20:57 - 19 Sep 2017 21:01 #99140
by denhen89
Replied by denhen89 on topic Black screen after trying to install PCI-E Parallel card
Thanks Todd for the info. I think you havent read my last post. Just read and laugh
.
Im out with my dog now, but then i will check what happend when i do stepconf with connected drivers etc. Let see if i get the error i got last time when i did it without the parallel card.

Im out with my dog now, but then i will check what happend when i do stepconf with connected drivers etc. Let see if i get the error i got last time when i did it without the parallel card.
Last edit: 19 Sep 2017 21:01 by denhen89.
Please Log in or Create an account to join the conversation.
- denhen89
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 298
- Thank you received: 26
19 Sep 2017 21:31 #99143
by denhen89
Replied by denhen89 on topic Black screen after trying to install PCI-E Parallel card
Did the Stepnconf test and LinuxCNC opens without errors.
So, i think everything works. Will continue to test and inform you.
So, i think everything works. Will continue to test and inform you.
Please Log in or Create an account to join the conversation.
- denhen89
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 298
- Thank you received: 26
20 Sep 2017 00:40 #99145
by denhen89
Replied by denhen89 on topic Black screen after trying to install PCI-E Parallel card
So,
i tryed to get one axis (X) to work and Jog it, but nothing happens. Everything is correctly wired up and the AM882 driver does also show no Red (error) light.
I opened the terminal and typed in : sudo lspci -v:
Result (this are only the outputs which had "netmos":
why the I/O ports are disabled ? Is that the problem here?
Thanks in advance
i tryed to get one axis (X) to work and Jog it, but nothing happens. Everything is correctly wired up and the AM882 driver does also show no Red (error) light.
I opened the terminal and typed in : sudo lspci -v:
Result (this are only the outputs which had "netmos":
02:00.0 Serial controller: NetMos Technology PCIe 9912 Multi-I/O Controller (prog-if 02 [16550])
Subsystem: Device a000:1000
Flags: fast devsel, IRQ 17
I/O ports at cc00 [disabled] [size=8]
[virtual] Memory at fceff000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fcefe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [800] Advanced Error Reporting
Kernel driver in use: serial
02:00.1 Serial controller: NetMos Technology PCIe 9912 Multi-I/O Controller (prog-if 02 [16550])
Subsystem: Device a000:1000
Flags: fast devsel, IRQ 18
I/O ports at c880 [disabled] [size=8]
[virtual] Memory at fcefd000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fcefc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: serial
02:00.2 Parallel controller: NetMos Technology PCIe 9912 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
Flags: fast devsel, IRQ 19
I/O ports at c800 [disabled] [size=8]
I/O ports at c480 [disabled] [size=8]
[virtual] Memory at fcefb000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fcefa000 (32-bit, non-prefetchable) [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] Advanced Error Reporting
Kernel driver in use: parport_serial
why the I/O ports are disabled ? Is that the problem here?
Thanks in advance
Please Log in or Create an account to join the conversation.
- denhen89
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 298
- Thank you received: 26
20 Sep 2017 11:30 #99156
by denhen89
Replied by denhen89 on topic Black screen after trying to install PCI-E Parallel card
Hello,
tryed to figure out how to enable the i/o port which are disabled, but with no success. Checked also if Plug n Play OS is activated, but its off. Unfortunately i can do no Pci/Pci-e settings in the bios.
Here are some more outputs:
lsmod | grep parport:
parport_serial 16674 0
parport_pc 21896 2 parport_serial
parport 35208 3 lp,ppdev,parport_pc
** the last line looked like this: parport 35208 3 parport_pc , before i did this:
sudo modprobe lp
sudo modprobe ppdev
sudo modprobe parport_pc
Next command:
cat /proc/ioports | grep parport
c800-c802 : parport0
dmesg | grep parallel
[ 9.788093] ppdev: user-space parallel port driver
I really tried a lot to get it to work and it seems that netmos/moschip 9901 are working chips, so i dont know what i should do right now. I hope the outputs helps to help me
.
Let me know if i can give you more outputs.
tryed to figure out how to enable the i/o port which are disabled, but with no success. Checked also if Plug n Play OS is activated, but its off. Unfortunately i can do no Pci/Pci-e settings in the bios.
Here are some more outputs:
lsmod | grep parport:
parport_serial 16674 0
parport_pc 21896 2 parport_serial
parport 35208 3 lp,ppdev,parport_pc
** the last line looked like this: parport 35208 3 parport_pc , before i did this:
sudo modprobe lp
sudo modprobe ppdev
sudo modprobe parport_pc
Next command:
cat /proc/ioports | grep parport
c800-c802 : parport0
dmesg | grep parallel
[ 9.788093] ppdev: user-space parallel port driver
I really tried a lot to get it to work and it seems that netmos/moschip 9901 are working chips, so i dont know what i should do right now. I hope the outputs helps to help me

Let me know if i can give you more outputs.
Please Log in or Create an account to join the conversation.
- denhen89
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 298
- Thank you received: 26
20 Sep 2017 12:24 #99158
by denhen89
Replied by denhen89 on topic Black screen after trying to install PCI-E Parallel card
Small success (but still no jogging possible:
[disabled] is not anymore showing at the I/O ports at ....
What i have done (output only from the serial / parpor lines)t:
lscpi -n -v
Then:
setpci -d 9710:9912 command=101
Then tryed with sudo:
sudo setpci -d 9710:9912 command=101
got no output, but then i used:
lspci -n -v
So, the ports are not anymore disabled.
Then i used this command:
dmesg|grep parport
?? Strange... Before setpci i had no PARPORT: ERROR
lsmod | grep parport
I tryed to use 0, 2 and 3 as parport base address, but jogging the X axis did not work. I have only connected the X-axis, not other components. (BOB to LPT (12v supply connected to the BOB and all 3 lights are lightning, when taken off the Parallel cable of the BOB, then the 2 lights from the Relais are not lightning), 80V supply to AM882 Driver, Stepper motor (8 wire, parallel connection= to AM882 driver. Driver shows no Red light, so everything is wired up correctly.
It seems that still something with the parallel card is not right (PARPORT ERROR output from dmesg|grep parport)
I hope this helps.
Sorry, for bombing this thread all the time, but at least you see that i try to fix it by my self...
[disabled] is not anymore showing at the I/O ports at ....
What i have done (output only from the serial / parpor lines)t:
lscpi -n -v
02:00.0 0700: 9710:9912 (prog-if 02 [16550])
Subsystem: a000:1000
Flags: fast devsel, IRQ 11
I/O ports at cc00 [disabled] [size=8]
[virtual] Memory at fceff000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fcefe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial
02:00.1 0700: 9710:9912 (prog-if 02 [16550])
Subsystem: a000:1000
Flags: fast devsel, IRQ 10
I/O ports at c880 [disabled] [size=8]
[virtual] Memory at fcefd000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fcefc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial
02:00.2 0701: 9710:9912 (prog-if 03 [IEEE1284])
Subsystem: a000:2000
Flags: fast devsel, IRQ 7
I/O ports at c800 [disabled] [size=8]
I/O ports at c480 [disabled] [size=8]
[virtual] Memory at fcefb000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fcefa000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: parport_serial
Then:
setpci -d 9710:9912 command=101
pcilib: Cannot open /sys/bus/pci/devices/0000:02:00.2/config
pcilib: Cannot open /sys/bus/pci/devices/0000:02:00.1/config
pcilib: Cannot open /sys/bus/pci/devices/0000:02:00.0/config
Then tryed with sudo:
sudo setpci -d 9710:9912 command=101
got no output, but then i used:
lspci -n -v
02:00.0 0700: 9710:9912 (prog-if 02 [16550])
Subsystem: a000:1000
Flags: fast devsel, IRQ 11
I/O ports at cc00 [size=8]
[virtual] Memory at fceff000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fcefe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial
02:00.1 0700: 9710:9912 (prog-if 02 [16550])
Subsystem: a000:1000
Flags: fast devsel, IRQ 10
I/O ports at c880 [size=8]
[virtual] Memory at fcefd000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fcefc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: serial
02:00.2 0701: 9710:9912 (prog-if 03 [IEEE1284])
Subsystem: a000:2000
Flags: fast devsel, IRQ 7
I/O ports at c800 [size=8]
I/O ports at c480 [size=8]
[virtual] Memory at fcefb000 (32-bit, non-prefetchable) [size=4K]
[virtual] Memory at fcefa000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: parport_serial
So, the ports are not anymore disabled.
Then i used this command:
dmesg|grep parport
[ 7.564612] parport0: PC-style at 0xc800 (0xc480), irq 7 [PCSPP,TRISTATE]
[ 9.785575] lp0: using parport0 (interrupt-driven).
[ 4288.728383] PARPORT: ERROR: linux parport 0 not found
[ 4362.708808] PARPORT: ERROR: linux parport 0 not found
[ 4437.413421] PARPORT: ERROR: linux parport 2 not found
[ 4453.049556] PARPORT: ERROR: linux parport 3 not found
[ 4487.770612] PARPORT: ERROR: linux parport 3 not found
?? Strange... Before setpci i had no PARPORT: ERROR
lsmod | grep parport
parport_serial 16674 0
parport_pc 21896 2 parport_serial
parport 35208 3 lp,ppdev,parport_pc
I tryed to use 0, 2 and 3 as parport base address, but jogging the X axis did not work. I have only connected the X-axis, not other components. (BOB to LPT (12v supply connected to the BOB and all 3 lights are lightning, when taken off the Parallel cable of the BOB, then the 2 lights from the Relais are not lightning), 80V supply to AM882 Driver, Stepper motor (8 wire, parallel connection= to AM882 driver. Driver shows no Red light, so everything is wired up correctly.
It seems that still something with the parallel card is not right (PARPORT ERROR output from dmesg|grep parport)
I hope this helps.
Sorry, for bombing this thread all the time, but at least you see that i try to fix it by my self...
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23212
- Thank you received: 4892
26 Sep 2017 05:16 #99443
by andypugh
Replied by andypugh on topic Black screen after trying to install PCI-E Parallel card
It looks like lp might be "grabbing" the parport and not letting LinuxCNC have it.
forum.linuxcnc.org/39-pncconf/30720-7i43...parallel-port-errors
Might contain the required info.
As a first step you can try "rmmod lp" then try running LinuxCNC again.
forum.linuxcnc.org/39-pncconf/30720-7i43...parallel-port-errors
Might contain the required info.
As a first step you can try "rmmod lp" then try running LinuxCNC again.
Please Log in or Create an account to join the conversation.
Time to create page: 0.131 seconds