From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000813]: Terratec USB surround broken Date: Wed, 26 Jan 2005 11:11:16 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 17EBB212 for ; Wed, 26 Jan 2005 11:11:16 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: ilikejam Assigned To: Clemens Ladisch ====================================================================== Project: ALSA - driver Issue ID: 813 Category: USB - usb-audio Reproducibility: always Severity: minor Priority: normal Status: assigned Distribution: Fedora Core 3 Kernel Version: 2.6.10 (ALSA compiled in) ====================================================================== Date Submitted: 01-12-2005 19:41 CET Last Modified: 01-26-2005 11:11 CET ====================================================================== Summary: Terratec USB surround broken Description: I'm using a Terratec USB 5.1 card. The 6 channels test correctly using './speaker-test -c6', but any attempt to use 5.1 channel in Xine, or using 'aplay -Dsurround51 file.wav' results in errors e.g. ----- ALSA lib pcm.c:1851:(snd_pcm_open_conf) Invalid type for PCM surround51 definition (id: surround51, value: cards.pcm.surround51) aplay: main:508: audio open error: Invalid argument ----- Xine similarly fails saying the sound card is in use. Xine works fine for stereo audio, even when configured to use 5.1 channel sound. ====================================================================== ---------------------------------------------------------------------- Clemens Ladisch - 01-26-05 10:40 ---------------------------------------------------------------------- The "surround51" device is used to configure some cards for 5.1 output, but this special configuration is not possible for USB devices because there are so many different models. However, USB devices don't need to be separately configured for 5.1 output, so just use a standard device name (like "default" or "plughw" or "hw"). As for the sample rate: what are the contents of /proc/asound/cardX/stream0 while you are recording? ---------------------------------------------------------------------- ilikejam - 01-26-05 11:11 ---------------------------------------------------------------------- The contents of /proc/asound/card0/stream0 are: USB Audio at usb-0000:00:10.2-1, full speed : USB Audio Playback: Status: Stop Interface 1 Altset 1 Format: S16_LE Channels: 2 Endpoint: 1 OUT (ADAPTIVE) Rates: 48000 Interface 1 Altset 2 Format: S16_LE Channels: 6 Endpoint: 1 OUT (ADAPTIVE) Rates: 48000 Capture: Status: Running Interface = 2 Altset = 1 URBs = 5 [ 4 4 4 4 4 ] Packet Size = 200 Momentary freq = 48000 Hz Interface 2 Altset 1 Format: S16_LE Channels: 2 Endpoint: 2 IN (ASYNC) Rates: 48000 Audio from, say, downloaded MP3s sounds fine, but any audio I've recorded (in whatever program) has to have its sample rate changed, or it sounds too fast. I just tried 'default' in the configuration for 5.1 channel sound in Xine, and it works just fine. Yay. Issue History Date Modified Username Field Change ====================================================================== 01-12-05 19:41 ilikejam New Issue 01-12-05 19:41 ilikejam Distribution => Fedora Core 3 01-12-05 19:41 ilikejam Kernel Version => 2.6.10 (ALSA compiled in) 01-26-05 09:02 ilikejam Note Added: 0003413 01-26-05 10:40 Clemens LadischNote Added: 0003414 01-26-05 11:11 ilikejam Note Added: 0003415 ====================================================================== ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl