Skip to contentSkip to conversation

Recent ALSA version needs special configuration for Terratec Phase 26 USB

DISCUSSION Janne Himanka 2 participants 2 messages Oct 17, 2007

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>.

If you need any additional info, I'll be glad to help.

Regards,
Janne Himanka

#1 lore raw
Quoted 1 line · Janne Himanka

I run Debian unstable on my Athlon XP1800 machine,

32 or 64 bits?

Quoted 2 lines

and updating libasound2 package from version 1.0.13-2 to 1.0.14 (and later)

Did you try 1.0.15?

Quoted 11 lines

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?

Quoted 3 lines

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