Commit Graph

18 Commits

Author SHA1 Message Date
Diane Bruce
ef80afa7ca - Apparently, linux does not need <sys/io.h> now
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@293 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-09-10 00:12:39 +00:00
Diane Bruce
694d24403d - Do the actual ptt on/off after open. open + ptt control are
done at the same time in wsjt; there is no separate ptt init. done.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@216 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-07-30 04:50:24 +00:00
Diane Bruce
47d59acb8f - Remove code to handle device names without /dev prepended
- use standard open() defines



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@211 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-07-29 14:45:51 +00:00
Diane Bruce
6ff6159461 - No, it should be || not &&
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@210 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-07-26 14:24:27 +00:00
Diane Bruce
401b59aa4d - Oops. missed the /* Fallback (nothing) */ case
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@209 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-07-26 14:12:34 +00:00
Diane Bruce
7716b6fc31 - misplaced indentation meant fortran copy of pttport never got set
- reworked ptt_unix.c numerous things I did not like anyway.
  removed gotos's (from original cwdaemon; not my fault!)
  commented better what was happening
  refactored code to make it clearer, there was no need to try and do
  both the open and the parallel port test in one function (cwdaemon again)
  this just obsfuscated what was happening.
 


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@208 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-07-26 14:06:27 +00:00
Diane Bruce
dedbd91143 - Make prototype match that of windows, even though unused *isn't* used.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@204 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-07-24 19:23:12 +00:00
Diane Bruce
91cae5bd11 - Fixed compile for linux
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@195 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-07-09 03:12:26 +00:00
Diane Bruce
a0a3b799dc - This imports the freebsd branch modifications
- This gets rid of the need to configure for parallel or serial port
- The code picks up the device name from WSJT.INI for ComPort (misnamed now)
  which is actually a device name for either a serial port or parallel port.
  ptt_unix.c then uses the appropriate code to "talk" to a parallel or serial
  port.
- audio in/audio out should work the same way on windows as it did before,
  however it is actually now a string name value, which can be used to open
  the appropriate /dev/dsp on OSS or in future, be passed to the ALSA init
  routines or other audio routines as needed. 



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@185 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-07-05 03:49:02 +00:00
Diane Bruce
f55f7c0dc4 - undoing boo-boo
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@167 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-04-17 00:00:23 +00:00
Diane Bruce
80161a3285 - This adds run time parallel vs. serial PTT detection and use
- Also adds the ability to read a serial or paralle port name from WSJT.INI
- Also removes serial vs. parallel hooks in configure



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@166 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-04-16 22:04:31 +00:00
J C Dutton
a39f662b4d Summary: Merge in linux branch
svn+ssh://svn.berlios.de/svnroot/repos/wsjt/WSJT/branches/linux
merged into
svn+ssh://svn.berlios.de/svnroot/repos/wsjt/trunk



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@155 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-04-05 20:07:32 +00:00
Diane Bruce
2afb8ca514 - Use correct filenames for lp ports
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@128 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-02-20 20:47:12 +00:00
Joe Taylor
8d67e55e7b A few tweaks to make it compile and run in Linux/ALSA, Linux PortAudio,
and Windows.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@114 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-01-16 16:39:11 +00:00
Diane Bruce
4b889cdf57 - remove conf.h hence remove conf.h.in as well, and modify
all files previously using conf.h
- pass defs found into the Makefile instead
- add parallel port enable to configure --enable-parallel vs. --enable-serial
- use code (partially contributed by yours truly anyway) from cwdaemon to add
  parallel port support for *nix. 

I've not tested parallel port operation, it should match what cwdaemon
does, which is convenient.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@113 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-01-16 02:07:25 +00:00
Diane Bruce
e7c229aed5 - fixed ptt_unix.c to work with the non blocking ttyd0 for now (on freebsd)
it was causing my grief with tx testing of OSS 
- fixed configure to fill in just start_oss.c for AUDIO



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@110 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-01-15 23:32:39 +00:00
Diane Bruce
2c36b84bb5 - Add first rough cut of configure
Note that Makefile should go since it should be rebuilt from Makefile.in
  by configure.
- start_threads now has HAVE_ALSA_ALSASOUND_H
- ptt_unix now uses configure HAVE_SYS_PARAM_H

Initial *non production* commit
I am a little rusty with it, sorry. --db



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@58 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-01-07 20:14:23 +00:00
Diane Bruce
8a3e4eb784 - initial cut at a portable ptt module for all unix and unix like systems
It will be refined later on for OSX/Solaris etc.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@56 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
2006-01-07 16:48:20 +00:00