usb-audio Quattro
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?
Signature · 21 lines
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
Quoted 11 lines · Patrick Shirkey
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. ;-)
Quoted 3 lines
- 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*?
Quoted 3 lines
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
Quoted 5 lines · Clemens Ladisch
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?
Signature · 21 lines
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
At Wed, 30 Jun 2004 23:08:55 +0900,
Quoted 11 lines · Patrick Shirkey
Quoted 5 lines · Clemens Ladisch
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?
Quoted 5 lines
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
Quoted 7 lines · Takashi Iwai
At Wed, 30 Jun 2004 23:08:55 +0900,
Quoted 4 lines · Patrick Shirkey
Quoted 2 lines · Clemens Ladisch
Patrick Shirkey wrote:
Quoted 9 lines
Quoted 5 lines
Quoted 3 lines
... 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.
Quoted 9 lines
Quoted 4 lines
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");Signature · 21 lines
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
At Thu, 01 Jul 2004 02:44:51 +0900,
Quoted 3 lines · Patrick Shirkey
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