no audio from cwdaemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cwdaemon (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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]
When I do this no audio is heard. Indeed, I have tried everything I can think of, but nothing generates any audio.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: cwdaemon 0.9.4-7.1
ProcVersionSign
Uname: Linux 2.6.38-10-generic x86_64
Architecture: amd64
Date: Sun Jul 3 16:36:36 2011
EcryptfsInUse: Yes
ProcEnviron:
LANGUAGE=en_US
PATH=(custom, user)
LANG=en_US.UTF-8
LC_MESSAGES=
SHELL=/bin/bash
SourcePackage: cwdaemon
UpgradeStatus: Upgraded to natty on 2011-05-12 (52 days ago)
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://