All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with USB driver and Swissonic USB Studio
@ 2002-07-19 10:20 John Anderson
  2002-07-19 10:29 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: John Anderson @ 2002-07-19 10:20 UTC (permalink / raw)
  To: alsa-devel

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

-- 

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with USB driver and Swissonic USB Studio
  2002-07-19 10:20 Problems with USB driver and Swissonic USB Studio John Anderson
@ 2002-07-19 10:29 ` Takashi Iwai
  2002-07-19 10:54   ` John Anderson
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2002-07-19 10:29 UTC (permalink / raw)
  To: John Anderson; +Cc: alsa-devel

At 19 Jul 2002 12:20:21 +0200,
John Anderson wrote:
> 
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with USB driver and Swissonic USB Studio
  2002-07-19 10:29 ` Takashi Iwai
@ 2002-07-19 10:54   ` John Anderson
  2002-07-19 11:20     ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: John Anderson @ 2002-07-19 10:54 UTC (permalink / raw)
  To: alsa-devel

On Fri, 2002-07-19 at 12:29, Takashi Iwai wrote:
> At 19 Jul 2002 12:20:21 +0200, John Anderson wrote:
> > 
> > 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.

Did that already.

> applications are not necessarily rebuilt, though.

Did that too.

Anything else obvious that I might have missed?

bye
John

-- 

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with USB driver and Swissonic USB Studio
  2002-07-19 10:54   ` John Anderson
@ 2002-07-19 11:20     ` Takashi Iwai
  2002-07-19 12:08       ` John Anderson
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2002-07-19 11:20 UTC (permalink / raw)
  To: John Anderson; +Cc: alsa-devel

At 19 Jul 2002 12:54:38 +0200,
John Anderson wrote:
> 
> On Fri, 2002-07-19 at 12:29, Takashi Iwai wrote:
> > At 19 Jul 2002 12:20:21 +0200, John Anderson wrote:
> > > 
> > > 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.
> 
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problems with USB driver and Swissonic USB Studio
  2002-07-19 11:20     ` Takashi Iwai
@ 2002-07-19 12:08       ` John Anderson
  0 siblings, 0 replies; 5+ messages in thread
From: John Anderson @ 2002-07-19 12:08 UTC (permalink / raw)
  To: alsa-devel

On Fri, 2002-07-19 at 13:20, Takashi Iwai wrote:
> 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
 
-- 

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-07-19 12:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-19 10:20 Problems with USB driver and Swissonic USB Studio John Anderson
2002-07-19 10:29 ` Takashi Iwai
2002-07-19 10:54   ` John Anderson
2002-07-19 11:20     ` Takashi Iwai
2002-07-19 12:08       ` John Anderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.