New motherboard w/o parallel port...

More
28 Aug 2009 03:58 #748 by shotgunn
Hey guys,

My computer crapped out on me a week or so ago. I bought a new motherboard, and now the computer is all good.

However, the motherboard did not have a parallel port. So I put a PCI parallel card in.

Now EMC2 does not control my steppers. I know that something needs to be done as far as the address of the PCI parallel port.

I am very new to linux so I have no clue how to overcome this. Can someone please give me specific instructions if you know what to do?

Thanx,

shotgunn

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

More
28 Aug 2009 07:34 #749 by alex_joni

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

More
28 Aug 2009 20:22 #751 by shotgunn
For some reason I am unable to install the PCI parallel port card. I am certain that it is my linux 'noob-itis'

Can someone please help me understand how to install the PCI card and assign the address.

I have a CD-ROM with Linux drivers, I tried running commands from the terminal, to no avail.

Please help, I need to use my CNC like two days ago.

In the mean time, I will just keep trying.

Thanx,

shotgunn

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

More
28 Aug 2009 23:59 #752 by PCW
Did you go through the steps in:

wiki.linuxcnc.org/cgi-bin/emcinfo.pl?NetMos

What was the result of lspci -v?
did your parallel port show up?

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

More
29 Aug 2009 01:15 #753 by shotgunn
My results are:

03:09.2 Parallel controller: NetMos Technology Unknown device 9865 (prog-if 03 [IEEE1284])
Subsystem: Unknown device a000:2000
Flags: bus master, medium devsel, latency 0, IRQ 15
I/O ports at dd00
I/O ports at dc00
Memory at fd8fb000 (32-bit, non-prefetchable) [size=4K]
Memory at fd8fa000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

I have been to the link you gave. That is where I learned the 'lspci -v'.

I see no other 'steps' to follow after where it tells me 'lspci -v'.

I think the dd00 needs to be e800 and the dc00 needs to say e480. That is what my cards instructions say. I just don't know how to change it.

Please help...

Thanx,

shotgunn

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

More
29 Aug 2009 01:33 #754 by PCW
The steps are there, basically you use the the 0xdd00 or 0xdc00 address:

loadrt hal_parport cfg="0xdd00" or

loadrt hal_parport cfg="0xdc00" (not sure which one will work)

The addresses in the manual are meaningless, the dd00 and dc00 are the base addresses
of the space allocated by your motherboards BIOS at startup and the one you mus use.
Note that they may change if you change your parallel port card to a different PCI slot

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

More
29 Aug 2009 01:49 #755 by shotgunn
how do I change it though?

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

More
29 Aug 2009 01:56 #756 by shotgunn
shouldn't it NOT say 'unknown device'

Why does it say that?

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

More
29 Aug 2009 02:01 #757 by shotgunn
when I try running that command it says


"bash: loadrt: command not found"

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

More
29 Aug 2009 02:48 #758 by PCW
>>how do I change it though?

You cannot change it.

>>shouldn't it NOT say 'unknown device' Why does it say that?

Because there is no driver loaded for that device For NetMos I think this is OK

>> when I try running that command it says bash: loadrt: command not found"

Thats because the loadrt command belongs in the HAL file, not the command line...

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

Time to create page: 0.113 seconds
Powered by Kunena Forum