Dear sirs:

    

      Linux version 4.4.103, alsa version k4.4.103, aarch64 chip. Sound card "realtek,rt5640" with "asoc-simple-card" driver, manufactor specific I2S driver, and codec driver "rt5640" in rt5640.c.


      Hardware is ok because sound is working with xubuntu system, but is not working with debian system which is our target system. "asoc-simple-card" driver and I2S driver are the same between these two systems, while "aux-det-gpio" is added to debian system with its related function disabled(in order to pass compilation. We do not have this gpio in hardware). Rt5640.c is different with linux kernel rt5640.c in github but it is truly working in xubuntu system.

    

      I disabled pulseaudio in debian and used "aplay" to test sound. So i do not think it is a problem of rootfs.

    

      I checked these drivers and dts file is matching them.  Sound framework initialization  seems to be fine in "boot_log" in the attachment.

    

      I have searched a lot with google but can not find the reason. I suspect it is a problem of ALSA!

    

      Thanks for your help. Any solution or recommendation to debug the sound problem is highly appreciated.

    

      Best regard!



王方宁(Fangning Wang) 嵌入式软件工程师

云谷(固安)科技有限公司北京分公司 未来显示研究院 前瞻策略部

Tel: (+86-10)5885-1122

Fax: (+86-10)5885-6622

E-mail:wangfn@hnygtech.com

Web Site: http://www.visionox.com

地址:北京市海淀区上地东路1号院7号楼环洋大厦一层

Add:1st Floor,Huanyang Plaza, 7Th Building,1st East Road,Shangdi,Beijing

=============================== 保 密 声 明 ==================================

本邮件附件内容为保密信息,仅供收件人使用,禁止收件人将本邮件信息转发或以其他方式泄漏给非本邮件目标收件人的第三人。

This e-mail including its attachment(s) contains information which is confidential. Addressee shall handle the information with due care as the confidential information of itself or as committed to us. We thank you for your cooperation.