Install parallel port

More
5 years 7 months ago #201455 by guido-52
Replied by guido-52 on topic Install parallel port
Hi PCW,
I don't understand, How do I provide the current address?
Isn't that with
"loadrt hal_parport cfg =" 0xef00 out "in my hal file?

According to "lspci -v" the card has two addresses
ef00 / ee00
"loadrt hal_parport cfg =" 0xef00 out "in my hal file
Returns the error;
Linux parallel port @61184 not found

"loadrt hal_parport cfg =" 0xee00 out "in my hal file
Returns the error;
Linux parallel port @60928 not found

Where the numbers are of course the decimal form of the hex address

What am I doing wrong?

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

More
5 years 7 months ago #201461 by PCW
Replied by PCW on topic Install parallel port
Is the error fatal?

I think it just means LinuxCNC did not find a
parallel port driver (which should not be necessary
unless the hardware is so non-standard that it requires
a custom driver to enable normal operation)

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

More
5 years 7 months ago #201473 by andypugh
Replied by andypugh on topic Install parallel port
I just tried loading hal_parport on a machine that definitely has a parallel port and one that definitely doesn't.
The error message appears on both. Both also create all the HAL pins.

It seems that the only way to tell if it has found the parallel port is to test the port.

This isn't as odd as it seems. The LinuxCNC driver just sends and reads data to a port address, it has no way to tell if anything is listening.

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

More
5 years 7 months ago #201528 by guido-52
Replied by guido-52 on topic Install parallel port
When I try to launch the cnc it just won't start up instead I get an error screen.

I had a working system, but linuxcnc indicated that the computer were too slow.
That is why I moved the hdd to a faster computer, without a parallel port and plugged one into a free pci port.
I have two parallel cards, both give the same error.

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

More
5 years 7 months ago #201547 by tommylight
Replied by tommylight on topic Install parallel port
Attach the hal file, there is something wrong there, > error bad position 0 < is something that i see for the first time.

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

More
5 years 7 months ago - 5 years 7 months ago #201548 by PCW
Replied by PCW on topic Install parallel port
The parallel port is not the reason for LinuxCNC exiting

HAL: ERROR: bad position: 0 or
trivkins: already exists

are the issue

Can you post your hal and ini files?
Last edit: 5 years 7 months ago by PCW.

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

Moderators: PCW, jmelson
Time to create page: 0.228 seconds
Powered by Kunena Forum