<style>table.customTableClassName {margin-bottom: 10px;border-collapse: collapse;display: table;}.customTableClassName td, .customTableClassName th {border: 1px solid #ddd;}</style><div id="write-custom-write" tabindex="0" style="font-size: 14px; font-family: 宋体; outline: none;"><span style="font-family: arial, helvetica, sans-serif;">Dear sirs:</span></div><div tabindex="0" style="font-size: 14px; font-family: 宋体; outline: none;"><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">    <br></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">      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.</span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><br></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">      Hardware is ok because sound is working with xubuntu system, but is not working with debian system which is our target system. <span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">"</span><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">asoc-simple-card</span><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">" 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.</span></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">    <br></span></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">      I disabled pulseaudio in debian and used "aplay" to test sound. So i do not think it is a problem of rootfs.</span></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">    </span></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">      I checked these drivers and dts file is matching them.  Sound framework initialization  seems to be fine in "boot_log" in the attachment.<br></span></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">    <br></span></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">      I have searched a lot with google but can not find the reason. I suspect it is a problem of ALSA!<br></span></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">    <br></span></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">      Thanks for your help. Any solution or recommendation to debug the sound problem is highly appreciated.<br></span></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">    <br></span></span></p><p style="margin:0px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;"><span style="font-family: arial, helvetica, sans-serif; font-size: 14px;">      Best regard!<br></span></span></p><br><br></div><div><div style="color: rgb(51, 51, 51); font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);"><div class="contextDiv" id="context0"><div class="contextDiv" id="context0"><p style="margin-top: 5px; margin-bottom: 5px; text-indent: 27px;"><strong><span style="font-size: 13px; font-family: 微软雅黑, sans-serif;">王方宁(Fangning Wang) 嵌入式软件工程师</span></strong></p><p style="margin-top: 5px; margin-bottom: 5px; text-indent: 27px;"><strong><span style="font-size: 13px; font-family: 微软雅黑, sans-serif;"></span></strong><span style="font-size: 13px; font-family: 微软雅黑, sans-serif;"><span style="color: rgb(51, 51, 51); font-family: 微软雅黑, sans-serif; font-size: 13px; text-indent: 27px; background-color: rgb(255, 255, 255);">云谷(固安)科技有限公司北京分公司</span> 未来显示研究院 前瞻策略部<br></span></p><p style="margin-top: 5px; margin-bottom: 5px; margin-left: 28px;"><span style="font-size: 13px; font-family: Arial, sans-serif;">Tel: (+86-10)5885-1122</span></p><p style="margin-top: 5px; margin-bottom: 5px; margin-left: 28px;"><span style="font-size: 13px; font-family: Arial, sans-serif;">Fax: (+86-10)5885-6622</span></p><p style="margin-top: 5px; margin-bottom: 5px; margin-left: 28px;"><span style="font-size: 13px; font-family: Arial, sans-serif;">E-mail:<a class="mailToLink" target="_blank">wangfn@hnygtech.com</a></span></p><p style="margin-top: 5px; margin-bottom: 5px; margin-left: 28px;"><span style="font-size: 13px; font-family: Arial, sans-serif;">Web Site: </span><span style="font-size: 16px; font-family: 宋体;"><a href="http://www.visionox.com/" target="_blank"><span style="font-family: Calibri, sans-serif;">http://www.visionox.com</span></a></span></p><p style="margin-top: 5px; margin-bottom: 5px; margin-left: 28px;"><span style="font-size: 13px; font-family: 微软雅黑, sans-serif;">地址:北京市海淀区上地东路1号院7号楼环洋大厦一层</span></p><p style="margin-top: 5px; margin-bottom: 5px; margin-left: 28px;"><span style="font-size: 13px; font-family: Arial, sans-serif;">Add:1<sup>st</sup> Floor,Huanyang Plaza, 7<sup>Th</sup> Building,1<sup>st</sup> East Road,Shangdi,Beijing</span></p><p style="margin-top: 5px; margin-bottom: 5px; text-indent: 175px;"><span style="font-family: 宋体;">=============================== </span><span style="font-family: 微软雅黑, sans-serif;">保 密 声 明</span><span style="font-family: 宋体;"> ==================================</span></p><p style="margin-top: 5px; margin-bottom: 5px; text-indent: 28px;"><span style="font-family: 微软雅黑, sans-serif;">本邮件附件内容为保密信息,仅供收件人使用,禁止收件人将本邮件信息转发或以其他方式泄漏给非本邮件目标收件人的第三人。</span></p><p style="margin:0px;"><span style="font-family: 宋体; color: rgb(0, 102, 102);">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.</span></p><p style="margin:0px;"><br></p></div></div><p style="margin:0px;"><br></p></div><p style="margin:0px;"><br></p></div><p style="margin:0px;"><br></p><p style="margin:0px;"><br></p><p style="margin:0px;"><br></p>