[App_rpt-users] I/O using parallel port
Jamey Wright
jamey.wright at charter.net
Mon Aug 10 00:51:48 UTC 2015
File sent privately...
Yes, pp2 is pin 2 on the DB-25.
As another test, I changed pp2=out0 to pp2=ptt and the LED lights on PTT. I
am fairly certain it is an error in my rpt.conf.
Jamey
WR4JW
-----Original Message-----
From: mike at midnighteng.com [mailto:mike at midnighteng.com]
Sent: Sunday, August 09, 2015 6:43 PM
To: Jamey Wright <jamey.wright at charter.net>
Cc: app_rpt-users at ohnosec.org
Subject: RE: [App_rpt-users] I/O using parallel port
98911=cop,61,pp1=1
This is a line from my config in rpt.conf
Just a couple of things...
pp1 is pin #2 on parport. In the case you are looking at the wrong pin.
When pin is active, it switches to ground.
Digital ground on the port and frame ground are not always the same.
iobase=0x378 (278,378 & 3bc are valid lpt's)
One thing is clear. If you get this to work from a command line, you simply
have a command conflict or a type error somewhere.
I'm sorry that I'm not any better help from what I know.
If you shoot me your complete rpt.conf, I'll look it over.
...mike/kb8jnm
> I searched all through the rpt.conf file and could not find any
> duplicates.
> These are the only functions I have added. Everything else is what
> comes in
> the file by default. For good measure I changed the commands to 3 digit
> commands starting right after the 900 series commands. Still does not
> work.
>
>
> At a loss
>
> Jamey
> WR4JW
>
> -----Original Message-----
> From: app_rpt-users-bounces at ohnosec.org
> [mailto:app_rpt-users-bounces at ohnosec.org] On Behalf Of
> mike at midnighteng.com
> Sent: Saturday, August 08, 2015 6:41 PM
> Cc: app_rpt-users at ohnosec.org
> Subject: Re: [App_rpt-users] I/O using parallel port
>
>
> The problem from what you are describing is not with the PP at all.
> It is your command structure.
> You must have a conflicting command start.
>
> Scrub though your command list and look for assignments that start with:
>
> two digit -84 and/or
> three digit -840/841 etc.
>
> Asterisk always runs with the first match.
> If the is a 2 digit command 84, anything else starting with 84 will
> never execute. (It will always execute 84 command not 84x, 84xx,
> 84xxx, 84xxxx) .
>
> I often warn everyone to organize their command list in numeric order
> so you don't do such a thing.
>
> If you find one, you can convert it to a non-conflicting 4 digit
> command and you are fine. (8400)
>
> ...mike/kb8jnm
>
>
>>
>>
>> -----Original Message-----
>> From: mike at midnighteng.com [mailto:mike at midnighteng.com]
>> Sent: Saturday, August 08, 2015 12:36 PM
>> To: Jamey Wright app_rpt-users at ohnosec.org <jamey.wright at charter.net>
>> Subject: RE: [App_rpt-users] I/O using parallel port
>>
>>
>>>> 8401=cop,61,pp2=0
>>>> 8411=cop,61,pp2=1
>>
>> The commands you created in rpt.conf is the definition.
>> Use them directly or in a macro for complex function.
>>
>> Read online manual
>> http://ohnosec.org/drupal/node/177
>>
>> ...mike/kb8jnm
>>
>> I have read the manual... and every website I can find dealing with
>> this and I cannot make it work. I don't know what I am missing but
>> there is something. Just for a sanity check, I built a LED circuit
>> and connected it to the parallel port. If I set it to "pp2 = out0"
>> in simpleusb.conf the LED is not lit. If I change it to "pp2 = out1"
>> the LED is lit so I know the port is working. For whatever reason, I
>> cannot control those pins from DTMF or sent from IAXRPT.
>>
>> This is from rpt.conf:
>>
>> [functions27981]
>>
>> <snip>
>>
>> 8401 = cop,61,pp2=0
>> 8402 = cop,61,pp3=0
>> 8403 = cop,61,pp4=0
>> 8404 = cop,61,pp5=0
>> 8405 = cop,61,pp6=0
>> 8406 = cop,61,pp7=0
>> 8407 = cop,61,pp8=0
>> 8408 = cop,61,pp9=0
>>
>> 8411 = cop,61,pp2=1
>> 8412 = cop,61,pp3=1
>> 8413 = cop,61,pp4=1
>> 8484 = cop,61,pp5=1
>> 8415 = cop,61,pp6=1
>> 8416 = cop,61,pp7=1
>> 8417 = cop,61,pp8=1
>> 8418 = cop,61,pp9=1
>>
>> Maybe I am misunderstanding the way to setup and use the commands.
>> My understanding is that I should be able to just dial *8411 and set
>> pp2 to 1?
>>
>> Thanks
>>
>> Jamey
>> WR4JW
>>
>>
>
>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> To unsubscribe from this list please visit
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll
> down to the bottom of the page. Enter your email address and press the
> "Unsubscribe or edit options button"
> You do not need a password to unsubscribe, you can do it via email
> confirmation. If you have trouble unsubscribing, please send a message
> to the list detailing the problem.
>
>
More information about the App_rpt-users
mailing list