From: Takashi Iwai <tiwai@suse.de>
To: Patrick Shirkey <pshirkey@boosthardware.com>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: USB Audio/Midiman - partial success
Date: Fri, 13 Sep 2002 13:30:29 +0200 [thread overview]
Message-ID: <s5hsn0et9d6.wl@alsa2.suse.de> (raw)
In-Reply-To: <3D817ECC.5030904@boosthardware.com>
At Fri, 13 Sep 2002 14:59:40 +0900,
Patrick Shirkey wrote:
>
> Takashi Iwai wrote:
> > At Tue, 10 Sep 2002 10:58:34 +0200 (METDST),
> > Clemens Ladisch wrote:
> >
> >>>>The two PCM devices cannot be used at the same time anyway, so I think
> >>>>creating a quirk for interface 0 which says "ignore this" could work.
> >>>>Takashi, any comments?
> >>>
> >>>i think implementing a semaphore (or flag) for each endpoint would be
> >>>better, so that the driver can find generally double-endpoints
> >>>problem.
> >>
> >>I cannot imagine anybody else would be stupid enough to design a device
> >>with double endpoints. But then I didn't imagine Midiman would, either.
> >>Oh well, Murphy's Law ... :-(
> >
> >
> > since many (at least plural :) devices have this problem, i changed
> > the usbaudio code slightly. now a pcm stream is created per endpoint
> > instead of interface.
> >
> > on this version, m-audio's device should have one (for duo) or two
> > (for quattro) pcm devices.
> >
> > please let me know if any problems arise with this change.
> >
>
> FYI: I have found that using the quattro with jack is rock solid when
> only accessing one of the pcms at a time at 48khz even as normal user.
oh, that's bad. could you show the output of
/proc/asound/card0/stream* ?
> But switch to a higher sample rate and/or 4 channels(with root
> priveledges and lowlatency scheduling on) and different things happen:
>
> ----
> jackd -v -d alsa -d quattro1 -r 96000 -p 192
> jackd 0.37.2
> Copyright 2001-2002 Paul Davis and others.
> jackd comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
>
> 10691 waiting for signals
> creating alsa driver ... quattro1|192|2|96000|swmon
> ALSA lib pcm_hw.c:398:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE
> failed: Invalid argument
^^^^^^^^^^^^^^^^^^^^^^^^
hmm...
> ALSA: cannot set hardware parameters for capture
> ALSA: cannot configure capture channel
> cannot load driver module alsa
> jack main caught signal 15
> ----
> jackd -v -d alsa -d q4b -r 48000 -p 3072
> jackd 0.37.2
did you run jack with 48k immediately after setting 96k?
so, some old configuration is left and this makes the difference.
perhaps this is also the problem once you reported that the driver
works only after once capture runs.
ciao,
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2002-09-13 11:30 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.31.0209090841350.25400-100000@lorien.wv.mentorg.com>
2002-09-09 17:46 ` USB Audio/Midiman - partial success Clemens Ladisch
2002-09-09 18:30 ` Takashi Iwai
2002-09-10 8:58 ` Clemens Ladisch
2002-09-10 13:10 ` Takashi Iwai
2002-09-10 13:41 ` Patrick Shirkey
2002-09-12 15:30 ` Takashi Iwai
2002-09-12 22:34 ` Patrick Shirkey
2002-09-13 5:59 ` Patrick Shirkey
2002-09-13 11:30 ` Takashi Iwai [this message]
2002-09-13 14:30 ` Patrick Shirkey
[not found] ` <Pine.LNX.4.31.0209122304430.1450-100000@lorien.wv.mentorg.com>
2002-09-13 11:33 ` Takashi Iwai
[not found] <Pine.LNX.4.31.0209132140320.13642-200000@lorien.wv.mentorg.com>
2002-09-16 7:05 ` Clemens Ladisch
[not found] <Pine.LNX.4.31.0209160838270.10583-100000@lorien.wv.mentorg.com>
2002-09-17 7:29 ` Clemens Ladisch
[not found] <Pine.LNX.4.31.0209172023540.4425-100000@lorien.wv.mentorg.com>
2002-09-18 9:25 ` Clemens Ladisch
[not found] <Pine.LNX.4.31.0209191923430.30429-100000@lorien.wv.mentorg.com>
2002-09-20 10:04 ` Clemens Ladisch
[not found] <Pine.LNX.4.31.0209220035210.4610-100000@lorien.wv.mentorg.com>
2002-09-23 9:12 ` Clemens Ladisch
[not found] ` <Pine.LNX.4.31.0209232104140.18815-100000@lorien.wv.mentorg.com>
2002-09-24 14:27 ` Takashi Iwai
[not found] ` <Pine.LNX.4.31.0209240835370.9799-100000@lorien.wv.mentorg.com>
2002-09-24 15:50 ` Takashi Iwai
[not found] ` <Pine.LNX.4.31.0209241952400.28299-100000@lorien.wv.mentorg.com>
2002-09-25 10:46 ` Takashi Iwai
[not found] <Pine.LNX.4.31.0209252301320.29794-100000@lorien.wv.mentorg.com>
2002-09-26 7:47 ` Clemens Ladisch
2002-09-26 16:08 ` Takashi Iwai
[not found] ` <Pine.LNX.4.31.0209261234130.17593-100000@lorien.wv.mentorg.com>
2002-10-02 13:46 ` Takashi Iwai
[not found] ` <Pine.LNX.4.31.0210032253120.4068-100000@lorien.wv.mentorg.com>
2002-10-04 11:34 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hsn0et9d6.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=pshirkey@boosthardware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.