PCI Parallel Controller questions
17 Jan 2014 07:15 #42896
by Astralnut
PCI Parallel Controller questions was created by Astralnut
Hello;
I just installed my Linuc CNC and am not sure the port is configured correctly.
I blacklisted and commented out the lp module.
This is the output from lspci -v
Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02)
Subsystem: Oxford Semiconductor Ltd Device c110
Flags: bus master, fast devsel, latency 0, IRQ 3
I/O ports at cf00
I/O ports at ce00
Capabilities: <access denied>
Kernel modules: parport_pc
What is the address of my card and address to configure hal with?
Thank you;
Astralnut
I just installed my Linuc CNC and am not sure the port is configured correctly.
I blacklisted and commented out the lp module.
This is the output from lspci -v
Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02)
Subsystem: Oxford Semiconductor Ltd Device c110
Flags: bus master, fast devsel, latency 0, IRQ 3
I/O ports at cf00
I/O ports at ce00
Capabilities: <access denied>
Kernel modules: parport_pc
What is the address of my card and address to configure hal with?
Thank you;
Astralnut
Please Log in or Create an account to join the conversation.
17 Jan 2014 08:36 - 17 Jan 2014 08:37 #42899
by PCW
Replied by PCW on topic PCI Parallel Controller questions
Probably 0xCF00
(but maybe 0xCE00)
(but maybe 0xCE00)
Last edit: 17 Jan 2014 08:37 by PCW.
Please Log in or Create an account to join the conversation.
17 Jan 2014 11:38 #42901
by Astralnut
Replied by Astralnut on topic PCI Parallel Controller questions
Hello;
I tried the 0xCF00 and 0xCE00 as card addresses but it did not work.
Here is the lspci output again. I left out some of it last time by mistake.
05:00.0 Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02)
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-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 3
Region 0: I/O ports at cf00
Region 1: I/O ports at ce00
Capabilities: <access denied>
Kernel modules: parport_pc
Thank you again,
Astralnut
I tried the 0xCF00 and 0xCE00 as card addresses but it did not work.
Here is the lspci output again. I left out some of it last time by mistake.
05:00.0 Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02)
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-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 3
Region 0: I/O ports at cf00
Region 1: I/O ports at ce00
Capabilities: <access denied>
Kernel modules: parport_pc
Thank you again,
Astralnut
Please Log in or Create an account to join the conversation.
17 Jan 2014 13:15 #42904
by PCW
Replied by PCW on topic PCI Parallel Controller questions
Well its has to be one (likely the first)
How have you determined that the port does not work?
is the port listed in the kernel log? (dmesg)
How have you determined that the port does not work?
is the port listed in the kernel log? (dmesg)
Please Log in or Create an account to join the conversation.
17 Jan 2014 15:27 - 17 Jan 2014 17:30 #42906
by ArcEye
The port has been claimed by parport_pc, which will prevent the linuxcnc driver accessing it.
If you are running 10.04 based system, open /etc/modules.d/linuxcnc.conf and uncomment install parport_pc /bin/true
Then reboot and try again
regards
Replied by ArcEye on topic PCI Parallel Controller questions
Hello;
I tried the 0xCF00 and 0xCE00 as card addresses but it did not work.
Here is the lspci output again. I left out some of it last time by mistake.
05:00.0 Parallel controller: Oxford Semiconductor Ltd Device c110 (prog-if 02)
Subsystem: Oxford Semiconductor Ltd Device c110
............................
Region 0: I/O ports at cf00
Region 1: I/O ports at ce00
Capabilities: <access denied>
Kernel modules: parport_pc
The port has been claimed by parport_pc, which will prevent the linuxcnc driver accessing it.
If you are running 10.04 based system, open /etc/modules.d/linuxcnc.conf and uncomment install parport_pc /bin/true
Then reboot and try again
regards
Last edit: 17 Jan 2014 17:30 by ArcEye.
Please Log in or Create an account to join the conversation.
18 Jan 2014 06:30 #42946
by Astralnut
Replied by Astralnut on topic PCI Parallel Controller questions
Hello;
It looks like the port is working now after commenting out all the modules. I can see the port in Hal configuration.
I noticed lspci still says it is claimed by parport_pc even though no modules are listed and everything commented out.
After I tried no modules then I let the linux emc one get loaded.
I can hear the motors clicking but they are not powering up so something is wrong still with the cnc stepper control center or the signals going to it.
Thank you for the help.
Astralnut
It looks like the port is working now after commenting out all the modules. I can see the port in Hal configuration.
I noticed lspci still says it is claimed by parport_pc even though no modules are listed and everything commented out.
After I tried no modules then I let the linux emc one get loaded.
I can hear the motors clicking but they are not powering up so something is wrong still with the cnc stepper control center or the signals going to it.
Thank you for the help.
Astralnut
Please Log in or Create an account to join the conversation.
Time to create page: 0.069 seconds