Problem parralel Port is not reconized in stretch configuration

More
31 May 2019 18:42 #135497 by Philippe
Ok, so what is the solution ?

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

More
01 Jun 2019 00:05 - 01 Jun 2019 00:05 #135513 by andypugh
There might not actually be a problem.

Try this, and show us the results.
halrun
loadrt hal_parport cfg="0xEC00 in"
loadrt threads
addf parport.0 thread1
start
show pin
Last edit: 01 Jun 2019 00:05 by andypugh.

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

More
01 Jun 2019 15:13 #135571 by Philippe
see after

pilou@PilouCnc:~$ halrun
halcmd: loadrt hal_parport cfg="0xEC00 in"
Note: Using POSIX realtime
config string '0xEC00 in'
Linux parallel port @60416 not found
halcmd: loadrt threads
halcmd: addf parport.0 thread1
HAL: ERROR: function 'parport.0' not found
<stdin>:3: addf failed
halcmd: start
halcmd: show pin
Component Pins:
Owner Type Dir Value Name
6 bit IN FALSE parport.0.pin-01-out
6 bit OUT FALSE parport.0.pin-02-in
6 bit OUT FALSE parport.0.pin-02-in-not
6 bit OUT FALSE parport.0.pin-03-in
6 bit OUT FALSE parport.0.pin-03-in-not
6 bit OUT FALSE parport.0.pin-04-in
6 bit OUT FALSE parport.0.pin-04-in-not
6 bit OUT FALSE parport.0.pin-05-in
6 bit OUT FALSE parport.0.pin-05-in-not
6 bit OUT FALSE parport.0.pin-06-in
6 bit OUT FALSE parport.0.pin-06-in-not
6 bit OUT FALSE parport.0.pin-07-in
6 bit OUT FALSE parport.0.pin-07-in-not
6 bit OUT FALSE parport.0.pin-08-in
6 bit OUT FALSE parport.0.pin-08-in-not
6 bit OUT FALSE parport.0.pin-09-in
6 bit OUT FALSE parport.0.pin-09-in-not
6 bit OUT FALSE parport.0.pin-10-in
6 bit OUT FALSE parport.0.pin-10-in-not
6 bit OUT FALSE parport.0.pin-11-in
6 bit OUT FALSE parport.0.pin-11-in-not
6 bit OUT FALSE parport.0.pin-12-in
6 bit OUT FALSE parport.0.pin-12-in-not
6 bit OUT FALSE parport.0.pin-13-in
6 bit OUT FALSE parport.0.pin-13-in-not
6 bit IN FALSE parport.0.pin-14-out
6 bit OUT FALSE parport.0.pin-15-in
6 bit OUT FALSE parport.0.pin-15-in-not
6 bit IN FALSE parport.0.pin-16-out
6 bit IN FALSE parport.0.pin-17-out
6 s32 OUT 0 parport.0.read.time
6 s32 OUT 0 parport.0.reset.time
6 s32 OUT 0 parport.0.write.time
6 s32 OUT 0 parport.read-all.time
6 s32 OUT 0 parport.write-all.time
10 s32 OUT 0 thread1.time

halcmd: Note: Using POSIX realtime

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

More
01 Jun 2019 16:31 #135577 by andypugh
Sorry, I should have said "parport.0.read"

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

More
02 Jun 2019 16:31 #135643 by Philippe
See after
pilou@PilouCnc:~$ halrun
halcmd: loadrt hal_parport cfg="0xEC00 in"
Note: Using POSIX realtime
config string '0xEC00 in'
Linux parallel port @60416 not found
halcmd: loadrt threads
halcmd: addf parport.0.read
<stdin>:3: addf requires at least 2 arguments, 1 given
halcmd: start
halcmd: show pin
Component Pins:
Owner Type Dir Value Name
6 bit IN FALSE parport.0.pin-01-out
6 bit OUT FALSE parport.0.pin-02-in
6 bit OUT FALSE parport.0.pin-02-in-not
6 bit OUT FALSE parport.0.pin-03-in
6 bit OUT FALSE parport.0.pin-03-in-not
6 bit OUT FALSE parport.0.pin-04-in
6 bit OUT FALSE parport.0.pin-04-in-not
6 bit OUT FALSE parport.0.pin-05-in
6 bit OUT FALSE parport.0.pin-05-in-not
6 bit OUT FALSE parport.0.pin-06-in
6 bit OUT FALSE parport.0.pin-06-in-not
6 bit OUT FALSE parport.0.pin-07-in
6 bit OUT FALSE parport.0.pin-07-in-not
6 bit OUT FALSE parport.0.pin-08-in
6 bit OUT FALSE parport.0.pin-08-in-not
6 bit OUT FALSE parport.0.pin-09-in
6 bit OUT FALSE parport.0.pin-09-in-not
6 bit OUT FALSE parport.0.pin-10-in
6 bit OUT FALSE parport.0.pin-10-in-not
6 bit OUT FALSE parport.0.pin-11-in
6 bit OUT FALSE parport.0.pin-11-in-not
6 bit OUT FALSE parport.0.pin-12-in
6 bit OUT FALSE parport.0.pin-12-in-not
6 bit OUT FALSE parport.0.pin-13-in
6 bit OUT FALSE parport.0.pin-13-in-not
6 bit IN FALSE parport.0.pin-14-out
6 bit OUT FALSE parport.0.pin-15-in
6 bit OUT FALSE parport.0.pin-15-in-not
6 bit IN FALSE parport.0.pin-16-out
6 bit IN FALSE parport.0.pin-17-out
6 s32 OUT 0 parport.0.read.time
6 s32 OUT 0 parport.0.reset.time
6 s32 OUT 0 parport.0.write.time
6 s32 OUT 0 parport.read-all.time
6 s32 OUT 0 parport.write-all.time
10 s32 OUT 0 thread1.time

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

More
02 Jun 2019 19:55 #135654 by andypugh
I can’t help feeling that you are not even trying to understand the instructions I am giving.
The following user(s) said Thank You: tommylight

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

More
03 Jun 2019 10:59 #135732 by Philippe
sorry, if i've don't follow your indtruction, I'm french and for me to undrstand the english language + lthe linux instruction is not very easy

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

More
04 Jun 2019 11:26 #135829 by andypugh
halcmd: addf parport.0.read
<stdin>:3: addf requires at least 2 arguments, 1 given

There was a clear clue that you had entered an invalid command, but instead of correcting it you just carried on.

All we are trying to do here is load the parallel port driver and see if it sees any inputs from the hardware.

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

More
04 Jun 2019 11:36 #135830 by Philippe
Ok; I understood the message, that is missing an argument, but how i know what is missing, , i don't know linux., that's a reason I ask the forum to help me.

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

More
04 Jun 2019 17:16 #135846 by andypugh
The required argument was "thread1" as I said originally.

It is worth reading the documentation:

linuxcnc.org/docs/2.7/html/index_fr.html

(Manuel de HAL)

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

Time to create page: 0.094 seconds
Powered by Kunena Forum