- Posts: 45
- Thank you received: 0
Problem parralel Port is not reconized in stretch configuration
7 years 5 months ago #135497
by Philippe
Replied by Philippe on topic Problem parralel Port is not reconized in stretch configuration
Ok, so what is the solution ?
Please Log in to join the conversation.
7 years 4 months ago #135513
by andypugh
Replied by andypugh on topic Problem parralel Port is not reconized in stretch configuration
There might not actually be a problem.
Try this, and show us the results.
Try this, and show us the results.
Code:
halrun
loadrt hal_parport cfg="0xEC00 in"
loadrt threads
addf parport.0 thread1
start
show pin
Please Log in to join the conversation.
7 years 4 months ago #135571
by Philippe
Replied by Philippe on topic Problem parralel Port is not reconized in stretch configuration
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>
: 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
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>
: addf failedhalcmd: 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 to join the conversation.
7 years 4 months ago #135577
by andypugh
Replied by andypugh on topic Problem parralel Port is not reconized in stretch configuration
Sorry, I should have said "parport.0.read"
Please Log in to join the conversation.
7 years 4 months ago #135643
by Philippe
Replied by Philippe on topic Problem parralel Port is not reconized in stretch configuration
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>
: 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
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>
: addf requires at least 2 arguments, 1 givenhalcmd: 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 to join the conversation.
7 years 4 months ago #135654
by andypugh
Replied by andypugh on topic Problem parralel Port is not reconized in stretch configuration
I can’t help feeling that you are not even trying to understand the instructions I am giving.
Please Log in to join the conversation.
7 years 4 months ago #135732
by Philippe
Replied by Philippe on topic Problem parralel Port is not reconized in stretch configuration
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 to join the conversation.
7 years 4 months ago #135829
by andypugh
Replied by andypugh on topic Problem parralel Port is not reconized in stretch configuration
halcmd: addf parport.0.read
<stdin>
: 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.
<stdin>
: addf requires at least 2 arguments, 1 givenThere 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 to join the conversation.
7 years 4 months ago #135830
by Philippe
Replied by Philippe on topic Problem parralel Port is not reconized in stretch configuration
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 to join the conversation.
7 years 4 months ago #135846
by andypugh
Replied by andypugh on topic Problem parralel Port is not reconized in stretch configuration
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)
It is worth reading the documentation:
linuxcnc.org/docs/2.7/html/index_fr.html
(Manuel de HAL)
Please Log in to join the conversation.
Time to create page: 0.066 seconds
