Commit Graph

18 Commits

Author SHA1 Message Date
Diane Bruce
385494a48d - 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
f043624fd7 - 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
824cc1586e - 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
b55d068325 - 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
3c5f8883e8 - 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
9350a4197c - 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
05f784e1b3 - 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
ee414f517f - 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
ad643f3353 - 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
33a7229bf3 - 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
11021d4ad9 - 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
c2ceb42b28 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
f0ac43b43d - 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
1e442bf2c8 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
bc694f8c9c - 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
491cb12eec - 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
b6b89b6cd7 - 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
558bcc2e6a - 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