Bug#265885: ohphone: fails with ALSA sound

Alistair K Phipps Alistair K Phipps <debbugs3@alistairphipps.com>, 265885@bugs.debian.org
Sun, 15 Aug 2004 15:45:15 +0100


Package: ohphone
Version: 1.4.3-1
Severity: normal

Ohphone 1.4.3 appears to try to do something different with ALSA than
previous versions.  When I attempt to make a connection with audio only,
no sound is recorded or played.  When I attempt to make a connection
with video and audio, the video capture does not work correctly (nor
does the audio work).

Ohphone 1.4.1 appears to use the OSS device and does work properly.

Here is a section of ohphone 1.4.3's output when I try audio only:
Sound output device: "Intel 82801DB-ICH4"
Sound  input device: "Intel 82801DB-ICH4"
Recording using mixer channel mic
<snip>
Could not open sound device Intel 82801DB-ICH4 - Check permissions or
full duplex capability.
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0c failed:
Device or resource busy
<repeated many times> 

Whereas the working output from 1.4.1 is:
Sound output device: "/dev/dsp"
Sound  input device: "/dev/dsp"
Recording using mixer channel mic

Specifying -s /dev/dsp causes ohphone to exit with the error:

Device for sound ("/dev/dsp") must be one of:
  "Intel 82801DB-ICH4"

ohphone-basic gives the same behaviour as the full ohphone.

I am using ALSA for sound, with OSS emulation present.  Intel
82801DB-ICH4 is my audio controller.  aplay and arecord work fine.

I suspect this might actually be a libpt bug, but I'm filing it against
ohphone because the problem goes away if i revert to ohphone 1.4.1, and
I'm not really sure where the problem lies.

Note I have libpt-plugins-alsa installed, but not libpt-plugins-oss.
Also note that nothing else is using the audio controller - I don't run
any sound daemons or have any audio apps loaded other than ohphone.

Hope this is enough info for you to track down the problem.

Thanks,

Alistair

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (900, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=en_GB, LC_CTYPE=en_GB

Versions of packages ohphone depends on:
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libexpat1                 1.95.6-8       XML parsing C library - runtime li
ii  libgcc1                   1:3.4.1-5      GCC support library
ii  libldap2                  2.1.30-3       OpenLDAP libraries
ii  libopenh323-1.13.2        1.13.5.4-3     H.323 aka VoIP library
ii  libpt-1.6.3               1.6.6.4-2      Portable Windows Library
ii  libsasl2                  2.1.19-1       Authentication abstraction library
ii  libspeex1                 1.0.rel.4-1    The Speex Speech Codec
ii  libssl0.9.7               0.9.7d-5       SSL shared libraries
ii  libstdc++5                1:3.3.4-7      The GNU Standard C++ Library v3
ii  libsvga1                  1:1.4.3-17     console SVGA display libraries
ii  libx11-6                  4.3.0.dfsg.1-6 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii  xlibs                     4.3.0.dfsg.1-6 X Window System client libraries m

-- no debconf information