Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* usb-audio Quattro
@ 2004-06-27 16:37 Patrick Shirkey
  2004-06-28  7:24 ` Clemens Ladisch
  0 siblings, 1 reply; 6+ messages in thread
From: Patrick Shirkey @ 2004-06-27 16:37 UTC (permalink / raw)
  To: alsa-devel

There is something very strange happening with the latest cvs code for 
the usb-audio driver.

I've upgraded my music machine to demudi-1.1.0 which uses gcc-3.3 and 
installed a 2.4.26 kernel.

The machine has the ohci interface.

Unfortunately I encountered the following bugs:

- input channels 1 and 3 are permanently maxed.
- I cannot record stereo with two versions of arecord at the same time.
- I cannot get access to all four channels at the same time via the 
route plugin (q4b).

Essentially this means I can only get input from one channel at a time, 
and then only 2 or 4.

It's strange because the driver appeared to work very well on my main 
machine which has gcc-2.2, kernel-2.4.19, a uhci interface and the 
patched driver code from last weekend.

Is there any more info needed to debug the problem?

-- 
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://www.djcj.org/LAU/guide/ - The Linux Audio Users guide
Http://www.djcj.org/gigs/ - Gigs guide Korea
Http://www.nana7.net - Bar Nana - Itaewon, Seoul, Sth Corea
========================================


Apparently upon the beginning of the barrage, the donkey broke 
discipline and panicked, toppling the cart. At that point, the rockets 
disconnected from the timer, leaving them strewn around the street. 
Tethered to the now toppled cart, the donkey was unable to escape before 
the arrival of U.S. troops.

United Press International
Rockets on donkeys hit major Baghdad sites

By P. MITCHELL PROTHERO
Published 11/21/2003 11:13 AM



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

* Re: usb-audio Quattro
  2004-06-27 16:37 usb-audio Quattro Patrick Shirkey
@ 2004-06-28  7:24 ` Clemens Ladisch
  2004-06-30 14:08   ` Patrick Shirkey
  0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2004-06-28  7:24 UTC (permalink / raw)
  To: Patrick Shirkey; +Cc: alsa-devel

Patrick Shirkey wrote:
> There is something very strange happening with the latest cvs code for
> the usb-audio driver.
>
> I've upgraded my music machine to demudi-1.1.0 which uses gcc-3.3 and
> installed a 2.4.26 kernel.
>
> The machine has the ohci interface.
>
> Unfortunately I encountered the following bugs:
>
> - input channels 1 and 3 are permanently maxed.

I thought the Quattro doesn't have any mixer controls?  Or what data
do you receive on this channels?

(I almost expect that you now get big-endian data on even-numbered
channels and little-endian data on odd-numbered channels.  ;-)

> - I cannot record stereo with two versions of arecord at the same time.
> - I cannot get access to all four channels at the same time via the
> route plugin (q4b).

What are the contents of /proc/asound/cardX/stream*?

> It's strange because the driver appeared to work very well on my main
> machine which has gcc-2.2, kernel-2.4.19, a uhci interface and the
> patched driver code from last weekend.

... and are there any differences to the streamX files on that
machine?


Regards,
Clemens




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

* Re: usb-audio Quattro
  2004-06-28  7:24 ` Clemens Ladisch
@ 2004-06-30 14:08   ` Patrick Shirkey
  2004-06-30 16:27     ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Patrick Shirkey @ 2004-06-30 14:08 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

Clemens Ladisch wrote:
> Patrick Shirkey wrote:
>  
> ... and are there any differences to the streamX files on that
> machine?
> 

They are all the same. There is a bug that has been introduced in the 
last two weeks. I installed the cvs from June 15 and patched the files 
by hand and the driver works fine.

Except for a small problem with the plughw interface on the route 
interface so we can use all four channels at once... More about that later.

BTW. arecord cannot do big endian format on my PC. Is that something 
that can be easily fixed?


-- 
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://www.djcj.org/LAU/guide/ - The Linux Audio Users guide
Http://www.djcj.org/gigs/ - Gigs guide Korea
Http://www.nana7.net - Bar Nana - Itaewon, Seoul, Sth Corea
========================================


Apparently upon the beginning of the barrage, the donkey broke 
discipline and panicked, toppling the cart. At that point, the rockets 
disconnected from the timer, leaving them strewn around the street. 
Tethered to the now toppled cart, the donkey was unable to escape before 
the arrival of U.S. troops.

United Press International
Rockets on donkeys hit major Baghdad sites

By P. MITCHELL PROTHERO
Published 11/21/2003 11:13 AM



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

* Re: usb-audio Quattro
  2004-06-30 14:08   ` Patrick Shirkey
