From mboxrd@z Thu Jan 1 00:00:00 1970 From: Code Kipper Subject: Re: [BUG] On Allwinner A20 Board Cubietruck distorted SPDIF opical output Date: Tue, 22 May 2018 21:27:54 +0200 Message-ID: References: <20180521131719.eyrmikexh7jsjrnu@flea> Reply-To: codekipper-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-Reply-To: List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Markus Mitsch Cc: Maxime Ripard , Markus Mitsch , Linux-ALSA , linux-sunxi , Chen-Yu Tsai List-Id: alsa-devel@alsa-project.org Hi Markus, I've been able to reproduce this on my A31 board with linux-next(plays at 44100 but not at 96K)so it is an issue. I also tested the same code on my A64 and it worked fine, The blocks are very similar so it maybe a clocking issue, I'll look into this. BR, CK On 21 May 2018 at 20:17, Markus Mitsch wrote: > 2018-05-21 15:17 GMT+02:00 Maxime Ripard : >> On Mon, May 21, 2018 at 02:43:55PM +0200, Markus Mitsch wrote: >>> 2018-05-21 11:43 GMT+02:00 Markus Mitsch : >>> >>> Hello, >>> >>> >>> >>> i have a new problem. if i want to output sound from optical i get >>> >>> distorted sound. At 44.1 khz its like an old vinly, but at 48 khz and >>> >>> higher it is very bad. thanks in advance for your time. >>> > >>> >> Hi Markus, >>> >> I haven't tested it for a while but when I did it worked as high as >>> >> 96K with no issues. Does it work ok with the original cubietruck >>> >> software?, >>> >> CK >>> > >>> > Hello, >>> > i am using arch linux with mainline kernel 4.16.8. parhaps i can try >>> > today with official image. >>> > mfg >>> >>> Hi. >>> So, with debian image from 2014 with 3.4.79 kernel the sound is clear >>> up to 96 khz. >> >> You said that it is a new problem, when was it introduced? Could you >> bisect the issue? >> >> Maxime > > Hello. > I dont know since when this problem appears. When saying "new" i > refered to my older post. I tried to look into the dts file and the > code > but i am afraid this is a bit too high for me. I can say that the > analog output works, even at high sampling rates. > And I have read something about a clock source could be the problem. > I'm sorry I can't tell you any more. > > mfg > Markus