Re: [Alsa-user] ASoC: bytcr_rt5651 - sound on headphones only, no speaker no microphone
Maybe, u can try to contact plbossart (who fix 95681). I saw him give fixes for several similar platform, with the quirk related to dmidocede-info.I planned to write to him, but just can't find any contact info. On Saturday, December 9, 2017 6:01 PM, Luke Rosswrote: Hi, Thanks for your reply, and sorry for my delay. On Fri, 2017-12-01 at 06:47 +, Daimon Wang wrote: > I've ever work with an rt5645 on a Z8350, never get sound output. > Since you have sound on headphone, maybe u can try with different > kernel version? 4.10 ~ 4.14. I had a play with a few versions but in that series didn't have any success. I noted that in the 4.15-rc series the rt5651 driver has been overhauled, so built and tried that and found it was worse - no sound at all! It turns out my machine needs one of the flags, MCLK_EN, to not be set (I've read something which suggests that MCLK_EN is Baytrail- specific and not something to be done on Cherrytrail). Once that has been changed I do at least get headphones but still no speakers. I tried the DMIC, IN1 and IN2 maps the new driver provides but no microphone on any of them - although I don't know whether this is because one of the many many mixer controls are set wrongly. I may have another play with different combinations of recording mixer controls and see what happens. Either way, I'll submit a patch to add this machine to the quirk map so that MCLK_EN is not set by default on this hardware - that way I at least get to keep the headphone audio. Many thanks, Luke > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ASoC: bytcr_rt5651 - sound on headphones only, no speaker no microphone
Hi, Thanks for your reply, and sorry for my delay. On Fri, 2017-12-01 at 06:47 +, Daimon Wang wrote: > I've ever work with an rt5645 on a Z8350, never get sound output. > Since you have sound on headphone, maybe u can try with different > kernel version? 4.10 ~ 4.14. I had a play with a few versions but in that series didn't have any success. I noted that in the 4.15-rc series the rt5651 driver has been overhauled, so built and tried that and found it was worse - no sound at all! It turns out my machine needs one of the flags, MCLK_EN, to not be set (I've read something which suggests that MCLK_EN is Baytrail- specific and not something to be done on Cherrytrail). Once that has been changed I do at least get headphones but still no speakers. I tried the DMIC, IN1 and IN2 maps the new driver provides but no microphone on any of them - although I don't know whether this is because one of the many many mixer controls are set wrongly. I may have another play with different combinations of recording mixer controls and see what happens. Either way, I'll submit a patch to add this machine to the quirk map so that MCLK_EN is not set by default on this hardware - that way I at least get to keep the headphone audio. Many thanks, Luke > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ASoC: bytcr_rt5651 - sound on headphones only, no speaker no microphone
Any luck? @Luke On Friday, December 1, 2017 2:48 PM, Daimon Wang via Alsa-userwrote: I've ever work with an rt5645 on a Z8350, never get sound output.Since you have sound on headphone, maybe u can try with different kernel version? 4.10 ~ 4.14. And check if this thread helps, https://bugzilla.kernel.org/show_bug.cgi?id=95681Here is a git from plbossart (who fix above bug), which is related to his quirks on rt serial sound cards. But he said it should be merged into 4.13. https://github.com/plbossart/sound.git Goold luck,Daimon On Thursday, November 30, 2017 9:04 PM, Luke Ross wrote: Hi, I've a Linx 820 tablet (cherrytrail z8350) which seems to have an RT5651 codec. Using driver bytcr_rt5651 which is loaded automatically, sound works fine on headphones, but the speaker output appears to play (in that the the seconds count up and pavucontrol shows "sound" on the little graphs) but the output is silent (I've checked it's not muted). Also, PulseAudio denies there is any microphone on the machine and for headphones the jack detection doesn't work so the output must be switched manually to headphones. Is this likely to be because it needs some of the driver's quirks settings for the hardware? Are there particular ones it's likely to be that I should try first? The tablet DMI-identifies it's made by Insyde, and the code for the the RT5640 suggests they needed several quirks on that (similar, bay trail) hardware. Many thanks for any pointers/suggestions to get me started! Luke -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user
Re: [Alsa-user] ASoC: bytcr_rt5651 - sound on headphones only, no speaker no microphone
I've ever work with an rt5645 on a Z8350, never get sound output.Since you have sound on headphone, maybe u can try with different kernel version? 4.10 ~ 4.14. And check if this thread helps, https://bugzilla.kernel.org/show_bug.cgi?id=95681Here is a git from plbossart (who fix above bug), which is related to his quirks on rt serial sound cards. But he said it should be merged into 4.13. https://github.com/plbossart/sound.git Goold luck,Daimon On Thursday, November 30, 2017 9:04 PM, Luke Rosswrote: Hi, I've a Linx 820 tablet (cherrytrail z8350) which seems to have an RT5651 codec. Using driver bytcr_rt5651 which is loaded automatically, sound works fine on headphones, but the speaker output appears to play (in that the the seconds count up and pavucontrol shows "sound" on the little graphs) but the output is silent (I've checked it's not muted). Also, PulseAudio denies there is any microphone on the machine and for headphones the jack detection doesn't work so the output must be switched manually to headphones. Is this likely to be because it needs some of the driver's quirks settings for the hardware? Are there particular ones it's likely to be that I should try first? The tablet DMI-identifies it's made by Insyde, and the code for the the RT5640 suggests they needed several quirks on that (similar, bay trail) hardware. Many thanks for any pointers/suggestions to get me started! Luke -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user