Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752416AbbF3Jb4 (ORCPT ); Tue, 30 Jun 2015 05:31:56 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:60789 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750846AbbF3Jbt convert rfc822-to-8bit (ORCPT ); Tue, 30 Jun 2015 05:31:49 -0400 X-Auth-Info: SDbRAbws9cNKyRWgtRhjNXyrPx9XMKGdRMl13e2mups= From: Marek Vasut To: Peter Chen Subject: Re: Official bugreport 4.1 kernel (audio gadget and ChipIdea) Date: Tue, 30 Jun 2015 11:31:46 +0200 User-Agent: KMail/1.13.7 (Linux/3.14-2-amd64; KDE/4.13.1; x86_64; ; ) Cc: =?utf-8?q?S=C3=A9bastien_Pruvost?= , "linux-usb@vger.kernel.org" , "gregkh@linuxfoundation.org" , "linux-kernel@vger.kernel.org" References: <20150630022256.GC7586@shlinux2> In-Reply-To: <20150630022256.GC7586@shlinux2> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Message-Id: <201506301131.46431.marex@denx.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2419 Lines: 49 On Tuesday, June 30, 2015 at 04:23:01 AM, Peter Chen wrote: > On Fri, Jun 26, 2015 at 07:15:18PM +0200, Sébastien Pruvost wrote: > > Hello, > > > > I'm sending this mail to report a bug concerning the latest kernel 4.1. > > > > Here is the problem (and the test I've done): > > I have firstly used the 3.10.53 kernel for my two > > sabrelites in > > > > order to use the audio gadget driver with the Dual Role ChipIdea > > Controller (in order to switch roles between my two IMX6 sabreLite). > > After loading g_audio in my two sabreLite and plugging the cable (microA > > – microB), there is an error “ci_hdrc.0 request length too big for > > isochronous snd_uac2.0 1116 Error”. > > And even after running aplay command, I still got this error and there is > > no sound getting out of the jack port. > > I've switched roles between the two boards by following this: https:// > > www.kernel.org/doc/Documentation/usb/chipidea.txt. > > This works fine with the serial driver, I can see a new serial interface > > (host side) and after switching role a new serial interfaces at device > > side. Same thing for ethernet gadget: this works fine too. But not with > > the audio gadget. In fact, there is a new audio interface at host side > > but I can not interact with it (even alsamixer doesn’t see any controls > > on this new sound card). I’ve tested that audio gadget works fine if I > > don’t use ChipIdea HighSpeed Dual Role Controller. > > > > Secondly I have tested this audio gadget with the latest > > Kernel > > > > 4.1 for my two IMX6 sabrelites (imx_v6_v7_defconfig). Now these previous > > errors are gone but there are still no sound getting out of the jack > > port (even if there are a new sound card in host side) > > It is may not a role switch problem, please check if the g_audio can > work well with an ubuntu PC (make sure your codec works well). ci_hdrc.0 request length too big for isochronous Doesn't this just mean it cannot transfer such a long buffer via ISO pipe ? I guess the UAC should send smaller buffers to work with the CI HDRC? Best regards, Marek Vasut -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/