Problems with USB driver and Swissonic USB Studio
I'm using a Swissonic USB Studio.
With an older CVS version (from around 29th June), playback and capture were pretty much OK, except for a ticking (the repetitive peaks issue?) and some noise. Using the latest CVS version:
aplay -D studio /mnt/spare/music/test.wav
Playing WAVE '/mnt/spare/music/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:737: Broken configuration for this PCM: no configurations available
ecasound and jackd die with less descriptive error messages.
The error comes from a call
err = snd_pcm_hw_params_any(handle, params);
on line 735 of aplay.c
The output from /proc/asound/card1/stream0 is
Creative Technology Ltd Creative USB Speaker : USB Audio
Playback:
Status: Stop
Altset 1
Format: U8
Channels: 1
Endpoint: 4 OUT (ADAPTIVE)
Rates: 4990 - 55010 (continous)
Altset 2
Format: U8
Channels: 2
Endpoint: 4 OUT (ADAPTIVE)
Rates: 4990 - 55010 (continous)
Altset 3
Format: S16_LE
Channels: 1
Endpoint: 4 OUT (ADAPTIVE)
Rates: 4990 - 55010 (continous)
Altset 4
Format: S16_LE
Channels: 2
Endpoint: 4 OUT (ADAPTIVE)
Rates: 4990 - 55010 (continous) Altset 5
Format: STD
Channels: 1
Endpoint: 4 OUT (ADAPTIVE)
Rates: 4990 - 55010 (continous)
Altset 6
Format: STD
Channels: 2
Endpoint: 4 OUT (ADAPTIVE)
Rates: 4990 - 55010 (continous)
Capture:
Status: Stop
Altset 1
Format: U8
Channels: 1
Endpoint: 5 IN (ASYNC)
Rates: 4000, 5512, 6000, 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000
Altset 2
Format: U8
Channels: 2
Endpoint: 5 IN (ASYNC)
Rates: 4000, 5512, 6000, 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000
Altset 3
Format: S16_LE
Channels: 1
Endpoint: 5 IN (ASYNC)
Rates: 4000, 5512, 6000, 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000
Altset 4
Format: S16_LE
Channels: 2
Endpoint: 5 IN (ASYNC)
Rates: 4000, 5512, 6000, 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 Altset 5
Format: STD
Channels: 1
Endpoint: 5 IN (ASYNC)
Rates: 4000, 5512, 6000, 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000
Altset 6
Format: STD
Channels: 2
Endpoint: 5 IN (ASYNC)
Rates: 4000, 5512, 6000, 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000
Any help much appreciated.
BTW, what does Format: STD mean?
bye
John
Signature · 9 lines
Freelance DataDreamer http://www.semiosix.com Good Things require a precise lack of control ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
At 19 Jul 2002 12:20:21 +0200,
Quoted 10 lines · John Anderson
I'm using a Swissonic USB Studio.
With an older CVS version (from around 29th June), playback and capture were pretty much OK, except for a ticking (the repetitive peaks issue?) and some noise. Using the latest CVS version:
aplay -D studio
/mnt/spare/music/test.wav
Playing WAVE '/mnt/spare/music/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:737: Broken configuration for this PCM: no configurations available
perhaps you'll need to update also alsa-lib from cvs. applications are not necessarily rebuilt, though.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 8 lines · Takashi Iwai
Quoted 7 lines · John Anderson
I'm using a Swissonic USB Studio.
With an older CVS version (from around 29th June), playback and capture were pretty much OK, except for a ticking (the repetitive peaks issue?) and some noise. Using the latest CVS version:
Quoted 5 lines
Quoted 3 lines
aplay -D studio
/mnt/spare/music/test.wav
Playing WAVE '/mnt/spare/music/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:737: Broken configuration for this PCM: no configurations availableperhaps you'll need to update also alsa-lib from cvs.
Did that already.
Quoted 1 line
applications are not necessarily rebuilt, though.
Did that too.
Anything else obvious that I might have missed?
bye
John
Signature · 9 lines
Freelance DataDreamer http://www.semiosix.com Good Things require a precise lack of control ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
At 19 Jul 2002 12:54:38 +0200,
Quoted 10 lines · John Anderson
Quoted 8 lines · Takashi Iwai
Quoted 7 lines · John Anderson
I'm using a Swissonic USB Studio.
With an older CVS version (from around 29th June), playback and capture were pretty much OK, except for a ticking (the repetitive peaks issue?) and some noise. Using the latest CVS version:
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
aplay -D studio
/mnt/spare/music/test.wav
Playing WAVE '/mnt/spare/music/test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: set_params:737: Broken configuration for this PCM: no configurations availableperhaps you'll need to update also alsa-lib from cvs.
Did that already.
hmm, do you see any kernel messages from alsa drivers? (you might need to compile it via --with-debug=full option.) if there is a message regarding unknown ioctl, then the alsa-library doesn't match with the alsa driver. something wrong happened during alsa-lib installation, such as wrong path, etc.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 5 lines · Takashi Iwai
hmm, do you see any kernel messages from alsa drivers? (you might need to compile it via --with-debug=full option.) if there is a message regarding unknown ioctl, then the alsa-library doesn't match with the alsa driver. something wrong happened during alsa-lib installation, such as wrong path, etc.
I did the configure dance for the drivers, with the debug switch. Recompiled, installed, and did rmmod -r. The '-r' was the obvious bit I forgot last time. Duh.
It works now. Thanks for your help.
bye
John
Signature · 9 lines
Freelance DataDreamer http://www.semiosix.com Good Things require a precise lack of control ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf