Comment 31 for bug 1318360

Revision history for this message
rinigus (rinigus-git) wrote :

This problem has been just resolved in Sailfish OS. When looking for a solution of a microphone problems with mako, I stumbled on this bugreport and would like to contribute back. I hope that the same solution would work for Ubuntu.

In Sailfish, the wrong microphone was loaded during the phonecalls. If Ubuntu comes with the logcat, it can be checked as described in http://forum.xda-developers.com/showpost.php?p=65898089&postcount=441 . In short, we were getting the microphone without any noise cancelling.

The reason for selection of wrong microphone was in a bug in libhybris. Namely, any property with long name in build.prop was not loaded correctly due to the wrong checking of the property name length. It was fixed by

https://github.com/libhybris/libhybris/pull/313

After this patch, the microphone is loaded correctly and sounds as it is in Android. I am sure that this fix would work with all modems. I am personally using the latest one.

Hopefully, that would resolve the bug in Ubuntu as well.