From: bugtrack@alsa-project.org Subject: [ALSA - driver 0002298]: "Invalid argument" error with USB audio device Date: Sun, 23 Jul 2006 12:52:44 +0200 Message-ID: <44107cde2df3e6b9f2398da30cdae135@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 54A9D147 for ; Sun, 23 Jul 2006 12:52:44 +0200 (MEST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: lukeross Assigned To: Clemens Ladisch ====================================================================== Project: ALSA - driver Issue ID: 2298 Category: USB - usb-audio Reproducibility: always Severity: major Priority: normal Status: assigned Distribution: Fedora Core Linux 4 Kernel Version: 2.6.14-1.1653_FC4 ====================================================================== Date Submitted: 07-22-2006 13:34 CEST Last Modified: 07-23-2006 12:52 CEST ====================================================================== Summary: "Invalid argument" error with USB audio device Description: Plugged in a USB audio device which is recognised as follows: T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0e6a ProdID=0310 Rev= 1.11 S: Product=USB Audio Device C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=16ms I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio I: If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio E: Ad=02(O) Atr=09(Isoc) MxPS= 192 Ivl=1ms Whenever I try to play on this device I get the following error: Setting of hwparams failed: Invalid argument Broken configuration for playback: no configurations available: Invalid argument ====================================================================== ---------------------------------------------------------------------- lukeross - 07-23-06 12:52 ---------------------------------------------------------------------- After a lot of googling, I turned up the following link to someone with the same chipset: http://sourceforge.net/mailarchive/forum.php?thread_id=9969515&forum_id=1752 This patch works for me, and with respect to the second message in the thread the sound plays normally, suggesting (if I understand the problem correctly) that the chipset is giving out incorrect information about supported rates. Issue History Date Modified Username Field Change ====================================================================== 07-22-06 13:34 lukeross New Issue 07-22-06 13:34 lukeross Distribution => Fedora Core Linux 4 07-22-06 13:34 lukeross Kernel Version => 2.6.14-1.1653_FC4 07-23-06 12:52 lukeross Note Added: 0011184 ====================================================================== ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV