On Sun, Jul 03, 2011 at 10:48:30PM -0000, N7DR wrote:
> natty, 64-bit:
>
> There seems to be no way to obtain audio from cwdaemon.
>
> The following should work (I believe):
> 1. as root: cwdaemon -n -v 100 -x b
> 2. in another terminal: nc 127.0.0.1 6789 < test
> [test is a file that contains text]
This should probably be "nc -u", in order to send UDP packets.
> When I do this no audio is heard. Indeed, I have tried everything I
> can think of, but nothing generates any audio.
With nc -u, cwdaemon says:
cw: open /dev/audio: No such file or directory
Obviously cwdaemon it uses OSS via cwlib (package unixcw), but OSS is
no longer availabe by default. Using it with "padsp" fails due to a
problem with /dev/mixer (although it's supposed to be provided by
padsp).
cw: open /dev/mixer: Input/output error
It might be possible to "fix" (or break) cwlib in a way that it works
with padsp, but a cleaner solution would be adding PulseAudio support
to cwlib. I am not sure if cwlib is still maintained any longer by
its original author Simon Baldwin (G0FRD); the current version 2.3
seems to be from 2006.
If it is indeed unmaintained, I'd give it a try and add PA support.
On Sun, Jul 03, 2011 at 10:48:30PM -0000, N7DR wrote:
> natty, 64-bit:
>
> There seems to be no way to obtain audio from cwdaemon.
>
> The following should work (I believe):
> 1. as root: cwdaemon -n -v 100 -x b
> 2. in another terminal: nc 127.0.0.1 6789 < test
> [test is a file that contains text]
This should probably be "nc -u", in order to send UDP packets.
> When I do this no audio is heard. Indeed, I have tried everything I
> can think of, but nothing generates any audio.
With nc -u, cwdaemon says:
cw: open /dev/audio: No such file or directory
Obviously cwdaemon it uses OSS via cwlib (package unixcw), but OSS is
no longer availabe by default. Using it with "padsp" fails due to a
problem with /dev/mixer (although it's supposed to be provided by
padsp).
cw: open /dev/mixer: Input/output error
It might be possible to "fix" (or break) cwlib in a way that it works
with padsp, but a cleaner solution would be adding PulseAudio support
to cwlib. I am not sure if cwlib is still maintained any longer by
its original author Simon Baldwin (G0FRD); the current version 2.3
seems to be from 2006.
If it is indeed unmaintained, I'd give it a try and add PA support.
73, fkurz.net/ .---. lcwo.net/ `---'
--
Fabian Kurz, DJ1YFK <email address hidden> - http://
Markgrafenstr. 63 | | |
81827 Munich, Germany Learn Morse Code Online: | /|\ |
phone: +49 176 24079617 http://