* Re: Official bugreport 4.1 kernel (audio gadget and ChipIdea) [not found] <DUB130-W59E5261918344B61530979FAAD0@phx.gbl> @ 2015-06-30 2:23 ` Peter Chen 2015-06-30 9:31 ` Marek Vasut 0 siblings, 1 reply; 2+ messages in thread From: Peter Chen @ 2015-06-30 2:23 UTC (permalink / raw) To: Sébastien Pruvost Cc: linux-usb@vger.kernel.org, gregkh@linuxfoundation.org, marex@denx.de, linux-kernel@vger.kernel.org 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). > > I think this needs a patch to fix that. > Best regards > > Sébastien Pruvost. > -- Best Regards, Peter Chen ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Official bugreport 4.1 kernel (audio gadget and ChipIdea) 2015-06-30 2:23 ` Official bugreport 4.1 kernel (audio gadget and ChipIdea) Peter Chen @ 2015-06-30 9:31 ` Marek Vasut 0 siblings, 0 replies; 2+ messages in thread From: Marek Vasut @ 2015-06-30 9:31 UTC (permalink / raw) To: Peter Chen Cc: Sébastien Pruvost, linux-usb@vger.kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-30 9:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <DUB130-W59E5261918344B61530979FAAD0@phx.gbl>
2015-06-30 2:23 ` Official bugreport 4.1 kernel (audio gadget and ChipIdea) Peter Chen
2015-06-30 9:31 ` Marek Vasut
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox