← Back to team overview

ubuntu-hams-devel team mailing list archive

Re: [Bug 805261] [NEW] no audio from cwdaemon

 

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,
-- 
Fabian Kurz, DJ1YFK         mail@xxxxxxxxx - http://fkurz.net/      .---.
Markgrafenstr. 63                                                  |  |  |
81827 Munich, Germany       Learn Morse Code Online:               | /|\ |
phone: +49 176 24079617     http://lcwo.net/                        `---'

-- 
You received this bug notification because you are a member of Ubuntu
ham developers, which is subscribed to cwdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/805261

Title:
  no audio from cwdaemon

Status in “cwdaemon” package in Ubuntu:
  New

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
  ProcVersionSignature: Ubuntu 2.6.38-10.44-generic 2.6.38.7
  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=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: cwdaemon
  UpgradeStatus: Upgraded to natty on 2011-05-12 (52 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cwdaemon/+bug/805261/+subscriptions


References