[alsa-devel] Recent ALSA version needs special configuration for Terratec Phase 26 USB
Hello,
I run Debian unstable on my Athlon XP1800 machine, and updating libasound2 package from version 1.0.13-2 to 1.0.14 (and later) made my Terratec Phase 26 USB soundcard useless. Whenever I tried to play something, the program would crash with a segmentation fault. When I downgraded to 1.0.13, everything would work again.
It took a lot of head scratching and experimentation to find out that adding
cards.USB-Audio.pcm.use_dmix."USB2448" no
to my .asoundrc (it is otherwise empty) is needed for it to work. After adding that, it seems to work as it did before. The string in hyphens varies according to the mode one selects from the Terratec front panel. There are four modes with different word length and bitrates. The Phase 26 is adaptive; it doesn't need converting for a specific format. Bitrates from 32 KHz to 96 KHz and word lengths from 16 to 32 bits just work.
I'm writing you this because a comment in USB-Audio.conf says:
# If your device requires such a definition to work correctly, please report it # to alsa-devel@alsa-project.org.
If you need any additional info, I'll be glad to help.
Regards, Janne Himanka
Janne Himanka wrote:
I run Debian unstable on my Athlon XP1800 machine,
32 or 64 bits?
and updating libasound2 package from version 1.0.13-2 to 1.0.14 (and later)
Did you try 1.0.15?
made my Terratec Phase 26 USB soundcard useless. Whenever I tried to play something, the program would crash with a segmentation fault. When I downgraded to 1.0.13, everything would work again.
It took a lot of head scratching and experimentation to find out that adding
cards.USB-Audio.pcm.use_dmix."USB2448" no
to my .asoundrc (it is otherwise empty) is needed for it to work.
This looks like a bug in the dmix plugin. Do you have any other USB audio device that works?
Can you get a stack trace from gdb when playing something with aplay?
The Phase 26 is adaptive; it doesn't need converting for a specific format. Bitrates from 32 KHz to 96 KHz and word lengths from 16 to 32 bits just work.
32-bit samples are not possible with USB audio devices. I guess ALSA automatically converts for you.
Regards, Clemens
participants (2)
-
Clemens Ladisch
-
Janne Himanka