From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre-Louis Bossart Subject: Re: Compute Stick baytrail audio problem Date: Thu, 3 Mar 2016 10:16:25 -0600 Message-ID: <56D86359.6090800@linux.intel.com> References: <20160219203900.GA5202@monopoli.naic.edu> <56C8826A.3030303@linux.intel.com> <56CBCB86.8040601@gmail.com> <20160223143443.GA22458@monopoli.naic.edu> <56D72205.7020007@linux.intel.com> <20160303040952.GA23703@monopoli.naic.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by alsa0.perex.cz (Postfix) with ESMTP id C60B22614A1 for ; Thu, 3 Mar 2016 17:16:27 +0100 (CET) In-Reply-To: <20160303040952.GA23703@monopoli.naic.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Giacomo Comes Cc: alsa-devel@alsa-project.org, Toyo Abe List-Id: alsa-devel@alsa-project.org On 3/2/16 10:09 PM, Giacomo Comes wrote: > On Wed, Mar 02, 2016 at 11:25:25AM -0600, Pierre-Louis Bossart wrote: >> >>>> After some investigation, I found some problems on the driver and fixed a few of >>>> them. I pushed the fix to my github. I hope it might help you. >>>> https://raw.githubusercontent.com/toyoabe/baytrailaudio/fix-underrun/hdmi_audio_20150319.patch >>>> >>>> Best Regards, >>>> -toyo >>> >>> Hi, >>> that was it!. I added your changes and now the audio works. I'm happy. >>> I got finally every subsystem of the Compute Stick working. >> >> If anyone is interested, I ported the code to v4.4, it seems to work >> on the Baytrail Compute stick w/ Ubuntu. >> >> https://github.com/plbossart/sound/commits/baytrail-stick-rebase-4.4 >> >> Testers welcome, next steps are to add the CherryTrail parts, rebase >> to the drm-nightly-build branch and start talking upstream changes. > > I tested your rebased code and it works for me. Actually I haven't > used a 4.4 kernel but a 4.1 (openSUSE 42.1). I made a diff between > kernel 4.4 and your branch and then applied that diff (with very minor changes) > to the 4.1 openSUSE kernel. No sound issue so far. Thanks for testing. There are significant changes needed to apply the initial driver on 3.18 and 4.0, but the changes are minor after that and largely cosmetic.