@ 2004-06-30 16:27     ` Takashi Iwai
  2004-06-30 17:44       ` Patrick Shirkey
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2004-06-30 16:27 UTC (permalink / raw)
  To: Patrick Shirkey; +Cc: Clemens Ladisch, alsa-devel

At Wed, 30 Jun 2004 23:08:55 +0900,
Patrick Shirkey wrote:
> 
> Clemens Ladisch wrote:
> > Patrick Shirkey wrote:
> >  
> > ... and are there any differences to the streamX files on that
> > machine?
> > 
> 
> They are all the same. There is a bug that has been introduced in the 
> last two weeks. I installed the cvs from June 15 and patched the files 
> by hand and the driver works fine.

Hmm, might there be any difference between quattro models?

> Except for a small problem with the plughw interface on the route 
> interface so we can use all four channels at once... More about that later.
> 
> BTW. arecord cannot do big endian format on my PC. Is that something 
> that can be easily fixed?

Doesn't "arecord -c2 -fS16_BE -traw foo.raw" work?
Note that WAV supports only LE formats.


Takashi


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

* Re: usb-audio Quattro
  2004-06-30 16:27     ` Takashi Iwai
@ 2004-06-30 17:44       ` Patrick Shirkey
  2004-07-01  9:37         ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Patrick Shirkey @ 2004-06-30 17:44 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Takashi Iwai wrote:
> At Wed, 30 Jun 2004 23:08:55 +0900,
> Patrick Shirkey wrote:
> 
>>Clemens Ladisch wrote:
>>
>>>Patrick Shirkey wrote:
>>> 
>>>... and are there any differences to the streamX files on that
>>>machine?
>>>
>>
>>They are all the same. There is a bug that has been introduced in the 
>>last two weeks. I installed the cvs from June 15 and patched the files 
>>by hand and the driver works fine.
> 
> 
> Hmm, might there be any difference between quattro models?
> 

Not that I know of. It's certainly possible. My quattro is about two 
years old now.

> 
>>Except for a small problem with the plughw interface on the route 
>>interface so we can use all four channels at once... More about that later.
>>
>>BTW. arecord cannot do big endian format on my PC. Is that something 
>>that can be easily fixed?
> 
> 
> Doesn't "arecord -c2 -fS16_BE -traw foo.raw" work?
> Note that WAV supports only LE formats.
> 

Aha.
It would be helpful to add this info to the error report.

aplay.c : 831
		error("Sample format non available");
		error("Note that WAV supports only LE formats");
		error("try: arecord -c2 -fS16_BE -traw foo.raw");



-- 
Patrick Shirkey - Boost Hardware Ltd.
Http://www.boosthardware.com
Http://www.djcj.org/LAU/guide/ - The Linux Audio Users guide
Http://www.djcj.org/gigs/ - Gigs guide Korea
Http://www.nana7.net - Bar Nana - Itaewon, Seoul, Sth Corea
========================================


Apparently upon the beginning of the barrage, the donkey broke 
discipline and panicked, toppling the cart. At that point, the rockets 
disconnected from the timer, leaving them strewn around the street. 
Tethered to the now toppled cart, the donkey was unable to escape before 
the arrival of U.S. troops.

United Press International
Rockets on donkeys hit major Baghdad sites

By P. MITCHELL PROTHERO
Published 11/21/2003 11:13 AM



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

* Re: usb-audio Quattro
  2004-06-30 17:44       ` Patrick Shirkey
@ 2004-07-01  9:37         ` Takashi Iwai
  0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2004-07-01  9:37 UTC (permalink / raw)
  To: Patrick Shirkey; +Cc: alsa-devel

At Thu, 01 Jul 2004 02:44:51 +0900,
Patrick Shirkey wrote:
> 
> Aha.
> It would be helpful to add this info to the error report.

Fixed on cvs.
Now a warning is shown if the format is changed.


Takashi


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

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

end of thread, other threads:[~2004-07-01  9:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-27 16:37 usb-audio Quattro Patrick Shirkey
2004-06-28  7:24 ` Clemens Ladisch
2004-06-30 14:08   ` Patrick Shirkey
2004-06-30 16:27     ` Takashi Iwai
2004-06-30 17:44       ` Patrick Shirkey
2004-07-01  9:37         ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox