LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   pport program unknown option (https://www.linuxquestions.org/questions/linux-software-2/pport-program-unknown-option-758682/)

unsolved 09-30-2009 09:23 AM

pport program unknown option
 
Hi everybody,

i found a software called pport on sourceforge.net. IŽd like to use some kind of program to easily set dtr or rts high/low to get a signal, so i tried pport. It returns "unknown option" when i use -p serial. Has anyone any experience of the program?

i have tried to compile it with correct --with-serial option, but with no result...

mejohnsn 10-01-2009 07:19 PM

Quote:

Originally Posted by unsolved (Post 3701854)
Hi everybody,

i found a software called pport on sourceforge.net. IŽd like to use some kind of program to easily set dtr or rts high/low to get a signal, so i tried pport. It returns "unknown option" when i use -p serial. Has anyone any experience of the program?

i have tried to compile it with correct --with-serial option, but with no result...

Where did you find this option documented? The README describes using pport only with the parallel port. The help shown after building does not show it either. The man page shows "pport -p serial -s none", but also points out you need to be superuser when running this. Are you?

michaelk 10-01-2009 07:48 PM

The ChangeLog shows the serial port pins were implemented in version 0.6.5 however a quick look through the source code did not have -p as an option. The --with-serial option defines the default serial port memory address. Can we assume that without the -p option by selecting a serial port pin i.e. dtr or rts pport will use the default serial port address?

PS: After reviewing the ChangeLog again the port option was removed in version 0.6.6.


All times are GMT -5. The time now is 03:58 PM.