Hello,
this is about the very old Debian bug
#216007: libao2: libao driver fails to start on powerpc
I've tested in a powerpc system and I can't reproduce it. Is it fixed
for you in recent libao versions (0.8.6)?
I'll close this bug this bug report on two weeks, thanks.
* Lucas Moulin [Wed, 15 Oct 2003 23:41:09 +0200]:
Package: libao2
Version: 0.8.4-1
Severity: grave
Tags: sid
Justification: renders package unusable
Latest version of libao2 on ppc makes it impossible to use any player
based on it (like mpg321 or ogg123) because it always gives the error
message :
Can't find a suitable libao driver. (Is device in use?)
Downgrading to 0.8.3-1 fixes the problem. I couldn't rebuild 0.8.4-1
because it has a build dependency on libartsc0-dev which is unavailable.
-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux motoko 2.4.23-pre5-ben0 #1 mer oct 15 21:42:53 CEST 2003 ppc
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]
Versions of packages libao2 depends on:
ii libc6 2.3.2-8GNU C Library: Shared libraries
an
-- no debconf information
* David N. Welton [Mon, 27 Oct 2003 13:02:56 +0100]:
Package: libao2
Version: 0.8.4-1
Severity: normal
Followup-For: Bug #216007
@ashland [~] $ ogg123 boomstic.ogg
Audio Device: OSS audio driver output
Playing: boomstic.ogg
libao - OSS cannot set channels to 1
Error: Cannot open device oss.
Or:
@ashland [~] $ mpg321 barcaro.mpg3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
Playing MPEG stream from barcaro.mpg3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz stereo
libao - OSS cannot set channels to 2
Can't find a suitable libao driver. (Is device in use?)
-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux ashland 2.4.21 #21 Fri Jun 27 13:32:05 CEST 2003 ppc
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages libao2 depends on:
ii libc6 2.3.2-7GNU C Library: Shared libraries
an
-- no debconf information
* Jamie Wilkinson [Wed, 31 Dec 2003 14:42:45 +1100]:
I've applied the following patch to the oss plugin, and I see that ioctl is
failing with Invalid argument. 0.8.3-1.1 still works though, and the
only difference in the code I can see is the GETBLKSIZE ioctl just
before setting the stereo mode.
--- libao-0.8.4.orig/src/plugins/oss/ao_oss.c
+++ libao-0.8.4/src/plugins/oss/ao_oss.c
@@ -242,8 +242,8 @@
}
if (ioctl(internal-fd,SNDCTL_DSP_STEREO,tmp) 0) {
- fprintf(stderr, libao - OSS cannot set channels to %d\n,
- format-channels);
+ fprintf(stderr, libao - OSS cannot set channels to %d: %s\n,
+ format-channels, strerror(errno));
goto ERR;
}
willow% ogg123 *
Audio Device: OSS audio driver output
Playing: 01 - Jurassic 5 - Power In Numbers - This Is.ogg
Artist: Jurassic 5
Album: Power In Numbers
Title: This Is
Date: 2002
Genre: Hip Hop
Track number: 01
libao - OSS cannot set channels to 2: Invalid argument
Error: Cannot open device oss.
--
Adeodato Simó
EM: dato (at) the-barrel.org | PK: DA6AE621
Listening to: The Magnetic Fields - It's a Crime
Create a system that is usable even by idiots, and only idiots will use it.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]