With ALSA, I can't get sound from USB speakers, nor can I get meaningful sound from wireless USB dongle. (Plus I get oops on unplug, but that's separate bug). mpg123 seems to work but produces no sound on ALSA. On OSS, it says pavel@amd:/data/big/READ-ONLY/mp3.other/weird$ mpg123 mbrola/xmass.mp3 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! Directory: mbrola/ Playing MPEG stream from xmass.mp3 ... MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo libao - OSS cannot set rate to 44100 Can't find a suitable libao driver. (Is device in use?) pavel@amd:/data/big/READ-ONLY/mp3.other/weird$ ...probably because USB wireless dongle only supports 48kHz. Is it possible that ALSA fails to return error somewhere? I do not think we resample in kernel. xmms plays audio just fine on OSS. Have not yet tested it with ALSA.
Okay, so with ALSA mpg123 pretends it is playing (like below), but nothing can be heard. ALSA with xmms works. pavel@amd:/data/big/READ-ONLY/mp3.other/weird$ mpg123 -D/dev/dsp1 mbrola/xmass.mp3 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! Directory: mbrola/ Playing MPEG stream from xmass.mp3 ... MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo [0:01] Decoding of xmass.mp3 finished. pavel@amd:/data/big/READ-ONLY/mp3.other/weird$
Heh, spoke too soon. xmms with ALSA works -- with USB wireless, but not with USB speakers. Perhaps it is because USB speakers advertise 44100 and 48000?
Pavel, is this bug still happening? If so, you should be bugging people ;)
I do not have that hardware any more :-(. I'll try to debug the other usb audio problem -- bug #6576.