PCI Parallel Controller questions

More
17 Jan 2014 07:15 #42896 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

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

More
17 Jan 2014 08:36 - 17 Jan 2014 08:37 #42899 by PCW
Probably 0xCF00
(but maybe 0xCE00)
Last edit: 17 Jan 2014 08:37 by PCW.

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

More
17 Jan 2014 11:38 #42901 by Astralnut
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

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

More
17 Jan 2014 13:15 #42904 by PCW
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)

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

More
17 Jan 2014 15:27 - 17 Jan 2014 17:30 #42906 by ArcEye

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.

More
18 Jan 2014 06:30 #42946 by Astralnut
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

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

Time to create page: 0.069 seconds
Powered by Kunena Forum