Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753571AbbF3Dbu (ORCPT ); Mon, 29 Jun 2015 23:31:50 -0400 Received: from mail-by2on0141.outbound.protection.outlook.com ([207.46.100.141]:22816 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752392AbbF3Dbm (ORCPT ); Mon, 29 Jun 2015 23:31:42 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none; Date: Tue, 30 Jun 2015 10:23:01 +0800 From: Peter Chen To: =?iso-8859-1?Q?S=E9bastien?= Pruvost CC: "linux-usb@vger.kernel.org" , "gregkh@linuxfoundation.org" , "marex@denx.de" , "linux-kernel@vger.kernel.org" Subject: Re: Official bugreport 4.1 kernel (audio gadget and ChipIdea) Message-ID: <20150630022256.GC7586@shlinux2> References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD007;1:yVhd9JKM0VibCAA6qIuO//M/Q5mQD7jcUKwt98bofdpcTNqF8/vsqgX2Svw+qvAP9BFVMxb3e8FW9g2F2ySodsganCxQp5XGSnBVYq+/+zKtlJTj/UUiEP9VdaCOZkTLaP0bXmCSUnJwuTFgZGQpCcnjW0cDDqphNfF1gImJDR95/Nytsht0kumZk1sctW84S1ojaLLw0XE6OqKi27dL3QDJy8p31quzkbu6o8ng4PuU+Hrlna0zTVFqJAY6SI4TXEzEPzDU3qsXwOyCphfKgseRWXFY0qd71tEEWGZ6q7jPZS4Job2U8V0oG2498exD8LK3ABUeyK06oRvgaWJErOTmG2LbPa80Yi2yQJK4E8hiJbaU97RUSnOiXkZJgPha X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(979002)(6009001)(1060300003)(2980300002)(339900001)(199003)(51704005)(189002)(24454002)(33656002)(87936001)(106466001)(76176999)(85426001)(83506001)(6806004)(77156002)(77096005)(62966003)(105606002)(19580395003)(23676002)(50986999)(54356999)(46102003)(110436001)(92566002)(5001960100002)(4290100001)(110136002)(104016003)(86362001)(33716001)(50466002)(4001350100001)(2950100001)(15975445007)(15974865002)(47776003)(5001920100001)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR03MB606;H:az84smr01.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;A:1;MX:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB606;2:M2SNOzMphhtBCeAg5Wpit3jqiWjCIMMu2tdJk0WEvAqttw54imoOIO+ppMOR3kKr;3:i1vNZnHYj8aLDivOj7a6fcbEJX972cdFQNDVnfFgP2IdrSON7VT5sDQV+lvGORA2nQkXZX9G5uPywS5PatnAZKO/rlAP/lfznXMmvGolsbsZn0om0CFJbB00BoKhGV4Ur6b+10n71WK2kkE49l3YRMiIgZa4SzbvVoaqmlHrOKmDt8yi7HR1Ltye/Me3ES7j/DSBes3e/iVQVsjA/Cv0ij1Q1lFvEwiArbZL2ykyQ2Q=;25:puZFcyUA5dBmF+dzU7h+AUkfgAHTty8kk5AUVcP7K7WboXIIPUGW98Vz132MUIP/CNo+1WoywMeGGCVz0u/NQpkQ4fgSDXKzdSj7KOZwrlySZxhYxJCysQE1p+Fzw2IsPTuoIs4+0DHyBsyhJskaxfiF0AyHkh6kOFwMD80/QIad3RQKaM3TJZgWaMue1kioLEJmWlZVnsfet68VbiU7AHFwhNNLacls6/XzGiZW3JoU8/6fZCD0jAnJ8rSf1bmL3Yqfen2e2PG0EKbVjyhZ0w==;20:i0xif4HHazzywOLqu1N5cGr3Kh1DIJAFcsMVEsH+1qGQHZSCHXMTF9ioOqfu/4GL9nyAkN5E9AyO12OnbChCTCX+KmnEWoW++5MPZuzQUc/J3t1Nc4WnVdXOMuOlmkVr9KvcU1+hs4ea/WsXYpDHMrwa1x7v5IuUaWb+LAmyYqoAcgH+4ct7kYp9x+12FWfu3w241ogVn+HaHEPgOMCj6liw6xAwkUCYkxoUI47geHu+xds0wjz5qocdHoNEgBisoef97+Bg1HnYFvjl0b950RsiyNUhN6ibVmIXfcryxftla+h2tblQjpeKCHjerjv2nZiFth+8c9z9Hp580hrcR9SHU9jUOuzIqVW7vj7DUdc= X-Microsoft-Antispam: UriScan:;BCL:1;PCL:0;RULEID:;SRVR:BL2PR03MB606; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:1;PCL:0;RULEID:(601004)(5005006)(1201001)(3002001);SRVR:BL2PR03MB606;BCL:1;PCL:0;RULEID:;SRVR:BL2PR03MB606; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB606;4:Nz2Wsa6u2EASuJjZ4SiEoGbapqEIzRPm4BTfKr7KKqAIJ7o3tjOaUhpESOl4+FOIXFyMgFS2Zb5VtttGlynVZthcjQ8Dj0iqscdFDnsPbxhI08DtND6BRl574QrAh/XY2la7j4g6V3/2jvHal+AxMRNrVovivwNeBOzIf1Gn9YGWeudw9x0NzErB/R5U/Xe+qlCq+HKMCm9Q24E1JVjcso6/UA8cVxnNbfr8AlYPHXcpWrCe47/WS1r/KhW7xbKetS43koY6VQSbV3o1+G7sQqYAPyrA6uIH5iYn8Tdehz5eJskWc3GoZdlU4yPUkuMd X-Forefront-PRVS: 06237E4555 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTDJQUjAzTUI2MDY7MjM6RkY5RU41YkE1RGxQOFVxZnJURWY4YytvbFQ2?= =?utf-8?B?VEpLd2ZuVWpHRXFqMG02dmVNamN5Rm1IUWlBKzVmcGh0YXYzRVRkVzFQVXUv?= =?utf-8?B?MGVoWEl3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UpYeGVYNmNJVm1wZEVaNmJaWkNrRFg3NVErclNPSG5qQ0p3Z2hDN096a2Er?= =?utf-8?B?TzRnNTQrUS8zRmowdUpGSW9vVGVmR2IwL1QxQ3BKMmtONkhNNzlGT3pnV3BG?= =?utf-8?B?T0lSVzJJNW1XN3dXeFF2aXBLQkRwUkx4NENhQ3Bla2prSElMMGNXUm9wb2dE?= =?utf-8?B?bHBhWUhhNVA3anNFT2xWamxwL0dQa3RTdjZnSDcyWmkrdGZXcm5YL25MbExJ?= =?utf-8?B?Z3N6L1R6VXR4ZE1KemJ0NTRtUm9HVVVFTllmVnRYQ1NwN0oxQ3dad0tvYzZX?= =?utf-8?B?UTZyMXIxYVFiV29QMjZYSHJCMzhyaWNNZmpiakJLQklBQTIrUWE1dDU3ZUVh?= =?utf-8?B?cFlRVmhMb2x5YnFpeHNaNzJGWlVQRk4yWldYWUVqVkRBc255bUwzb21NL08v?= =?utf-8?B?TDgzeW5ENUx6d2gvRlRpYWtyb0hONEQwSE1OY08xdWxJUkxYT3g4QjNYRXBJ?= =?utf-8?Q?IacWoor5POJwmdRcJX/8v6SRnyvF5Yr+T50amJFVcN9fL?= X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB606;5:TErfHnEKLmfQAg7WNMuCI1TJGoNsCLPNEhgP8duoEb2y9zu8whz8Ks/HNF+x/vus8bnYT17qHg82VgvYkXZSQcvvFUGFG5WmmLKMg8cjRumgwsGxFouRjpSywHxMXJ3Pjs9ZvrBgXcT5kXASoUfUBg==;24:Rq7oh8LOji4r6gkXh3kSJy7QqwtgMi6fEzM2+m/vfg9ffV9LrppoXbb08Ec9SOV59ha7X6oOZVZmO/uRJ70r59VMRi0o05YDdsa9T4wBzWY=;20:487DVaFbcAd0J/WVIhaT9kbwyc6fVEKooSmYOWYZhgjE77S1ye/6yQS9Ap1quiiicqU0joLA1TpZ3FRflewCcg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2015 03:31:39.5235 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB606 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2156 Lines: 52 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 -- 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/