soundmodem won't start
I have been running ax25 on linux for years through kiss interface tnc's, but am now getting serious about getting it working through soundcards, so far just wasting a lot of time.
Config here is SB-Live cards on a few various P-II machines running 2.4 kernels, have ax25, mkiss, emu10k1, ac97_codec etc loaded. Same problem on more than one similar setup machine.
As root, trying either the afsk modem or the psk modem in the config, I get past the point of finding the serial port, and always end up with the diagnostic:
sm[pid]: cannot start audio
[program exits]
Other soundcard apps such as xoscope, xanalyser, qsstv, gpsk31, ohphone run fine.
If I run soundmodem under control of strace, main seems to exit right after the return of the routine that looks like it is calling all of the soundcard ioctls, apparently successfully, although I am recalling this from memory from diagnosing it earlier today.
I really wish there were some documentation to be had. I just now after a week of work discovered that soundmodemconfig has some working scope and spectrum displays, and while soundmodem can't start up, apparently soundmodemconfig can, and does display believable waveforms and correct frequency spectra, the cursor displayed freq does match the service monitor audio generator counter.
Can someone tell me where it is stuck? I can probably post an strace of what it is doing a little later if it will do any good. While I am doing first tests with afsk 1200 to prove it can work, I am really interested in the two psk modems to see how they perform.
73 de Bob WB5AOH
Quoted 2 lines · Bob Morgan
sm[pid]: cannot start audio
[program exits]
What version of soundmodem are you using? There used to be a bug in soundmodem hat caused a successfull soundcard open be interpreted as an error and vice versa...
Signature · 1 line
Tomi Manninen / OH2BNS / KP20ME04
Quoted 11 lines · Tomi Manninen
Quoted 2 lines · Bob Morgan
sm[pid]: cannot start audio
[program exits]What version of soundmodem are you using? There used to be a bug in soundmodem hat caused a successfull soundcard open be interpreted as an error and vice versa...
Signature · 1 line
Tomi Manninen / OH2BNS / KP20ME04
Tomi,
This appears to be a SuSE binary from their 7.2 and 8.0 series, of which I am using both. Looking at the manpage and documentation filedates of 8.0, they seem to be summer 2000 vintage, and the installed manpage says version 0.2 at the bottom of the page. I guess there isn't a -version option, which comes in handy in times like this, since -v is verbosity.
I have a recent source tarball that I have been looking at (at home, I am at work now where e-mail is) so I can view some source. It might even be current, but anyhow it is something I have downloaded fairly recently. I will go home and see if I can get it to compile, and look over that area of the code, try it, etc. From what I see of the strace, the thing looks like it may be doing just exactly what you are suggesting. Later,
73 de Bob WB5AOH